buildworld not working with MAKEOBJDIRPREFIX

From: Roger Pau Monné <roger.pau_at_citrix.com>
Date: Tue, 16 May 2017 09:39:11 +0100
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/

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.
Received on Tue May 16 2017 - 06:40:28 UTC

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