MAKEOBJDIRPREFIX fails if it has dot '.' in dir name (maybe also with some other chars)

Domagoj Smolčić rank1seeker at gmail.com
Mon Aug 12 13:18:48 UTC 2019


11.3-RELEASE-p2


# make MAKEOBJDIRPREFIX=/usr/obj/usr.LOCAL buildworld
make[1]: "/usr/src/Makefile.inc1" line 163: SYSTEM_COMPILER: Determined that CC=cc matches the source tree.  Not bootstrapping a cross-compiler.
--------------------------------------------------------------
>>> World build started on Sat Aug 12 11:57:54 CEST 2019
--------------------------------------------------------------

--------------------------------------------------------------
>>> Rebuilding the temporary build tree
--------------------------------------------------------------
rm -rf /usr/obj/usr.LOCAL/usr/src/tmp
rm: /usr/obj/usr.LOCAL/usr/src/tmp: Not a directory
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src




# env MAKEOBJDIRPREFIX=/usr/obj/usr_LOCAL make buildworld
make[1]: "/usr/src/Makefile.inc1" line 163: SYSTEM_COMPILER: Determined that CC=cc matches the source tree.  Not bootstrapping a cross-compiler.
--------------------------------------------------------------
>>> World build started on Sat Aug 12 11:58:52 CEST 2019
--------------------------------------------------------------

--------------------------------------------------------------
>>> Rebuilding the temporary build tree
--------------------------------------------------------------
rm -rf /usr/obj/usr_LOCAL/usr/src/tmp
mkdir -p /usr/obj/usr_LOCAL/usr/src/tmp/lib
...
...
...
...


Domagoj Smolčić


More information about the freebsd-hackers mailing list