NetBSD Problem Report #37905
From kre@munnari.OZ.AU Tue Jan 29 15:11:10 2008
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 0DCE663BBB8
for <gnats-bugs@gnats.NetBSD.org>; Tue, 29 Jan 2008 15:11:10 +0000 (UTC)
Message-Id: <200801291509.m0TF9cv2017583@jade.coe.psu.ac.th>
Date: Tue, 29 Jan 2008 22:09:38 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: mail/balsa bin pkg build complains about a missing file (maybe PKG_SYSCONFBASE related)
X-Send-Pr-Version: 3.95
>Number: 37905
>Category: pkg
>Synopsis: mail/balsa bin pkg build complains about a missing file (maybe PKG_SYSCONFBASE related)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: rillig
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 29 15:15:00 +0000 2008
>Closed-Date: Wed Jan 30 00:47:43 +0000 2008
>Last-Modified: Wed Jan 30 00:47:43 +0000 2008
>Originator: Robert Elz
>Release: NetBSD 3.99.15 (pkgsrc current within past 8 hours)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 kre@jade.coe.psu.ac.th:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
Building a binary package for mail/balsa results in a complaint
about a missing file (I have PKG_DEVELOPER=yes, as I use pkg_comp
in approx its default config, but this doesn't seem to be a
check_files detected error).
>How-To-Repeat:
I use pkg_comp with libkver and NetBSD 3.0 release sets installed.
When building a binary package for mail/balse I see ...
=> Registering installation for balsa-2.3.10nb11
balsa-2.3.10nb11 requires installed package ORBit2-2.14.10
balsa-2.3.10nb11 requires installed package aspell-0.60.5
(etc)
balsa-2.3.10nb11 requires installed package rarian-0.6.0
balsa-2.3.10nb11 requires installed package xdg-dirs-1.4
ERROR: CONF_FILE /usr/pkg/share/examples/balsa/email.soundlist does not exist.
*** Error code 1
The only other even half way related stuff I see in the
build log is ...
=> Generating post-install file lists
=> Running POST-INSTALL script actions
balsa-2.3.10nb11: copying /usr/pkg/share/examples/balsa/balsa.soundlist to /etc/conf/sound/events/balsa.soundlist
===========================================================================
The following files should be created for balsa-2.3.10nb11:
/etc/conf/sound/events/email.soundlist (m=0644)
===========================================================================
which is only really interesting as it mentions copying one
file from examples to /etc/conf (which is my PKG_SYSCONFBASE)
but then says the other one (which would correspond to the "missing"
examples file) needs to be created manually.
At the very least that's odd, I'd have expected either all config
files to be installed automatically, or none of them, not half and
half.
>Fix:
???
>Release-Note:
>Audit-Trail:
From: Roland Illig <rillig@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/37905 CVS commit: pkgsrc/mk/pkginstall
Date: Tue, 29 Jan 2008 19:14:46 +0000 (UTC)
Module Name: pkgsrc
Committed By: rillig
Date: Tue Jan 29 19:14:46 UTC 2008
Modified Files:
pkgsrc/mk/pkginstall: bsd.pkginstall.mk
Log Message:
Disabled the check for missing example configuration files, since
according to PR 37905, it gets called too early.
To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 pkgsrc/mk/pkginstall/bsd.pkginstall.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Roland Illig <rillig@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/37905 CVS commit: pkgsrc/mk/pkginstall
Date: Tue, 29 Jan 2008 19:18:26 +0000 (UTC)
Module Name: pkgsrc
Committed By: rillig
Date: Tue Jan 29 19:18:26 UTC 2008
Modified Files:
pkgsrc/mk/pkginstall: bsd.pkginstall.mk
Log Message:
Reverted my last change. I was completely wrong. The real fault reported
in PR 37905 is exactly what I wanted to prevent using this check: A
configuration file was mentioned via CONF_FILES but does not exist in
the PLIST.
To generate a diff of this commit:
cvs rdiff -r1.41 -r1.42 pkgsrc/mk/pkginstall/bsd.pkginstall.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Responsible-Changed-From-To: pkg-manager->rillig
Responsible-Changed-By: rillig@narn.netbsd.org
Responsible-Changed-When: Tue, 29 Jan 2008 19:21:46 +0000
Responsible-Changed-Why:
I'll take it.
State-Changed-From-To: open->closed
State-Changed-By: rillig@narn.netbsd.org
State-Changed-When: Tue, 29 Jan 2008 19:21:46 +0000
State-Changed-Why:
I've fixed it. Thanks for the PR.
From: Roland Illig <rillig@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/37905 CVS commit: pkgsrc/mail/balsa
Date: Tue, 29 Jan 2008 19:21:07 +0000 (UTC)
Module Name: pkgsrc
Committed By: rillig
Date: Tue Jan 29 19:21:07 UTC 2008
Modified Files:
pkgsrc/mail/balsa: Makefile
Log Message:
Since email.soundlist does not exist in the PLIST anymore, it makes
absolutely no sense to specify it as the "original of a configuration
file" via CONF_FILES. PKGREVISION++
This fixes PR 37905.
To generate a diff of this commit:
cvs rdiff -r1.58 -r1.59 pkgsrc/mail/balsa/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: PR/37905 CVS commit: pkgsrc/mk/pkginstall
Date: Tue, 29 Jan 2008 20:21:26 +0100
On Tue, Jan 29, 2008 at 07:15:04PM +0000, Roland Illig wrote:
> Log Message:
> Disabled the check for missing example configuration files, since
> according to PR 37905, it gets called too early.
Huh? This is about the *source* which should always exist at this point.
Joerg
State-Changed-From-To: closed->open
State-Changed-By: obache@narn.netbsd.org
State-Changed-When: Wed, 30 Jan 2008 00:42:07 +0000
State-Changed-Why:
The real problem still exists. PLIST or CONF_FILES.
State-Changed-From-To: open->closed
State-Changed-By: obache@narn.netbsd.org
State-Changed-When: Wed, 30 Jan 2008 00:47:43 +0000
State-Changed-Why:
Sorry, already fixed.
>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.