NetBSD Problem Report #41373

From taca@calm.i.kisu.co.jp  Thu May  7 01:48:45 2009
Return-Path: <taca@calm.i.kisu.co.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id B9EC463B8DF
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  7 May 2009 01:48:45 +0000 (UTC)
Message-Id: <20090507014841.A02751B5E7@calm.i.kisu.co.jp>
Date: Thu,  7 May 2009 10:48:41 +0900 (JST)
From: taca@back-street.net
Reply-To: taca@calm.i.kisu.co.jp
To: gnats-bugs@gnats.NetBSD.org
Subject: emulators/compat30 build fails on NetBSD 4.0_STABLE
X-Send-Pr-Version: 3.95

>Number:         41373
>Category:       pkg
>Synopsis:       emulators/compat30 build fails on NetBSD 4.0_STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 07 01:50:00 +0000 2009
>Closed-Date:    Thu May 07 06:53:07 +0000 2009
>Last-Modified:  Thu May 07 06:55:00 +0000 2009
>Originator:     Takahiro Kambe
>Release:        NetBSD 4.0_STABLE
>Organization:

>Environment:


System: NetBSD calm.i.kisu.co.jp 4.0_STABLE NetBSD 4.0_STABLE (CALM) #78: Thu Apr 16 15:50:52 JST 2009 sisbic-info@kisu.co.jp:/work/NetBSD-4/i386.obj/sys/arch/i386/compile/CALM i386
Architecture: i386
Machine: i386
>Description:
	emulators/compat30 build fails on NetBSD 4.0_STABLE, trying to
	build emulators/compat40 as a depended package.
>How-To-Repeat:
	Try to build emulators/compat30 on NetBSD 4.0_STABLE.

>Fix:
	emulators/compat30/Makefile restrict dependency to emulators/compat40
	but patterns for OS_VERSION don't match with 4.0_STABLE.

	Adding such a patch solve the problem and it might be applicable
	to other emulators/compat* packages for NetBSD.
	And I think there might be better fix.

Index: emulators/compat30/Makefile
===================================================================
RCS file: /cvs/pkgsrc/emulators/compat30/Makefile,v
retrieving revision 1.1.1.1.2.6
diff -u -r1.1.1.1.2.6 Makefile
--- emulators/compat30/Makefile	9 Jan 2008 01:52:47 -0000	1.1.1.1.2.6
+++ emulators/compat30/Makefile	7 May 2009 00:16:04 -0000
@@ -53,6 +53,7 @@
 # missing from compat30 on NetBSD>4.x.
 #
 .elif empty(OS_VERSION:M[0-3].*) && empty(OS_VERSION:M4.[0-9]) && \
+      empty(OS_VERSION:M4.[0-9]_STABLE) && \
       empty(OS_VERSION:M4.[0-9].*) && empty(OS_VERSION:M4.[1-8][0-9].*) && \
       empty(OS_VERSION:M4.9[0-8]*)
 DEPENDS+=	compat40>=4.0:../../emulators/compat40

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 07 May 2009 06:53:07 +0000
State-Changed-Why:
Committed, thanks!


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41373 CVS commit: pkgsrc/emulators/compat30
Date: Thu, 7 May 2009 06:52:45 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Thu May  7 06:52:45 UTC 2009

 Modified Files:
 	pkgsrc/emulators/compat30: Makefile

 Log Message:
 Handle 4.x_STABLE correctly. Patch from Takahiro Kambe in PR 41373.


 To generate a diff of this commit:
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/emulators/compat30/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.