Subject: Compiling netbsd current amd64 port
To: None <port-amd64@netbsd.org>
From: Brendon Costa <bcosta@avdat.com.au>
List: port-amd64
Date: 04/18/2006 09:20:33
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

For the last week or so I have been doing cvs updates to try and
compile the latest copy of NetBSD current. I was going to test a patch
that was submitted recently for the ldexp function on the amd64 port,
however the build fails at the point of trying to create a set of
build tools.

I am compiling on an l386 box for an amd64 box and I am issuing the
following build command in the netbsd src directory:

./build.sh -U -u -m amd64 -B Brendon -O
/usr/netbsd/build/netbsd-current-2006_04_10_11_42/amd64/obj -D
/usr/netbsd/build/netbsd-current-2006_04_10_11_42/amd64/build -R
/usr/netbsd/build/netbsd-current-2006_04_10_11_42/amd64/release -T
/usr/netbsd/build/netbsd-current-2006_04_10_11_42/amd64/toolchain-l386
tools


When I issue the above command I get a bunch of errors that look like:

===> build.sh started: Mon Apr 10 17:24:53 EST 2006
nbmake: "/usr/netbsd/src/Makefile" line 175: Malformed conditional
(${HAVE_GCC} == "3")
nbmake: "/usr/netbsd/src/Makefile" line 175: Need an operator
nbmake: "/usr/netbsd/src/Makefile" line 180: if-less else
nbmake: "/usr/netbsd/src/Makefile" line 180: Need an operator
nbmake: "/usr/netbsd/src/Makefile" line 182: if-less endif
nbmake: "/usr/netbsd/src/Makefile" line 182: Need an operator
nbmake: "/usr/netbsd/src/Makefile" line 203: Malformed conditional
((${HAVE_GCC} == "3" || ${HAVE_GCC} == "4"))
nbmake: "/usr/netbsd/src/Makefile" line 203: Missing dependency operator
nbmake: "/usr/netbsd/src/Makefile" line 207: if-less endif
nbmake: "/usr/netbsd/src/Makefile" line 207: Need an operator
nbmake: Fatal errors encountered -- cannot continue
nbmake: "/usr/netbsd/src/share/mk/bsd.own.mk" line 99: warning: "cd
/usr/netbsd/src &&
/usr/netbsd/build/netbsd-current-2006_04_10_11_42/amd64/toolchain-l386/bin/nbmake
- -V .OBJDIR" returned non-zero status


Any ideas? Has the usage of the build.sh script changed since 3.0?

Thanks,
Brendon.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFERCLBPfREiUgoLqwRAulIAJ9krHTPKvxmfxrfsS4FxKv2Vg2P+QCfRyuh
Eg5lGI2UtFqGIqWf/wN9/bU=
=+i0n
-----END PGP SIGNATURE-----