Two build problems -- "make memstick" and "make release" with -DWITHOUT_CLANG

Dimitry Andric dim at FreeBSD.org
Fri May 11 18:27:33 UTC 2012


On 2012-05-10 21:39, Jeff Kletsky wrote:
> I'm trying to do bisection to locate when a specific bug appeared and 
> can replicate the issue when I boot from a memstick and use the LiveCD 
> option. This keeps any questions of "upgrade or install" out of the picture.
...
> or the like, but a build with clang enabled takes me close to three 
> hours. Since the issue isn't clang-related, I'd like to be able to build 
> without clang to the point of having a bootable memstick. release(7) 
> suggests that the environment variable MAKE_FLAGS could be used to pass 
> flags, however
> 
> # cd /usr/src/release
> # export MAKE_FLAGS='-DWITHOUT_CLANG'
> # ./generate_release.sh stable/9 at 226702 /usr/release/stable-9
...
> starts off nicely, but then eventually dies with
> 
> ===> usr.bin/clang (install)
> ===> usr.bin/clang/clang (install)
> install -s -o root -g wheel -m 555   clang /usr/release/226702/usr/bin
> install: clang: No such file or directory
> *** Error code 71

Try putting WITHOUT_CLANG= in your /etc/src.conf instead.  I tried a
generate-release.sh with just that in my src.conf (and no make.conf),
and it just completed successfully.

I don't think it is safe to pass WITH_ and WITHOUT_ settings via
MAKE_FLAGS, at least not for this particular case.


More information about the freebsd-stable mailing list