NetBSD Problem Report #30206
From sschroev@science.uva.nl Wed May 11 21:28:01 2005
Return-Path: <sschroev@science.uva.nl>
Received: from imap.science.uva.nl (imap.science.uva.nl [146.50.4.51])
by narn.netbsd.org (Postfix) with ESMTP id 86DA763B11C
for <gnats-bugs@gnats.NetBSD.org>; Wed, 11 May 2005 21:27:59 +0000 (UTC)
Message-Id: <20050511212752.GA17569@ow129.science.uva.nl>
Date: Wed, 11 May 2005 23:27:52 +0200
From: Stephan Schroevers <sschroev@science.uva.nl>
Reply-To: sschroev@science.uva.nl
To: gnats-bugs@netbsd.org
Subject: Invalid value in MakeFile of devel/tvision
X-Send-Pr-Version: 3.95
>Number: 30206
>Category: pkg
>Synopsis: ${PATCHFILES} in devel/tvision MakeFile not accepted
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: jlam
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 11 21:29:00 +0000 2005
>Closed-Date: Thu May 12 07:26:54 +0000 2005
>Last-Modified: Thu May 12 07:26:54 +0000 2005
>Originator: Stephan Schroevers
>Release: NetBSD 2.0.2
>Organization:
None, home user
>Environment:
>System: NetBSD disposition 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23
>01:40:44 UTC 2005
>builds@works.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/sparc64/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/sparc64/compile/GENERIC
>sparc64
Architecture: sparc64
Machine: sparc64
>Description:
The variable ${PATCHFILES} in the Turbo Vision Makefile is set to
'tvision-0.8-freebsd-patches-20040910.diff.bz2', but this is not accepted by
the global pkg Makefile:
[stephan@disposition][/usr/pkgsrc/devel/tvision]$ make
make: "../../mk/../../mk/bsd.pkg.mk" line 557: Malformed conditional (!empty(PATCHFILES:M*.bz2) && ${EXTRACT_SUFX} != ".tar.bz2")
make: "../../mk/../../mk/bsd.pkg.mk" line 567: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 567: Need an operator
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/pkgsrc/devel/tvision
I noticed this when doing `make distclean` in /usr/pkgsrc/devel. I know
nothing about the devel/tvision itself.
>How-To-Repeat:
$ cd /usr/pkgsrc/devel/tvision
$ make
>Fix:
Unfortunately I don't know anything about creating packages and patches. I
have no time to get into that right now.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->jlam
Responsible-Changed-By: rillig@netbsd.org
Responsible-Changed-When: Thu, 12 May 2005 00:05:37 +0000
Responsible-Changed-Why:
This is a bug which has appeared on May 11. In the meantime, until it is
fixed, please use these commands:
bmake clean EXTRACT_SUFX=.tar.gz
bmake EXTRACT_SUFX=.tar.gz
From: "Johnny C. Lam" <jlam@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/30206 CVS commit: pkgsrc/mk
Date: Thu, 12 May 2005 01:14:05 +0000 (UTC)
Module Name: pkgsrc
Committed By: jlam
Date: Thu May 12 01:14:05 UTC 2005
Modified Files:
pkgsrc/mk: bsd.pkg.mk
Log Message:
There's no need to check for EXTRACT_SUFX when figuring out whether we
need to use bzcat for patches. bsd.pkg.extract.mk can figure out
independently whether bzcat is needed for distfiles. This fixes
PR pkg/30206.
To generate a diff of this commit:
cvs rdiff -r1.1639 -r1.1640 pkgsrc/mk/bsd.pkg.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: rillig@netbsd.org
State-Changed-When: Thu, 12 May 2005 07:26:54 +0000
State-Changed-Why:
jlam fixed it.
>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.