Subject: Re: pkg_install installed failed at end
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 09/04/2003 21:07:29
On Thu, 4 Sep 2003, Jeremy C. Reed wrote:

> Any ideas on how I can track down why this package won't register when
> using FORCE_PKG_REGISTER and NO_PKG_REGISTER and NO_PACKAGE are not
> defined?
>
> (It used to work for me, before updating to recent pkg_install.)

I meant this problem happened after updating to recent mk/.)

I see I also have problems now with FORCE_PKG_REGISTER with other
packages. For example, md-whois does:

install -c -o bin -g bin -m 444
/tmp/pkgsrc/net/md-whois/work.tahoma/whois-4.6.3/whois.1
/usr/man/man1/md-whois.1
`/tmp/pkgsrc/net/md-whois/work.tahoma/.PLIST' is up to date.
*** Error code 1

Stop.

(That was after removing .install_done.)

And same error when using

make -DFORCE_PKG_REGISTER install # under net/gethost when already installed


I did some -d A debugging. With pkg_install:

Examining /tmp/pkgsrc/pkgtools/pkg_install/work.tahoma/.DESCR...Using
cached tim
e 19:58:59 Sep 04, 2003 for
/tmp/pkgsrc/pkgtools/pkg_install/work.tahoma/.DESCR
modified 19:58:59 Sep 04, 2003...up-to-date.
Examining fake-pkg...non-existent....PHONY node...out-of-date.
fake-pkg:> = /tmp/pkgsrc/pkgtools/pkg_install/work.tahoma/.PLIST
fake-pkg:? = /tmp/pkgsrc/pkgtools/pkg_install/work.tahoma/.PLIST
fake-pkg:> = /tmp/pkgsrc/pkgtools/pkg_install/work.tahoma/.PLIST
/tmp/pkgsrc/pkg
tools/pkg_install/work.tahoma/.DESCR
fake-pkg:? = /tmp/pkgsrc/pkgtools/pkg_install/work.tahoma/.PLIST
/tmp/pkgsrc/pkg
tools/pkg_install/work.tahoma/.DESCR
Applying :C to "/usr/pkgsrc/pkgtools/pkg_install"
Result is "pkgtools/pkg_install"
Applying :C to "tahoma.reedmedia.net"
Result is "tahoma"
Applying :C to "/usr/pkgsrc/pkgtools/pkg_install"
Result is "pkgtools/pkg_install"
Applying :C to "tahoma.reedmedia.net"
Result is "tahoma"
*** Error code 1

Was the first "Error code 1".

The -d A of gethost had the same Error code 1 with same debugging.

I have:

 WRKOBJDIR=      /tmp/pkgsrc


Maybe the above Error code 1 is unrelated. I don't know.


   Jeremy C. Reed
   http://www.reedmedia.net/