[MacPorts] #30057: gawk @4.0.0 Build failure
#30057: gawk @4.0.0 Build failure --------------------------------------+------------------------------------- Reporter: klondikemarlen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gawk @4.0.0 --------------------------------------+------------------------------------- When I run: %% sudo port -d install gawk I get {{{ ... Undefined symbols: "_history_list", referenced from: _do_save in debug.o _serialize in debug.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [dgawk] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gawk/work/gawk-4.0.0" && /usr/bin/make -j2 all " returned error 2 ... }}} I am using: OS darwin/10.8.0 (Mac OS X 10.6) arch i386 The full log is attached. -- Ticket URL: <https://trac.macports.org/ticket/30057> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30057: gawk @4.0.0 Build failure --------------------------------------+------------------------------------- Reporter: klondikemarlen@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gawk --------------------------------------+------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => mschamschula@… * cc: klondikemarlen@… (removed) * port: gawk @4.0.0 => gawk Old description:
When I run:
%% sudo port -d install gawk
I get
{{{ ... Undefined symbols: "_history_list", referenced from: _do_save in debug.o _serialize in debug.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [dgawk] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gawk/work/gawk-4.0.0" && /usr/bin/make -j2 all " returned error 2 ... }}}
I am using:
OS darwin/10.8.0 (Mac OS X 10.6) arch i386
The full log is attached.
New description: When I run: {{{ %% sudo port -d install gawk }}} I get {{{ ... Undefined symbols: "_history_list", referenced from: _do_save in debug.o _serialize in debug.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [dgawk] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gawk/work/gawk-4.0.0" && /usr/bin/make -j2 all " returned error 2 ... }}} I am using: OS darwin/10.8.0 (Mac OS X 10.6) arch i386 The full log is attached. -- -- Ticket URL: <https://trac.macports.org/ticket/30057#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30057: gawk @4.0.0 Build failure: Undefined symbols: _history_list --------------------------------------+------------------------------------- Reporter: klondikemarlen@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gawk --------------------------------------+------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: gawk builds fine for me. The error in your log is: {{{ :info:build Undefined symbols: :info:build "_history_list", referenced from: :info:build _do_save in debug.o :info:build _serialize in debug.o :info:build ld: symbol(s) not found }}} _history_list should be in your readline library, so I suspect either a problem with your MacPorts readline installation, or a rogue readline installation somewhere outside of MacPorts, for example in /usr/local/lib or /sw/lib. -- Ticket URL: <https://trac.macports.org/ticket/30057#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30057: gawk @4.0.0 Build failure: Undefined symbols: _history_list --------------------------------------+------------------------------------- Reporter: klondikemarlen@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gawk --------------------------------------+------------------------------------- Comment(by klondikemarlen@…): I found and removed three file from /usr/local/lib with names beginning with: libreadline*. Gawk @4.0.0 still fails to build. I will try and install/uninstall readline through MacPorts and see if that helps. -- Ticket URL: <https://trac.macports.org/ticket/30057#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30057: gawk @4.0.0 Build failure: Undefined symbols: _history_list --------------------------------------+------------------------------------- Reporter: klondikemarlen@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gawk --------------------------------------+------------------------------------- Comment(by klondikemarlen@…): I ran: {{{ sudo port install readline +universal }}} then: {{{ sudo port -d install gawk }}} Gawk now works perfectly. Thanks a lot. -- Ticket URL: <https://trac.macports.org/ticket/30057#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30057: gawk @4.0.0 Build failure: Undefined symbols: _history_list ---------------------------------------+------------------------------------ Reporter: klondikemarlen@… | Owner: mschamschula@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: gawk | ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Great, glad you got it working. If you have anything else in /usr/local you should consider removing it as well; it might interfere with other MacPorts ports. -- Ticket URL: <https://trac.macports.org/ticket/30057#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts