Subject: pkg/32440: newly expanded pkgsrc on newly installed 3.0 doesn't work at all
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <anne@porcupine.montreal.qc.ca>
List: pkgsrc-bugs
Date: 01/03/2006 00:00:01
>Number: 32440
>Category: pkg
>Synopsis: newly expanded pkgsrc on newly installed 3.0 doesn't work at all
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 03 00:00:00 +0000 2006
>Originator: Anne Bennett
>Release: 3.0
>Organization:
>Environment:
NetBSD newquill.porcupine.montreal.qc.ca 3.0 NetBSD 3.0 (QUILL_AMD64) #4: Mon Jan 2 17:33:19 EST 2006 root@newquill.porcupine.montreal.qc.ca:/disks/nobak/netbsd/netbsd-3.0/src/sys/arch/amd64/compile/QUILL_AMD64 amd64
>Description:
I just did a full installation of NetBSD-3.0/amd64, and aside
from some routine system configurations and replacing the kernel
to add support for some new devices, the system is very vanilla.
I expanded the latest (Dec 31, 2005) pkgsrc onto disk and symlinked
/usr/pkgsrc to it. I did check the MD5 sum of the tarball; it was
correct.
Any attempt to build a package (e.g. vim-share, pkglint) immediately
returns errors in "mk/tools/make.mk". For example:
# cd /usr/pkgsrc/pkgtools/pkg_install
# make
make: "../../mk/tools/../../mk/tools/../../mk/tools/../../mk/tools/make.mk" line 50: Malformed conditional (!empty(_USE_TOOLS:Mgmake))
make: "../../mk/tools/../../mk/tools/../../mk/tools/../../mk/tools/make.mk" line 52: Malformed conditional (!empty(_USE_TOOLS:Mimake) && defined(IMAKE_MAKE))
make: "../../mk/tools/../../mk/tools/bsd.tools.mk" line 218: if-less endif
make: "../../mk/tools/../../mk/tools/bsd.tools.mk" line 218: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 974: warning: duplicate script for target "update" ignored
make: "../../mk/Makefile" line 103: warning: using previous script for "update" defined here
make: "../../mk/../../mk/bsd.pkg.mk" line 977: warning: duplicate script for target "update" ignored
make: "../../mk/Makefile" line 103: warning: using previous script for "update" defined here
make: Fatal errors encountered -- cannot continue
This is just too bizarre; it's hard to imagine how such a serious
problem could make it into a release, and yet, if the problem is
at my end, what could it possibly be? I haven't done anything yet!
Anne.
>How-To-Repeat:
Install vanilla amd64 3.0 system and expand pkgsrc tarball,
cd to any package, and "make".
Except that I don't *really* believe this will reproduce the
problem. :-/
>Fix:
Absolutely no idea.