NetBSD Problem Report #36448
From bharder@methodlogic.net Tue Jun 5 20:51:43 2007
Return-Path: <bharder@methodlogic.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 48DA763B882
for <gnats-bugs@gnats.netbsd.org>; Tue, 5 Jun 2007 20:51:43 +0000 (UTC)
Message-Id: <20070605192935.GI27097@methodlogic.net>
Date: Tue, 5 Jun 2007 12:29:35 -0700
From: brad harder <bharder@methodlogic.net>
To: gnats-bugs@NetBSD.org
Subject: gnutls pkgsrc build failure
X-Send-Pr-Version: 3.95
>Number: 36448
>Category: pkg
>Synopsis: gnutls fails to build since latest update in pkgsrc.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: wiz
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 05 20:55:00 +0000 2007
>Closed-Date: Wed Jun 06 06:24:07 +0000 2007
>Last-Modified: Wed Jun 06 06:25:01 +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:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->wiz
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Tue, 05 Jun 2007 21:02:02 +0000
Responsible-Changed-Why:
I'll handle it.
I already mailed the author of opencdk (and gnutls(!)) about it.
State-Changed-From-To: open->closed
State-Changed-By: wiz@netbsd.org
State-Changed-When: Wed, 06 Jun 2007 06:24:07 +0000
State-Changed-Why:
opencdk-0.6.x is officially incompatible with gnutls-1.6.x.
I disabled the dependency and made gnutls use its internal opencdk
copy for now.
Thanks for the bug report!
From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/36448 CVS commit: pkgsrc/security/gnutls
Date: Wed, 6 Jun 2007 06:23:59 +0000 (UTC)
Module Name: pkgsrc
Committed By: wiz
Date: Wed Jun 6 06:23:59 UTC 2007
Modified Files:
pkgsrc/security/gnutls: Makefile buildlink3.mk
Log Message:
Use included opencdk for now, opencdk-0.6.x is not compatible with
gnutls-1.6.x (the stable branch).
No further PKGREVISION bumps necessary, because opencdk caused recursive
PKGREVISION bumps and afterwards gnutls wouldn't build.
Addresses PR pkg/36448.
To generate a diff of this commit:
cvs rdiff -r1.61 -r1.62 pkgsrc/security/gnutls/Makefile
cvs rdiff -r1.17 -r1.18 pkgsrc/security/gnutls/buildlink3.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.