NetBSD Problem Report #39316

From bad@atsec.com  Thu Aug  7 23:07:36 2008
Return-Path: <bad@atsec.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 19A7763BC45
	for <gnats-bugs@gnats.netbsd.org>; Thu,  7 Aug 2008 23:07:36 +0000 (UTC)
Message-Id: <20080807173342.E4E5B95@nervous-energy.atsec.com>
Date: Thu,  7 Aug 2008 19:33:42 +0200 (MEST)
From: bad@bsd.de
Reply-To: bad@bsd.de
To: gnats-bugs@gnats.NetBSD.org
Subject: libgcrypt-1.4.1 fails to build with option "idea" enabled
X-Send-Pr-Version: 3.95

>Number:         39316
>Category:       pkg
>Synopsis:       patch checksums not recorded and patches don't apply anyway
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    wiz
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 07 23:10:00 +0000 2008
>Closed-Date:    Thu Aug 14 19:24:29 +0000 2008
>Last-Modified:  Thu Aug 14 19:25:01 +0000 2008
>Originator:     Christoph Badura
>Release:        NetBSD 3.1_STABLE
>Organization:
>Environment:
pkgsrc-2008Q2 from the evening of the branch tagging


System: NetBSD nervous-energy 3.1_STABLE NetBSD 3.1_STABLE (nervous-energy) #4: Fri Jul 25 06:31:02 MEST 2008 root@nervous-energy:/src/sys/arch/i386/compile/nervous-energy i386
Architecture: i386
Machine: i386
>Description:
===> Installing dependencies for libgcrypt-1.4.1
==========================================================================
The supported build options for libgcrypt are:

        idea

The currently selected options are:

        idea

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.libgcrypt = idea

==========================================================================

===> Resuming update for libgcrypt-1.4.1
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Checksum SHA1 OK for libgcrypt-1.4.1.tar.gz
=> Checksum RMD160 OK for libgcrypt-1.4.1.tar.gz
checksum: No checksum recorded for libgcrypt-1.2.4-idea.diff.bz2
checksum: No checksum recorded for libgcrypt-1.2.4-idea.diff.bz2
ERROR: Make sure the Makefile and checksum file (/usr/pkgsrc/security/libgcrypt/
distinfo)
ERROR: are up to date.  If you want to override this check, type
ERROR: "/usr/bin/make NO_CHECKSUM=yes [other args]".
*** Error code 1

And after fixing the checksum with "make makesum" it fails with:

===> Patching for libgcrypt-1.4.1
=> Applying distribution patches for libgcrypt-1.4.1
1 out of 1 hunks failed--saving rejects to cipher/cipher.c.rej
1 out of 1 hunks failed--saving rejects to cipher/Makefile.am.rej
1 out of 2 hunks failed--saving rejects to configure.ac.rej
1 out of 1 hunks failed--saving rejects to src/cipher.h.rej
1 out of 1 hunks failed--saving rejects to tests/basic.c.rej
ERROR: Patch libgcrypt-1.2.4-idea.diff.bz2 failed
ERROR: =========================================================================
=
ERROR:
ERROR: Some of the selected build options and/or local patches may be incompatib
le.
ERROR: Please try building with fewer options or patches.
ERROR:
ERROR: =========================================================================
=
*** Error code 1


>How-To-Repeat:
check out pkgsrc-2008Q2
echo "PKG_OPTIONS.libgcrypt=idea
ACCEPTABLE_LICENSES+=idea-license" >>/etc/mk.conf
cd security/libgcrypt && make

>Fix:


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->wiz
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Fri, 08 Aug 2008 02:51:54 +0000
Responsible-Changed-Why:
wiz added idea option.  Where is newer patch for libgcrypt-1.4.1?


State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 14 Aug 2008 19:24:29 +0000
State-Changed-Why:
Removed the idea option, since I can't find a newer patch set.


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39316 CVS commit: pkgsrc/security/libgcrypt
Date: Thu, 14 Aug 2008 19:24:07 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Thu Aug 14 19:24:07 UTC 2008

 Modified Files:
 	pkgsrc/security/libgcrypt: options.mk

 Log Message:
 Remove idea option -- I can't find a patch for the current PKGVERSION.
 Addresses PR 39316.


 To generate a diff of this commit:
 cvs rdiff -r1.2 -r1.3 pkgsrc/security/libgcrypt/options.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.