Summary: | make buildworld fails: freebsd.cf: No such file or directory | ||
---|---|---|---|
Product: | Base System | Reporter: | oklaspec |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed Works As Intended | ||
Severity: | Affects Only Me | CC: | marklmi26-fbsd |
Priority: | --- | ||
Version: | 12.1-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
oklaspec
2019-11-12 15:23:07 UTC
This problem exists even for this command (with MAKEOBJDIRPREFIX=/usr/obj): ``` make MAKEOBJDIRPREFIX=/usr/obj DESTDIR=/home/rj/RELENG_12_1.tmpl distrib-dirs distribution ``` However for this command (with unspecified MAKEOBJDIRPREFIX variable) it works fine as expected: ``` make DESTDIR=/home/rj/RELENG_12_1.tmpl distrib-dirs distribution ``` (In reply to oklaspec from comment #1) Quoting the build man page: MAKEOBJDIRPREFIX Defines the prefix for directory names in the tree of built objects. Defaults to /usr/obj if not defined. This variable should only be set in the environment or /etc/src-env.conf and not via /etc/make.conf or /etc/src.conf or the command line. Note that last: not to be set in the command line (after "make"). So: make MAKEOBJDIRPREFIX=/usr/obj DESTDIR=/home/rj/RELENG_12_1.tmpl distrib-dirs distribution is inappropriate. Possibly presuming a specific shell type: env MAKEOBJDIRPREFIX=/usr/obj make DESTDIR=/home/rj/RELENG_12_1.tmpl distrib-dirs distribution would be appropriate (set in the environment) . You may wat to try that. Thanks, I have sh script so `export` works fine for me. I did not tried using `env` but it must works too. |