On Tue, 16 May 2017 09:39:11 +0100 Roger Pau Monné <roger.pau_at_citrix.com> wrote: > Hello, > > I'm trying to build world as a regular user, using sources fetched into my > home directory and a different object directory. The rune I'm using to build > is: > > $ cd /home/royger/buildjob/freebsd > $ make -j30 buildworld MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ As far as I know, in this construct, MAKEOBJDIRPREFIX is an argument to make, but MAKEOBJDIRPREFIX is strictly required to be set in the environment! Have you tried the following setting: env MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ make -j30 buildworld I do this kind of task as root this way (as it doesn't work as you showed, either). Kind regards, Oliver > > And this leads to the following build error: > > --- all_subdir_rescue --- > --- cat.lo --- > cc -target x86_64-unknown-freebsd12.0 > --sysroot=/home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/tmp > -B/home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/tmp/usr/bin -O2 > -pipe -std=gnu99 -Qunused-arguments -nostdlib -Wl,-dc -r -o cat.lo > cat_stub.o /home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/rescue/rescue//usr/home/royger/buildjob/freebsd/bin/cat/cat.o > cc: error: no such file or directory: > '/home/royger/buildjob/obj//usr/home/royger/buildjob/freebsd/rescue/rescue//usr/home/royger/buildjob/freebsd/bin/cat/cat.o' > *** [cat.lo] Error code 1 > > AFAIK this should work fine, does anyone has any clues about what causes this > failure? > > Thanks, Roger. > > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"Received on Tue May 16 2017 - 10:18:44 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:11 UTC