Subject: lossage with new compiler mk files
To: None <>
From: Greg Troxel <>
List: tech-pkg
Date: 02/08/2004 19:44:04
With recent pkgsrc, and up-to-date pkgsrc/mk, on NetBSD 1.6.1 (fresh
install) on sparc64 (ultra5 if that matters), I was unable to build
shells/bash2.  I tried to build pkgtools, knowing that they had been
updated, and lost.  I was able to kludge around this by reading
mk/compiler/, but this seems suboptimal.

# make -k
make: "/usr/pkgsrc/pkgtools/pkg_install/../../mk/compiler/../../mk/compiler/" line 311: Malformed conditional (!empty(_LANGUAGES.gcc))
make: "/usr/pkgsrc/pkgtools/pkg_install/../../mk/compiler/../../mk/compiler/" line 319: Malformed conditional (!empty(_USE_PKGSRC_GCC:M[yY][eE][sS]))
make: "/usr/pkgsrc/pkgtools/pkg_install/../../mk/compiler/../../mk/compiler/" line 347: if-less endif
make: "/usr/pkgsrc/pkgtools/pkg_install/../../mk/compiler/../../mk/compiler/" line 347: Need an operator
make: "/usr/pkgsrc/pkgtools/pkg_install/../../mk/compiler/../../mk/compiler/" line 348: if-less endif
make: "/usr/pkgsrc/pkgtools/pkg_install/../../mk/compiler/../../mk/compiler/" line 348: Need an operator
make: Fatal errors encountered -- cannot continue

make: stopped in /usr/pkgsrc/pkgtools/pkg_install
# setenv _LANGUAGES.gcc c
# setenv USE_PKGSRC_GCC NO     
# make package
===> pkg_install-20040114 may not be packaged: Deinstallation is not permitted.
# make install

        Greg Troxel <>