Subject: Can't build release
To: None <current-users@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: current-users
Date: 09/28/2003 19:37:45
Hi!
I'm trying to compile a release from the latest -current sources in
my production server (inside chroot). The server is running 1.6.1
and the binaries inside the chroot are also for 1.6.1.
Any ideas why this fails?
Martti
CHROOT> uname -srm
NetBSD 1.6.1_STABLE i386
CHROOT> cat /etc/mk.conf
TOOLDIR=/usr/obj/tools
MAKEOBJDIRPREFIX=/usr/obj
CHROOT> rm -rf /usr/obj/*
CHROOT> ./build.sh -D /destdir/d -R /destdir/r release
[...]
dependall ===> gcc
(cd intl && /usr/obj/tools/bin/nbmake -f
/usr/src/tools/gcc/../Makefile.gnuwrap all)
cd /usr/src/tools/gcc/../../gnu/dist/gcc/gcc && if true -o c-p$$.c
c-parse.y; then test -f c-p$$.output && mv -f c-p$$.output
c-parse.output ; mv -f c-p$$.c c-parse.c ; else rm -f c-p$$.* ;
false ; fi
mv: rename c-p24727.c to c-parse.c: No such file or directory
*** Failed target: /usr/src/tools/gcc/../../gnu/dist/gcc/gcc/c-parse.c
*** Failed command: cd /usr/src/tools/gcc/../../gnu/dist/gcc/gcc && if
true -o c-p$$.c c-parse.y; then test -f c-p$$.output && mv -f
c-p$$.output c-parse.output ; mv -f c-p$$.c c-parse.c ; else rm -f
c-p$$.* ; false ; fi
*** Error code 1