NetBSD Problem Report #6949
Received: (qmail 23416 invoked from network); 6 Feb 1999 05:15:10 -0000
Message-Id: <19990206051952.10007.qmail@nelgin.nu>
Date: 6 Feb 1999 05:19:52 -0000
From: nigel@nelgin.nu
Reply-To: nigel@nelgin.nu
To: gnats-bugs@gnats.netbsd.org
Subject: addnerd fails in postgresql pkg build
X-Send-Pr-Version: 3.95
>Number: 6949
>Category: pkg
>Synopsis: addnerd: addnerd: [Error] can't mkdir `/usr/pkg/pgsql'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 05 21:20:01 +0000 1999
>Closed-Date: Sat Feb 13 16:12:16 +0000 1999
>Last-Modified: Sat Feb 13 16:14:27 +0000 1999
>Originator: Nigel Reed
>Release: 19990203
>Organization:
>Environment:
System: NetBSD c33947-c 1.3I NetBSD 1.3I (NELGIN) #3: Wed Feb 3 23:16:31 CST 1999 root@c33947-c:/usr/src/sys/arch/i386/compile/NELGIN i386
>Description:
During the installation section of postgesql, addnerd fails due to
the directory has already been created.
c33947-c# make install
===> Installing for postgresql-6.4.2
addnerd: addnerd: [Error] can't mkdir `/usr/pkg/pgsql'
*** Error code 1
>How-To-Repeat:
cd usr/pkgsrc/databases/mysql
make
>Fix:
I commented the offending line out so that it would install, I'm afraid
my knowledge wouldn't be good enough to fix the problem though.
>Release-Note:
>Audit-Trail:
From: Thorsten Frueauf <s_frueau@ira.uka.de>
To: nigel@nelgin.nu
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/6949: addnerd fails in postgresql pkg build
Date: Sat, 6 Feb 1999 11:28:05 +0100 (GMT)
Hello!
> During the installation section of postgesql, addnerd fails due to
> the directory has already been created.
>
> c33947-c# make install
> ===> Installing for postgresql-6.4.2
> addnerd: addnerd: [Error] can't mkdir `/usr/pkg/pgsql'
> *** Error code 1
Is it possible that your /usr/pkg is a symlink? I think I saw this
problem with addnerd too when my /usr/pkg was symlinked, but I did
not investigate further.
Greets
Thorsten
From: "Heiko W.Rupp" <hwr@pilhuhn.de>
To: gnats-bugs@netbsd.org, nigel@nelgin.nu
Cc: Subject: Re: pkg/6949: addnerd fails in postgresql pkg build
Date: Sat, 6 Feb 1999 17:32:03 +0100
And if you don't have /usr/pkg//sbin (or where addnerd lives), you
can't install postgress, as the installer does not find addnerd.
This is ugly, as at least on my system, addnerd was built because of
the dependency from postgres.
From: "Nigel Reed" <nigel@nelgin.nu>
To: "Thorsten Frueauf" <s_frueau@ira.uka.de>
Cc: <gnats-bugs@gnats.netbsd.org>
Subject: Re: pkg/6949: addnerd fails in postgresql pkg build
Date: Sat, 6 Feb 1999 11:31:32 -0600
Nope. Not a symlink.
drwxr-xr-x 15 root wheel 512 Feb 5 23:02 pkg
Just a regular directory under /usr (which isn't a symlink either).
Regards
Nigel
----- Original Message -----
From: Thorsten Frueauf <s_frueau@ira.uka.de>
To: <nigel@nelgin.nu>
Cc: <gnats-bugs@gnats.netbsd.org>
Sent: Saturday, February 06, 1999 04:28 AM
Subject: Re: pkg/6949: addnerd fails in postgresql pkg build
>Hello!
>
>> During the installation section of postgesql, addnerd fails due to
>> the directory has already been created.
>>
>> c33947-c# make install
>> ===> Installing for postgresql-6.4.2
>> addnerd: addnerd: [Error] can't mkdir `/usr/pkg/pgsql'
>> *** Error code 1
>
>Is it possible that your /usr/pkg is a symlink? I think I saw this
>problem with addnerd too when my /usr/pkg was symlinked, but I did
>not investigate further.
>
>Greets
> Thorsten
>
From: "Nigel Reed" <nigel@nelgin.nu>
To: "Heiko W.Rupp" <hwr@pilhuhn.de>,
<gnats-bugs@netbsd.org>
Cc: Subject: Re: pkg/6949: addnerd fails in postgresql pkg build
Date: Sat, 6 Feb 1999 11:33:56 -0600
addnerd lives in /usr/pkg/sbin which is in the path.
I think the probem is that /usr/pkg/pgsql is being created, and then addnerd
tries to create it again and fails.
I believe the makefile should check for the existance of the directory and
pgsql
user before running the addnerd command.
Regards
Nigel
----- Original Message -----
From: Heiko W.Rupp <hwr@pilhuhn.de>
To: <gnats-bugs@netbsd.org>; <nigel@nelgin.nu>
Sent: Saturday, February 06, 1999 10:32 AM
Subject: Re: pkg/6949: addnerd fails in postgresql pkg build
>And if you don't have /usr/pkg//sbin (or where addnerd lives), you
>can't install postgress, as the installer does not find addnerd.
>This is ugly, as at least on my system, addnerd was built because of
>the dependency from postgres.
>
>
>
State-Changed-From-To: open->feedback
State-Changed-By: hwr
State-Changed-When: Sat Feb 6 12:00:49 PST 1999
State-Changed-Why:
Should be fixed now - can you try?
State-Changed-From-To: feedback->closed
State-Changed-By: hwr
State-Changed-When: Sat Feb 13 08:12:16 PST 1999
State-Changed-Why:
No feedback. This works for me on /i386 and /sparc.
>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.