Subject: pkg/31412: Failure building CVS
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <kpneal@pobox.com>
List: pkgsrc-bugs
Date: 09/29/2005 02:02:00
>Number: 31412
>Category: pkg
>Synopsis: CVS build failure with pkgsrc
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 29 02:02:00 +0000 2005
>Originator: Kevin P. Neal
>Release: MacOS X 10.3.8, pkgsrc a day or two old
>Organization:
--
Kevin P. Neal http://www.pobox.com/~kpn/
"You know, I think I can hear the machine screaming from here... \
'help me! hellpp meeee!'" - Heather Flanagan, 14:52:23 Wed Jun 10 1998
>Environment:
Darwin silvara.int.neutralgood.org 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power Macintosh powerpc
Architecture: powerpc
Machine: powerpc
>Description:
I tried to build devel/cvs from pkgsrc and the build failed.
I do notice I have "KERBEROS=1" in my /etc/mk.conf, if that matters
anymore.
if gcc -pipe -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../diff -I/usr/pkg/include -no-cpp-precomp -I/usr/pkg/include/krb5 -I/usr/include -I/usr/pkg/include -O2 -I/usr/pkg/include/krb5 -I/usr/include -I/usr/pkg/include -MT client.o -MD -MP -MF ".deps/client.Tpo" -c -o client.o client.c; then mv -f ".deps/client.Tpo" ".deps/client.Po"; else rm -f ".deps/client.Tpo"; exit 1; fi
In file included from /usr/include/gssapi/gssapi_generic.h:30,
from ../lib/xgssapi.h:29,
from client.c:79:
/usr/include/gssapi/gssapi.h:141: error: conflicting types for `gss_name_t'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:64: error: previous declaration of `gss_name_t'
/usr/include/gssapi/gssapi.h:142: error: conflicting types for `gss_cred_id_t'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:103: error: previous declaration of `gss_cred_id_t'
/usr/include/gssapi/gssapi.h:143: error: conflicting types for `gss_ctx_id_t'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:76: error: previous declaration of `gss_ctx_id_t'
/usr/include/gssapi/gssapi.h:172: error: redefinition of `struct gss_OID_desc_struct'
/usr/include/gssapi/gssapi.h:178: error: redefinition of `struct gss_OID_set_desc_struct'
/usr/include/gssapi/gssapi.h:183: error: redefinition of `struct gss_buffer_desc_struct'
/usr/include/gssapi/gssapi.h:188: error: redefinition of `struct gss_channel_bindings_struct'
/usr/include/gssapi/gssapi.h:491: error: conflicting types for `gss_acquire_cred'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:466: error: previous declaration of `gss_acquire_cred'
/usr/include/gssapi/gssapi.h:496: error: conflicting types for `gss_release_cred'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:471: error: previous declaration of `gss_release_cred'
/usr/include/gssapi/gssapi.h:512: error: conflicting types for `gss_init_sec_context'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:487: error: previous declaration of `gss_init_sec_context'
/usr/include/gssapi/gssapi.h:526: error: conflicting types for `gss_accept_sec_context'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:501: error: previous declaration of `gss_accept_sec_context'
/usr/include/gssapi/gssapi.h:532: error: conflicting types for `gss_process_context_token'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:507: error: previous declaration of `gss_process_context_token'
/usr/include/gssapi/gssapi.h:538: error: conflicting types for `gss_delete_sec_context'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:513: error: previous declaration of `gss_delete_sec_context'
/usr/include/gssapi/gssapi.h:544: error: conflicting types for `gss_context_time'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:519: error: previous declaration of `gss_context_time'
/usr/include/gssapi/gssapi.h:553: error: conflicting types for `gss_get_mic'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:527: error: previous declaration of `gss_get_mic'
/usr/include/gssapi/gssapi.h:562: error: conflicting types for `gss_verify_mic'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:535: error: previous declaration of `gss_verify_mic'
/usr/include/gssapi/gssapi.h:573: error: conflicting types for `gss_wrap'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:545: error: previous declaration of `gss_wrap'
/usr/include/gssapi/gssapi.h:583: error: conflicting types for `gss_unwrap'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:554: error: previous declaration of `gss_unwrap'
/usr/include/gssapi/gssapi.h:604: error: conflicting types for `gss_compare_name'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:575: error: previous declaration of `gss_compare_name'
/usr/include/gssapi/gssapi.h:611: error: conflicting types for `gss_display_name'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:582: error: previous declaration of `gss_display_name'
/usr/include/gssapi/gssapi.h:618: error: conflicting types for `gss_import_name'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:589: error: previous declaration of `gss_import_name'
/usr/include/gssapi/gssapi.h:623: error: conflicting types for `gss_release_name'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:600: error: previous declaration of `gss_release_name'
/usr/include/gssapi/gssapi.h:642: error: conflicting types for `gss_inquire_cred'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:619: error: previous declaration of `gss_inquire_cred'
/usr/include/gssapi/gssapi.h:655: error: conflicting types for `gss_inquire_context'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:631: error: previous declaration of `gss_inquire_context'
/usr/include/gssapi/gssapi.h:665: error: conflicting types for `gss_wrap_size_limit'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:640: error: previous declaration of `gss_wrap_size_limit'
/usr/include/gssapi/gssapi.h:696: error: conflicting types for `gss_add_cred'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:654: error: previous declaration of `gss_add_cred'
/usr/include/gssapi/gssapi.h:707: error: conflicting types for `gss_inquire_cred_by_mech'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:664: error: previous declaration of `gss_inquire_cred_by_mech'
/usr/include/gssapi/gssapi.h:714: error: conflicting types for `gss_export_sec_context'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:670: error: previous declaration of `gss_export_sec_context'
/usr/include/gssapi/gssapi.h:721: error: conflicting types for `gss_import_sec_context'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:676: error: previous declaration of `gss_import_sec_context'
/usr/include/gssapi/gssapi.h:784: error: conflicting types for `gss_sign'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:738: error: previous declaration of `gss_sign'
/usr/include/gssapi/gssapi.h:792: error: conflicting types for `gss_verify'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:746: error: previous declaration of `gss_verify'
/usr/include/gssapi/gssapi.h:802: error: conflicting types for `gss_seal'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:756: error: previous declaration of `gss_seal'
/usr/include/gssapi/gssapi.h:811: error: conflicting types for `gss_unseal'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:765: error: previous declaration of `gss_unseal'
/usr/include/gssapi/gssapi.h:818: error: conflicting types for `gss_export_name'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:595: error: previous declaration of `gss_export_name'
/usr/include/gssapi/gssapi.h:825: error: conflicting types for `gss_duplicate_name'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:719: error: previous declaration of `gss_duplicate_name'
/usr/include/gssapi/gssapi.h:833: error: conflicting types for `gss_canonicalize_name'
/local/pkgobj/devel/cvs/work/.buildlink/include/krb5/gssapi.h:713: error: previous declaration of `gss_canonicalize_name'
client.c: In function `start_tcp_server':
client.c:4141: warning: passing arg 6 of `krb_sendauth' discards qualifiers from pointer target type
*** Error code 1
Stop.
bmake: stopped in /local/pkgobj/devel/cvs/work/cvs-1.11.20/src
*** Error code 1
(ok, I snipped the rest.)
>How-To-Repeat:
Try building devel/cvs in a brand new pkgsrc install on MacOS.
>Fix:
dunno