From owner-freebsd-x11@FreeBSD.ORG Tue Jan 21 21:12:05 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 30AFC5FE for ; Tue, 21 Jan 2014 21:12:05 +0000 (UTC) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C59C91952 for ; Tue, 21 Jan 2014 21:12:04 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id A1AC040013 for ; Tue, 21 Jan 2014 22:12:01 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 97ADA40012; Tue, 21 Jan 2014 22:12:01 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (mx.daemonic.se [IPv6:2001:470:dca9:0:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 1F4214000E; Tue, 21 Jan 2014 22:12:00 +0100 (CET) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3f82W43R5Bz8ggv; Tue, 21 Jan 2014 22:12:00 +0100 (CET) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([IPv6:2001:470:dca9:0:1::3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) (amavisd-new, port 10025) with ESMTPS id xNZVLZviRnV9; Tue, 21 Jan 2014 22:11:58 +0100 (CET) Received: from mail.daemonic.se (mail.daemonic.se [10.1.0.4]) by mx.daemonic.se (Postfix) with ESMTPS id 3f82W20pX4z8gh0; Tue, 21 Jan 2014 22:11:58 +0100 (CET) Received: from tifa.daemonic.se (tifa.daemonic.se [IPv6:2001:470:dca9:1::6]) by mail.daemonic.se (Postfix) with ESMTPSA id 3f82W1663cz9Cvr; Tue, 21 Jan 2014 22:11:57 +0100 (CET) Received: from tifa.daemonic.se (localhost [IPv6:::1]) by tifa.daemonic.se (Postfix) with ESMTP id 4C42922818; Tue, 21 Jan 2014 22:11:57 +0100 (CET) Message-ID: <52DEE29D.2030102@daemonic.se> Date: Tue, 21 Jan 2014 22:11:57 +0100 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: Claude Buisson Subject: Re: build of libGL-9.1.7 fails: "/lib/cpp" fails sanity check References: <52DE9A7C.2030503@orange.fr> In-Reply-To: <52DE9A7C.2030503@orange.fr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 21:12:05 -0000 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