[MacPorts] #42118: failed to configure avarice
#42118: failed to configure avarice ---------------------------+-------------------------------- Reporter: jud.leonard@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: avarice ---------------------------+-------------------------------- sudo port install avarice ---> Computing dependencies for avarice ---> Fetching archive for avarice ---> Attempting to fetch avarice-2.13_1.darwin_13.x86_64.tbz2 from http://packages.macports.org/avarice ---> Attempting to fetch avarice-2.13_1.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/avarice ---> Attempting to fetch avarice-2.13_1.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/avarice ---> Fetching distfiles for avarice ---> Verifying checksums for avarice ---> Extracting avarice ---> Configuring avarice Error: Failed to configure avarice, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_avarice/avarice/work/avarice-2.13/config.log Error: org.macports.configure for port avarice returned: configure failure: command execution failed Please see the log file for port avarice for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_avarice/avarice/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port avarice failed -- Ticket URL: <https://trac.macports.org/ticket/42118> MacPorts <http://www.macports.org/> Ports system for OS X
#42118: failed to configure avarice ----------------------------+-------------------------------- Reporter: jud.leonard@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: avarice | ----------------------------+-------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid Old description:
sudo port install avarice ---> Computing dependencies for avarice ---> Fetching archive for avarice ---> Attempting to fetch avarice-2.13_1.darwin_13.x86_64.tbz2 from http://packages.macports.org/avarice ---> Attempting to fetch avarice-2.13_1.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/avarice ---> Attempting to fetch avarice-2.13_1.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/avarice ---> Fetching distfiles for avarice ---> Verifying checksums for avarice ---> Extracting avarice ---> Configuring avarice Error: Failed to configure avarice, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_avarice/avarice/work/avarice-2.13/config.log Error: org.macports.configure for port avarice returned: configure failure: command execution failed Please see the log file for port avarice for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_avarice/avarice/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port avarice failed
New description: {{{ sudo port install avarice ---> Computing dependencies for avarice ---> Fetching archive for avarice ---> Attempting to fetch avarice-2.13_1.darwin_13.x86_64.tbz2 from http://packages.macports.org/avarice ---> Attempting to fetch avarice-2.13_1.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/avarice ---> Attempting to fetch avarice-2.13_1.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/avarice ---> Fetching distfiles for avarice ---> Verifying checksums for avarice ---> Extracting avarice ---> Configuring avarice Error: Failed to configure avarice, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_avarice/avarice/work/avarice-2.13/config.log Error: org.macports.configure for port avarice returned: configure failure: command execution failed Please see the log file for port avarice for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_avarice/avarice/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port avarice failed }}} -- Comment: In the future, please use WikiFormatting. The error is: {{{ :info:configure configure: error: C++ compiler cannot create executables }}} That means that you have not correctly [http://guide.macports.org/chunked/installing.xcode.html#installing.xcode.mav... installed the Xcode command line tools]. -- Ticket URL: <https://trac.macports.org/ticket/42118#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42118: failed to configure avarice ----------------------------+-------------------------------- Reporter: jud.leonard@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: avarice | ----------------------------+-------------------------------- Changes (by dwb@…): * status: closed => reopened * resolution: invalid => Comment: I'm seeing the same problem and I >have< correctly installed the command line tools. Looking at config.log: {{{ configure:2942: /usr/bin/clang++ -pipe -Os -arch x86_64 -I/opt/local/include -I\ /opt/local/avr/host/include -DPACKAGE=avarice -DPACKAGE_VERSION=2.13 -L/opt/loc\ al/lib -Wl,-headerpad_max_install_names -lz -L/opt/local/avr/host/lib -lbfd -li\ berty -arch x86_64 conftest.cpp >&5 conftest.cpp:4:9: warning: 'PACKAGE_VERSION' macro redefined #define PACKAGE_VERSION "2.13" ^ <command line>:2:9: note: previous definition is here #define PACKAGE_VERSION 2.13 ^ conftest.cpp:8:9: warning: 'PACKAGE' macro redefined #define PACKAGE "avarice" ^ <command line>:1:9: note: previous definition is here #define PACKAGE avarice ^ 2 warnings generated. ld: library not found for -liberty clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:2946: $? = 1 configure:2984: result: no configure: failed program was: | /* confdefs.h */ }}} It seems like there's a missing dependency on liberty. -- Ticket URL: <https://trac.macports.org/ticket/42118#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42118: failed to configure avarice ----------------------------+-------------------------------- Reporter: jud.leonard@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: avarice | ----------------------------+-------------------------------- Comment (by dwb@…): Changing the following allows it to compile but feels like a really broken solution: {{{ /depends_lib port:gettext port:libusb-compat port:zlib \ port:avr-binutils port:gcc48 configure.cc gcc-mp-4.8 configure.cxx g++-mp-4.8 configure.args --mandir=${prefix}/share/man \ --enable-target-programming configure.ldflags-append -lz \ -L${prefix}/avr/host/lib -lbfd \ -L/opt/local/lib/gcc48/x86_64 -liberty }}} I'm not sure why /opt/local/lib/gcc48/x86_64 isn't in the search path for gcc-mp-4.8, but it isn't. In any case forcing the gcc 4.8 doesn't seem like the right answer. -- Ticket URL: <https://trac.macports.org/ticket/42118#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42118: avarice @2.13_1: configure fails with non-GCC compilers ----------------------------+---------------------- Reporter: jud.leonard@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: avarice | ----------------------------+---------------------- Changes (by larryv@…): * status: reopened => new * owner: macports-tickets@… => larryv@… -- Ticket URL: <https://trac.macports.org/ticket/42118#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42118: avarice @2.13_1: configure fails with non-GCC compilers ----------------------------+---------------------- Reporter: jud.leonard@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: avarice | ----------------------------+---------------------- Comment (by cubemike99@…): Dwb, your fix worked for me. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/42118#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42118: avarice @2.13_1: configure fails with non-GCC compilers ----------------------------+---------------------- Reporter: jud.leonard@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: avarice | ----------------------------+---------------------- Comment (by eckart.schlottmann@…): The fix also worked for me. Please note: The change needs to be done in the right Portfile (two are existing in my installation):[[BR]] /opt/local/var/macports/sources/rsync.macports.org/release/ports/cross/avarice/Portfile[[BR]] and [[BR]] /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/cross/avarice/Portfile[[BR]] Get the correct file by asking the system: {{{ sudo port file avarice }}} gives for me[[BR]] /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/cross/avarice/Portfile[[BR]] which is good. -- Ticket URL: <https://trac.macports.org/ticket/42118#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42118: avarice @2.13_1: configure fails with non-GCC compilers ----------------------------+---------------------- Reporter: jud.leonard@… | Owner: larryv@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: avarice | ----------------------------+---------------------- Changes (by larryv@…): * status: new => closed * resolution: => fixed Comment: Fixed in r117877 by installing libiberty with `avr-binutils`. -- Ticket URL: <https://trac.macports.org/ticket/42118#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts