'buildworld' not always pulling in /etc/src.conf

From: Alexander Best <alexbestms_at_uni-muenster.de>
Date: Wed, 2 Jun 2010 17:23:19 +0200
hi there,

i'm trying to run 'buildworld' on a fresh HEAD snapshot, but `make` is
failing with this error:

CC='gcc' mkdep -f .depend -a    -DRESCUE /usr/src/usr.bin/id/id.c
echo id: /usr/obj/usr/src/tmp/usr/lib/libc.a  >> .depend
gcc -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona -g
-DRESCUE -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
-Wold-style-definition -Wno-pointer-sign -c /usr/src/usr.bin/id/id.c
(cd /usr/src/rescue/rescue/../../usr.sbin/chroot &&
/usr/obj/usr/src/make.amd64/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE
DIRPRFX=rescue/rescue/chroot/ depend &&
/usr/obj/usr/src/make.amd64/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE
DIRPRFX=rescue/rescue/chroot/ chroot.o)
rm -f .depend
CC='gcc' mkdep -f .depend -a    -DRESCUE /usr/src/usr.sbin/chroot/chroot.c
echo chroot: /usr/obj/usr/src/tmp/usr/lib/libc.a  >> .depend
gcc -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona -g
-DRESCUE -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
-Wold-style-definition -Wno-pointer-sign -c
/usr/src/usr.sbin/chroot/chroot.c
(cd /usr/src/rescue/rescue/../../usr.sbin/chown &&
/usr/obj/usr/src/make.amd64/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE
DIRPRFX=rescue/rescue/chown/ depend &&
/usr/obj/usr/src/make.amd64/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE
DIRPRFX=rescue/rescue/chown/ chown.o)
rm -f .depend
CC='gcc' mkdep -f .depend -a    -DRESCUE /usr/src/usr.sbin/chown/chown.c
echo chown: /usr/obj/usr/src/tmp/usr/lib/libc.a  >> .depend
gcc -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona -g
-DRESCUE -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
-Wold-style-definition -Wno-pointer-sign -c
/usr/src/usr.sbin/chown/chown.c
MAKEOBJDIRPREFIX=/usr/obj/usr/src/rescue/rescue
/usr/obj/usr/src/make.amd64/make -f rescue.mk exe
gcc44 -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona -c rescue.c
gcc44: not found
*** Error code 127

Stop in /usr/obj/usr/src/rescue/rescue.
*** Error code 1

Stop in /usr/src/rescue/rescue.
*** Error code 1

Stop in /usr/src/rescue.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


it seems for some reason gcc44 gets chosen at some point as compiler
instead of the base gcc. i DO have CC, CXX and CPP defined in my
/etc/make.conf so that gcc44 gets used for ports and other stuff.
HOWEVER /stc/src.conf also contains those three variables and they to
the base version of gcc. of course commenting out those variables in
/etc/make.conf fixes the problem, but if i'm not mistaken 'buildworld'
should use /etc/src.conf at all times and thus should be aware that i
want it to use base gcc.

i've attached my make.conf and src.conf.

cheers.

-- 
Alexander Best

Received on Wed Jun 02 2010 - 13:23:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC