Subject: Re: pkg/36970: sysutils/apcupsd can not install due to change path in archive
To: None <gnats-bugs@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: pkgsrc-bugs
Date: 09/18/2007 21:04:47
On Tue, Sep 11, 2007 at 10:05:00PM +0000, h-masuda@ootani.nagata.kobe.jp wrote:
> >Number:         36970
> >Category:       pkg
> >Synopsis:       sysutils/apcupsd can not install due to change path in archive
> >Confidential:   no
> >Severity:       serious
> >Priority:       high
> >Responsible:    pkg-manager
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Tue Sep 11 22:05:00 +0000 2007
> >Originator:     MASUDA Hideo
> >Release:        4.0_BETA2
> >Organization:
> >Environment:
> NetBSD localhost 4.0_BETA2 NetBSD 4.0_BETA2 (XEN3_DOM0) #4: Fri May 25 18:59:30 JST 2007  admin@localhost:/usr/netbsd-4/src/sys/arch/i386/compile/XEN3_DOM0 i386
> 
> >Description:
> sysutils/apcupsd can not install due to change path in archive.
> 
> # cd $PKGSRC/sysutils/apcupsd
> # make update
> (snip)
> => Unwrapping files-to-be-installed.
> /usr/bin/sed -e 's|@@PREFIX@@|/usr/pkg|' -e 's|@@SYSCONFDIR@@|/usr/pkg/etc/apcupsd|'  /export/work/current/pkgsrc/sysutils/apcupsd/work/apcupsd-3.14.1/doc/apcupsd.man > /export/work/current/pkgsrc/sysutils/apcupsd/work/apcupsd-3.14.1/doc/apcupsd.8
> /usr/bin/sed -e 's|@@PREFIX@@|/usr/pkg|' -e 's|@@SYSCONFDIR@@|/usr/pkg/etc/apcupsd|'  /export/work/current/pkgsrc/sysutils/apcupsd/work/apcupsd-3.14.1/doc/apctest.man > /export/work/current/pkgsrc/sysutils/apcupsd/work/apcupsd-3.14.1/doc/apctest.8
> make: don't know how to make /export/work/current/pkgsrc/sysutils/apcupsd/work/apcupsd-3.14.1/distributions/netbsd/apcupsd. Stop

Do you have anything special in /etc/mk.conf ?
Athough the RCD_SCRIPT_SRC value is obviously wrong, the package
installs properly on my system. I wonder whem RCD_SCRIPT_SRC is used,
and if there's some other problem ...

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--