NetBSD Problem Report #46830

From www@NetBSD.org  Fri Aug 24 13:31:22 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id A946663B882
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 24 Aug 2012 13:31:22 +0000 (UTC)
Message-Id: <20120824133121.B7F0B63B85F@www.NetBSD.org>
Date: Fri, 24 Aug 2012 13:31:21 +0000 (UTC)
From: slitvinov@gmail.com
Reply-To: slitvinov@gmail.com
To: gnats-bugs@NetBSD.org
Subject: security/gnutls tries  to build guile binding
X-Send-Pr-Version: www-1.0

>Number:         46830
>Category:       pkg
>Synopsis:       security/gnutls tries  to build guile binding
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 24 13:35:01 +0000 2012
>Closed-Date:    Fri Aug 24 13:37:06 +0000 2012
>Last-Modified:  Fri Aug 24 13:40:01 +0000 2012
>Originator:     Litvinov Sergey
>Release:        Suse Linux
>Organization:
>Environment:
>Description:
security/gnutls build fails with this error

make[3]: Entering directory `/scratch/src/pkgsrc/security/gnutls/work/gnutls-3.0.22/guile/src'
GUILE_AUTO_COMPILE=0 /scratch/netbsd/bin/guile -L ../../guile/modules make-enum-map.scm > enum-map.i.c
GUILE_AUTO_COMPILE=0 /scratch/netbsd/bin/guile -L ../../guile/modules make-smob-types.scm > smob-types.i.c
GUILE_AUTO_COMPILE=0 /scratch/netbsd/bin/guile -L ../../guile/modules make-enum-header.scm > enums.h
GUILE_AUTO_COMPILE=0 /scratch/netbsd/bin/guile -L ../../guile/modules make-smob-header.scm > smobs.h
GUILE_AUTO_COMPILE=0 /scratch/netbsd/bin/guile -L ../../guile/modules make-session-priorities.scm > priorities.i.c
/scratch/netbsd/bin/guile-snarf -o core.x core.c -DHAVE_CONFIG_H  -I../../lib/includes -I../../lib/includes -I../../extra/includes -I../.. -I. -I/usr/include -I/scratch/netbsd/include -O2 -Wno-error -I/usr/include -I/scratch/netbsd/include -Wno-strict-prototypes  -I/scratch/netbsd/include -I/usr/include -I/scratch/netbsd/include -I/usr/include/ncurses  -pthread 
/scratch/netbsd/bin/guile-snarf -o errors.x errors.c -DHAVE_CONFIG_H  -I../../lib/includes -I../../lib/includes -I../../extra/includes -I../.. -I. -I/usr/include -I/scratch/netbsd/include -O2 -Wno-error -I/usr/include -I/scratch/netbsd/include -Wno-strict-prototypes  -I/scratch/netbsd/include -I/usr/include -I/scratch/netbsd/include -I/usr/include/ncurses  -pthread 
errors.c:24:22: fatal error: libguile.h: No such file or directory
compilation terminated.
core.c:29:22: fatal error: libguile.h: No such file or directory


>How-To-Repeat:
bmake build in security/gnutls
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/gnutls/Makefile,v
retrieving revision 1.116
diff -u -p -u -a -w -b -B -r1.116 Makefile
--- Makefile	9 Aug 2012 18:58:11 -0000	1.116
+++ Makefile	24 Aug 2012 13:28:04 -0000
@@ -23,6 +23,7 @@ GNU_CONFIGURE=		yes
 CONFIGURE_ARGS+=	--without-p11-kit
 # this library duplicates (and conflicts with) openssl
 CONFIGURE_ARGS+=	--disable-openssl-compatibility
+CONFIGURE_ARGS+=	--disable-guile

 TEST_TARGET=		check
 INFO_FILES=		yes

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Fri, 24 Aug 2012 13:37:06 +0000
State-Changed-Why:
Fixed, thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46830 CVS commit: pkgsrc/security/gnutls
Date: Fri, 24 Aug 2012 13:36:52 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Fri Aug 24 13:36:52 UTC 2012

 Modified Files:
 	pkgsrc/security/gnutls: Makefile

 Log Message:
 Explicitly disable guile. PR 46830 by Sergey Litvinov.


 To generate a diff of this commit:
 cvs rdiff -u -r1.116 -r1.117 pkgsrc/security/gnutls/Makefile

 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.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.