Opened 15 years ago

Closed 15 years ago

#21867 closed defect (worksforme)

curl-7.19.6 fails to build with Xcode 3.2

Reported by: davec@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: curl

Description (last modified by skymoo (Adam Mercer))

Trying to build ocaml which needs curl from a fresh /opt I get:

[mp]davec (503): sudo port install curl
--->  Computing dependencies for curl
--->  Fetching curl
--->  Verifying checksum(s) for curl
--->  Extracting curl
--->  Configuring curl
--->  Building curl
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work/curl-7.19.6" && /usr/bin/make -j1 all " returned error 2
Command output: curl_addrinfo.h:79: warning: its scope is only this definition or declaration, which is probably not what you want
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.c -o file.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H  -I../include -I../include -I../lib -I../lib  -isystem /opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT timeval.lo -MD -MP -MF ".deps/timeval.Tpo" -c -o timeval.lo timeval.c; \
	then mv -f ".deps/timeval.Tpo" ".deps/timeval.Plo"; else rm -f ".deps/timeval.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT timeval.lo -MD -MP -MF .deps/timeval.Tpo -c timeval.c  -fno-common -DPIC -o .libs/timeval.o
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT timeval.lo -MD -MP -MF .deps/timeval.Tpo -c timeval.c -o timeval.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H  -I../include -I../include -I../lib -I../lib  -isystem /opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT base64.lo -MD -MP -MF ".deps/base64.Tpo" -c -o base64.lo base64.c; \
	then mv -f ".deps/base64.Tpo" ".deps/base64.Plo"; else rm -f ".deps/base64.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c  -fno-common -DPIC -o .libs/base64.o
In file included from hostip.h:28,
                 from urldata.h:124,
                 from base64.c:43:
curl_addrinfo.h:79: warning: 'struct hostent' declared inside parameter list
curl_addrinfo.h:79: warning: its scope is only this definition or declaration, which is probably not what you want
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c -o base64.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H  -I../include -I../include -I../lib -I../lib  -isystem /opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT hostip.lo -MD -MP -MF ".deps/hostip.Tpo" -c -o hostip.lo hostip.c; \
	then mv -f ".deps/hostip.Tpo" ".deps/hostip.Plo"; else rm -f ".deps/hostip.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT hostip.lo -MD -MP -MF .deps/hostip.Tpo -c hostip.c  -fno-common -DPIC -o .libs/hostip.o
In file included from hostip.h:28,
                 from urldata.h:124,
                 from hostip.c:63:
curl_addrinfo.h:79: warning: 'struct hostent' declared inside parameter list
curl_addrinfo.h:79: warning: its scope is only this definition or declaration, which is probably not what you want
hostip.c: In function 'Curl_printable_address':
hostip.c:191: error: dereferencing pointer to incomplete type
hostip.c: In function 'Curl_addrinfo_copy':
hostip.c:721: warning: passing argument 1 of 'Curl_he2ai' from incompatible pointer type
make[2]: *** [hostip.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

Ports installed:

The following ports are currently installed:
  apache2 @2.2.13_2+darwin+preforkmpm (active)
  apr @1.3.8_0 (active)
  apr-util @1.3.9_0 (active)
  AquaLess @1.6_0 (active)
  atk @1.26.0_1 (active)
  autoconf @2.64_2 (active)
  autoconf213 @2.13_1 (active)
  automake @1.11_0 (active)
  bzip2 @1.0.5_2+darwin (active)
  cairo @1.8.8_0+macosx+quartz (active)
  db46 @4.6.21_5 (active)
  dovecot @1.1.16_0+darwin_10 (active)
  expat @2.0.1_0 (active)
  fontconfig @2.7.2_0+macosx (active)
  freetype @2.3.9_1+macosx (active)
  gawk @3.1.7_0 (active)
  gettext @0.17_4 (active)
  glib2 @2.20.5_0+darwin (active)
  gperf @3.0.4_0 (active)
  gsed @4.2.1_0 (active)
  help2man @1.36.4_1 (active)
  jasper @1.900.1_4 (active)
  jpeg @6b_3 (active)
  libiconv @1.13_0 (active)
  libpcap @1.0.0_0 (active)
  libpixman @0.16.0_0 (active)
  libpng @1.2.38_0 (active)
  libtool @2.2.6a_0 (active)
  libxml2 @2.7.3_0 (active)
  m4 @1.4.13_0 (active)
  mhash @0.9.9.9_0 (active)
  ncurses @5.7_0+darwin_10 (active)
  ncursesw @5.7_0+darwin_10 (active)
  ngrep @1.45_0 (active)
  openssl @0.9.8k_0+darwin (active)
  p5-locale-gettext @1.05_0 (active)
  pcre @7.9_0 (active)
  perl5.10 @5.10.1_0+darwin (active)
  perl5.8 @5.8.9_3
  php5 @5.3.0_2+apache2+darwin_10+macosx (active)
  pkgconfig @0.23_1 (active)
  pstree @2.32_0 (active)
  readline @6.0.000_1+darwin (active)
  sphinx3 @0.4.1_0 (active)
  sqlite3 @3.6.17_0+darwin_10 (active)
  Xft2 @2.1.13_2 (active)
  xorg-bigreqsproto @1.1.0_0 (active)
  xorg-inputproto @1.5.1_0 (active)
  xorg-kbproto @1.0.3_0 (active)
  xorg-libX11 @1.2.2_0 (active)
  xorg-libXau @1.0.5_0 (active)
  xorg-libXdmcp @1.0.2_1 (active)
  xorg-renderproto @0.11_0 (active)
  xorg-util-macros @1.2.2_0 (active)
  xorg-xcmiscproto @1.2.0_0 (active)
  xorg-xextproto @7.1.1_0 (active)
  xorg-xf86bigfontproto @1.2.0_0 (active)
  xorg-xproto @7.0.15_0 (active)
  xorg-xtrans @1.2.4_0 (active)
  xrender @0.9.4_6 (active)
  zlib @1.2.3_3 (active)

Attachments (2)

curl-davec-ipv6.txt (44.7 KB) - added by ryandesign (Ryan Carsten Schmidt) 15 years ago.
davec's output in a file for easier downloading
curl-ryandesign-ipv6.txt (187.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 15 years ago.
my output

Download all attachments as: .zip

Change History (10)

comment:1 Changed 15 years ago by skymoo (Adam Mercer)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: curl added

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

curl builds for me on Snow Leopard. Could you please clean and try again with debug output?

sudo port clean curl
sudo port -d install curl build.jobs=1 2>&1 | tee ~/Desktop/curl.txt

Then attach curl.txt from your desktop to this ticket and I'll compare your output to mine.

comment:3 Changed 15 years ago by davec@…

sudo port clean curl
sudo port -d install curl build.jobs=1 2>&1 | tee ~/Desktop/curl.txt

[mp]~/Desktop (497): cat curl.txt 
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/curl
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/curl
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
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 is not provided by port curl.
DEBUG: Requested variant i386 is not provided by port curl.
DEBUG: Requested variant macosx is not provided by port curl.
DEBUG: Executing variant ipv6 provides ipv6
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/curl/work
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: zlib 1.2.3_3 exists in the ports tree
DEBUG: zlib 1.2.3_3  is the latest installed
DEBUG: zlib 1.2.3_3  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 Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
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: Requested variant darwin is not provided by port zlib.
DEBUG: Requested variant i386 is not provided by port zlib.
DEBUG: Requested variant macosx is not provided by port zlib.
DEBUG: No need to upgrade! zlib 1.2.3_3 >= zlib 1.2.3_3
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: pkgconfig 0.23_1 exists in the ports tree
DEBUG: pkgconfig 0.23_1  is the latest installed
DEBUG: pkgconfig 0.23_1  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 Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
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: Requested variant darwin is not provided by port pkgconfig.
DEBUG: Requested variant i386 is not provided by port pkgconfig.
DEBUG: Requested variant macosx is not provided by port pkgconfig.
DEBUG: No need to upgrade! pkgconfig 0.23_1 >= pkgconfig 0.23_1
--->  Computing dependencies for curl
DEBUG: Searching for dependency: zlib
DEBUG: Found Dependency: receipt exists for zlib
DEBUG: Searching for dependency: pkgconfig
DEBUG: Found Dependency: receipt exists for pkgconfig
DEBUG: Executing org.macports.main (curl)
--->  Fetching curl
DEBUG: Executing org.macports.fetch (curl)
--->  Verifying checksum(s) for curl
DEBUG: Executing org.macports.checksum (curl)
--->  Checksumming curl-7.19.6.tar.bz2
DEBUG: Correct (md5) checksum for curl-7.19.6.tar.bz2
DEBUG: Correct (sha1) checksum for curl-7.19.6.tar.bz2
DEBUG: Correct (rmd160) checksum for curl-7.19.6.tar.bz2
DEBUG: setting option extract.cmd to /usr/bin/bzip2
--->  Extracting curl
DEBUG: Executing org.macports.extract (curl)
--->  Extracting curl-7.19.6.tar.bz2
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/curl/curl-7.19.6.tar.bz2
DEBUG: Environment: 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.19.6.tar.bz2 | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (curl)
--->  Configuring curl
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: Executing org.macports.configure (curl)
DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' PKG_CONFIG_PATH='/opt/local' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2 -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' 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.19.6" && ./configure --prefix=/opt/local --without-libidn --without-libssh2 --without-ssl --disable-ldap --with-zlib=/opt/local --enable-ipv6'
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... not specified (assuming yes)
checking whether to enable strict compiler warnings... no
checking whether to enable curl debug memory tracking... 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.19.6
checking build system type... i386-apple-darwin10.0.0
checking host system type... i386-apple-darwin10.0.0
checking for style of include used by make... GNU
checking for gcc... /usr/bin/gcc-4.2
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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... no
checking for inttypes.h... no
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) no
checking for stdint.h... (cached) no
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 _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 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.0.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 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 proxies... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to support tftp... 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... no
checking if argv can be written to... yes
checking if Kerberos4 support is requested... no
checking if SPNEGO support is requested... no
checking if GSSAPI support is requested... no
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
configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more.
configure: WARNING: Use --with-ssl, --with-gnutls or --with-nss to address this.
checking default CA cert bundle/path... no
checking whether to build with libidn... no
checking AIX 4.3 or later... no
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... no
checking for net/if.h... no
checking for netinet/in.h... no
checking for sys/un.h... yes
checking for netinet/tcp.h... yes
checking for netdb.h... no
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... fine
checking size of size_t... 8
checking size of int... 4
checking size of long... (cached) 8
checking size of time_t... 8
checking size of off_t... 8
checking for long long... yes
checking if numberLL works... yes
checking for ssize_t... yes
checking for bool... yes
checking for windows.h... (cached) no
checking for winsock2.h... (cached) no
checking for ws2tcpip.h... (cached) no
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for curl_socklen_t data type... socklen_t
checking size of curl_socklen_t... 4
checking for in_addr_t... yes
checking for struct sockaddr_storage... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sig_atomic_t... yes
checking if sig_atomic_t is already defined as volatile... no
checking return type of signal handlers... void
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for select... yes
checking types of args and return type for select... int,fd_set *,struct timeval *,int
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for recv... yes
checking types of args and return type for recv... int,void *,size_t,int,ssize_t
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for recvfrom... yes
checking types of args and return type for recvfrom... int,void *,size_t,int,struct sockaddr *,socklen_t *,ssize_t
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for send... yes
checking types of args and return type for send... int,const void *,size_t,int,ssize_t
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for MSG_NOSIGNAL... no
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking if alarm can be linked... yes
checking if alarm is prototyped... yes
checking if alarm is compilable... yes
checking if alarm usage allowed... yes
checking if alarm might be used... yes
checking for sys/types.h... (cached) yes
checking for socket.h... (cached) no
checking if closesocket can be linked... no
checking if closesocket might be used... no
checking if CloseSocket can be linked... no
checking if CloseSocket might be used... no
checking if connect can be linked... yes
checking if connect is prototyped... yes
checking if connect is compilable... yes
checking if connect usage allowed... yes
checking if connect might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking if fcntl can be linked... yes
checking if fcntl is prototyped... yes
checking if fcntl is compilable... yes
checking if fcntl usage allowed... yes
checking if fcntl might be used... yes
checking if fcntl O_NONBLOCK is compilable... yes
checking if fcntl O_NONBLOCK usage allowed... yes
checking if fcntl O_NONBLOCK might be used... yes
checking for sys/types.h... (cached) yes
checking for stdio.h... yes
checking if fdopen can be linked... yes
checking if fdopen is prototyped... yes
checking if fdopen is compilable... yes
checking if fdopen usage allowed... yes
checking if fdopen might be used... yes
checking for sys/types.h... (cached) yes
checking for netdb.h... (cached) no
checking if freeaddrinfo can be linked... yes
checking if freeaddrinfo is prototyped... no
checking if freeaddrinfo might be used... no
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) no
checking for ifaddrs.h... yes
checking if freeifaddrs can be linked... yes
checking if freeifaddrs is prototyped... yes
checking if freeifaddrs is compilable... yes
checking if freeifaddrs usage allowed... yes
checking if freeifaddrs might be used... yes
checking if ftruncate can be linked... yes
checking if ftruncate is prototyped... yes
checking if ftruncate is compilable... yes
checking if ftruncate usage allowed... yes
checking if ftruncate might be used... yes
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking if getaddrinfo can be linked... yes
checking if getaddrinfo is prototyped... no
checking if getaddrinfo might be used... no
checking if gethostbyaddr can be linked... yes
checking if gethostbyaddr is prototyped... no
checking if gethostbyaddr might be used... no
checking if gethostbyaddr_r can be linked... no
checking if gethostbyaddr_r might be used... no
checking if gethostbyname can be linked... yes
checking if gethostbyname is prototyped... no
checking if gethostbyname might be used... no
checking if gethostbyname_r can be linked... no
checking if gethostbyname_r might be used... no
checking if gethostname can be linked... yes
checking if gethostname is prototyped... yes
checking if gethostname is compilable... yes
checking if gethostname usage allowed... yes
checking if gethostname might be used... yes
checking if getifaddrs can be linked... yes
checking if getifaddrs is prototyped... yes
checking if getifaddrs is compilable... yes
checking if getifaddrs seems to work... yes
checking if getifaddrs usage allowed... yes
checking if getifaddrs might be used... yes
checking if getservbyport_r can be linked... no
checking if getservbyport_r might be used... no
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking if gmtime_r can be linked... yes
checking if gmtime_r is prototyped... yes
checking if gmtime_r is compilable... yes
checking if gmtime_r seems to work... yes
checking if gmtime_r usage allowed... yes
checking if gmtime_r might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) no
checking for arpa/inet.h... (cached) no
checking if inet_ntoa_r can be linked... no
checking if inet_ntoa_r might be used... no
checking if inet_ntop can be linked... yes
checking if inet_ntop is prototyped... no
checking if inet_ntop might be used... no
checking if inet_pton can be linked... yes
checking if inet_pton is prototyped... no
checking if inet_pton might be used... no
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for stropts.h... no
checking if ioctl can be linked... yes
checking if ioctl is prototyped... yes
checking if ioctl is compilable... yes
checking if ioctl usage allowed... yes
checking if ioctl might be used... yes
checking if ioctl FIONBIO is compilable... yes
checking if ioctl FIONBIO usage allowed... yes
checking if ioctl FIONBIO might be used... yes
checking if ioctl SIOCGIFADDR is compilable... no
checking if ioctl SIOCGIFADDR might be used... no
checking if ioctlsocket can be linked... no
checking if ioctlsocket might be used... no
checking if IoctlSocket can be linked... no
checking if IoctlSocket might be used... no
checking if localtime_r can be linked... yes
checking if localtime_r is prototyped... yes
checking if localtime_r is compilable... yes
checking if localtime_r seems to work... yes
checking if localtime_r usage allowed... yes
checking if localtime_r might be used... yes
checking for sys/types.h... (cached) yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking if poll can be linked... yes
checking if poll is prototyped... yes
checking if poll is compilable... yes
checking if poll seems to work... yes
checking if poll usage allowed... no
checking if poll might be used... no
checking if setsockopt can be linked... yes
checking if setsockopt is prototyped... yes
checking if setsockopt is compilable... yes
checking if setsockopt usage allowed... yes
checking if setsockopt might be used... yes
checking if setsockopt SO_NONBLOCK is compilable... no
checking if setsockopt SO_NONBLOCK might be used... no
checking for sys/types.h... (cached) yes
checking for signal.h... (cached) yes
checking if sigaction can be linked... yes
checking if sigaction is prototyped... yes
checking if sigaction is compilable... yes
checking if sigaction usage allowed... yes
checking if sigaction might be used... yes
checking if siginterrupt can be linked... yes
checking if siginterrupt is prototyped... yes
checking if siginterrupt is compilable... yes
checking if siginterrupt usage allowed... yes
checking if siginterrupt might be used... yes
checking if signal can be linked... yes
checking if signal is prototyped... yes
checking if signal is compilable... yes
checking if signal usage allowed... yes
checking if signal might be used... yes
checking for sys/types.h... (cached) yes
checking for setjmp.h... (cached) yes
checking if sigsetjmp can be linked... yes
checking if sigsetjmp is prototyped... yes
checking if sigsetjmp is compilable... yes
checking if sigsetjmp usage allowed... yes
checking if sigsetjmp might be used... yes
checking if socket can be linked... yes
checking if socket is prototyped... yes
checking if socket is compilable... yes
checking if socket usage allowed... yes
checking if socket might be used... yes
checking if strcasecmp can be linked... yes
checking if strcasecmp is prototyped... yes
checking if strcasecmp is compilable... yes
checking if strcasecmp usage allowed... yes
checking if strcasecmp might be used... yes
checking if strcasestr can be linked... yes
checking if strcasestr is prototyped... yes
checking if strcasestr is compilable... yes
checking if strcasestr usage allowed... yes
checking if strcasestr might be used... yes
checking if strcmpi can be linked... no
checking if strcmpi might be used... no
checking if strdup can be linked... yes
checking if strdup is prototyped... yes
checking if strdup is compilable... yes
checking if strdup usage allowed... yes
checking if strdup might be used... yes
checking if strerror_r can be linked... yes
checking if strerror_r is prototyped... yes
checking if strerror_r is compilable... yes
checking if strerror_r is glibc like... no
checking if strerror_r is POSIX like... yes
checking if strerror_r seems to work... yes
checking if strerror_r usage allowed... yes
checking if strerror_r might be used... yes
checking if stricmp can be linked... no
checking if stricmp might be used... no
checking if strlcat can be linked... yes
checking if strlcat is prototyped... yes
checking if strlcat is compilable... yes
checking if strlcat usage allowed... yes
checking if strlcat might be used... yes
checking if strncasecmp can be linked... yes
checking if strncasecmp is prototyped... yes
checking if strncasecmp is compilable... yes
checking if strncasecmp usage allowed... yes
checking if strncasecmp might be used... yes
checking if strncmpi can be linked... no
checking if strncmpi might be used... no
checking if strnicmp can be linked... no
checking if strnicmp might be used... no
checking if strstr can be linked... yes
checking if strstr is prototyped... yes
checking if strstr is compilable... yes
checking if strstr usage allowed... yes
checking if strstr might be used... yes
checking if strtok_r can be linked... yes
checking if strtok_r is prototyped... yes
checking if strtok_r is compilable... yes
checking if strtok_r usage allowed... yes
checking if strtok_r might be used... yes
checking if strtoll can be linked... yes
checking if strtoll is prototyped... yes
checking if strtoll is compilable... yes
checking if strtoll usage allowed... yes
checking if strtoll might be used... yes
checking for sys/types.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking if writev can be linked... yes
checking if writev is prototyped... yes
checking if writev is compilable... yes
checking if writev usage allowed... yes
checking if writev might be used... yes
checking for basename... yes
checking for fork... yes
checking for geteuid... yes
checking for getpass_r... no
checking deeper for getpass_r... but still no
checking for getppid... yes
checking for getprotobyname... yes
checking for getpwuid... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for inet_addr... yes
checking for perror... yes
checking for pipe... yes
checking for setlocale... yes
checking for setmode... yes
checking for setrlimit... yes
checking for uname... yes
checking for utime... yes
checking whether basename is declared... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netdb.h... (cached) no
checking for getnameinfo... yes
checking types of arguments for getnameinfo... struct sockaddr *,socklen_t,size_t,int
checking for stdio.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netdb.h... (cached) no
checking for netinet/in.h... (cached) no
checking for arpa/inet.h... (cached) no
checking for working NI_WITHSCOPEID... no
checking whether to enable non-blocking communications... yes
checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK
checking for perl... /opt/local/bin/perl
checking for gnroff... no
checking for nroff... /usr/bin/nroff
checking how to use *nroff to get plain text from man pages... -man
checking whether to enable c-ares... no
checking whether to enable verbose strings... yes
checking whether to enable SSPI support (Windows native builds only)... no
checking whether to enable cryptographic authentication methods... yes
checking whether to enable support for cookies... yes
checking whether to enable hidden symbols in the library... no
checking whether to enforce SONAME bump... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/examples/Makefile
config.status: creating docs/libcurl/Makefile
config.status: creating include/Makefile
config.status: creating include/curl/Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating tests/Makefile
config.status: creating tests/data/Makefile
config.status: creating tests/server/Makefile
config.status: creating tests/libtest/Makefile
config.status: creating packages/Makefile
config.status: creating packages/Win32/Makefile
config.status: creating packages/Win32/cygwin/Makefile
config.status: creating packages/Linux/Makefile
config.status: creating packages/Linux/RPM/Makefile
config.status: creating packages/Linux/RPM/curl.spec
config.status: creating packages/Linux/RPM/curl-ssl.spec
config.status: creating packages/Solaris/Makefile
config.status: creating packages/EPM/curl.list
config.status: creating packages/EPM/Makefile
config.status: creating packages/vms/Makefile
config.status: creating packages/AIX/Makefile
config.status: creating packages/AIX/RPM/Makefile
config.status: creating packages/AIX/RPM/curl.spec
config.status: creating curl-config
config.status: creating libcurl.pc
config.status: creating lib/curl_config.h
config.status: creating src/curl_config.h
config.status: creating include/curl/curlbuild.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: Configured to build curl/libcurl:

  curl version:    7.19.6
  Host setup:      i386-apple-darwin10.0.0
  Install prefix:  /opt/local
  Compiler:        /usr/bin/gcc-4.2
  SSL support:     no      (--with-ssl / --with-gnutls)
  SSH support:     no      (--with-libssh2)
  zlib support:    enabled
  krb4 support:    no      (--with-krb4*)
  GSSAPI support:  no      (--with-gssapi)
  SPNEGO support:  no      (--with-spnego)
  c-ares support:  no      (--enable-ares)
  ipv6 support:    enabled
  IDN support:     no      (--with-libidn)
  Build libcurl:   Shared=yes, Static=yes
  Built-in manual: enabled
  Verbose errors:  enabled (--disable-verbose)
  SSPI support:    no      (--enable-sspi)
  ca cert bundle:  no
  ca cert path:    no
  LDAP support:    no      (--enable-ldap / --with-ldap-lib / --with-lber-lib)
  LDAPS support:   no      (--enable-ldaps)

--->  Building curl
DEBUG: Executing org.macports.build (curl)
DEBUG: Environment: 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/curl-7.19.6" && /usr/bin/make -j1 all'
Making all in lib
/usr/bin/make  all-am
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H  -I../include -I../include -I../lib -I../lib  -isystem /opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT file.lo -MD -MP -MF ".deps/file.Tpo" -c -o file.lo file.c; \
	then mv -f ".deps/file.Tpo" ".deps/file.Plo"; else rm -f ".deps/file.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.c  -fno-common -DPIC -o .libs/file.o
In file included from hostip.h:28,
                 from urldata.h:124,
                 from file.c:75:
curl_addrinfo.h:79: warning: 'struct hostent' declared inside parameter list
curl_addrinfo.h:79: warning: its scope is only this definition or declaration, which is probably not what you want
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.c -o file.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H  -I../include -I../include -I../lib -I../lib  -isystem /opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT timeval.lo -MD -MP -MF ".deps/timeval.Tpo" -c -o timeval.lo timeval.c; \
	then mv -f ".deps/timeval.Tpo" ".deps/timeval.Plo"; else rm -f ".deps/timeval.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT timeval.lo -MD -MP -MF .deps/timeval.Tpo -c timeval.c  -fno-common -DPIC -o .libs/timeval.o
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT timeval.lo -MD -MP -MF .deps/timeval.Tpo -c timeval.c -o timeval.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H  -I../include -I../include -I../lib -I../lib  -isystem /opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT base64.lo -MD -MP -MF ".deps/base64.Tpo" -c -o base64.lo base64.c; \
	then mv -f ".deps/base64.Tpo" ".deps/base64.Plo"; else rm -f ".deps/base64.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c  -fno-common -DPIC -o .libs/base64.o
In file included from hostip.h:28,
                 from urldata.h:124,
                 from base64.c:43:
curl_addrinfo.h:79: warning: 'struct hostent' declared inside parameter list
curl_addrinfo.h:79: warning: its scope is only this definition or declaration, which is probably not what you want
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c -o base64.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H  -I../include -I../include -I../lib -I../lib  -isystem /opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT hostip.lo -MD -MP -MF ".deps/hostip.Tpo" -c -o hostip.lo hostip.c; \
	then mv -f ".deps/hostip.Tpo" ".deps/hostip.Plo"; else rm -f ".deps/hostip.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT hostip.lo -MD -MP -MF .deps/hostip.Tpo -c hostip.c  -fno-common -DPIC -o .libs/hostip.o
In file included from hostip.h:28,
                 from urldata.h:124,
                 from hostip.c:63:
curl_addrinfo.h:79: warning: 'struct hostent' declared inside parameter list
curl_addrinfo.h:79: warning: its scope is only this definition or declaration, which is probably not what you want
hostip.c: In function 'Curl_printable_address':
hostip.c:191: error: dereferencing pointer to incomplete type
hostip.c: In function 'Curl_addrinfo_copy':
hostip.c:721: warning: passing argument 1 of 'Curl_he2ai' from incompatible pointer type
make[2]: *** [hostip.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work/curl-7.19.6" && /usr/bin/make -j1 all " returned error 2
Command output: curl_addrinfo.h:79: warning: its scope is only this definition or declaration, which is probably not what you want
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.c -o file.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H  -I../include -I../include -I../lib -I../lib  -isystem /opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT timeval.lo -MD -MP -MF ".deps/timeval.Tpo" -c -o timeval.lo timeval.c; \
	then mv -f ".deps/timeval.Tpo" ".deps/timeval.Plo"; else rm -f ".deps/timeval.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT timeval.lo -MD -MP -MF .deps/timeval.Tpo -c timeval.c  -fno-common -DPIC -o .libs/timeval.o
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT timeval.lo -MD -MP -MF .deps/timeval.Tpo -c timeval.c -o timeval.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H  -I../include -I../include -I../lib -I../lib  -isystem /opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT base64.lo -MD -MP -MF ".deps/base64.Tpo" -c -o base64.lo base64.c; \
	then mv -f ".deps/base64.Tpo" ".deps/base64.Plo"; else rm -f ".deps/base64.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c  -fno-common -DPIC -o .libs/base64.o
In file included from hostip.h:28,
                 from urldata.h:124,
                 from base64.c:43:
curl_addrinfo.h:79: warning: 'struct hostent' declared inside parameter list
curl_addrinfo.h:79: warning: its scope is only this definition or declaration, which is probably not what you want
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c -o base64.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H  -I../include -I../include -I../lib -I../lib  -isystem /opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT hostip.lo -MD -MP -MF ".deps/hostip.Tpo" -c -o hostip.lo hostip.c; \
	then mv -f ".deps/hostip.Tpo" ".deps/hostip.Plo"; else rm -f ".deps/hostip.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT hostip.lo -MD -MP -MF .deps/hostip.Tpo -c hostip.c  -fno-common -DPIC -o .libs/hostip.o
In file included from hostip.h:28,
                 from urldata.h:124,
                 from hostip.c:63:
curl_addrinfo.h:79: warning: 'struct hostent' declared inside parameter list
curl_addrinfo.h:79: warning: its scope is only this definition or declaration, which is probably not what you want
hostip.c: In function 'Curl_printable_address':
hostip.c:191: error: dereferencing pointer to incomplete type
hostip.c: In function 'Curl_addrinfo_copy':
hostip.c:721: warning: passing argument 1 of 'Curl_he2ai' from incompatible pointer type
make[2]: *** [hostip.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work/curl-7.19.6" && /usr/bin/make -j1 all " returned error 2
Command output: curl_addrinfo.h:79: warning: its scope is only this definition or declaration, which is probably not what you want
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.c -o file.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H  -I../include -I../include -I../lib -I../lib  -isystem /opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT timeval.lo -MD -MP -MF ".deps/timeval.Tpo" -c -o timeval.lo timeval.c; \
	then mv -f ".deps/timeval.Tpo" ".deps/timeval.Plo"; else rm -f ".deps/timeval.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT timeval.lo -MD -MP -MF .deps/timeval.Tpo -c timeval.c  -fno-common -DPIC -o .libs/timeval.o
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT timeval.lo -MD -MP -MF .deps/timeval.Tpo -c timeval.c -o timeval.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H  -I../include -I../include -I../lib -I../lib  -isystem /opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT base64.lo -MD -MP -MF ".deps/base64.Tpo" -c -o base64.lo base64.c; \
	then mv -f ".deps/base64.Tpo" ".deps/base64.Plo"; else rm -f ".deps/base64.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c  -fno-common -DPIC -o .libs/base64.o
In file included from hostip.h:28,
                 from urldata.h:124,
                 from base64.c:43:
curl_addrinfo.h:79: warning: 'struct hostent' declared inside parameter list
curl_addrinfo.h:79: warning: its scope is only this definition or declaration, which is probably not what you want
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c -o base64.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H  -I../include -I../include -I../lib -I../lib  -isystem /opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT hostip.lo -MD -MP -MF ".deps/hostip.Tpo" -c -o hostip.lo hostip.c; \
	then mv -f ".deps/hostip.Tpo" ".deps/hostip.Plo"; else rm -f ".deps/hostip.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem /opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT hostip.lo -MD -MP -MF .deps/hostip.Tpo -c hostip.c  -fno-common -DPIC -o .libs/hostip.o
In file included from hostip.h:28,
                 from urldata.h:124,
                 from hostip.c:63:
curl_addrinfo.h:79: warning: 'struct hostent' declared inside parameter list
curl_addrinfo.h:79: warning: its scope is only this definition or declaration, which is probably not what you want
hostip.c: In function 'Curl_printable_address':
hostip.c:191: error: dereferencing pointer to incomplete type
hostip.c: In function 'Curl_addrinfo_copy':
hostip.c:721: warning: passing argument 1 of 'Curl_he2ai' from incompatible pointer type
make[2]: *** [hostip.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for curl): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
[mp]~/Desktop (497): 

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

The first difference I see between your output and mine is that mine says

checking for stdint.h... yes
checking for inttypes.h... yes

while yours says

checking for stdint.h... no
checking for inttypes.h... no

A little further down, mine says

checking for arpa/inet.h... yes
checking for net/if.h... yes
checking for netinet/in.h... yes

and yours says

checking for arpa/inet.h... no
checking for net/if.h... no
checking for netinet/in.h... no

And there are more similar errors. These seem like pretty basic and important files which are supposed to be there. I don't know if they're provided by Xcode or the operating system, but since reinstalling Xcode is easier than reinstalling the whole OS, please try that, and verify that it is in fact Xcode version 3.2.

Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: curl-davec-ipv6.txt added

davec's output in a file for easier downloading

Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: curl-ryandesign-ipv6.txt added

my output

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

I attached your output and mine as files which you can download and compare further if desired.

comment:6 in reply to:  5 Changed 15 years ago by davec@…

Replying to ryandesign@…: Yes, I do have Xcode 3.2 installed, will investigate those files.

comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

What did you discover?

comment:8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Closing due to lack of response.

Note: See TracTickets for help on using tickets.