[MacPorts] #30226: Failed to install gmp (MacPorts 1.9.2 OS 10.6.8
#30226: Failed to install gmp (MacPorts 1.9.2 OS 10.6.8 ------------------------------+--------------------------------------------- Reporter: sglink@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: gmp gcc | Port: gmp gcc44 ------------------------------+--------------------------------------------- $ sudo port install gcc44[[BR]] ---> Computing dependencies for gcc44[[BR]] ---> Dependencies to be installed: gmp mpfr xz[[BR]] ---> Configuring gmp[[BR]] Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)[[BR]] Error: Failed to install gmp[[BR]] Log for gmp is at:[[BR]] /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gmp/main.log[[BR]] Error: The following dependencies were not installed: gmp mpfr xz[[BR]] Error: Status 1 encountered during processing.[[BR]] To report a bug, see <http://guide.macports.org/#project.tickets>[[BR]] A pastebin of the full log is at [http://pastebin.com/bpAjbM8U][[BR]] note: when I tried to install gawk, as that appeared to be the issue (that it was missing), I got the same error. Any help would be greatly appreciated. Thank you. -- Ticket URL: <https://trac.macports.org/ticket/30226> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30226: Failed to install gmp (MacPorts 1.9.2 OS 10.6.8 ------------------------------+--------------------------------------------- Reporter: sglink@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: gmp gcc | Port: gmp gcc44 ------------------------------+--------------------------------------------- Description changed by ryandesign@…: Old description:
$ sudo port install gcc44[[BR]] ---> Computing dependencies for gcc44[[BR]] ---> Dependencies to be installed: gmp mpfr xz[[BR]] ---> Configuring gmp[[BR]] Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)[[BR]] Error: Failed to install gmp[[BR]] Log for gmp is at:[[BR]] /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gmp/main.log[[BR]]
Error: The following dependencies were not installed: gmp mpfr xz[[BR]] Error: Status 1 encountered during processing.[[BR]] To report a bug, see <http://guide.macports.org/#project.tickets>[[BR]]
A pastebin of the full log is at [http://pastebin.com/bpAjbM8U][[BR]]
note: when I tried to install gawk, as that appeared to be the issue (that it was missing), I got the same error.
Any help would be greatly appreciated. Thank you.
New description: {{{ $ sudo port install gcc44 ---> Computing dependencies for gcc44 ---> Dependencies to be installed: gmp mpfr xz ---> Configuring gmp Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Error: Failed to install gmp Log for gmp is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gmp/main.log Error: The following dependencies were not installed: gmp mpfr xz Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} A pastebin of the full log is at http://pastebin.com/bpAjbM8U note: when I tried to install gawk, as that appeared to be the issue (that it was missing), I got the same error. Any help would be greatly appreciated. Thank you. -- -- Ticket URL: <https://trac.macports.org/ticket/30226#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30226: libintl.8.dylib: mach-o, but wrong architecture ------------------------------+--------------------------------------------- Reporter: sglink@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libintl ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * keywords: gmp gcc => * cc: ryandesign@… (added) * port: gmp gcc44 => libintl Comment: The relevant error in the log is: {{{ :info:configure dyld: Library not loaded: /opt/local/lib/libintl.8.dylib :info:configure Referenced from: /opt/local/bin/gawk :info:configure Reason: no suitable image found. Did find: :info:configure /opt/local/lib/libintl.8.dylib: mach-o, but wrong architecture }}} So your gettext port (which provides the libintl library) is installed for a different architecture than your gawk port. Is it possible you migrated this MacPorts install from a prior version of Mac OS X, or from a Mac with a different processor architecture, to this Mac, without rebuilding all ports? See [wiki:Migration]. At minimum, you will need to rebuild gettext. In order to be able to do so, you will need to forcibly uninstall gawk first (and possibly other small utility ports like grep or sed). {{{ sudo port -f uninstall gawk sudo port clean libintl sudo port -n upgrade --force libintl }}} -- Ticket URL: <https://trac.macports.org/ticket/30226#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30226: libintl.8.dylib: mach-o, but wrong architecture ------------------------------+--------------------------------------------- Reporter: sglink@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libintl ------------------------------+--------------------------------------------- Comment(by sglink@…): I ran sudo port -f uninstall gawk successfully, and was told that libintl was not installed, so I tried to install gcc44 again, but received a similar error to earlier. I have included the log file that MacPorts generated. Thanks again for your help. Replying to [comment:2 ryandesign@…]: -- Ticket URL: <https://trac.macports.org/ticket/30226#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30226: Various libraries are installed for i386 not x86_64 ------------------------------+--------------------------------------------- Reporter: sglink@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libintl zlib ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * port: libintl => libintl zlib Comment: Sorry, I typo'd the command above. libintl is the name of the library, not the port. The port that provides the libintl library is called gettext. {{{ sudo port -n upgrade --force gettext }}} But the new log you've attached shows the same error but now with libz (from the zlib port): {{{ :info:build ld: warning: in /opt/local/lib/libz.dylib, file was built for i386 which is not the architecture being linked (x86_64) }}} So from these multiple failures it seems pretty clear that this MacPorts install began life on Leopard or earlier, or on a 32-bit machine running Snow Leopard, and you migrated it to a 64-bit machine running Snow Leopard. So you should follow the [wiki:Migration Migration procedure] and uninstall and reinstall all ports. -- Ticket URL: <https://trac.macports.org/ticket/30226#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30226: Various libraries are installed for i386 not x86_64 ------------------------------+--------------------------------------------- Reporter: sglink@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libintl zlib ------------------------------+--------------------------------------------- Comment(by jmr@…): I'm pretty sure there's some installer out there that puts an i386-only gettext into /opt/local, because more than one person on IRC has had their libintl be i386 when the registry says it's x86_64, and simply reinstalling fixed it. -- Ticket URL: <https://trac.macports.org/ticket/30226#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30226: Various libraries are installed for i386 not x86_64 ------------------------------+--------------------------------------------- Reporter: sglink@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: libintl zlib ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Ok, that situation would be covered by [wiki:ProblemHotlist#xmlwf]. -- Ticket URL: <https://trac.macports.org/ticket/30226#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30226: Various libraries are installed for i386 not x86_64 -------------------------------+-------------------------------------------- Reporter: sglink@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: Port: libintl zlib | -------------------------------+-------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => worksforme Comment: There doesn't appear to be anything for us to do here. -- Ticket URL: <https://trac.macports.org/ticket/30226#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts