[MacPorts] #51513: Unable to install boost +universal
#51513: Unable to install boost +universal ---------------------------+-------------------------------- Reporter: rkjones.iii@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: ---------------------------+-------------------------------- When trying to install boost universal on 10.7.5 I get the following errors compiles-imac:growcoin-master compile$ sudo port install boost +no_single+no_static+python27+universal Password: ---> Configuring gperf Error: Failed to configure gperf, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gperf/gperf/work/gperf-3.0.4/config.log Error: org.macports.configure for port gperf returned: configure failure: command execution failed Please see the log file for port gperf for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gperf/gperf/main.log Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade zlib failed I also cannot upgrade zlib as it does not find anything needing upgrading. -- Ticket URL: <https://trac.macports.org/ticket/51513> MacPorts <https://www.macports.org/> Ports system for OS X
#51513: gperf: configure failed ----------------------------+------------------------ Reporter: rkjones.iii@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gperf | ----------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => mcalhoun@… * port: => gperf Old description:
When trying to install boost universal on 10.7.5 I get the following errors
compiles-imac:growcoin-master compile$ sudo port install boost +no_single+no_static+python27+universal Password: ---> Configuring gperf Error: Failed to configure gperf, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gperf/gperf/work/gperf-3.0.4/config.log Error: org.macports.configure for port gperf returned: configure failure: command execution failed Please see the log file for port gperf for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gperf/gperf/main.log Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade zlib failed
I also cannot upgrade zlib as it does not find anything needing upgrading.
New description: When trying to install boost universal on 10.7.5 I get the following errors {{{ compiles-imac:growcoin-master compile$ sudo port install boost +no_single+no_static+python27+universal Password: ---> Configuring gperf Error: Failed to configure gperf, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gperf/gperf/work/gperf-3.0.4/config.log Error: org.macports.configure for port gperf returned: configure failure: command execution failed Please see the log file for port gperf for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gperf/gperf/main.log Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade zlib failed }}} I also cannot upgrade zlib as it does not find anything needing upgrading. -- Comment: Please run: {{{ sudo port clean gperf }}} Then try again. If it fails again, please attach the main.log file. -- Ticket URL: <https://trac.macports.org/ticket/51513#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51513: gperf: configure failed ----------------------------+------------------------ Reporter: rkjones.iii@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gperf | ----------------------------+------------------------ Comment (by rkjones.iii@…): i was looking at the main.log and was wondering if this could be my issue? :info:configure configure: error: C compiler cannot create executables -- Ticket URL: <https://trac.macports.org/ticket/51513#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51513: gperf: configure failed ----------------------------+------------------------ Reporter: rkjones.iii@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gperf | ----------------------------+------------------------ Changes (by mcalhoun@…): * status: new => assigned Comment: You would get this error if you did not have the command line tools installed (see the [https://trac.macports.org/wiki/FAQ#missingxcode FAQ entry]).[[BR]] MacPorts should detect this error, however.[[BR]] Are you running the latest version of MacPorts?[[BR]] If not, please run {{{ sudo port selfupdate sudo port clean gperf sudo port install gperf }}} If you still get the same error, please have a look at {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gperf/gperf/work/gperf-3.0.4/config.log }}} for clues as to why your compiler is failing. -- Ticket URL: <https://trac.macports.org/ticket/51513#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#51513: gperf: configure failed ----------------------------+------------------------ Reporter: rkjones.iii@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gperf | ----------------------------+------------------------ Comment (by rkjones.iii@…): i am running the latest version of macports, i have xcode and the command line tools installed and i have also ran xcode so i can agree to the agreement and i did those commands but it didnt try to install gperf until i tried to install boost, also attached is the config.log -- Ticket URL: <https://trac.macports.org/ticket/51513#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#51513: gperf: configure failed ----------------------------+------------------------ Reporter: rkjones.iii@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gperf | ----------------------------+------------------------ Comment (by mcalhoun@…): Sorry, but I asked for the wrong file.[[BR]] Could you please look at {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gperf/gperf/work/gperf-3.0.4/lib/config.log }}} for clues as to why your compiler is failing. -- Ticket URL: <https://trac.macports.org/ticket/51513#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#51513: gperf: configure failed ----------------------------+------------------------ Reporter: rkjones.iii@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gperf | ----------------------------+------------------------ Comment (by rkjones.iii@…): no problem at all here is the correct one -- Ticket URL: <https://trac.macports.org/ticket/51513#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#51513: gperf: configure failed ----------------------------+------------------------ Reporter: rkjones.iii@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gperf | ----------------------------+------------------------ Comment (by mcalhoun@…): The library {{{/usr/lib/libunwind.dylib}}} seems to be the problem.[[BR]] It seems to be the wrong architecture (x86_64?) but your are trying to build a universal binary (x86_64 and i386). The questions is where {{{/usr/lib/libunwind.dylib}}} came from.[[BR]] On the systems I checked, {{{libunwind.dylib}}} is in {{{/usr/lib/system}}} and is a universal library.[[BR]] {{{file /usr/lib/system/libunwind.dylib}}} yields {{{ /usr/lib/system/libunwind.dylib: Mach-O universal binary with 2 architectures /usr/lib/system/libunwind.dylib (for architecture i386): Mach-O dynamically linked shared library i386 /usr/lib/system/libunwind.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 }}} Do you have some sort of custom setup in which you installed {{{/usr/lib/libunwind.dylib}}} yourself? -- Ticket URL: <https://trac.macports.org/ticket/51513#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#51513: gperf: configure failed ----------------------------+------------------------ Reporter: rkjones.iii@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gperf | ----------------------------+------------------------ Comment (by rkjones.iii@…): Replying to [comment:7 mcalhoun@…]:
The library {{{/usr/lib/libunwind.dylib}}} seems to be the problem.[[BR]] It seems to be the wrong architecture (x86_64?) but your are trying to build a universal binary (x86_64 and i386).
The questions is where {{{/usr/lib/libunwind.dylib}}} came from.[[BR]] On the systems I checked, {{{libunwind.dylib}}} is in {{{/usr/lib/system}}} and is a universal library.[[BR]] {{{file /usr/lib/system/libunwind.dylib}}} yields {{{ /usr/lib/system/libunwind.dylib: Mach-O universal binary with 2 architectures /usr/lib/system/libunwind.dylib (for architecture i386): Mach-O dynamically linked shared library i386 /usr/lib/system/libunwind.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 }}}
Do you have some sort of custom setup in which you installed {{{/usr/lib/libunwind.dylib}}} yourself?
to be honest i dont even know what that is, i installed a select few ports to compile qt apps so the only thing i can think of is it came with one of the ports i installed but i dont know for sure -- Ticket URL: <https://trac.macports.org/ticket/51513#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#51513: gperf: configure failed ----------------------------+------------------------ Reporter: rkjones.iii@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gperf | ----------------------------+------------------------ Comment (by rkjones.iii@…): is there a way i can fix this so i can update/install ports and get my compiler working again? -- Ticket URL: <https://trac.macports.org/ticket/51513#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#51513: gperf: configure failed ----------------------------+------------------------ Reporter: rkjones.iii@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gperf | ----------------------------+------------------------ Comment (by mcalhoun@…): Replying to [comment:9 rkjones.iii@…]:
is there a way i can fix this so i can update/install ports and get my compiler working again? I am afraid this question is outside my area of expertise.
Perhaps {{{libunwind.dylib}}} is supposed to be in {{{/usr/lib/}}} on 10.7.5.[[BR]] I no longer have a machine on which to test.[[BR]] On my machine (10.11.5), it is located in {{{/usr/lib/system/}}}[[BR]] MacPorts does not install anything into {{{/usr/lib}}}, so I doubt it came from a previous port installation. What is the result of running the commands? {{{ file /usr/lib/system/libunwind.dylib file /usr/lib/libunwind.dylib }}} You also might also have some luck in asking for help on one of the [https://trac.macports.org/wiki/MailingLists MacPorts Mailing Lists]. -- Ticket URL: <https://trac.macports.org/ticket/51513#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#51513: gperf: configure failed ----------------------------+------------------------ Reporter: rkjones.iii@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gperf | ----------------------------+------------------------ Comment (by rkjones.iii@…): here is the output of the command compiles-imac:~ compile$ file /usr/lib/system/libunwind.dylib /usr/lib/system/libunwind.dylib: Mach-O universal binary with 2 architectures /usr/lib/system/libunwind.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /usr/lib/system/libunwind.dylib (for architecture i386): Mach-O dynamically linked shared library i386 compiles-imac:~ compile$ file /usr/lib/libunwind.dylib /usr/lib/libunwind.dylib: Mach-O 64-bit dynamically linked shared library x86_64 compiles-imac:~ compile$ -- Ticket URL: <https://trac.macports.org/ticket/51513#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#51513: gperf: configure failed ----------------------------+------------------------ Reporter: rkjones.iii@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gperf | ----------------------------+------------------------ Comment (by rkjones.iii@…): quick update i copied the libunwind.dylib file from /usr/lib/system and replaced the one in /usr/lib with that one and now it is installing ports again, i will keep this open for now just incase something else comes up -- Ticket URL: <https://trac.macports.org/ticket/51513#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#51513: gperf: configure failed ----------------------------+------------------------ Reporter: rkjones.iii@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: gperf | ----------------------------+------------------------ Changes (by jmr@…): * status: assigned => closed * resolution: => invalid Comment: Replying to [comment:10 mcalhoun@…]:
Perhaps {{{libunwind.dylib}}} is supposed to be in {{{/usr/lib/}}} on 10.7.5. Nope, I checked my 10.7 VM and there is no /usr/lib/libunwind.dylib. Short of an OS reinstall, I guess you could check pkgutil to perhaps see where this file came from and what else came with it: {{{ pkgutil --file-info /usr/lib/libunwind.dylib pkgutil --files <pkgid from previous command's output> }}}
Anyway, closing this ticket because it is the result of an incorrectly modified OS. If you need more help, please ask on the list. -- Ticket URL: <https://trac.macports.org/ticket/51513#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts