ports/117671: security/gnutls: build fails if opencdk is installed
Kyryll A Mirnenko
mirya at zoc.com.ua
Tue Oct 30 11:20:03 UTC 2007
>Number: 117671
>Category: ports
>Synopsis: security/gnutls: build fails if opencdk is installed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 30 11:20:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Kyryll A Mirnenko
>Release: RELENG_7
>Organization:
>Environment:
FreeBSD miryanote 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Mon Oct 29 21:20:10 EET 2007 root at miryanote:/usr/obj/usr/src/sys/MY-LITE i386
>Description:
cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../lgl -I../lgl -I../lib -I../includes -I../includes -I../lib/minitasn1 -I./openpgp -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./opencdk -I/usr/local/include -fPIC -O2 -pipe -D_REENTRANT -D_THREAD_SAFE -pipe -I/usr/local/include -I/usr/local/include -O2 -pipe -D_REENTRANT -D_THREAD_SAFE -Wno-pointer-sign -MT gnutls_openpgp.lo -MD -MP -MF .deps/gnutls_openpgp.Tpo -c gnutls_openpgp.c -fPIC -DPIC -o .libs/gnutls_openpgp.o
gnutls_openpgp.c: In function 'kbx_to_keydb':
gnutls_openpgp.c:151: warning: implicit declaration of function 'cdk_keydb_new_from_file'
gnutls_openpgp.c:155: warning: implicit declaration of function 'cdk_keydb_new_from_mem'
gnutls_openpgp.c: In function 'openpgp_pk_to_gnutls_cert':
gnutls_openpgp.c:264: error: 'CDK_KEY_USG_SIGN' undeclared (first use in this function)
gnutls_openpgp.c:264: error: (Each undeclared identifier is reported only once
gnutls_openpgp.c:264: error: for each function it appears in.)
gnutls_openpgp.c:266: error: 'CDK_KEY_USG_ENCR' undeclared (first use in this function)
gnutls_openpgp.c:282: warning: passing argument 4 of 'cdk_pk_get_mpi' makes pointer from integer without a cast
gnutls_openpgp.c:282: error: too many arguments to function 'cdk_pk_get_mpi'
gnutls_openpgp.c: In function '_gnutls_openpgp_raw_privkey_to_gkey':
gnutls_openpgp.c:327: warning: implicit declaration of function 'cdk_stream_tmp_new'
gnutls_openpgp.c:366: warning: passing argument 4 of 'cdk_pk_get_mpi' makes pointer from integer without a cast
gnutls_openpgp.c:366: error: too many arguments to function 'cdk_pk_get_mpi'
gnutls_openpgp.c:380: warning: passing argument 4 of 'cdk_sk_get_mpi' makes pointer from integer without a cast
gnutls_openpgp.c:380: error: too many arguments to function 'cdk_sk_get_mpi'
gnutls_openpgp.c: In function 'gnutls_openpgp_get_key':
gnutls_openpgp.c:511: warning: implicit declaration of function 'cdk_kbnode_write_to_mem_alloc'
gnutls_openpgp.c: In function 'gnutls_certificate_set_openpgp_key_mem':
gnutls_openpgp.c:582: error: too many arguments to function 'cdk_stream_tmp_from_mem'
gnutls_openpgp.c:582: warning: assignment makes integer from pointer without a cast
gnutls_openpgp.c:675: error: too many arguments to function 'cdk_stream_tmp_from_mem'
gnutls_openpgp.c:675: warning: assignment makes integer from pointer without a cast
Recent gnutls update to 2.0.2 breaks building WITH_OPENCDK=yes. Also, as far as it autodetects opencdk installed, it will also fail even without the option but simply with opencdk installed. Here's the log:
gnutls_openpgp.c: In function 'gnutls_certificate_set_openpgp_keyring_mem':
gnutls_openpgp.c:952: error: too many arguments to function 'cdk_stream_tmp_from_mem'
gnutls_openpgp.c:952: warning: assignment makes integer from pointer without a cast
*** Error code 1
Stop in /usr/ports/security/gnutls/work/gnutls-2.0.2/libextra.
*** Error code 1
Stop in /usr/ports/security/gnutls/work/gnutls-2.0.2/libextra.
*** Error code 1
Stop in /usr/ports/security/gnutls/work/gnutls-2.0.2.
*** Error code 1
Stop in /usr/ports/security/gnutls/work/gnutls-2.0.2.
*** Error code 1
Stop in /usr/ports/security/gnutls.
>How-To-Repeat:
1) install security/opencdk
2) try building security/gnutls
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list