Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

new bind doesn't compile



Hi,

with current source cvs updated some minutes ago building distribution
runs into

[...]
     create  libdns/journal.d
/u/NetBSD/src/external/bsd/bind/dist/lib/dns/include/dns/rbt.h:22:0:
error: unterminated #ifndef
nbmkdep: compile failed.
--- forward.d ---
*** [forward.d] Error code 1

nbmake[6]: stopped in /u/NetBSD/src/external/bsd/bind/lib/libdns
1 error
[...]

which is easily fixed by applying:

Index: rbt.h
===================================================================
RCS file: /cvsroot/src/external/bsd/bind/dist/lib/dns/include/dns/rbt.h,v
retrieving revision 1.8
diff -u -r1.8 rbt.h
--- rbt.h     1 Mar 2014 03:24:37 -0000 1.8
+++ rbt.h     1 Mar 2014 09:40:30 -0000
@@ -1035,6 +1035,7 @@
           if ((refs) != NULL)                             \
                      (*refs) = (node)->references;           \
                      } while (/*CONSTCOND*/0)
+#endif /* __STDC_VERSION__ ... */
 #endif /* DNS_RBT_USEISCREFCOUNT */

 ISC_LANG_ENDDECLS


With this fix, build distribution fails in checkflist:

checkflist ===> distrib/sets
=======  2 extra files in DESTDIR  =========
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./usr/lib/libbind9.so.8
./usr/lib/libbind9.so.8.0
=========  end of 2 extra files  ===========
======  2 missing files in DESTDIR  ========
Files in flist but missing from DESTDIR.
File wasn't installed ?
------------------------------------------
./usr/lib/libbind9.so.7
./usr/lib/libbind9.so.7.0
========  end of 2 missing files  ==========
--- checkflist ---
*** [checkflist] Error code 1


Kurt


Home | Main Index | Thread Index | Old Index