Subject: Re: lossage with new compiler mk files
To: Greg Troxel <gdt@ir.bbn.com>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 02/09/2004 05:51:19
On Sun, Feb 08, 2004 at 07:44:04PM -0500, Greg Troxel wrote:
> 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/gcc.mk, but this seems suboptimal.
>
> # make -k
> make: "/usr/pkgsrc/pkgtools/pkg_install/../../mk/compiler/../../mk/compiler/gcc.mk" line 311: Malformed conditional (!empty(_LANGUAGES.gcc))
> make: "/usr/pkgsrc/pkgtools/pkg_install/../../mk/compiler/../../mk/compiler/gcc.mk" line 319: Malformed conditional (!empty(_USE_PKGSRC_GCC:M[yY][eE][sS]))
> make: "/usr/pkgsrc/pkgtools/pkg_install/../../mk/compiler/../../mk/compiler/gcc.mk" line 347: if-less endif
> make: "/usr/pkgsrc/pkgtools/pkg_install/../../mk/compiler/../../mk/compiler/gcc.mk" line 347: Need an operator
> make: "/usr/pkgsrc/pkgtools/pkg_install/../../mk/compiler/../../mk/compiler/gcc.mk" line 348: if-less endif
> make: "/usr/pkgsrc/pkgtools/pkg_install/../../mk/compiler/../../mk/compiler/gcc.mk" line 348: Need an operator
> make: Fatal errors encountered -- cannot continue
This may be fixed with a more recent pkgsrc. Please try and let me
know.
Thanks!
-- Johnny Lam <jlam@NetBSD.org>