Re: FreeBSD 10.0-CURRENT #0 r232730: buildworld broken with CLANG?

2012-03-11 Thread O. Hartmann
On 03/10/12 19:09, Dimitry Andric wrote:
> On 2012-03-10 17:11, Ivan Klymenko wrote:
>> В Sat, 10 Mar 2012 14:26:42 +0100
>> Dimitry Andric  пишет:
> ...
>>> Unfortunately, you did a -j build, which makes the actual errors
>>> difficult to find, and if you show only the last few lines, as you
>>> have done here, those errors are not visible at all.
>>>
>>> Try doing a single-threaded build instead.  Save the entire log, using
>>> script(1) for example, compress it and upload it somewhere.
>>
>> Full buildworld log:
>> http://pazzle.otdux.com.ua/logs/buildworld.log
> 
> This is, again, a multithreaded build log, so it is very difficult to
> see where the actual error is.  Moreover, it seems to be using ccache,
> which almost certainly result in problems, and non-standard CFLAGS. 
> 
> Try disabling all of these, deleting /usr/obj, and rebuild.
> 

Sorry for the noise I made especially. Reporting here a parallel make
via make -jX happened by my stupidity, I'm sorry. Mea culpa!

A "make buildworld" works on a six-core Intel i7-3930X, but it fails
while performing a "make -j24 buildworld", "make -j12 buildworld" and
"make -j6 buildworld". It fails only on this box.

So far, the initail problem has vanished, but a parallel build isn't
possible on a even more powerful architecture.

It seems that a "make buildworl" on a Core2Duao E8500 (2 cores/threads,
3 GHz, 8 GB RAM, P45/ICH10 SATA 3GB harddrive) takes approximately 100
minutes to compile world while the new box (Sandy-Bridge-E Core
i7-3930X, 6 cores/12 threads, 32 GB RAM, 3.2GHz, 460GB WD Caviar Black
HD attached to the SATA 6GB port) takes more than 125 minutes to compile
the same sources. Something is very fishy ...

Regards,
Oliver



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD 10.0-CURRENT #0 r232730: buildworld broken with CLANG?

2012-03-10 Thread Dimitry Andric
On 2012-03-10 17:11, Ivan Klymenko wrote:
> В Sat, 10 Mar 2012 14:26:42 +0100
> Dimitry Andric  пишет:
...
>> Unfortunately, you did a -j build, which makes the actual errors
>> difficult to find, and if you show only the last few lines, as you
>> have done here, those errors are not visible at all.
>>
>> Try doing a single-threaded build instead.  Save the entire log, using
>> script(1) for example, compress it and upload it somewhere.
> 
> Full buildworld log:
> http://pazzle.otdux.com.ua/logs/buildworld.log

This is, again, a multithreaded build log, so it is very difficult to
see where the actual error is.  Moreover, it seems to be using ccache,
which almost certainly result in problems, and non-standard CFLAGS. 

Try disabling all of these, deleting /usr/obj, and rebuild.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: FreeBSD 10.0-CURRENT #0 r232730: buildworld broken with CLANG?

2012-03-10 Thread Ivan Klymenko
В Sat, 10 Mar 2012 14:26:42 +0100
Dimitry Andric  пишет:

> On 2012-03-10 00:58, O. Hartmann wrote:
> > I might have missed the point but since a week now I can't build
> > FreeBSD 10.0 CURRENT/amd64 with CLANG anymore.
> > 
> > Amongst other problems I was told that the code this momnet is
> > incapable to build properly with CLANG, but then several fixes
> > where merged.
> > 
> > Building world ends up everytime at the below shown stage. What's
> > wrong? If I missed something - please enlighten me.
> > 
> > My src.conf attached.
> > 
> > 
> > Regards,
> > 
> > Oliver
> > 
> > 
> > building static c library
> > building shared library libc.so.7
> > building special pic c library
> > ranlib libc_pic.a
> > ranlib libc.a
> > sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libc.a
> > /usr/obj/usr/src/tmp/usr/lib
> > sh /usr/src/tools/install.sh -s -o root -g wheel -m 444   -S
> > libc.so.7 /usr/obj/usr/src/tmp/lib
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > be_BY.UTF-8.cat /usr/obj/usr/src/tmp/usr/share/nls/be_BY.UTF-8/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > ca_ES.ISO8859-1.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/ca_ES.ISO8859-1/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > de_DE.ISO8859-1.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/de_DE.ISO8859-1/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > el_GR.ISO8859-7.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/el_GR.ISO8859-7/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > es_ES.ISO8859-1.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/es_ES.ISO8859-1/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > fi_FI.ISO8859-1.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/fi_FI.ISO8859-1/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > fr_FR.ISO8859-1.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/fr_FR.ISO8859-1/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > gl_ES.ISO8859-1.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/gl_ES.ISO8859-1/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > hu_HU.ISO8859-2.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/hu_HU.ISO8859-2/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > it_IT.ISO8859-15.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/it_IT.ISO8859-15/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > ja_JP.UTF-8.cat /usr/obj/usr/src/tmp/usr/share/nls/ja_JP.UTF-8/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > ja_JP.eucJP.cat /usr/obj/usr/src/tmp/usr/share/nls/ja_JP.eucJP/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > ko_KR.UTF-8.cat /usr/obj/usr/src/tmp/usr/share/nls/ko_KR.UTF-8/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > ko_KR.eucKR.cat /usr/obj/usr/src/tmp/usr/share/nls/ko_KR.eucKR/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > mn_MN.UTF-8.cat /usr/obj/usr/src/tmp/usr/share/nls/mn_MN.UTF-8/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > nl_NL.ISO8859-1.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/nl_NL.ISO8859-1/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > no_NO.ISO8859-1.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/no_NO.ISO8859-1/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > pl_PL.ISO8859-2.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/pl_PL.ISO8859-2/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > pt_BR.ISO8859-1.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/pt_BR.ISO8859-1/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > ru_RU.KOI8-R.cat /usr/obj/usr/src/tmp/usr/share/nls/ru_RU.KOI8-R/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > sk_SK.ISO8859-2.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/sk_SK.ISO8859-2/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > sv_SE.ISO8859-1.cat
> > /usr/obj/usr/src/tmp/usr/share/nls/sv_SE.ISO8859-1/libc.cat
> > sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> > uk_UA.UTF-8.cat /usr/obj/usr/src/tmp/usr/share/nls/uk_UA.UTF-8/libc.cat
> > ln -fs /usr/obj/usr/src/tmp/lib/libc.so.7
> > /usr/obj/usr/src/tmp/usr/lib/libc.so
> > sh /usr/src/tools/install.sh -o root -g wheel -m 444   libc_pic.a
> > /usr/obj/usr/src/tmp/usr/lib
> > 1 error
> > *** [libraries] Error code 2
> > 1 error
> > *** [_libraries] Error code 2
> > 1 error
> > *** [buildworld] Error code 2
> > 1 error
> 
> Unfortunately, you did a -j build, which makes the actual errors
> difficult to find, and if you show only the last few lines, as you
> have done here, those errors are not visible at all.
> 
> Try doing a single-threaded build instead.  Save the entire log, using
> script(1) for example, compress it and upload it somewhere.

Full buildworld log:
http://pazzle.otdux.com.ua/logs/buildworld.log
___
freebsd-

Re: FreeBSD 10.0-CURRENT #0 r232730: buildworld broken with CLANG?

2012-03-10 Thread Ivan Klymenko
В Sat, 10 Mar 2012 14:23:17 +0100
Dimitry Andric  пишет:

> On 2012-03-10 10:39, Ivan Klymenko wrote:
> ...
> > I have a similar problem, but with a different result.
> > 
> > I noticed this only with the svn revision r232253
> > 
> > FreeBSD 10.0-CURRENT #0 r232717M
> > 
> > make.conf:
> > ...
> > #For ccache
> > .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))
> > && !defined(NOCCACHE)
> > CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/clang,1}
> > CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/clang++,1} .endif
> > 
> > .if empty(.CURDIR:M/usr/ports/*)
> > .if !defined(CC) || ${CC} == "cc"
> > CC=/usr/local/libexec/ccache/clang
> > .endif
> > .if !defined(CXX) || ${CXX} == "c++"
> > CXX=/usr/local/libexec/ccache/clang++
> > .endif
> > .if !defined(CPP) || ${CPP} == "cpp"
> > CPP=/usr/local/libexec/ccache/clang -E
> 
> There is your problem.  Don't use "clang -E", use "clang-cpp".
> Unfortunately, due to compatibility reasons with gcc, "clang -E"
> behaves differently than invoking it as "clang-cpp".

Thank you!

> 
> 
> ...
> > In file included from /usr/src/lib/libc/../../include/rpc/rpc.h:76:
> > /usr/src/lib/libc/../../include/rpc/rpcb_clnt.h:69:8: error:
> > unknown type name 'rpcblist' extern rpcblist *rpcb_getmaps(const
> > struct netconfig *, const char *); ^
> 
> And this is the result of it.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: FreeBSD 10.0-CURRENT #0 r232730: buildworld broken with CLANG?

2012-03-10 Thread Dimitry Andric
On 2012-03-10 00:58, O. Hartmann wrote:
> I might have missed the point but since a week now I can't build FreeBSD
> 10.0 CURRENT/amd64 with CLANG anymore.
> 
> Amongst other problems I was told that the code this momnet is incapable
> to build properly with CLANG, but then several fixes where merged.
> 
> Building world ends up everytime at the below shown stage. What's wrong?
> If I missed something - please enlighten me.
> 
> My src.conf attached.
> 
> 
> Regards,
> 
> Oliver
> 
> 
> building static c library
> building shared library libc.so.7
> building special pic c library
> ranlib libc_pic.a
> ranlib libc.a
> sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libc.a
> /usr/obj/usr/src/tmp/usr/lib
> sh /usr/src/tools/install.sh -s -o root -g wheel -m 444   -S  libc.so.7
> /usr/obj/usr/src/tmp/lib
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444  be_BY.UTF-8.cat
> /usr/obj/usr/src/tmp/usr/share/nls/be_BY.UTF-8/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> ca_ES.ISO8859-1.cat
> /usr/obj/usr/src/tmp/usr/share/nls/ca_ES.ISO8859-1/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> de_DE.ISO8859-1.cat
> /usr/obj/usr/src/tmp/usr/share/nls/de_DE.ISO8859-1/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> el_GR.ISO8859-7.cat
> /usr/obj/usr/src/tmp/usr/share/nls/el_GR.ISO8859-7/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> es_ES.ISO8859-1.cat
> /usr/obj/usr/src/tmp/usr/share/nls/es_ES.ISO8859-1/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> fi_FI.ISO8859-1.cat
> /usr/obj/usr/src/tmp/usr/share/nls/fi_FI.ISO8859-1/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> fr_FR.ISO8859-1.cat
> /usr/obj/usr/src/tmp/usr/share/nls/fr_FR.ISO8859-1/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> gl_ES.ISO8859-1.cat
> /usr/obj/usr/src/tmp/usr/share/nls/gl_ES.ISO8859-1/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> hu_HU.ISO8859-2.cat
> /usr/obj/usr/src/tmp/usr/share/nls/hu_HU.ISO8859-2/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> it_IT.ISO8859-15.cat
> /usr/obj/usr/src/tmp/usr/share/nls/it_IT.ISO8859-15/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444  ja_JP.UTF-8.cat
> /usr/obj/usr/src/tmp/usr/share/nls/ja_JP.UTF-8/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444  ja_JP.eucJP.cat
> /usr/obj/usr/src/tmp/usr/share/nls/ja_JP.eucJP/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444  ko_KR.UTF-8.cat
> /usr/obj/usr/src/tmp/usr/share/nls/ko_KR.UTF-8/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444  ko_KR.eucKR.cat
> /usr/obj/usr/src/tmp/usr/share/nls/ko_KR.eucKR/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444  mn_MN.UTF-8.cat
> /usr/obj/usr/src/tmp/usr/share/nls/mn_MN.UTF-8/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> nl_NL.ISO8859-1.cat
> /usr/obj/usr/src/tmp/usr/share/nls/nl_NL.ISO8859-1/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> no_NO.ISO8859-1.cat
> /usr/obj/usr/src/tmp/usr/share/nls/no_NO.ISO8859-1/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> pl_PL.ISO8859-2.cat
> /usr/obj/usr/src/tmp/usr/share/nls/pl_PL.ISO8859-2/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> pt_BR.ISO8859-1.cat
> /usr/obj/usr/src/tmp/usr/share/nls/pt_BR.ISO8859-1/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444  ru_RU.KOI8-R.cat
>  /usr/obj/usr/src/tmp/usr/share/nls/ru_RU.KOI8-R/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> sk_SK.ISO8859-2.cat
> /usr/obj/usr/src/tmp/usr/share/nls/sk_SK.ISO8859-2/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444
> sv_SE.ISO8859-1.cat
> /usr/obj/usr/src/tmp/usr/share/nls/sv_SE.ISO8859-1/libc.cat
> sh /usr/src/tools/install.sh -o root  -g wheel -m 444  uk_UA.UTF-8.cat
> /usr/obj/usr/src/tmp/usr/share/nls/uk_UA.UTF-8/libc.cat
> ln -fs /usr/obj/usr/src/tmp/lib/libc.so.7
> /usr/obj/usr/src/tmp/usr/lib/libc.so
> sh /usr/src/tools/install.sh -o root -g wheel -m 444   libc_pic.a
> /usr/obj/usr/src/tmp/usr/lib
> 1 error
> *** [libraries] Error code 2
> 1 error
> *** [_libraries] Error code 2
> 1 error
> *** [buildworld] Error code 2
> 1 error

Unfortunately, you did a -j build, which makes the actual errors
difficult to find, and if you show only the last few lines, as you have
done here, those errors are not visible at all.

Try doing a single-threaded build instead.  Save the entire log, using
script(1) for example, compress it and upload it somewhere.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: FreeBSD 10.0-CURRENT #0 r232730: buildworld broken with CLANG?

2012-03-10 Thread Dimitry Andric
On 2012-03-10 10:39, Ivan Klymenko wrote:
...
> I have a similar problem, but with a different result.
> 
> I noticed this only with the svn revision r232253
> 
> FreeBSD 10.0-CURRENT #0 r232717M
> 
> make.conf:
> ...
> #For ccache
> .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) && 
> !defined(NOCCACHE)
> CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/clang,1}
> CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/clang++,1}
> .endif
> 
> .if empty(.CURDIR:M/usr/ports/*)
> .if !defined(CC) || ${CC} == "cc"
> CC=/usr/local/libexec/ccache/clang
> .endif
> .if !defined(CXX) || ${CXX} == "c++"
> CXX=/usr/local/libexec/ccache/clang++
> .endif
> .if !defined(CPP) || ${CPP} == "cpp"
> CPP=/usr/local/libexec/ccache/clang -E

There is your problem.  Don't use "clang -E", use "clang-cpp".
Unfortunately, due to compatibility reasons with gcc, "clang -E" behaves
differently than invoking it as "clang-cpp".


...
> In file included from /usr/src/lib/libc/../../include/rpc/rpc.h:76:
> /usr/src/lib/libc/../../include/rpc/rpcb_clnt.h:69:8: error: unknown type 
> name 'rpcblist'
> extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *);
>^

And this is the result of it.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: FreeBSD 10.0-CURRENT #0 r232730: buildworld broken with CLANG?

2012-03-10 Thread Ivan Klymenko
В Sat, 10 Mar 2012 00:58:23 +0100
"O. Hartmann"  пишет:

> I might have missed the point but since a week now I can't build
> FreeBSD 10.0 CURRENT/amd64 with CLANG anymore.
> 
> Amongst other problems I was told that the code this momnet is
> incapable to build properly with CLANG, but then several fixes where
> merged.
> 
> Building world ends up everytime at the below shown stage. What's
> wrong? If I missed something - please enlighten me.

I have a similar problem, but with a different result.

I noticed this only with the svn revision r232253

FreeBSD 10.0-CURRENT #0 r232717M

make.conf:
...
#For ccache
.if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) && 
!defined(NOCCACHE)
CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/clang,1}
CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/clang++,1}
.endif

.if empty(.CURDIR:M/usr/ports/*)
.if !defined(CC) || ${CC} == "cc"
CC=/usr/local/libexec/ccache/clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=/usr/local/libexec/ccache/clang++
.endif
.if !defined(CPP) || ${CPP} == "cpp"
CPP=/usr/local/libexec/ccache/clang -E
.endif
.endif
# Don't die on warnings
NO_WERROR=
WERROR=
# Don't forget this when using Jails!
NO_FSCHG=
.if ${CC:T} == "clang"
CFLAGS+= -Qunused-arguments -fcolor-diagnostics
.endif
...

...
/usr/local/libexec/ccache/world/clang -fpic -DPIC  -O2 -mmmx -msse -msse2 
-msse3 -mssse3 -pipe -march=nocona -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/amd64 -DNLS  
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 
-I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE 
-DPOSIX_MISTAKE -DMALLOC_PRODUCTION 
-I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime 
-I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN 
-I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 
-fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized 
-Wno-pointer-sign -Wno-tautological-compare -Wno-unused-value 
-Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch-enum 
-Wno-empty-body -c /usr/src/lib/libc/gen/getmntinfo.c -o getmntinfo.So
distcc[60773] ERROR: compile /usr/.ccache/tmp/getgrent.tmp.nonamehost.60734.i 
on localhost failed
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/include'
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/../../include'
clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/amd64'
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/../../contrib/gdtoa'
clang: warning: argument unused during compilation: '-I 
/usr/obj/usr/src/lib/libc'
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/resolv'
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/../../contrib/tzcode/stdtime'
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/stdtime'
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/locale'
clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/rpc'
In file included from /usr/src/lib/libc/gen/getgrent.c:1:
In file included from /usr/src/lib/libc/gen/getgrent.c:39:
In file included from /usr/src/lib/libc/../../include/rpc/rpc.h:76:
/usr/src/lib/libc/../../include/rpc/rpcb_clnt.h:69:8: error: unknown type name 
'rpcblist'
extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *);
   ^
1 error generated.
*** [getgrent.o] Error code 1
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/include'
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/../../include'
clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/amd64'
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/../../contrib/gdtoa'
clang: warning: argument unused during compilation: '-I 
/usr/obj/usr/src/lib/libc'
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/resolv'
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/../../contrib/tzcode/stdtime'
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/stdtime'
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/locale'
clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/rpc'
distcc[60803] ERROR: compile /usr/.ccache/tmp/getgrent.tmp.nonamehost.60756.i 
on localhost failed
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/include'
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/../../include'
clang: warning: argument unused during compilation: '-I /usr/src/lib/libc/amd64'
clang: warning: argument unused during compilation: '-I 
/usr/src/lib/libc/../../contrib/gdtoa'
clang: warning: argument unused during compilation: '-I 
/usr/obj/usr/src/lib/libc'
clang: warning: argument unused during