From owner-freebsd-current@FreeBSD.ORG Sun Mar 10 00:07:04 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DF0EB530; Sun, 10 Mar 2013 00:07:04 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id A39F41CB; Sun, 10 Mar 2013 00:07:04 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.6/8.14.6) with ESMTP id r29NdUka095296; Sat, 9 Mar 2013 15:39:30 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.6/8.14.6/Submit) id r29NdUS2095295; Sat, 9 Mar 2013 15:39:30 -0800 (PST) (envelope-from sgk) Date: Sat, 9 Mar 2013 15:39:30 -0800 From: Steve Kargl To: Dimitry Andric Subject: Re: CURRENT: lang/gcc fails to build on CURRENT with error: configure: error: no usable dependency style found Message-ID: <20130309233930.GA95285@troutmask.apl.washington.edu> References: <513B56E8.2060702@zedat.fu-berlin.de> <8F5265A6-396A-426F-A3F8-EFD44D167313@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8F5265A6-396A-426F-A3F8-EFD44D167313@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Current , "Hartmann, O." , freebsd-ports@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Mar 2013 00:07:04 -0000 On Sat, Mar 09, 2013 at 05:02:56PM +0100, Dimitry Andric wrote: > On Mar 9, 2013, at 16:36 , "Hartmann, O." wrote: > > I have one specific FreeBSD 10.0-CURRENT box (FreeBSD 10.0-CURRENT #0 > > r248061: Fri Mar 8 19:44:30 CET 2013 amd64) which rejects to build > > either lang/gcc or lang/gcc46 with the very same error shown below. > ? > > checking whether cc supports -pedantic -Wno-long-long... yes > > checking dependency style of cc... none > > configure: error: no usable dependency style found > > gmake[2]: *** [configure-stage1-libcpp] Error 1 > > gmake[2]: Leaving directory `/usr/ports/lang/gcc/work/build' > > gmake[1]: *** [stage1-bubble] Error 2 > > gmake[1]: Leaving directory `/usr/ports/lang/gcc/work/build' > > gmake: *** [all] Error 2 > > *** [do-build] Error code 1 > > What is the actual error in the resulting config.log file? Unfortunately autoconf error message are virtually information-free? > 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. -- Steve