NetBSD Problem Report #42690
From ryoh@bonnie.jaist.ac.jp Fri Jan 29 09:06:46 2010
Return-Path: <ryoh@bonnie.jaist.ac.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 15F2063C2BC
for <gnats-bugs@gnats.netbsd.org>; Fri, 29 Jan 2010 09:06:46 +0000 (UTC)
Message-Id: <20100129090635.A33E3130FD@bonnie.jaist.ac.jp>
Date: Fri, 29 Jan 2010 18:06:35 +0900 (JST)
From: Ryo HAYASAKA <ryoh@jaist.ac.jp>
Reply-To: ryoh@jaist.ac.jp
To: gnats-bugs@gnats.NetBSD.org
Subject: [pkgtools/lintpkgsrc] Checking file-check failure
X-Send-Pr-Version: 3.95
>Number: 42690
>Category: pkg
>Synopsis: [pkgtools/lintpkgsrc] Checking file-check failure
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 29 09:10:00 +0000 2010
>Closed-Date: Sun Jan 31 11:42:01 +0000 2010
>Last-Modified: Sun Jan 31 11:42:01 +0000 2010
>Originator: Ryo HAYASAKA
>Release: NetBSD 5.99.24, pkgsrc-current
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 5.99.24 NetBSD 5.99.24 (GENERIC) #20: Fri Jan 29 12:14:34 JST 2010 root@bonnie.jaist.ac.jp:/c/ryoh/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
My /etc/mk.conf includes:
MANINSTALL=maninstall
MANZ=yes
$ make replace
WARNING: [license.mk] Every package should define a LICENSE.
===> depends-message [lintpkgsrc-4.82] ===> Installing dependencies for lintpkgsrc-4.82
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency digest>=20010101: found digest-20080510
=> Full dependency perl>=5.0: found perl-5.10.1
===> tools-message [lintpkgsrc-4.82] ===> Overriding tools for lintpkgsrc-4.82
===> extract-message [lintpkgsrc-4.82] ===> Extracting for lintpkgsrc-4.82
cd ../../pkgtools/pkglint/files && cp lintpkgsrc.* /c/ryoh/pkgsrc/pkgtools/lintpkgsrc/work/
===> patch-message [lintpkgsrc-4.82] ===> Patching for lintpkgsrc-4.82
===> wrapper-message [lintpkgsrc-4.82] ===> Creating toolchain wrappers for lintpkgsrc-4.82
===> configure-message [lintpkgsrc-4.82] ===> Configuring for lintpkgsrc-4.82
=> Checking for portability problems in extracted files
=> Substituting "lp" in lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl
===> install-message [lintpkgsrc-4.82] ===> Installing for lintpkgsrc-4.82
=> Generating pre-install file lists
=> Creating installation directories from PLIST files
/usr/bin/install -c -o ryoh -g is -m 755 /c/ryoh/pkgsrc/pkgtools/lintpkgsrc/work/lintpkgsrc.pl /c/ryoh/pkgsrc/pkgtools/lintpkgsrc/work/.destdir/usr/pkg/bin/lintpkgsrc
/usr/bin/install -c -o ryoh -g is -m 644 /c/ryoh/pkgsrc/pkgtools/lintpkgsrc/work/lintpkgsrc.0 /c/ryoh/pkgsrc/pkgtools/lintpkgsrc/work/.destdir/usr/pkg/man/cat1
/usr/bin/install -c -o ryoh -g is -m 644 /c/ryoh/pkgsrc/pkgtools/lintpkgsrc/work/lintpkgsrc.1 /c/ryoh/pkgsrc/pkgtools/lintpkgsrc/work/.destdir/usr/pkg/man/man1
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for lintpkgsrc-4.82
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR: /c/ryoh/pkgsrc/pkgtools/lintpkgsrc/work/.destdir/usr/pkg/man/cat1/lintpkgsrc.0
*** Error code 1
Stop.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: Bernd Ernesti <netbsd@lists.veego.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/42690: [pkgtools/lintpkgsrc] Checking file-check failure
Date: Fri, 29 Jan 2010 19:45:44 +0100
On Fri, Jan 29, 2010 at 09:10:00AM +0000, Ryo HAYASAKA wrote:
> >Description:
> My /etc/mk.conf includes:
>
> MANINSTALL=maninstall
> MANZ=yes
MANINSTALL is a flag for NetBSD Makefiles and setting it outside a BSD_PKG_MK check
in mk.conf asks for problems like you got.
.ifdef BSD_PKG_MK
XXXX
.else
MANINSTALL=maninstall
MANZ=yes
.endif
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/42690: [pkgtools/lintpkgsrc] Checking file-check failure
Date: Sat, 30 Jan 2010 10:23:52 +0900
On Sat, 30 Jan 2010 03:50:05 +0900, Bernd Ernesti <netbsd@lists.veego.de> wrote:
> On Fri, Jan 29, 2010 at 09:10:00AM +0000, Ryo HAYASAKA wrote:
> > >Description:
> > My /etc/mk.conf includes:
> >
> > MANINSTALL=maninstall
> > MANZ=yes
> MANINSTALL is a flag for NetBSD Makefiles and setting it outside a BSD_PKG_MK check
> in mk.conf asks for problems like you got.
Both of them are mentioned in pkgsrc/mk/defaults/mk.conf.
From: Bernd Ernesti <netbsd@lists.veego.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/42690: [pkgtools/lintpkgsrc] Checking file-check failure
Date: Sat, 30 Jan 2010 08:40:06 +0100
On Sat, Jan 30, 2010 at 01:25:01AM +0000, OBATA Akio wrote:
> On Sat, 30 Jan 2010 03:50:05 +0900, Bernd Ernesti <netbsd@lists.veego.de> wrote:
>
> > On Fri, Jan 29, 2010 at 09:10:00AM +0000, Ryo HAYASAKA wrote:
> > > >Description:
> > > My /etc/mk.conf includes:
> > >
> > > MANINSTALL=maninstall
> > > MANZ=yes
> > MANINSTALL is a flag for NetBSD Makefiles and setting it outside a BSD_PKG_MK check
> > in mk.conf asks for problems like you got.
>
> Both of them are mentioned in pkgsrc/mk/defaults/mk.conf.
I noticed it but using MANINSTALL in the BSD_PKG_MK case was always
problematic.
Bernd
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/42690 CVS commit: pkgsrc/pkgtools/lintpkgsrc
Date: Sun, 31 Jan 2010 11:38:48 +0000
Module Name: pkgsrc
Committed By: obache
Date: Sun Jan 31 11:38:48 UTC 2010
Modified Files:
pkgsrc/pkgtools/lintpkgsrc: Makefile
Log Message:
Take care the case that MANINSTALL does not contain catinstall.
Fixes PR#42690.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/pkgtools/lintpkgsrc/Makefile
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: obache@NetBSD.org
State-Changed-When: Sun, 31 Jan 2010 11:42:01 +0000
State-Changed-Why:
Fixed. Thanks!
>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.