Bug 185851 - [build] buildworld: respect src.conf during 'rescue' tools build
Summary: [build] buildworld: respect src.conf during 'rescue' tools build
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-17 15:40 UTC by Radim Kolar
Modified: 2018-05-21 00:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Radim Kolar 2014-01-17 15:40:00 UTC
I have configured distcc in /etc/make.conf

CC=distcc cc
CXX=distcc c++
MAKE_JOBS_NUMBER=6

because kernel does not build with distcc I have in /etc/src.conf

CC=cc
CXX=c++

This works as expected, but it fails during rescue build on statement:

  make -f rescue.mk exe

which ignores /etc/src.conf and fails build.

(cd /usr/src/rescue/rescue/../../usr.bin/id &&  make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/id/ depend && make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/id/ id.o)
`id.o' is up to date.
(cd /usr/src/rescue/rescue/../../usr.sbin/chroot &&  make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/chroot/ depend && make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/chroot/ chroot.o)
`chroot.o' is up to date.
(cd /usr/src/rescue/rescue/../../usr.sbin/chown &&  make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/chown/ depend && make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/chown/ chown.o)
`chown.o' is up to date.
MAKEOBJDIRPREFIX=/usr/obj/usr/src/rescue/rescue make -f rescue.mk exe
distcc cc -O2 -pipe  -c rescue.c
make[5]: exec(distcc) failed (No such file or directory)
*** Error code 1

Stop.
make[5]: stopped in /usr/obj/usr/src/rescue/rescue
*** Error code 1
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2018-05-21 00:00:09 UTC
For bugs matching the following conditions:
- Status == In Progress
- Assignee == "bugs@FreeBSD.org"
- Last Modified Year <= 2017

Do
- Set Status to "Open"
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2018-05-21 00:00:38 UTC
For bugs matching the following conditions:
- Status == In Progress
- Assignee == "bugs@FreeBSD.org"
- Last Modified Year <= 2017

Do
- Set Status to "Open"