Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 22:11:57 +0100
From:      Niclas Zeising <zeising+freebsd@daemonic.se>
To:        Claude Buisson <clbuisson@orange.fr>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: build of libGL-9.1.7 fails: "/lib/cpp" fails sanity check
Message-ID:  <52DEE29D.2030102@daemonic.se>
In-Reply-To: <52DE9A7C.2030503@orange.fr>
References:  <52DE9A7C.2030503@orange.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/21/14 17:04, Claude Buisson wrote:
> Hello
> 
> building graphics/libGL on
> 
> FreeBSD watson 10.0-STABLE FreeBSD 10.0-STABLE #1 r260579M: Fri Jan 17
> 17:26:38
> CET 2014     toor@watson:/home/obj/home/src/sys/WATSON10X  amd64
> 
> built whithout gcc
> 
> with a ports tree at r340357
> 
> WITH_NEWXORG
> 
> the build fails at the configure stage:
> 
> ..
> checking for gcc... cc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking whether cc understands -c and -o together... yes
> checking dependency style of cc... gcc3
> checking for ar... ar
> checking the archiver (ar) interface... ar
> checking how to run the C preprocessor... cpp
> checking for gcc... (cached) cc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for cc option to accept ISO C89... (cached) none needed
> checking whether cc understands -c and -o together... (cached) yes
> checking dependency style of cc... (cached) gcc3
> checking for gcc... no
> checking for cc... cc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... (cached) none needed
> checking whether cc understands -c and -o together... (cached) yes
> checking dependency style of cc... (cached) gcc3
> checking how to run the C preprocessor... cc -E
> checking whether we are using the GNU C++ compiler... yes
> checking whether c++ accepts -g... yes
> checking dependency style of c++... gcc3
> checking how to run the C++ preprocessor... c++ -E
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... (cached) yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... (cached) gcc3
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: in `/home/ports/graphics/libGL/work/Mesa-9.1.7':
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to x11@FreeBSD.org [maintainer] and attach the
> "/home/ports/graphics/libGL/work/Mesa-9.1.7/config.log" including the
> output
> of the failure of your make command. Also, it might be a good idea to
> provide
> an overview of all packages installed on your system (e.g. a
> /usr/local/sbin/pkg-static info -g -Ea).
> *** Error code 1
> 
> Stop.
> make: stopped in /home/ports/graphics/libGL
> 
> config.log is attached
> 
> (so clang is supposed to be gcc3 ..)

It seems the list ate your attachement, can you post it somewhere on the
net, or send it to me in private?  I'd also like you to post
/etc/make.conf and /etc/src.conf, just in case.  Can you also try to run
/bin/cpp --version and post the output?  And also /lib/cpp if you have
it.  Do you have any gcc port installed?  Something seems strange in
that it looks for g++ for some reason, but I don't have a recent build
output myself, so I can't compare currently.
Regards!
-- 
Niclas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52DEE29D.2030102>