From owner-freebsd-current@FreeBSD.ORG Sat Mar 9 16:03:06 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A234B8CC; Sat, 9 Mar 2013 16:03:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 68344CE8; Sat, 9 Mar 2013 16:03:06 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::3859:828a:e508:def0] (unknown [IPv6:2001:7b8:3a7:0:3859:828a:e508:def0]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 9D8635C44; Sat, 9 Mar 2013 17:02:57 +0100 (CET) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: CURRENT: lang/gcc fails to build on CURRENT with error: configure: error: no usable dependency style found From: Dimitry Andric In-Reply-To: <513B56E8.2060702@zedat.fu-berlin.de> Date: Sat, 9 Mar 2013 17:02:56 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <8F5265A6-396A-426F-A3F8-EFD44D167313@FreeBSD.org> References: <513B56E8.2060702@zedat.fu-berlin.de> To: "Hartmann, O." X-Mailer: Apple Mail (2.1499) Cc: FreeBSD Current , 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: Sat, 09 Mar 2013 16:03:06 -0000 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. =85 > 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=85 My first guess would be that you have non-default CFLAGS in your build = environment, which confuse gcc's build stages.