From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 7 09:30:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 E0762705 for ; Sat, 7 Dec 2013 09:30:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 BB356105D for ; Sat, 7 Dec 2013 09:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB79U047035501 for ; Sat, 7 Dec 2013 09:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB79U0ta035489; Sat, 7 Dec 2013 09:30:00 GMT (envelope-from gnats) Resent-Date: Sat, 7 Dec 2013 09:30:00 GMT Resent-Message-Id: <201312070930.rB79U0ta035489@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dewayne 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 C685C6B2 for ; Sat, 7 Dec 2013 09:27:29 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 988171046 for ; Sat, 7 Dec 2013 09:27:29 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rB79RTcj032479 for ; Sat, 7 Dec 2013 09:27:29 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rB79RTv7032472; Sat, 7 Dec 2013 09:27:29 GMT (envelope-from nobody) Message-Id: <201312070927.rB79RTv7032472@oldred.freebsd.org> Date: Sat, 7 Dec 2013 09:27:29 GMT From: Dewayne To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/184560: dns/bind99 compile failure using set GSSAPI or unset XML X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Dec 2013 09:30:01 -0000 >Number: 184560 >Category: ports >Synopsis: dns/bind99 compile failure using set GSSAPI or unset XML >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 07 09:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Dewayne >Release: 9.2 Stable >Organization: >Environment: FreeBSD b1.hs 9.2-STABLE FreeBSD 9.2-STABLE #0: Tue Dec 3 12:24:13 EST 2013 root@:/usr/obj/prod/usr/src/sys/hqdev-amd64-padlock-smp-vga i386 >Description: Samba4 now requires bind with gssapi to maintain DNS securely. Using options unset GSSAPI bind99 compiles and builds correctly. However with wither set GSSAPI, the compilation fails as follows: make __MAKE_CONF=/dev/null -DBATCH checking for gcc... cc checking whether the C compiler works... no configure: error: in `/var/ports/usr/ports/dns/bind99/work/bind-9.9.4': configure: error: C compiler cannot create executables See `config.log' for more details ===> Script "configure" failed unexpectedly. Please report the problem to erwin@FreeBSD.org [maintainer] and attach the "/var/ports/usr/ports/dns/bind99/work/bind-9.9.4/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/sbin/pkg_info -Ea). *** [do-configure] Error code 1 An erroneous message, as it's actually because there is no libgssapi_krb5, when the system is built without heimdal (kerberos). >How-To-Repeat: cd /usr/ports/dns/bind99 && make __MAKE_CONF=/dev/null clean deinstall package AND the system does NOT have kerberos (specifically heimdal) built in the system (so there is no libgssapi_krb5). >Fix: --- Makefile.orig 2013-12-07 20:02:29.000000000 +1100 +++ Makefile 2013-12-07 20:19:53.000000000 +1100 @@ -164,7 +164,11 @@ .if ${PORT_OPTIONS:MGSSAPI} CONFIGURE_ARGS+= --with-gssapi +.if defined(HEIMDAL_HOME) +LDFLAGS+= -L${LIBDIR} -lgssapi -lkrb5 +.else LDFLAGS+= -L${LIBDIR} -lgssapi_krb5 +.endif .else CONFIGURE_ARGS+= --without-gssapi .endif I'm *assuming* that when HEIMDAL_HOME is defined, that someone is using the heimdal port. There's needs to be a better test for when the heimdal port is used, as I intentionally define HEIMDAL_HOME=/usr. >Release-Note: >Audit-Trail: >Unformatted: