[clang] Build error on r232474 (and a few before, don't know exactly which)

Brandon Falk falkman at gamozo.org
Sat Mar 3 23:52:27 UTC 2012


On 3/3/2012 6:49 PM, Brandon Falk wrote:
> On 3/3/2012 6:40 PM, Dan Nelson wrote:
>> In the last episode (Mar 03), Brandon Falk said:
>>> I'm trying to build r232474 with clang (build environment is 
>>> 10.0-CURRENT
>>> r231589 amd64 with clang), and I fail on `make -j16 buildworld`.  I've
>>> tried with and without threads.  I've built so many builds of clang 
>>> that I
>>> can't even count, so I'm confident my environment is set up 
>>> properly.  I'm
>>> building under a virtual machine, although I've never had issues 
>>> with that
>>> before.
>> You didn't actually paste an error at all below, but the fact that the
>> top-level make reported an error from one of the sub-makes.  You'll 
>> need to
>> either capture the entire build log and scroll through it from the 
>> bottom up
>> to find the error message, or build without -j16 so the error is at the
>> bottom of the output.
>>
>>> ---- error ----
>>>
>>> ===>   gnu/usr.bin/texinfo/doc (all)
>>> makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I 
>>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc 
>>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info.texi  
>>> -o info.info
>>> makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I 
>>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc 
>>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info-stnd.texi  
>>> -o info-stnd.info
>>> ln -fs 
>>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/texinfo.txi 
>>> texinfo.texi
>>> makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I 
>>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc 
>>> texinfo.texi  -o texinfo.info
>>> gzip -cn info.info>   info.info.gz
>>> gzip -cn info-stnd.info>   info-stnd.info.gz
>>> gzip -cn texinfo.info>   texinfo.info.gz
>>> 1 error
>>> *** [everything] Error code 2
>>> 1 error
>>> *** [buildworld] Error code 2
>>> 1 error
>>>
>>> ---- END error ----
>>>
>>> ---- Make.conf ----
>>>
>>> .if !defined(CC) || ${CC} == "cc"
>>> CC=clang
>>> .endif
>>> .if !defined(CXX) || ${CXX} == "c++"
>>> CXX=clang++
>>> .endif
>>> .if !defined(CPP) || ${CPP} == "cpp"
>>> CPP=clang-cpp
>>> .endif
>>>
>>> NO_WERROR=
>>> WERROR=
>>> NO_FSCHG=
>>>
>>> # added by use.perl 2012-03-03 16:12:59
>>> PERL_VERSION=5.12.4
>>>
>>> ---- END Make.conf ----
>>>
>>> -Brandon
>>>
>
> Oops, I meant to paste the URL for the entire log. You can find it 
> here: http://www.brandonfa.lk/freebsd-clang/log.gz
>
> I'll start a build without threads right now.
>
> -Brandon
>

I was trying to navigate the log in `edit`. Now that I'm in vim I 
quickly found the error.

lint: cannot exec /usr/obj/root/src/tmp/usr/bin/cc: No such file or 
directory
*** [llib-lposix.ln] Error code 1

This error is repeated in a few places.

-Brandon


More information about the freebsd-hackers mailing list