[MacPorts] #19335: build cgit fails on missing libiconv Mac OS X 10.4 Tiger
#19335: build cgit fails on missing libiconv Mac OS X 10.4 Tiger -----------------------------+---------------------------------------------- Reporter: vulcan_@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: -----------------------------+---------------------------------------------- i am using Porticus to install git and cgit on my macbook. see attached file for system info dump the cgit install fails i see this in the log --- /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols: _libiconv _libiconv_close _libiconv_open collect2: ld returned 1 exit status make: *** [cgit] Error 1 --- so i know it is missing the libiconv i look at the Makefile and see --- ifdef NEEDS_LIBICONV EXTLIBS += -liconv endif --- so i define NEEDS_LIBICONV = yes at the top of the Makefile and rerun the make install DESTROOT= blah blah and it works. back to porticus to retry the cgit install .. now it fails because there is no cgitrc file in the destroot dir I hand edit a cgitrc based on the cgitrc.in.txt and restart the install in porticus it works -- Ticket URL: <http://trac.macports.org/ticket/19335> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19335: build cgit fails on missing libiconv Mac OS X 10.4 Tiger -----------------------------+---------------------------------------------- Reporter: vulcan_@… | Owner: sfiera@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: cgit -----------------------------+---------------------------------------------- Changes (by ram@…): * owner: macports-tickets@… => sfiera@… * port: => cgit Old description:
i am using Porticus to install git and cgit on my macbook. see attached file for system info dump the cgit install fails i see this in the log --- /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols: _libiconv _libiconv_close _libiconv_open collect2: ld returned 1 exit status make: *** [cgit] Error 1 ---
so i know it is missing the libiconv
i look at the Makefile and see --- ifdef NEEDS_LIBICONV EXTLIBS += -liconv endif ---
so i define NEEDS_LIBICONV = yes
at the top of the Makefile and rerun the make install DESTROOT= blah blah and it works. back to porticus to retry the cgit install .. now it fails because there is no cgitrc file in the destroot dir I hand edit a cgitrc based on the cgitrc.in.txt and restart the install in porticus it works
New description: i am using Porticus to install git and cgit on my macbook. see attached file for system info dump the cgit install fails i see this in the log {{{ /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols: _libiconv _libiconv_close _libiconv_open collect2: ld returned 1 exit status make: *** [cgit] Error 1 }}} so i know it is missing the libiconv i look at the Makefile and see {{{ ifdef NEEDS_LIBICONV EXTLIBS += -liconv endif }}} so i define {{{ NEEDS_LIBICONV = yes }}} at the top of the Makefile and rerun the `make install DESTROOT=blah blah` and it works. back to porticus to retry the cgit install .. now it fails because there is no cgitrc file in the destroot dir I hand edit a cgitrc based on the cgitrc.in.txt and restart the install in porticus it works -- -- Ticket URL: <http://trac.macports.org/ticket/19335#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19335: build cgit fails on missing libiconv Mac OS X 10.4 Tiger -----------------------------+---------------------------------------------- Reporter: vulcan_@… | Owner: sfiera@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: cgit -----------------------------+---------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Fixed the libiconv issue in r50809. That still leaves the cgitrc issue. -- Ticket URL: <http://trac.macports.org/ticket/19335#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19335: build cgit fails on missing libiconv Mac OS X 10.4 Tiger -----------------------------+---------------------------------------------- Reporter: vulcan_@… | Owner: sfiera@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: cgit -----------------------------+---------------------------------------------- Comment(by ryandesign@…): Whoops, r50809 made it link with the system iconv, zlib and openssl. r50810 fixes it so it links with MacPorts libraries again. -- Ticket URL: <http://trac.macports.org/ticket/19335#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19335: build cgit fails on missing libiconv Mac OS X 10.4 Tiger ------------------------------+--------------------------------------------- Reporter: vulcan_@… | Owner: sfiera@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: cgit | ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: And to the cgitrc issue: the portfile requests to install a file cgitrc in the worksrcpath, but no such file exists. It appears to be called cgitrc.5.txt now. Fixed this in r50811. The port can't possibly have built before... -- Ticket URL: <http://trac.macports.org/ticket/19335#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts