Subject: pkg/36448: gnutls pkgsrc build failure
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: brad harder <bharder@methodlogic.net>
List: pkgsrc-bugs
Date: 06/05/2007 20:55:00
>Number: 36448
>Category: pkg
>Synopsis: gnutls fails to build since latest update in pkgsrc.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 05 20:55:00 +0000 2007
>Originator: bharder@methodlogic.net
>Release: NetBSD 4.0_BETA2
>Organization:
http://www.methodlogic.net
>Environment:
System: NetBSD manchester 4.0_BETA2 NetBSD 4.0_BETA2 (manchester) #30: Tue May 8 18:41:42 PDT 2007 root@manchester:/usr/obj/sys/arch/i386/compile/manchester i386
Architecture: i386
Machine: i386
>Description:
After succesful build of latest opencdk(0.6.0), gnutls(1.6.3) build fails with:
pgp.lo -MD -MP -MF .deps/gnutls_openpgp.Tpo -c gnutls_openpgp.c -fPIC -DPIC -o .libs/gnutls_openpgp.o
gnutls_openpgp.c: In function 'openpgp_pk_to_gnutls_cert':
gnutls_openpgp.c:294: warning: passing argument 4 of 'cdk_pk_get_mpi' makes integer from pointer without a cast
gnutls_openpgp.c:294: error: too few arguments to function 'cdk_pk_get_mpi'
gnutls_openpgp.c: In function '_gnutls_openpgp_raw_privkey_to_gkey':
gnutls_openpgp.c:337: warning: assignment makes pointer from integer without a cast
gnutls_openpgp.c:363: warning: passing argument 4 of 'cdk_pk_get_mpi' makes integer from pointer without a cast
gnutls_openpgp.c:363: error: too few arguments to function 'cdk_pk_get_mpi'
gnutls_openpgp.c:376: warning: passing argument 4 of 'cdk_sk_get_mpi' makes integer from pointer without a cast
gnutls_openpgp.c:376: error: too few arguments to function 'cdk_sk_get_mpi'
gnutls_openpgp.c: In function 'gnutls_certificate_set_openpgp_key_mem':
gnutls_openpgp.c:583: error: too few arguments to function 'cdk_stream_tmp_from_mem'
gnutls_openpgp.c:678: error: too few arguments to function 'cdk_stream_tmp_from_mem'
gnutls_openpgp.c: In function 'gnutls_certificate_set_openpgp_keyring_mem':
gnutls_openpgp.c:944: error: too few arguments to function 'cdk_stream_tmp_from_mem'
gmake[3]: *** [gnutls_openpgp.lo] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/security/gnutls/work/gnutls-1.6.3/libextra'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/security/gnutls/work/gnutls-1.6.3/libextra'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/security/gnutls/work/gnutls-1.6.3'
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/security/gnutls
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/security/gnutls
>How-To-Repeat:
Rebuild gnutls with pkgsrc -current from Tue Jun 5 19:23:54 UTC 2007.
>Fix: