BIND 9.10.1rc2 won't build on FreeBSD 10-STABLE

John Marshall john.marshall at
Sat Sep 13 05:57:19 UTC 2014

On Fri, 12 Sep 2014, 21:57 +0000, Evan Hunt wrote:
> I suspect if we just remove the .py SUFFIXES rule and replace it with
> explicit rules for dnssec-checkds and dnssec-coverage, it'll work...

As far as I can see, adding the explicit dependency doesn't mean that
the .py rule _has_ to be removed (although it becomes superfluous).  If
make has an explicit dependency line it doesn't need to go hunting for a
source via suffix rules.  I applied your patch to bin/python/
only, and left make/ untouched, and everything worked (as
expected) both with make and gmake.

BUT then I had another idea...

I had noticed in FreeBSD's that the single-suffix rules were all
listed before the double-suffix rules.  I wondered if moving the
(single-suffix) .py rule up above the (double-suffix) C and docbook
rules in make/ might make a difference.  It did.

With the patch below applied to a fresh unbundled rc2 build tree, I can
build rc2 everywhere I need; both with the native system make and gmake.
Perhaps this might be considered as a general workaround?

Tested successfully with:
 make (pmake) and gmake on FreeBSD/amd64 9.3-RELEASE
 make (bmake) and gmake on FreeBSD/i386  10.1-PRERELEASE
 make (bmake) and gmake on FreeBSD/amd64 10.1-PRERELEASE

--- make/	2014-09-06 07:42:05.000000000 +1000
+++ make/	2014-09-13 14:29:01.000000000 +1000
@@ -93,6 +93,16 @@
+### Python executable
+	cp -f $< $@
+	chmod +x $@
 ### C Programs
 ### Makefile must define
@@ -119,7 +129,6 @@
 .SUFFIXES: .c . at O@
 ALWAYS_INCLUDES = -I${top_builddir} -I${top_srcdir}
@@ -357,11 +366,3 @@
 	${XSLTPROC} -o $@ ${top_srcdir}/doc/xsl/isc-manpage.xsl $<
-### Python executable
-	cp -f $< $@
-	chmod +x $@

John Marshall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <>

More information about the bind-users mailing list