Date: Fri, 11 May 2012 20:27:35 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Jeff Kletsky <jeff+freebsd@wagsky.com> Cc: freebsd-stable@freebsd.org Subject: Re: Two build problems -- "make memstick" and "make release" with -DWITHOUT_CLANG Message-ID: <4FAD5A17.1020200@FreeBSD.org> In-Reply-To: <4FAC1965.7070800@wagsky.com> References: <4FAC1965.7070800@wagsky.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FAD5A17.1020200>