NetBSD Problem Report #29200
From lassekliemann@gmx.net Wed Feb 2 16:44:09 2005
Return-Path: <lassekliemann@gmx.net>
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20])
by narn.netbsd.org (Postfix) with SMTP id 593B663B400
for <gnats-bugs@gnats.NetBSD.org>; Wed, 2 Feb 2005 16:44:08 +0000 (UTC)
Message-Id: <20050202164808.5697.qmail@enterprise.starfleet>
Date: 2 Feb 2005 16:48:08 -0000
From: lasse-sendpr-2005@plastictree.net
Reply-To: lasse-sendpr-2005@plastictree.net
To: gnats-bugs@netbsd.org
Subject: .pkgdb not created if workdir already exists
X-Send-Pr-Version: 3.95
>Number: 29200
>Category: pkg
>Synopsis: .pkgdb not created if workdir already exists
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 02 16:45:00 +0000 2005
>Closed-Date: Sat Dec 23 15:24:13 +0000 2006
>Last-Modified: Sat Dec 23 15:24:13 +0000 2006
>Originator: lasse-sendpr-2005@plastictree.net
>Release: pkgsrc-current
>Organization:
>Environment:
Trustix Secure Linux 2.2 on i386, but likely is not platform related
>Description:
As mentioned in pkg/29148, .pkgdb is not created if work directory already
exists. Solution is to delete the workdir and restart the build. Unfortunately,
this does not work if workdir is accessed via a symbolic link.
>How-To-Repeat:
cd pkgsrc/pkgtools/digest
bmake clean
rm -fr "$HOME"/work
mkdir "$HOME"/work # this step cannot be left out
ln -s "$HOME"/work work
bmake install
>Fix:
As a workaround, do not use symbolic links to access work directory.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: jlam@netbsd.org
State-Changed-When: Tue, 27 Jun 2006 04:07:55 +0000
State-Changed-Why:
I don't believe that this problem exists anymore in current pkgsrc. The
parts of the pkgsrc infrastructure which create files in .pkgdb have been
modified to ensure the directory is created, and the PKG_DB_TMPDIR target
has been separated from the WRKDIR target. Could you test and verify that
this PR no longer applies? Thanks!
State-Changed-From-To: feedback->closed
State-Changed-By: joerg@netbsd.org
State-Changed-When: Sat, 23 Dec 2006 15:24:13 +0000
State-Changed-Why:
Feedback timeout.
>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.