Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 15:39:35 GMT
From:      Radim Kolar <hsn@sendmail.cz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/185851: buildworld do respect src.conf during 'rescue' tools build
Message-ID:  <201401171539.s0HFdZxU084614@oldred.freebsd.org>
Resent-Message-ID: <201401171540.s0HFe0Jr004200@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185851
>Category:       bin
>Synopsis:       buildworld do respect src.conf during 'rescue' tools build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 17 15:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        10.0rc4
>Organization:
>Environment:
>Description:
i have configured distcc in /etc/make.conf

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

because kernel do not builds with distcc i have /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

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401171539.s0HFdZxU084614>