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
Responsible Changed From-To: freebsd-ports-bugs->novel Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->feedback I've updated security/opencdk, so the problem should be fixed. Does gnutls build fine for you now?
Now builds well, thanks
State Changed From-To: feedback->closed It's confirmed the problem is fixed now.