[MacPorts] #40625: Gnutls universal variant fails on Mountain Lion with Xcode 5.0
#40625: Gnutls universal variant fails on Mountain Lion with Xcode 5.0 -----------------------+-------------------------------- Reporter: arrakis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: -----------------------+-------------------------------- A fresh install of macports 2.2.0 was used after OS upgrade. This port was auto pulled in from wine, but also fails to build independently: The command: sudo port install gnutls +universal Produces the output: Error: org.macports.build for port gnutls returned: command execution failed Please see the log file for port gnutls for details: The log file contains: :info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.1.10-i386/src/crywrap' :info:build /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/clang -pipe -Os -arch i386 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch i386 -o crywrap crywrap.o ../../lib/libgnutls.la ../../gl/libgnu.la -lidn :info:build libtool: link: /usr/bin/clang -pipe -Os -arch i386 -Wl,-headerpad_max_install_names -arch i386 -o .libs/crywrap crywrap.o -L/opt/local/lib ../../lib/.libs/libgnutls.dylib -lz -lpthread /opt/local/lib/libp11-kit.dylib -lnettle -lhogweed /opt/local/lib/libgmp.\ dylib ../../gl/.libs/libgnu.a /opt/local/lib/libidn.dylib /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib :info:build ld: warning: ignoring file /opt/local/lib/libidn.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /opt/local/lib/libidn.dyl\ ib :info:build Undefined symbols for architecture i386: :info:build "_idna_to_ascii_lz", referenced from: :info:build __crywrap_parse_ip in crywrap.o :info:build "_stringprep_locale_charset", referenced from: :info:build _main in crywrap.o :info:build ld: symbol(s) not found for architecture i386 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[4]: *** [crywrap] Error 1 :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.1.10-i386/src/crywrap' :info:build make[3]: *** [all-recursive] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.1.10-i386/src' :info:build make[2]: *** [all] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.1.10-i386/src' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.1.10-i386' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.1.10-i386' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.1.10-i386" && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build org.macports.build for port gnutls returned: command execution failed :debug:build Error code: NONE :debug:build Backtrace: command execution failed while executing "$procedure $targetname" :info:build Warning: targets not executed for gnutls: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port gnutls for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/main.log -- Ticket URL: <https://trac.macports.org/ticket/40625> MacPorts <http://www.macports.org/> Ports system for OS X
#40625: Gnutls universal variant fails on Mountain Lion with Xcode 5.0 ------------------------+-------------------------------- Reporter: arrakis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | ------------------------+-------------------------------- Comment (by devans@…): I just forced a rebuild of this port on the same platform with no problems. (10.8.5 + Xcode 5.0). The file it is complaining about is /opt/local/lib/libidn.dylib which is provided by port libidn. Please make sure this port is built correctly. On my system this is a symbolic link to /opt/local/lib/libidn.11.dylib. {{{ devans$ file /opt/local/lib/libidn.11.dylib /opt/local/lib/libidn.11.dylib: Mach-O universal binary with 2 architectures: [x86_64: Mach-O 64-bit x86_64 dynamically linked shared library] [i386: Mach-O i386 dynamically linked shared library] }}} -- Ticket URL: <https://trac.macports.org/ticket/40625#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40625: Gnutls universal variant fails on Mountain Lion with Xcode 5.0 ------------------------+-------------------------------- Reporter: arrakis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | ------------------------+-------------------------------- Comment (by arrakis@…): Libidn was installed correctly through macports. However, libidn has a universal variant available. When I ran sudo port install libidn +universal the universal binary was correctly installed. Rerunning sudo port install gnutls +universal Now worked. So thanks for the tip. gnutls +universal needs libidn +universal as a dependency, which doesn't seem to be correctly set in the gnutls port file specification -- Ticket URL: <https://trac.macports.org/ticket/40625#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40625: Gnutls universal variant fails on Mountain Lion with Xcode 5.0 ------------------------+-------------------------------- Reporter: arrakis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | ------------------------+-------------------------------- Comment (by devans@…): You're absolutely right! Missing dependency on libidn added in r111721. Thanks for your report. -- Ticket URL: <https://trac.macports.org/ticket/40625#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40625: Gnutls universal variant fails on Mountain Lion with Xcode 5.0 ------------------------+-------------------------------- Reporter: arrakis@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: | ------------------------+-------------------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/40625#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40625: Gnutls universal variant fails on Mountain Lion with Xcode 5.0 ------------------------+-------------------------------- Reporter: arrakis@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: gnutls | ------------------------+-------------------------------- Changes (by macsforever2000@…): * port: => gnutls -- Ticket URL: <https://trac.macports.org/ticket/40625#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts