Opened 14 years ago

Closed 14 years ago

#25601 closed defect (fixed)

fbopenssl install_name is wrong with MacPorts 1.9.x

Reported by: hinnerk (Hinnerk Haardt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: fbopenssl

Description

curl @7.21.0 +spnego with fbopenssl @0.4.0 Rev 2 won't build on Max OS X 10.6.4, using Xcode 3.2.2 for MacPorts 1.9.1 with the error message

[…]

checking run-time libs availability... failed

configure: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lidn -lssl -lcrypto -lssl -lcrypto -lz -lz

# port -d install curl +spnego
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/curl
DEBUG: OS darwin/10.4.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Executing variant ssl provides ssl
DEBUG: Executing variant spnego provides spnego
Portfile changed since last build; discarding previous state.
DEBUG: delete: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work
DEBUG: Starting logging for curl
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: pkgconfig 0.25_0 exists in the ports tree
DEBUG: pkgconfig 0.25_0  is the latest installed
DEBUG: pkgconfig 0.25_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig
DEBUG: OS darwin/10.4.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: No need to upgrade! pkgconfig 0.25_0 >= pkgconfig 0.25_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: zlib 1.2.5_0 exists in the ports tree
DEBUG: zlib 1.2.5_0  is the latest installed
DEBUG: zlib 1.2.5_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: OS darwin/10.4.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: No need to upgrade! zlib 1.2.5_0 >= zlib 1.2.5_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libidn 1.19_0 exists in the ports tree
DEBUG: libidn 1.19_0  is the latest installed
DEBUG: libidn 1.19_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/mail/libidn
DEBUG: OS darwin/10.4.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: No need to upgrade! libidn 1.19_0 >= libidn 1.19_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libiconv 1.13.1_0 exists in the ports tree
DEBUG: libiconv 1.13.1_0  is the latest installed
DEBUG: libiconv 1.13.1_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: OS darwin/10.4.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: No need to upgrade! libiconv 1.13.1_0 >= libiconv 1.13.1_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: gettext 0.18.1.1_0 exists in the ports tree
DEBUG: gettext 0.18.1.1_0  is the latest installed
DEBUG: gettext 0.18.1.1_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
DEBUG: OS darwin/10.4.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
DEBUG: universal variant already exists, so not adding the default one
DEBUG: No need to upgrade! gettext 0.18.1.1_0 >= gettext 0.18.1.1_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncurses 5.7_0 exists in the ports tree
DEBUG: ncurses 5.7_0 +darwin_10 is the latest installed
DEBUG: ncurses 5.7_0 +darwin_10 is active
DEBUG: Merging existing variants '+darwin_10' into variants
DEBUG: new fully merged portvariants: darwin_10 +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
DEBUG: OS darwin/10.4.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin_10 is not provided by port ncurses.
DEBUG: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even though installed variants "+darwin_10" do not match "".
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncursesw 5.7_0 exists in the ports tree
DEBUG: ncursesw 5.7_0 +darwin_10 is the latest installed
DEBUG: ncursesw 5.7_0 +darwin_10 is active
DEBUG: Merging existing variants '+darwin_10' into variants
DEBUG: new fully merged portvariants: darwin_10 +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
DEBUG: OS darwin/10.4.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin_10 is not provided by port ncursesw.
DEBUG: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even though installed variants "+darwin_10" do not match "".
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: expat 2.0.1_0 exists in the ports tree
DEBUG: expat 2.0.1_0  is the latest installed
DEBUG: expat 2.0.1_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
DEBUG: OS darwin/10.4.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: No need to upgrade! expat 2.0.1_0 >= expat 2.0.1_0
DEBUG: epoch: in tree: 1 installed: 1
DEBUG: openssl 1.0.0a_0 exists in the ports tree
DEBUG: openssl 1.0.0a_0  is the latest installed
DEBUG: openssl 1.0.0a_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
DEBUG: OS darwin/10.4.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: No need to upgrade! openssl 1.0.0a_0 >= openssl 1.0.0a_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: curl-ca-bundle 7.21.0_0 exists in the ports tree
DEBUG: curl-ca-bundle 7.21.0_0  is the latest installed
DEBUG: curl-ca-bundle 7.21.0_0  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/curl-ca-bundle
DEBUG: OS darwin/10.4.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: universal_variant is false, so not adding the default universal variant
DEBUG: No need to upgrade! curl-ca-bundle 7.21.0_0 >= curl-ca-bundle 7.21.0_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: fbopenssl 0.0.4_2 exists in the ports tree
DEBUG: fbopenssl 0.0.4_2  is the latest installed
DEBUG: fbopenssl 0.0.4_2  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/fbopenssl
DEBUG: OS darwin/10.4.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: universal_variant is false, so not adding the default universal variant
DEBUG: No need to upgrade! fbopenssl 0.0.4_2 >= fbopenssl 0.0.4_2
--->  Computing dependencies for curl
DEBUG: Searching for dependency: pkgconfig
DEBUG: Found Dependency: receipt exists for pkgconfig
DEBUG: Searching for dependency: zlib
DEBUG: Found Dependency: receipt exists for zlib
DEBUG: Searching for dependency: libidn
DEBUG: Found Dependency: receipt exists for libidn
DEBUG: Searching for dependency: openssl
DEBUG: Found Dependency: receipt exists for openssl
DEBUG: Searching for dependency: curl-ca-bundle
DEBUG: Found Dependency: receipt exists for curl-ca-bundle
DEBUG: Searching for dependency: fbopenssl
DEBUG: Found Dependency: receipt exists for fbopenssl
DEBUG: Executing org.macports.main (curl)
--->  Fetching curl
DEBUG: fetch phase started at Fri Jul  9 15:45:36 CEST 2010
DEBUG: Executing org.macports.fetch (curl)
--->  Verifying checksum(s) for curl
DEBUG: checksum phase started at Fri Jul  9 15:45:36 CEST 2010
DEBUG: Executing org.macports.checksum (curl)
--->  Checksumming curl-7.21.0.tar.bz2
DEBUG: Correct (md5) checksum for curl-7.21.0.tar.bz2
DEBUG: Correct (sha1) checksum for curl-7.21.0.tar.bz2
DEBUG: Correct (rmd160) checksum for curl-7.21.0.tar.bz2
DEBUG: setting option extract.cmd to /usr/bin/bzip2
--->  Extracting curl
DEBUG: extract phase started at Fri Jul  9 15:45:36 CEST 2010
DEBUG: Executing org.macports.extract (curl)
--->  Extracting curl-7.21.0.tar.bz2
DEBUG: setting option extract.args to '/opt/local/var/macports/distfiles/curl/curl-7.21.0.tar.bz2'
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/curl/curl-7.21.0.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: patch phase started at Fri Jul  9 15:45:41 CEST 2010
DEBUG: Executing org.macports.patch (curl)
--->  Configuring curl
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: configure phase started at Fri Jul  9 15:45:42 CEST 2010
DEBUG: Executing proc-pre-org.macports.configure-configure-0
DEBUG: Executing org.macports.configure (curl)
DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' PKG_CONFIG_PATH='/opt/local' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work/.CC_PRINT_OPTIONS' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' FCFLAGS='-O2 -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work/curl-7.21.0" && ./configure --prefix=/opt/local --enable-ipv6 --without-gnutls --without-gssapi --without-libssh2 --disable-ares --disable-ldap --disable-ldaps --with-libidn --with-zlib=/opt/local --with-ssl --with-ca-bundle=/opt/local/share/curl/curl-ca-bundle.crt --with-spnego=/opt/local'
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable curl debug memory tracking... no
checking whether to enable c-ares for DNS lookups... no
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ar... /usr/bin/ar
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking curl version... 7.21.0
checking build system type... x86_64-apple-darwin10.4.0
checking host system type... x86_64-apple-darwin10.4.0
checking for style of include used by make... GNU
checking for gcc... /usr/bin/gcc-4.2
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking dependency style of /usr/bin/gcc-4.2... gcc3
checking for sys/types.h... yes
checking for stdint.h... yes
checking for inttypes.h... yes
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... yes
checking size of long... 8
checking size of void*... 8
checking for 64-bit curl_off_t data type... long
checking size of curl_off_t... 8
checking formatting string directive for curl_off_t... "ld"
checking formatting string directive for unsigned curl_off_t... "lu"
checking constant suffix string for curl_off_t... L
checking constant suffix string for unsigned curl_off_t... UL
checking if OS is AIX (to define _ALL_SOURCE)... no
checking if _THREAD_SAFE is already defined... no
checking if _THREAD_SAFE is actually needed... no
checking if _THREAD_SAFE is onwards defined... no
checking if _REENTRANT is already defined... no
checking if _REENTRANT is actually needed... no
checking if _REENTRANT is onwards defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking if arch-OS host is AMD64-Linux/FreeBSD (to build static libraries with PIC)... no
checking if compiler is icc (to build with PIC)... no
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/gcc-4.2... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... /usr/bin/ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from /usr/bin/gcc-4.2 object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/gcc-4.2 static flag -static works... no
checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes
checking if /usr/bin/gcc-4.2 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking if we need -mimpure-text... no
checking if we need BUILDING_LIBCURL... no
checking whether make sets $(MAKE)... (cached) yes
checking for inline... inline
checking if compiler is DEC/Compaq/HP C... no
checking if compiler is HP-UX C... no
checking if compiler is IBM C... no
checking if compiler is Intel C... no
checking if compiler is clang... no
checking if compiler is GNU C... yes
checking if compiler is LCC... no
checking if compiler is SGI MIPSpro C... no
checking if compiler is SGI MIPS C... no
checking if compiler is SunPro C... no
checking if compiler is Tiny C... no
checking if compiler is Watcom C... no
checking if compiler accepts debug disabling options... yes
configure: compiler options added: -g0
checking if compiler optimizer assumed setting might be used... no
checking if compiler accepts strict warning options... yes
configure: compiler options added: -Wno-system-headers 
checking if compiler halts on compilation errors... yes
checking if compiler halts on negative sized arrays... yes
checking if shared libraries need -no-undefined... no
checking for windows.h... no
checking whether build target is a native Windows one... no
checking whether build target supports WIN32 file API... no
checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support file... yes
checking whether to support ldap... no
checking whether to support ldaps... no
checking whether to support rtsp... yes
checking whether to support proxies... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to support tftp... yes
checking whether to support pop3... yes
checking whether to support imap... yes
checking whether to support smtp... yes
checking whether to provide built-in manual... yes
checking if X/Open network library is required... no
checking for gethostbyname... yes
checking for strcasecmp... yes
checking for windows.h... (cached) no
checking for winsock.h... (cached) no
checking for winsock2.h... (cached) no
checking for connect in libraries... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for monotonic clock_gettime... no
checking whether to use libgcc... no
checking whether to enable ipv6... yes
checking if struct sockaddr_in6 has sin6_scope_id member... yes
checking if argv can be written to... yes
checking if Kerberos4 support is requested... no
checking if SPNEGO support is requested... yes
checking if GSSAPI support is requested... no
checking for pkg-config... /opt/local/bin/pkg-config
checking for openssl options with pkg-config... found
configure: pkg-config: SSL_LIBS: "-lssl -lcrypto -lz  "
configure: pkg-config: SSL_LDFLAGS: "-L/opt/local/lib  "
configure: pkg-config: SSL_CPPFLAGS: "-I/opt/local/include  "
checking for CRYPTO_lock in -lcrypto... yes
checking for SSL_connect in -lssl... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/pem.h usability... yes
checking openssl/pem.h presence... yes
checking for openssl/pem.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/pkcs12.h usability... yes
checking openssl/pkcs12.h presence... yes
checking for openssl/pkcs12.h... yes
checking for ENGINE_init... yes
checking openssl/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
checking for ENGINE_load_builtin_engines... yes
checking for RAND_status... yes
checking for RAND_screen... no
checking for RAND_egd... yes
checking for ENGINE_cleanup... yes
checking for CRYPTO_cleanup_all_ex_data... yes
checking for SSL_get_shutdown... yes
checking for yaSSL using OpenSSL compatibility mode... no
configure: Added /opt/local/lib to LD_LIBRARY_PATH
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzread in -lz... yes
configure: found both libz and libz.h header
checking for "/dev/urandom"... yes
checking default CA cert bundle/path... /opt/local/share/curl/curl-ca-bundle.crt
checking for RTMP_Init in -lrtmp... no
checking librtmp/rtmp.h usability... no
checking librtmp/rtmp.h presence... no
checking for librtmp/rtmp.h... no
checking whether to build with libidn... yes
checking for idna_to_ascii_lz in -lidn... yes
checking for idn_free... yes
checking for idna_strerror... yes
checking for tld_strerror... yes
checking idn-free.h usability... yes
checking idn-free.h presence... yes
checking for idn-free.h... yes
checking tld.h usability... yes
checking tld.h presence... yes
checking for tld.h... yes
checking for ANSI C header files... (cached) yes
checking for malloc.h... no
checking for memory.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/ioctl.h... yes
checking for sys/uio.h... yes
checking for assert.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for limits.h... yes
checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for sys/un.h... yes
checking for netinet/tcp.h... yes
checking for netdb.h... yes
checking for sys/sockio.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/param.h... yes
checking for termios.h... yes
checking for termio.h... no
checking for sgtty.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for time.h... (cached) yes
checking for io.h... no
checking for pwd.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for sys/poll.h... yes
checking for poll.h... yes
checking for socket.h... no
checking for sys/resource.h... yes
checking for libgen.h... yes
checking for locale.h... yes
checking for errno.h... yes
checking for stdbool.h... yes
checking for arpa/tftp.h... yes
checking for sys/filio.h... yes
checking for setjmp.h... yes
checking for an ANSI C-conforming const... yes
checking for compiler support of C99 variadic macro style... yes
checking for compiler support of old gcc variadic macro style... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for struct timeval... yes
checking run-time libs availability... failed
configure: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lidn -lssl -lcrypto  -lssl -lcrypto -lz   -lz
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work/curl-7.21.0" && ./configure --prefix=/opt/local --enable-ipv6 --without-gnutls --without-gssapi --without-libssh2 --disable-ares --disable-ldap --disable-ldaps --with-libidn --with-zlib=/opt/local --with-ssl --with-ca-bundle=/opt/local/share/curl/curl-ca-bundle.crt --with-spnego=/opt/local " returned error 1
Error: Target org.macports.configure returned: configure failure: shell command failed
DEBUG: Backtrace: configure failure: shell command failed
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for curl): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Log for curl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

patch-Portfile.diff (595 bytes) - added by pixilla (Bradley Giesbrecht) 14 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ryandesign@…
Port: curl added

Please remember to fill in the port field and Cc the maintainers.

comment:2 Changed 14 years ago by pixilla (Bradley Giesbrecht)

I get a similar error with curl doing port upgrade outdated. In my case configuring without +openldap gets me past this error.

comment:3 Changed 14 years ago by pixilla (Bradley Giesbrecht)

I had a local copy of openldap that was not upgraded after upgrading openssl. Removing my local openldap and building the current MacPorts openldap allowed me to install curl +openldap.

Perhaps there is something not being upgraded after an openssl upgrade relating to +spnego.

Have you tried rebuilding fbopenssl?

comment:4 in reply to:  3 Changed 14 years ago by hinnerk (Hinnerk Haardt)

Replying to brad@…:

Have you tried rebuilding fbopenssl?

yes, I've rebuilt every depending package (and cleaned it before) as I was depending on MacPorts to access a Subversion repository.

comment:5 Changed 14 years ago by pixilla (Bradley Giesbrecht)

port version Version: 1.9.1

## Original Portfile

build.args       CC=${configure.cc} CFG=release OPENSSLDIR=${prefix}
otool -L ./work/destroot/opt/local/lib/libfbopenssl.dylib 
./work/destroot/opt/local/lib/libfbopenssl.dylib:
	/lib/libfbopenssl.dylib (compatibility version 0.0.0, current version 0.0.0)
	/opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.5)

## Revised Portfile

build.args-append \
                 CC=${configure.cc} CFG=release OPENSSLDIR=${prefix}
otool -L ./work/destroot/opt/local/lib/libfbopenssl.dylib 
./work/destroot/opt/local/lib/libfbopenssl.dylib:
	/opt/local/lib/libfbopenssl.dylib (compatibility version 0.0.0, current version 0.0.0)
	/opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.5)

Changed 14 years ago by pixilla (Bradley Giesbrecht)

Attachment: patch-Portfile.diff added

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Port: fbopenssl added; curl removed
Resolution: fixed
Status: newclosed
Summary: curl @7.21.0 variant +spnego ./configure failsfbopenssl install_name is wrong with MacPorts 1.9.x

This problem was caused by MacPorts 1.9.x which evaluates platform variants where they occur in the portfile, not in a second pass after the rest of the portfile has been parsed as MacPorts 1.8.x and earlier did. I applied the correct fix in r69929 by moving the platform variants to the end, after the build.args are set in the main part of the portfile.

Note: See TracTickets for help on using tickets.