Opened 15 years ago

Last modified 15 years ago

#21867 closed defect

curl-7.19.6 fails to build with Xcode 3.2 — at Initial Version

Reported by: davec@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: curl

Description

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)

Change History (0)

Note: See TracTickets for help on using tickets.