Sergey Goryachev
2004-Mar-19 02:47 UTC
buildworld failed on 4.9-STABLE (CVSup'ed yesterday)
Hallo! ~% uname -a FreeBSD gamma.rama.menatepspb.com 4.9-STABLE FreeBSD 4.9-STABLE #18: Mon Nov 24 18:39:22 MSK 2003 sysop@gamma.rama.menatepspb.com:/extra/obj/usr/src/sys/GAMMA i386 ~% Yesterday I'm CVSup'ed my sources (*default release=cvs tag=RELENG_4) and issue a command: ~% (cd /usr/src && su root -c 'make buildworld |& tee /root/buildworld') but compilation failed with error: ---------------- ... ===> gnu/usr.bin/cc/cc_tools gperf -p -j1 -i 1 -g -o -t -G -N is_reserved_word -k1,3,$ /usr/src/gnu/usr.bin/cc/cc_tools/../../.. /../contrib/gcc/c-parse.gperf > c-gperf.h gperf -p -j1 -g -o -t -N is_reserved_word '-k1,4,7,$' /usr/src/gnu/usr.bin/cc/cc_tools/../../../../ contrib/gcc/cp/gxx.gperf >gxx-hash.h ln -sf gxx-hash.h hash.h echo '#include "cp/cp-tree.def"' > gencheck.h echo '#include "objc/objc-tree.def"' >> gencheck.h echo '#include "auto-host.h"' > config.h echo '#include "gansidecl.h"' >> config.h echo '#include "i386/xm-i386.h"' >> config.h echo '#include "hwint.h"' >> config.h echo '#include "auto-host.h"' > hconfig.h echo '#include "gansidecl.h"' >> hconfig.h echo '#include "i386/xm-i386.h"' >> hconfig.h echo '#include "hwint.h"' >> hconfig.h echo 'static char *multilib_raw[] = { "aout maout;", "elf !maout;", NULL };' > multilib.h echo 'static char *multilib_matches_raw[] = { "maout maout;", "melf melf;", NULL };' >> multilib. h echo 'static char *multilib_extra = "";' >> multilib.h echo '#include "cp/lang-options.h"' > options.h echo '#include "f/lang-options.h"' >> options.h echo '#include "cp/lang-specs.h"' > specs.h echo '#include "f/lang-specs.h"' >> specs.h echo '#include "objc/lang-specs.h"' >> specs.h echo '#include "gansidecl.h"' > tconfig.h echo '#include "i386/xm-i386.h"' >> tconfig.h echo '#include "i386/i386.h"' > tm.h echo '#include "i386/att.h"' >> tm.h echo '#include <freebsd.h>' >> tm.h echo '#include "dbxelf.h"' >> tm.h echo '#include "i386/freebsd.h"' >> tm.h echo '#include "i386/perform.h"' >> tm.h echo '#include <freebsd-native.h>' >> tm.h cc -O -pipe -I. -static -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I/usr/o bj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_ tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_t ools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../ contrib/gcc/config -D __FBSDID=__RCSID -c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gencheck.c cc -O -pipe -I. -static -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I/usr/o bj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_ tools/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config -D__FB SDID=__RCSID -o gencheck gencheck.o ./gencheck > tree-check.h ./gencheck: permission denied *** Error code 126 Stop in /usr/src/gnu/usr.bin/cc/cc_tools. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ---------------- What's happened? Any help appreciated. PS: My /etc/make.conf file contain CFLAGS= -O -pipe USA_RESIDENT= no NO_I4B= true NO_MODULES= true NO_IPFILTER= true NOUUCP= true NO_X= true KERNCONF=GAMMA MODULES_WITH_WORLD=true WITHOUT_X11= true IPFW2= true FETCH_ENV=FTP_PROXYFETCH_ENV=HTTP_PROXY=http://10.10.0.2:3128 FETCH_BEFORE_ARGS=-p SUP_UPDATE= yes SUP= /usr/local/bin/cvsup SUPFLAGS= -g -L 2 SUPFILE= /etc/stable-supfile NO_PORTSUPDATE= true PORTSSUPFILE= /etc/ports-supfile NO_DOCUPDATE= true DOCSUPFILE= /etc/doc-supfile DOC_LANG= en_US.ISO8859-1 ru_RU.KOI8-R SENDMAIL_SUBMIT_MC=/etc/mail/submit.mc SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 -DPICKY_HELO_CHECK SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 -- WBR, Sergey.
Palle Girgensohn
2004-Mar-19 16:50 UTC
buildworld failed on 4.9-STABLE (CVSup'ed yesterday)
It seems like there's a permission denied error. Perhaps it tries writing to /usr/src, which would be a bug. Is your source tree read-only? /Palle --On fredag, mars 19, 2004 13.47.38 +0300 Sergey Goryachev <goryatchev.sergey@rama.menatepspb.com> wrote: ...> ./gencheck > tree-check.h > ./gencheck: permission denied > *** Error code 126