NetBSD Problem Report #28754

From hannken@eis.cs.tu-bs.de  Wed Dec 22 15:27:23 2004
Return-Path: <hannken@eis.cs.tu-bs.de>
Received: from bseis.eis.cs.tu-bs.de (bseis.eis.cs.tu-bs.de [134.169.33.1])
	by narn.netbsd.org (Postfix) with ESMTP id 2AFC363B843
	for <gnats-bugs@gnats.netbsd.org>; Wed, 22 Dec 2004 15:27:22 +0000 (UTC)
Message-Id: <200412221527.iBMFRIFs025488@watcher.eis.cs.tu-bs.de>
Date: Wed, 22 Dec 2004 16:27:18 +0100 (MET)
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
Reply-To: hannken@eis.cs.tu-bs.de
To: gnats-bugs@netbsd.org
Subject: audio/nas fails to build (patch)
X-Send-Pr-Version: 3.95

>Number:         28754
>Category:       pkg
>Synopsis:       audio/nas fails to build (patch)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    wiz
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 22 15:30:00 +0000 2004
>Closed-Date:    Wed Dec 29 14:26:03 +0000 2004
>Last-Modified:  Wed Dec 29 17:18:00 +0000 2004
>Originator:     Juergen Hannken-Illjes
>Release:        NetBSD 2.0
>Organization:

>Environment:


System: NetBSD watcher 2.0 NetBSD 2.0 (LOCAL) #0: Mon Nov 29 12:47:47 MET 2004 hannken@watcher:/build/nbsd20/obj/sys/arch/i386/compile/LOCAL i386
Architecture: i386
Machine: i386
>Description:
audio/nas from 2004Q4 has a wrong dependency:

	BUILD> audio/nas -- nas-1.7
	Using /proj/pkg/Distfiles//nas-1.7.src.tar.gz
	=> Checksum OK for nas-1.7.src.tar.gz.
	===> Extracting for nas-1.7
	===> Required package p5-perl-headers-2.0: NOT found
	===> Verifying package for ../../devel/p5-perl-headers
	===> Extracting for p5-perl-headers-2.0nb1

It looks for p5-perl-headers-${OS_VERSION} while the package installed is
p5-perl-headers-${OS_VERSION}nb1.
>How-To-Repeat:
cd /usr/pkgsrc/devel/p5-perl-headers && make package
cd /usr/pkgsrc/audio/nas && make package
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/nas/Makefile,v
retrieving revision 1.47
diff -u -2 -r1.47 Makefile
--- Makefile	23 Nov 2004 08:50:23 -0000	1.47
+++ Makefile	22 Dec 2004 15:17:52 -0000
@@ -11,5 +11,5 @@
 COMMENT=	Network Audio System

-DEPENDS+=	p5-perl-headers-${OS_VERSION}:../../devel/p5-perl-headers
+DEPENDS+=	p5-perl-headers-${OS_VERSION}{,nb*}:../../devel/p5-perl-headers

 PKG_INSTALLATION_TYPES=	overwrite pkgviews

comms/p5-Device-SerialPort may need the same patch.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->wiz
Responsible-Changed-By: fredb@netbsd.org
Responsible-Changed-When: Wed, 29 Dec 2004 14:26:03 +0000
Responsible-Changed-Why:
I see wiz has already applied this patch, as Makefile v,1.48.


State-Changed-From-To: open->closed
State-Changed-By: fredb@netbsd.org
State-Changed-When: Wed, 29 Dec 2004 14:26:03 +0000
State-Changed-Why:
Fixed.


From: Frederick Bruckman <fredb@immanent.net>
To: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
Cc: wiz@netbsd.org, gnats-bugs@netbsd.org
Subject: Re: pkg/28754
Date: Wed, 29 Dec 2004 11:10:10 -0600 (CST)

 On Wed, 29 Dec 2004, Juergen Hannken-Illjes wrote:

 > ... but I would prefer
 >
 > 	DEPENDS+=     p5-perl-headers-${OS_VERSION}{,nb*}
 >
 > over
 >
 > 	DEPENDS+=     p5-perl-headers-${OS_VERSION}{,nb1}
 >
 > and comms/p5-Device-SerialPort has p5-perl-headers-[0-9]* which will not
 > work if the system version changes.

 I see. I'll take care of it.


 Frederick

From: Frederick Bruckman <fredb@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/28754 CVS commit: pkgsrc/audio/nas
Date: Wed, 29 Dec 2004 17:12:13 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	fredb
 Date:		Wed Dec 29 17:12:13 UTC 2004

 Modified Files:
 	pkgsrc/audio/nas: Makefile

 Log Message:
 Generalize the dependency on p5-perl-headers to take account of all "nb"
 bumps, as suggested by Juergen Hannken-Illjes (PR pkg/28754).


 To generate a diff of this commit:
 cvs rdiff -r1.48 -r1.49 pkgsrc/audio/nas/Makefile

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

From: Frederick Bruckman <fredb@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/28754 CVS commit: pkgsrc/comms/p5-Device-SerialPort
Date: Wed, 29 Dec 2004 17:16:30 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	fredb
 Date:		Wed Dec 29 17:16:30 UTC 2004

 Modified Files:
 	pkgsrc/comms/p5-Device-SerialPort: Makefile

 Log Message:
 Make the dependency on p5-perl-headers slightly more restrictive, to
 force recompiling of it after the base system is upgraded, as suggested
 by Juergen Hannken-Illjes in an addendum to PR pkg/28754.


 To generate a diff of this commit:
 cvs rdiff -r1.12 -r1.13 pkgsrc/comms/p5-Device-SerialPort/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.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.