From owner-freebsd-ports@FreeBSD.ORG Mon Mar 11 11:00:45 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2C6BD4D9; Mon, 11 Mar 2013 11:00:45 +0000 (UTC) (envelope-from zeising@daemonic.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id AF1D76FE; Mon, 11 Mar 2013 11:00:42 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 13E4640008; Mon, 11 Mar 2013 12:00:42 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 0952C40007; Mon, 11 Mar 2013 12:00:42 +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=AWL 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 2EC8A40003; Mon, 11 Mar 2013 12:00:41 +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 3ZPbvT6zdPz8hVn; Mon, 11 Mar 2013 12:00:37 +0100 (CET) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([10.1.0.3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [10.1.0.6]) (amavisd-new, port 10025) with ESMTPS id XLzt89l4R6_c; Mon, 11 Mar 2013 12:00:35 +0100 (CET) Received: from mail.daemonic.se (mail.daemonic.se [10.1.0.4]) by mx.daemonic.se (Postfix) with ESMTPS id 3ZPbvR36cSz8hVm; Mon, 11 Mar 2013 12:00:35 +0100 (CET) Received: from [IPv6:2001:470:dca9:1::3] (celes.daemonic.se [IPv6:2001:470:dca9:1::3]) by mail.daemonic.se (Postfix) with ESMTPSA id 3ZPbvP207Tz9Ctq; Mon, 11 Mar 2013 12:00:33 +0100 (CET) Message-ID: <513DB954.9080205@daemonic.se> Date: Mon, 11 Mar 2013 12:00:36 +0100 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: "Hartmann, O." Subject: Re: CURRENT: lang/gcc fails to build on CURRENT with error: configure: error: no usable dependency style found References: <513B56E8.2060702@zedat.fu-berlin.de> <8F5265A6-396A-426F-A3F8-EFD44D167313@FreeBSD.org> <20130309233930.GA95285@troutmask.apl.washington.edu> <513DAF4F.50602@FreeBSD.org> <513DB8ED.2090306@zedat.fu-berlin.de> In-Reply-To: <513DB8ED.2090306@zedat.fu-berlin.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: FreeBSD Current , Dimitry Andric , Steve Kargl , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 11:00:45 -0000 On 2013-03-11 11:58, Hartmann, O. wrote: > Am 03/11/13 11:17, schrieb Dimitry Andric: >> On 2013-03-10 00:39, Steve Kargl wrote: >> ... >>> If you have a clang built FreeBSD-current, then it is no >>> longer possible to *bootstrap* gcc-4.6.x, gcc-4.7.x, nor >>> the upcoming gcc-4.8.0. AFAICT, the problem is related >>> to /usr/bin/cpp. I haven't tried earlier versions of >>> gcc. >> >> I have built the lang/gcc47 and lang/gcc48 ports just now, and they >> compiled without any issues. What is the exact error you have been >> getting? >> >> I think there must be a common problem you and Oliver have in your build >> environment, most likely non-default CFLAGS. What happens if you remove >> make.conf and src.conf, do the gcc ports then build successfully? > > > > I have build port lang/gcc and lang/gcc46 recently on another box > running the same configuration files like the boxes which fail > (/etc/make.conf and /etc/src.conf). > > When removing /etc/make.conf and /etc/src.conf as requested, first thing > I realize is that perl 5.14 wants to be installed - while I use > throughout all systems perl 5.16. > > Having the default /etc/make.conf with only the PERL specific adaption > > PER_VERSION=5.16.2 > > gives a quite short journey into compiling lang/gcc with the following > error: > > cc -c -DHAVE_CONFIG_H -O2 -pipe -I/usr/local/include > -fno-strict-aliasing -I. -I.././../gcc-4.6.3/libiberty/../include -W > -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic > .././../gcc-4.6.3/libiberty/strverscmp.c -o strverscmp.o > rm -f ./libiberty.a pic/./libiberty.a > /usr/local/bin/ar rc ./libiberty.a \ > ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o > ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o > ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o > ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o > ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o > ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o > ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o > ./pex-unix.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o > ./simple-object-elf.o ./simple-object-mach-o.o ./sort.o ./spaces.o > ./splay-tree.o ./strerror.o ./strsignal.o ./unlink-if-ordinary.o > ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o > ./xstrndup.o ./mempcpy.o ./strverscmp.o > /usr/local/bin/ranlib ./libiberty.a > if [ x"-fpic" != x ]; then \ > cd pic; \ > /usr/local/bin/ar rc ./libiberty.a \ > ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o > ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o > ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o > ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o > ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o > ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o > ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o > ./pex-unix.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o > ./simple-object-elf.o ./simple-object-mach-o.o ./sort.o ./spaces.o > ./splay-tree.o ./strerror.o ./strsignal.o ./unlink-if-ordinary.o > ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o > ./xstrndup.o ./mempcpy.o ./strverscmp.o; \ > /usr/local/bin/ranlib ./libiberty.a; \ > cd ..; \ > else true; fi > gmake[2]: Leaving directory `/usr/ports/lang/gcc/work/build/libiberty' > gmake[1]: Leaving directory `/usr/ports/lang/gcc/work/build' > gmake: *** [all] Error 2 > *** [do-build] Error code 1 > > Stop in /usr/ports/lang/gcc. > *** [build] Error code 1 Do you, by any chance, use BSD grep? Regards! --