[MacPorts] #24052: port install gcc44 failed
#24052: port install gcc44 failed -------------------------------+-------------------------------------------- Reporter: kadmiel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: -------------------------------+-------------------------------------------- collect2: ld returned 1 exit status make[6]: *** [libjavamath.la] Error 1 make[5]: *** [all-recursive] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-target-libjava] Error 2 make: *** [bootstrap] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build" && /usr/bin/make -j2 bootstrap " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build" && /usr/bin/make -j2 bootstrap " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for gcc44): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/24052> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24052: port install gcc44 failed -------------------------------+-------------------------------------------- Reporter: kadmiel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: mww@macports.org -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * port: => mww@macports.org Old description:
collect2: ld returned 1 exit status make[6]: *** [libjavamath.la] Error 1 make[5]: *** [all-recursive] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-target-libjava] Error 2 make: *** [bootstrap] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build" && /usr/bin/make -j2 bootstrap " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build" && /usr/bin/make -j2 bootstrap " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for gcc44): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
New description: {{{ collect2: ld returned 1 exit status make[6]: *** [libjavamath.la] Error 1 make[5]: *** [all-recursive] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-target-libjava] Error 2 make: *** [bootstrap] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build" && /usr/bin/make -j2 bootstrap " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build" && /usr/bin/make -j2 bootstrap " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for gcc44): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} -- -- Ticket URL: <http://trac.macports.org/ticket/24052#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24052: port install gcc44 failed -------------------------------+-------------------------------------------- Reporter: kadmiel@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: gcc44 -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => mww@… * port: mww@macports.org => gcc44 -- Ticket URL: <http://trac.macports.org/ticket/24052#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24052: port install gcc44 failed -------------------------------+-------------------------------------------- Reporter: kadmiel@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: gcc44 -------------------------------+-------------------------------------------- Comment(by macsforever2000@…): I don't see an actual error here. Please attach the complete debug output. -- Ticket URL: <http://trac.macports.org/ticket/24052#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24052: port install gcc44 failed -------------------------------+-------------------------------------------- Reporter: kadmiel@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: gcc44 -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: The debug output mentions the file /usr/local/lib/libgmp.a. Please remove this file and anything else in /usr/local prior to attempting to use MacPorts. Then clean gcc44 and try building again. -- Ticket URL: <http://trac.macports.org/ticket/24052#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24052: port install gcc44 failed -------------------------------+-------------------------------------------- Reporter: kadmiel@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: gcc44 -------------------------------+-------------------------------------------- Comment(by kadmiel@…): I don't think that is a good solution as my /usr/local has allot of stuff in it that I use all the time. I managed to install gcc44 via a different way and not through MacPorts. Thanks. If someone has a different solution I would be glad to hear it. -- Ticket URL: <http://trac.macports.org/ticket/24052#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24052: port install gcc44 failed --------------------------------+------------------------------------------- Reporter: kadmiel@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: invalid | Keywords: Port: gcc44 | --------------------------------+------------------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid Comment: All you have to do is move it temporarily: {{{ sudo mv /usr/local /usr/local.moved sudo port clean gcc44 sudo port insall gcc44 sudo mv /usr/local.moved /usr/local }}} -- Ticket URL: <http://trac.macports.org/ticket/24052#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24052: port install gcc44 failed --------------------------------+------------------------------------------- Reporter: kadmiel@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: invalid | Keywords: Port: gcc44 | --------------------------------+------------------------------------------- Comment(by ryandesign@…): But you have to do that every time you install anything with MacPorts, to ensure that what you're installing doesn't inadvertently use things from /usr/local. We cannot support having anything in /usr/local while using MacPorts, sorry. -- Ticket URL: <http://trac.macports.org/ticket/24052#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts