Opened 15 years ago

Closed 15 years ago

#21553 closed defect (fixed)

curl +gss build failed on OS X 10.6.1 with xcode 3.2

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

Description

Hi,

I try to build curl under OS X 10.6.1 with Xcode 3.2 by using "sudo port install curl +ares +doc +gss +idn +openldap +sftp_scp +spnego +ssl build.jobs=1" .

But it show me the following error messages:

--->  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: 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 -I/opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT transfer.lo -MD -MP -MF .deps/transfer.Tpo -c transfer.c -o transfer.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 -I/opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT strequal.lo -MD -MP -MF ".deps/strequal.Tpo" -c -o strequal.lo strequal.c; \
        then mv -f ".deps/strequal.Tpo" ".deps/strequal.Plo"; else rm -f ".deps/strequal.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 -I/opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT strequal.lo -MD -MP -MF .deps/strequal.Tpo -c strequal.c  -fno-common -DPIC -o .libs/strequal.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 -I/opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT strequal.lo -MD -MP -MF .deps/strequal.Tpo -c strequal.c -o strequal.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 -I/opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT easy.lo -MD -MP -MF ".deps/easy.Tpo" -c -o easy.lo easy.c; \
        then mv -f ".deps/easy.Tpo" ".deps/easy.Plo"; else rm -f ".deps/easy.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 -I/opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT easy.lo -MD -MP -MF .deps/easy.Tpo -c easy.c  -fno-common -DPIC -o .libs/easy.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 -I/opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT easy.lo -MD -MP -MF .deps/easy.Tpo -c easy.c -o easy.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 -I/opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT security.lo -MD -MP -MF ".deps/security.Tpo" -c -o security.lo security.c; \
        then mv -f ".deps/security.Tpo" ".deps/security.Plo"; else rm -f ".deps/security.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 -I/opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT security.lo -MD -MP -MF .deps/security.Tpo -c security.c  -fno-common -DPIC -o .libs/security.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 -I/opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT security.lo -MD -MP -MF .deps/security.Tpo -c security.c -o security.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 -I/opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT krb4.lo -MD -MP -MF ".deps/krb4.Tpo" -c -o krb4.lo krb4.c; \
        then mv -f ".deps/krb4.Tpo" ".deps/krb4.Plo"; else rm -f ".deps/krb4.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 -I/opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT krb4.lo -MD -MP -MF .deps/krb4.Tpo -c krb4.c  -fno-common -DPIC -o .libs/krb4.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 -I/opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT krb4.lo -MD -MP -MF .deps/krb4.Tpo -c krb4.c -o krb4.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 -I/opt/local/include -I/opt/local/include  -O2 -arch x86_64 -g0 -Wno-system-headers -MT krb5.lo -MD -MP -MF ".deps/krb5.Tpo" -c -o krb5.lo krb5.c; \
        then mv -f ".deps/krb5.Tpo" ".deps/krb5.Plo"; else rm -f ".deps/krb5.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 -I/opt/local/include -I/opt/local/include -O2 -arch x86_64 -g0 -Wno-system-headers -MT krb5.lo -MD -MP -MF .deps/krb5.Tpo -c krb5.c  -fno-common -DPIC -o .libs/krb5.o
In file included from /opt/local/include/gss.h:83,
                 from urldata.h:130,
                 from krb5.c:59:
/opt/local/include/gss/api.h:92: error: redefinition of 'struct gss_OID_desc_struct'
/opt/local/include/gss/api.h:98: error: redefinition of 'struct gss_OID_set_desc_struct'
/opt/local/include/gss/api.h:104: error: redefinition of 'struct gss_buffer_desc_struct'
/opt/local/include/gss/api.h:110: error: redefinition of 'struct gss_channel_bindings_struct'
make[2]: *** [krb5.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 15 years ago by james.applemac@…

Cc: james.applemac@… added

Cc Me!

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: james.applemac@… removed
Owner: changed from macports-tickets@… to ryandesign@…

comment:3 Changed 15 years ago by tobypeterson

Summary: curl build failed on OS X 10.6.1 with xcode 3.2curl +gss build failed on OS X 10.6.1 with xcode 3.2

updating title, as this appears to be specific to the gss code

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

Resolution: fixed
Status: newclosed

The gss variant is meant to use the Kerberos that's part of Mac OS X, not the MacPorts kerberos5 or gss ports (see explanation in #12805) but this was never enforced until r63928.

Note: See TracTickets for help on using tickets.