Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2010 17:23:19 +0200
From:      Alexander Best <alexbestms@uni-muenster.de>
To:        freebsd-current@FreeBSD.org
Subject:   'buildworld' not always pulling in /etc/src.conf
Message-ID:  <AANLkTikA4QPoT0e540nCSc0_LAAycIjAOQOGLB-e2BjY@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000e0cdf1c1276ff7704880dab27
Content-Type: text/plain; charset=ISO-8859-1

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

--000e0cdf1c1276ff7704880dab27
Content-Type: application/octet-stream; name="make.conf"
Content-Disposition: attachment; filename="make.conf"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g9yay2ly0

IyBXT1JMRC9LRVJORUwgb3B0aW9ucwpLRVJOQ09ORiA9IEFSVU5ERUwKTU9EVUxFU19PVkVSUklE
RSA9IFwKbmV0Z3JhcGgvbmV0Z3JhcGggXApuZXRncmFwaC9zb2NrZXQgbmV0Z3JhcGgvYmx1ZXRv
b3RoL2JsdWV0b290aCBuZXRncmFwaC9ibHVldG9vdGgvaGNpIFwKbmV0Z3JhcGgvYmx1ZXRvb3Ro
L2wyY2FwIG5ldGdyYXBoL2JsdWV0b290aC9zb2NrZXQgbmV0Z3JhcGgvYmx1ZXRvb3RoL3VidCBc
CmxpbnV4IGxpbnByb2NmcyBsaW5zeXNmcyB0bXBmcyB1c2IvcXVpcmsgZmRlc2NmcyB1c2IvdWhp
ZCBzb3VuZC9zb3VuZCBzb3VuZC9kcml2ZXIvaGRhCgojIEdDQzQ0IG9wdGlvbnMKQ0MgPSBnY2M0
NApDWFggPSBnKys0NApDUFAgPSBjcHA0NAoKIyBjb21waWxlciBmbGFncwpDUFVUWVBFID0gbm9j
b25hCkNPUFRGTEFHUyA9IC1PMCAtcGlwZSAtZm5vLWJ1aWx0aW4gLWZuby1zdHJpY3QtYWxpYXNp
bmcgLWZ1bnJvbGwtbG9vcHMKQ0ZMQUdTID0gLU8yIC1waXBlIC1mbm8tc3RyaWN0LWFsaWFzaW5n
IC1mdW5yb2xsLWxvb3BzICAjLWZuby1idWlsdGluIChkb24ndCB1c2UpCkNYWEZMQUdTICs9IC1m
Y29uc2VydmUtc3BhY2UKCiMgU0VORE1BSUwgb3B0aW9ucwpTRU5ETUFJTF9NQyA9IC9ldGMvbWFp
bC9mcmVlYnNkLm1jClNFTkRNQUlMX1NVQk1JVF9NQyA9IC9ldGMvbWFpbC9mcmVlYnNkLnN1Ym1p
dC5tYwoKIyBQT1JUUyBvcHRpb25zCk9WRVJSSURFX0xJTlVYX0JBU0VfUE9SVCA9IGYxMApPVkVS
UklERV9MSU5VWF9OT05CQVNFX1BPUlRTID0gZjEwCkRBNCA9IHllcwpXSVRIX0JTREVMID0geWVz
CldJVEhfMjU2X0NPTE9SID0geWVzCgojIE1JU0Mgb3B0aW9ucwpET0NfTEFORyA9IGVuX1VTLklT
Tzg4NTktMSBkZV9ERS5JU084ODU5LTE1CgojIGFkZGVkIGJ5IHVzZS5wZXJsIDIwMTAtMDUtMTUg
MTQ6MjE6NDkKUEVSTF9WRVJTSU9OPTUuMTAuMQo=
--000e0cdf1c1276ff7704880dab27
Content-Type: application/octet-stream; name="src.conf"
Content-Disposition: attachment; filename="src.conf"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g9yayb6c1

IyBHQ0Mgb3B0aW9ucwpDQz1nY2MKQ1hYPWcrKwpDUFA9Y3BwCkRFQlVHX0ZMQUdTID0gLWcKCiMg
QlVJTERXT1JMRCBvcHRpb25zCldJVEhPVVRfQUNDVD10cnVlCldJVEhPVVRfQUNQST10cnVlCldJ
VEhPVVRfQU1EPXRydWUKV0lUSE9VVF9BUE09dHJ1ZQpXSVRIT1VUX0FUTT10cnVlCldJVEhPVVRf
QVVESVQ9dHJ1ZQpXSVRIT1VUX0JJTkQ9dHJ1ZQpXSVRIT1VUX0JTTk1QPXRydWUKV0lUSE9VVF9D
QUxFTkRBUj10cnVlCldJVEhPVVRfQ0RETD10cnVlCldJVEhPVVRfQ1RNPXRydWUKV0lUSE9VVF9D
VlM9dHJ1ZQpXSVRIT1VUX0ZMT1BQWT10cnVlCldJVEhPVVRfRlJFRUJTRF9VUERBVEU9dHJ1ZQpX
SVRIT1VUX0dBTU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