From owner-freebsd-questions@FreeBSD.ORG Mon Jan 20 19:26:27 2014 Return-Path: Delivered-To: freebsd-questions@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 3E6DD703; Mon, 20 Jan 2014 19:26:27 +0000 (UTC) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E597211F3; Mon, 20 Jan 2014 19:26:26 +0000 (UTC) Received: from john by potato.growveg.org with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1W5KUJ-00023x-HX; Mon, 20 Jan 2014 19:26:23 +0000 Date: Mon, 20 Jan 2014 19:26:23 +0000 From: John To: freebsd-ports@freebsd.org Subject: Re: dns/bind-tools fails to build on 10-stable Message-ID: <20140120192623.GA83718@potato.growveg.org> References: <20140120092904.GA13438@potato.growveg.org> <52DD676C.5090007@daemonic.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52DD676C.5090007@daemonic.se> User-Agent: Mutt/1.5.22 (2013-10-16) Sender: John X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: john@potato.growveg.org X-SA-Exim-Scanned: No (on potato.growveg.org); SAEximRunCond expanded to false Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2014 19:26:27 -0000 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. -- John