From owner-freebsd-ports@FreeBSD.ORG Wed Jan 22 07:52:37 2014 Return-Path: Delivered-To: freebsd-ports@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 E9A5F78F for ; Wed, 22 Jan 2014 07:52:37 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7ECAD19FF for ; Wed, 22 Jan 2014 07:52:37 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id hr1so290683wib.0 for ; Tue, 21 Jan 2014 23:52:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=m88w6d0pnUzwvJRMgW9sMvzY5yq9WRCR9qZ48AW3fDI=; b=kE0zbfJNulDq8/UN18BIFv3ufHQRDvfdydYx+w0FXtE/7ZXh/lb9w9sK7yUc6PNNRL W+cpLfaeiNPUEnkX4uz0d2TPWrdry8CI1tltAcX/cEK1disQbuqq9/iQkjJwOBjRXONW eJX1TBCDnRaknRhVmPQ1dKpgnb3ws7cpBDuZaHCejlW7Bvj3GJmABHbvPh7DrD8j9g8h Mpz1acfa9mmo5Oa38woc/3CGt9umP5F4co/C8C8+/LMGT8axcf8mrBzdv2Ylul3GCU+Z UONwhjsqOHsa47HdRrRaVKbjFHlYA3YsaWoG9SevqPmKvoHB4dPKK9B/8OlllsQZQtK9 vbLg== X-Received: by 10.194.87.5 with SMTP id t5mr116884wjz.68.1390377155970; Tue, 21 Jan 2014 23:52:35 -0800 (PST) Received: from [10.0.2.15] (LNantes-156-74-19-50.w82-127.abo.wanadoo.fr. [82.127.90.50]) by mx.google.com with ESMTPSA id a9sm16802530wiy.10.2014.01.21.23.52.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 23:52:35 -0800 (PST) Message-ID: <52DF78C2.10304@gmail.com> Date: Wed, 22 Jan 2014 08:52:34 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: dns/bind-tools fails to build on 10-stable References: <20140120092904.GA13438@potato.growveg.org> <52DD676C.5090007@daemonic.se> <20140120192623.GA83718@potato.growveg.org> In-Reply-To: <20140120192623.GA83718@potato.growveg.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2014 07:52:38 -0000 On 20/01/2014 20:26, John wrote: > On Mon, Jan 20, 2014 at 07:14:04PM +0100, Niclas Zeising wrote: >> On 01/20/14 10:29, John wrote: >>> Hello list, >>> >>> On a new 10-stable system, I can't seem to build bind tools. I get the following >>> error: >>> >>> checking host system type... x86_64-portbld-freebsd10.0 >>> checking whether make sets $(MAKE)... yes >>> checking how to print strings... printf >>> checking for gcc... cc >>> checking whether the C compiler works... no >>> configure: error: in `/usr/ports/dns/bind-tools/work/bind-9.9.4-P2': >>> configure: error: C compiler cannot create executables >>> See `config.log' for more details >>> ===> Script "configure" failed unexpectedly. >>> Please report the problem to mat@FreeBSD.org [maintainer] and attach the >>> "/usr/ports/dns/bind-tools/work/bind-9.9.4-P2/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[1]: stopped in /usr/ports/dns/bind-tools >>> *** Error code 1 >>> >>> Stop. >>> make: stopped in /usr/ports/dns/bind-tools >>> >>> 10-stable is r260886. The ports tree is 340327. Before I directly bother >>> the maintainer, I wondered if this is a known issue? >>> >>> thanks, >>> >> That is a rather strange error. Can you provide config.log together >> with /etc/make.conf and options for bind-tools? >> Regards! >> -- >> Niclas > Hello, thanks for looking. > > I "fixed" the problem - looking in config.log, I noticed this: > > configure:3284: checking build system type > configure:3298: result: x86_64-portbld-freebsd10.0 > configure:3318: checking host system type > configure:3331: result: x86_64-portbld-freebsd10.0 > configure:3352: checking whether make sets $(MAKE) > configure:3374: result: yes > configure:3442: checking how to print strings > configure:3469: result: printf > configure:3538: checking for gcc > configure:3565: result: cc > configure:3794: checking for C compiler version > configure:3803: cc --version >&5 > FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 > Target: x86_64-unknown-freebsd10.0 > Thread model: posix > configure:3814: $? = 0 > configure:3803: cc -v >&5 > FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 > Target: x86_64-unknown-freebsd10.0 > Thread model: posix > configure:3814: $? = 0 > configure:3803: cc -V >&5 > cc: error: argument to '-V' is missing (expected 1 value) > cc: error: no input files > configure:3814: $? = 1 > configure:3803: cc -qversion >&5 > cc: error: no input files > configure:3814: $? = 1 > configure:3834: checking whether the C compiler works > configure:3856: cc -O2 -pipe -fno-strict-aliasing -L/usr/lib > -lgssapi_krb5 -Wl,-rpath=/usr/lib:/usr/local/lib conftest.c >&5 > /usr/bin/ld: cannot find -lgssapi_krb5 > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > configure:3860: $? = 1 > configure:3898: result: no > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE_URL "" > | /* end confdefs.h. */ > | > > Looked in options and gssapi was enabled by default ( was there after > make rmconfig-recursive ) and i don't use kerebos so disabled it, now it > builds. > > Enabled options resulting in successful build are IPv6 SSL and THREADS. > Thanks anyway, hope this proves useful to someone. I can post the entire > log but it is huge. I already felt in that kind of error because I disabled kerberos in my src.conf(5) too. I think a good idea would be to enable or disable options by default depending on some values from the src.conf(5). This can save some time for users which have extremely restrictive /etc/src.conf files. Regards, David.