From: "David Salt" Return-Path: Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.pao1.isc.org", Issuer "COMODO RSA Organization Validation Secure Server CA" (not verified)) by bugs.isc.org (Postfix) with ESMTPS id AC01CD78AF8 for ; Wed, 19 Jul 2017 09:35:18 +0000 (UTC) Received: from iscwebprod.isc.org (iscwebprod.isc.org [IPv6:2001:4f8:1:d::16]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.pao1.isc.org (Postfix) with ESMTPS id 90FD534941E for ; Wed, 19 Jul 2017 09:35:15 +0000 (UTC) Received: from www (uid 80) (envelope-from www@iscwebprod.isc.org) id 7b7d08 by iscwebprod.isc.org (DragonFly Mail Agent v0.11); Wed, 19 Jul 2017 09:35:15 +0000 X-Wpcf7-Content-Type: text/plain Message-ID: X-Original-To: bind9-bugs@bugs.isc.org X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.pao1.isc.org MIME-Version: 1.0 X-RT-Incoming-Encryption: Not encrypted Date: Wed, 19 Jul 2017 09:35:15 +0000 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-PHP-Originating-Script: 20001:class-phpmailer.php content-type: text/plain; charset="utf-8" Delivered-To: bind9-bugs@bugs.isc.org Subject: BIND 9.10.5-P3 - bind does not build from source From www@isc.org Wed Jul 19 09:35:18 2017 To: bind-bugs@isc.org X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer) X-RT-Original-Encoding: utf-8 X-RT-Interface: Email Content-Length: 9778 Bug Report from www.isc.org: Name: David Salt Email: dgsalt@me.com Software Version: BIND 9.10.5-P3 OS: Mac OS 10.12.5 Subject:bind does not build from source Bug Detail =========== If a version of bind has previously been installed in /usr/local and a version of openssl is present in /usr/local, then a clean build fails with: making all in /Users/salty/projects/bind/bind-9.10.5-P3/bin/nsupdate gcc -I/Users/salty/projects/bind/bind-9.10.5-P3 -I../.. -I/Users/salty/projects/bind/bind-9.10.5-P3/lib/lwres/include -I../../lib/lwres/unix/include -I../../lib/lwres/include -I/Users/salty/projects/bind/bind-9.10.5-P3/lib/dns/include -I../../lib/dns/include -I/Users/salty/projects/bind/bind-9.10.5-P3/lib/bind9/include -I../../lib/bind9/include -I/usr/local/include -I/Users/salty/projects/bind/bind-9.10.5-P3/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/x86_32/include -I/Users/salty/projects/bind/bind-9.10.5-P3/lib/isccfg/include -I../../lib/isccfg/include -D_REENTRANT -DVERSION=\"9.10.5-P3\" -DOPENSSL -DGSSAPI -D__APPLE_USE_RFC_3542 -g -O2 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2 -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing \ -DSESSION_KEYFILE=\"/var/run/named/session.key\" \ -c ./nsupdate.c In file included from ./nsupdate.c:57: /Users/salty/projects/bind/bind-9.10.5-P3/lib/dns/include/dns/dispatch.h:573:44: error: unknown type name 'isc_dscp_t' dns_dispatch_setdscp(dns_dispatch_t *disp, isc_dscp_t dscp); ^ /Users/salty/projects/bind/bind-9.10.5-P3/lib/dns/include/dns/dispatch.h:574:1: error: unknown type name 'isc_dscp_t' isc_dscp_t ^ In file included from ./nsupdate.c:72: /Users/salty/projects/bind/bind-9.10.5-P3/lib/dns/include/dns/request.h:230:10: error: unknown type name 'isc_dscp_t' isc_dscp_t dscp, unsigned int options, ^ /Users/salty/projects/bind/bind-9.10.5-P3/lib/dns/include/dns/request.h:297:10: error: unknown type name 'isc_dscp_t' isc_dscp_t dscp, unsigned int options, ^ ./nsupdate.c:2674:7: warning: 'krb5_init_context' is deprecated: use GSS.framework [-Wdeprecated-declarations] rc = krb5_init_context(&ctx); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:1450:31: note: 'krb5_init_context' has been explicitly marked deprecated here krb5_error_code KRB5_CALLCONV krb5_init_context ^ ./nsupdate.c:2678:7: warning: 'krb5_cc_default' is deprecated: use GSS.framework [-Wdeprecated-declarations] rc = krb5_cc_default(ctx, &ccache); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:1734:31: note: 'krb5_cc_default' has been explicitly marked deprecated here krb5_error_code KRB5_CALLCONV krb5_cc_default ^ ./nsupdate.c:2680:3: warning: 'krb5_free_context' is deprecated: use GSS.framework [-Wdeprecated-declarations] krb5_free_context(ctx); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:1454:20: note: 'krb5_free_context' has been explicitly marked deprecated here void KRB5_CALLCONV krb5_free_context ^ ./nsupdate.c:2684:7: warning: 'krb5_cc_get_principal' is deprecated: use GSS.framework [-Wdeprecated-declarations] rc = krb5_cc_get_principal(ctx, ccache, &princ); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:1309:1: note: 'krb5_cc_get_principal' has been explicitly marked deprecated here krb5_cc_get_principal (krb5_context context, krb5_ccache cache, ^ ./nsupdate.c:2686:3: warning: 'krb5_cc_close' is deprecated: use GSS.framework [-Wdeprecated-declarations] krb5_cc_close(ctx, ccache); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:1297:1: note: 'krb5_cc_close' has been explicitly marked deprecated here krb5_cc_close (krb5_context context, krb5_ccache cache) KERBEROS_APPLE_DEPRECATED("use GSS.framework"); ^ ./nsupdate.c:2687:3: warning: 'krb5_free_context' is deprecated: use GSS.framework [-Wdeprecated-declarations] krb5_free_context(ctx); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:1454:20: note: 'krb5_free_context' has been explicitly marked deprecated here void KRB5_CALLCONV krb5_free_context ^ ./nsupdate.c:2691:7: warning: 'krb5_unparse_name' is deprecated: use GSS.framework [-Wdeprecated-declarations] rc = krb5_unparse_name(ctx, princ, &name); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:1559:31: note: 'krb5_unparse_name' has been explicitly marked deprecated here krb5_error_code KRB5_CALLCONV krb5_unparse_name ^ ./nsupdate.c:2693:3: warning: 'krb5_free_principal' is deprecated: use GSS.framework [-Wdeprecated-declarations] krb5_free_principal(ctx, princ); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:1758:20: note: 'krb5_free_principal' has been explicitly marked deprecated here void KRB5_CALLCONV krb5_free_principal ^ ./nsupdate.c:2694:3: warning: 'krb5_cc_close' is deprecated: use GSS.framework [-Wdeprecated-declarations] krb5_cc_close(ctx, ccache); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:1297:1: note: 'krb5_cc_close' has been explicitly marked deprecated here krb5_cc_close (krb5_context context, krb5_ccache cache) KERBEROS_APPLE_DEPRECATED("use GSS.framework"); ^ ./nsupdate.c:2695:3: warning: 'krb5_free_context' is deprecated: use GSS.framework [-Wdeprecated-declarations] krb5_free_context(ctx); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:1454:20: note: 'krb5_free_context' has been explicitly marked deprecated here void KRB5_CALLCONV krb5_free_context ^ ./nsupdate.c:2705:2: warning: 'krb5_free_principal' is deprecated: use GSS.framework [-Wdeprecated-declarations] krb5_free_principal(ctx, princ); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:1758:20: note: 'krb5_free_principal' has been explicitly marked deprecated here void KRB5_CALLCONV krb5_free_principal ^ ./nsupdate.c:2706:2: warning: 'krb5_cc_close' is deprecated: use GSS.framework [-Wdeprecated-declarations] krb5_cc_close(ctx, ccache); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:1297:1: note: 'krb5_cc_close' has been explicitly marked deprecated here krb5_cc_close (krb5_context context, krb5_ccache cache) KERBEROS_APPLE_DEPRECATED("use GSS.framework"); ^ ./nsupdate.c:2707:2: warning: 'krb5_free_context' is deprecated: use GSS.framework [-Wdeprecated-declarations] krb5_free_context(ctx); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kerberos.framework/Headers/krb5.h:1454:20: note: 'krb5_free_context' has been explicitly marked deprecated here void KRB5_CALLCONV krb5_free_context ^ 13 warnings and 4 errors generated. make[2]: *** [nsupdate.o] Error 1 make[1]: *** [subdirs] Error 1 make: *** [subdirs] Error 1 The four errors are a result of /usr/local/include being in the include path to early and causing some of the bind header files being picked up from the /usr/local rather than the source tree. Here is a patch to source tree which fixes the problem: diff -ruN bind-9.10.5-P3/bin/nsupdate/Makefile.in bind-9.10.5-P3-fixed/bin/nsupdate/Makefile.in --- bind-9.10.5-P3/bin/nsupdate/Makefile.in 2017-07-07 16:02:06.000000000 +0100 +++ bind-9.10.5-P3-fixed/bin/nsupdate/Makefile.in 2017-07-19 10:09:53.000000000 +0100 @@ -28,8 +28,8 @@ DST_GSSAPI_INC = @DST_GSSAPI_INC@ CINCLUDES = ${LWRES_INCLUDES} ${DNS_INCLUDES} \ - ${BIND9_INCLUDES} @DST_OPENSSL_INC@ ${ISC_INCLUDES} \ - ${ISCCFG_INCLUDES} ${DST_GSSAPI_INC} + ${BIND9_INCLUDES} ${ISC_INCLUDES} \ + ${ISCCFG_INCLUDES} ${DST_GSSAPI_INC} @DST_OPENSSL_INC@ CDEFINES = -DVERSION=\"${VERSION}\" @CRYPTO@ @USE_GSSAPI@ CWARNINGS = --- This email was received through isc.org Bug Submission Form