=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for bacula-5.2.13nb12 ==>Entering directory /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src ==>Entering directory /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/scripts ==>Entering directory /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/lib Compiling attr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from attr.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling base64.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from base64.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling berrno.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from berrno.c:41: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling bsys.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from bsys.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling binflate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from binflate.c:33: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling bget_msg.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from bget_msg.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling bnet.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from bnet.c:38: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling bnet_server.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from bnet_server.c:34: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling runscript.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from runscript.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling bsock.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from bsock.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ bsock.c:914:8: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare] if (this == NULL) { ^~~~ ~~~~ 3 warnings generated. Compiling bpipe.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from bpipe.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling bsnprintf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from bsnprintf.c:45: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling btime.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from btime.c:50: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling cram-md5.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from cram-md5.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling crc32.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from crc32.c:71: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling crypto.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from crypto.c:46: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling daemon.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from daemon.c:42: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling edit.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from edit.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling fnmatch.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from fnmatch.c:45: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling guid_to_name.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from guid_to_name.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling hmac.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from hmac.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling jcr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from jcr.c:51: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling lex.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from lex.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling alist.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from alist.c:39: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling dlist.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from dlist.c:38: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling md5.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from md5.c:52: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling message.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from message.c:40: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling mem_pool.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from mem_pool.c:49: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling mntent_cache.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from mntent_cache.c:61: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling openssl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from openssl.c:48: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling plugins.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from plugins.c:34: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling priv.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from priv.c:29: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling queue.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from queue.c:42: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling bregex.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from bregex.c:64: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling rwlock.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from rwlock.c:42: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling scan.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from scan.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling sellist.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from sellist.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling serial.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from serial.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling sha1.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from sha1.c:33: In file included from ./sha1.h:53: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling signal.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from signal.c:43: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling smartall.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from smartall.c:47: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling rblist.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from rblist.c:40: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling tls.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from tls.c:49: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling tree.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from tree.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling util.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from util.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling var.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from var.c:48: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ var.c:2418:27: warning: 'memset' call operates on objects of type 'var_t' (aka 'var_st') while the size is based on a different type 'var_t *' (aka 'var_st *') [-Wsizeof-pointer-memaccess] memset(var, 0, sizeof(var)); ~~~ ^~~ var.c:2418:27: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(var, 0, sizeof(var)); ^~~ 3 warnings generated. Compiling watchdog.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from watchdog.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling workq.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from workq.c:58: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling btimers.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from btimers.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling address_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from address_conf.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling breg.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from breg.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling htable.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from htable.c:51: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling lockmgr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from lockmgr.c:60: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling devlock.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from devlock.c:42: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Making libbac.la ... /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libbac.la attr.lo base64.lo berrno.lo bsys.lo binflate.lo bget_msg.lo bnet.lo bnet_server.lo runscript.lo bsock.lo bpipe.lo bsnprintf.lo btime.lo cram-md5.lo crc32.lo crypto.lo daemon.lo edit.lo fnmatch.lo guid_to_name.lo hmac.lo jcr.lo lex.lo alist.lo dlist.lo md5.lo message.lo mem_pool.lo mntent_cache.lo openssl.lo plugins.lo priv.lo queue.lo bregex.lo rwlock.lo scan.lo sellist.lo serial.lo sha1.lo signal.lo smartall.lo rblist.lo tls.lo tree.lo util.lo var.lo watchdog.lo workq.lo btimers.lo address_conf.lo breg.lo htable.lo lockmgr.lo devlock.lo -export-dynamic -rpath /usr/pkg/lib -release 5.2.13 -lz -L/usr/lib -lssl -lcrypto -lpthread -lpthread -lintl Compiling ini.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ini.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling parse_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from parse_conf.c:63: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling res.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from res.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Making libbaccfg.la ... /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libbaccfg.la ini.lo parse_conf.lo res.lo -export-dynamic -rpath /usr/pkg/lib -release 5.2.13 -L/usr/lib -lssl -lcrypto -lpthread -lpthread -lintl Compiling pythonlib.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from pythonlib.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ./alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ./alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Making libbacpy.la ... /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libbacpy.la pythonlib.lo -export-dynamic -rpath /usr/pkg/lib -release 5.2.13 -L/usr/lib -lssl -lcrypto -lpthread -lpthread -lintl ==== Make of lib is good ==== ==>Entering directory /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/findlib Compiling find.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from find.c:40: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling match.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from match.c:43: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling find_one.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from find_one.c:39: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling attribs.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from attribs.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling create_file.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from create_file.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling bfile.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from bfile.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling drivetype.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from drivetype.c:38: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling enable_priv.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from enable_priv.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling fstype.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from fstype.c:39: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling mkpath.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from mkpath.c:42: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling savecwd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from savecwd.c:34: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Making libbacfind.la ... /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libbacfind.la find.lo match.lo find_one.lo attribs.lo create_file.lo bfile.lo drivetype.lo enable_priv.lo fstype.lo mkpath.lo savecwd.lo -export-dynamic -rpath /usr/pkg/lib -release 5.2.13 ==== Make of findlib is good ==== ==>Entering directory /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/filed Compiling filed.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from filed.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling authenticate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from authenticate.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling acl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from acl.c:66: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling backup.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from backup.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ backup.c:664:17: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!bopen_rsrc(&ff_pkt->bfd, ff_pkt->fname, O_RDONLY | O_BINARY, 0) < 0) { ^ ~ backup.c:664:17: note: add parentheses after the '!' to evaluate the comparison first if (!bopen_rsrc(&ff_pkt->bfd, ff_pkt->fname, O_RDONLY | O_BINARY, 0) < 0) { ^ ( ) backup.c:664:17: note: add parentheses around left hand side expression to silence this warning if (!bopen_rsrc(&ff_pkt->bfd, ff_pkt->fname, O_RDONLY | O_BINARY, 0) < 0) { ^ ( ) 3 warnings generated. Compiling estimate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from estimate.c:38: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling fd_plugins.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from fd_plugins.c:34: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling accurate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from accurate.c:33: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling filed_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from filed_conf.c:52: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling heartbeat.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from heartbeat.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling job.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from job.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling pythonfd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from pythonfd.c:38: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling restore.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from restore.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling status.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from status.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling verify.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from verify.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling verify_vol.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from verify_vol.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling xattr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from xattr.c:55: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Linking bacula-fd ... /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L../lib -L../findlib -o bacula-fd filed.o authenticate.o acl.o backup.o estimate.o fd_plugins.o accurate.o filed_conf.o heartbeat.o job.o pythonfd.o restore.o status.o verify.o verify_vol.o xattr.o -lz ../findlib/libbacfind.la ../lib/libbacpy.la ../lib/libbaccfg.la ../lib/libbac.la -lm -lpthread -lpthread -lintl -L/usr/lib -lssl -lcrypto ../lib/.libs/libbac.so: undefined reference to `in6addr_any' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/filed ====== Error in /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/filed ====== ==>Entering directory /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/console Compiling console.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from console.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling console_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from console_conf.c:50: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling authenticate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from authenticate.c:41: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling conio.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from conio.c:61: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L../lib -L../cats -o bconsole console.o console_conf.o authenticate.o conio.o -ltermcap ../lib/libbaccfg.la ../lib/libbac.la -lm -lpthread -lpthread -lintl -L/usr/lib -lssl -lcrypto ../lib/.libs/libbac.so: undefined reference to `in6addr_any' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/console ====== Error in /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/console ====== ==>Entering directory /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/plugins/fd /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=compile /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -I/usr/include -D_REENTRANT -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/include -D_REENTRANT -I/usr/pkg/include -I/usr/include -I../.. -I../../filed -c bpipe-fd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from bpipe-fd.c:34: In file included from ../../bacula.h:175: In file included from ../../lib/lib.h:39: ../../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -shared bpipe-fd.lo -o bpipe-fd.la -rpath /usr/pkg/lib -module -export-dynamic -avoid-version /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=compile /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -I/usr/include -D_REENTRANT -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/include -D_REENTRANT -I/usr/pkg/include -I/usr/include -I../.. -I../../filed -c test-plugin-fd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from test-plugin-fd.c:35: In file included from ../../bacula.h:175: In file included from ../../lib/lib.h:39: ../../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -shared test-plugin-fd.lo -o test-plugin-fd.la -rpath /usr/pkg/lib -module -export-dynamic -avoid-version /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=compile /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -I/usr/include -D_REENTRANT -I/usr/pkg/include -I/usr/include -O2 -march=i586 -I/usr/include -D_REENTRANT -I/usr/pkg/include -I/usr/include -I../.. -I../../filed -c test-deltaseq-fd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from test-deltaseq-fd.c:33: In file included from ../../bacula.h:175: In file included from ../../lib/lib.h:39: ../../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -shared test-deltaseq-fd.lo -o test-deltaseq-fd.la -rpath /usr/pkg/lib -module -export-dynamic -avoid-version ==>Entering directory /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/cats Compiling bvfs.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from bvfs.c:29: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling cats.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from cats.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling sql.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from sql.c:41: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling sql_cmds.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from sql_cmds.c:41: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling sql_create.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from sql_create.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling sql_delete.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from sql_delete.c:38: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling sql_find.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from sql_find.c:39: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling sql_get.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from sql_get.c:38: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling sql_glue.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from sql_glue.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling sql_list.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from sql_list.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling sql_update.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from sql_update.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ sql_update.c:374:24: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (mr->VolReadTime < 0) { ~~~~~~~~~~~~~~~ ^ ~ sql_update.c:377:25: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (mr->VolWriteTime < 0) { ~~~~~~~~~~~~~~~~ ^ ~ 4 warnings generated. Making libbacsql.la ... /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -D_BDB_PRIV_INTERFACE_ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libbacsql.la bvfs.lo cats.lo sql.lo sql_cmds.lo sql_create.lo sql_delete.lo sql_find.lo sql_get.lo sql_glue.lo sql_list.lo sql_update.lo -export-dynamic -rpath /usr/pkg/lib -release 5.2.13 Compiling cats_dummy.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from cats_dummy.c:32: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Making libbaccats.la ... /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -D_BDB_PRIV_INTERFACE_ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libbaccats.la cats_dummy.lo -export-dynamic -rpath /usr/pkg/lib -release 5.2.13 Compiling sqlite.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from sqlite.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Making libbaccats-sqlite3.la ... /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -D_BDB_PRIV_INTERFACE_ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libbaccats-sqlite3.la sqlite.lo -export-dynamic -rpath /usr/pkg/lib -release 5.2.13 -soname libbaccats-5.2.13.so -R /usr/lib -L/usr/lib -lsqlite3 ==== Make of sqllibs is good ==== ==>Entering directory /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/dird Compiling dird.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from dird.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling admin.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from admin.c:39: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling authenticate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from authenticate.c:41: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling autoprune.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from autoprune.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling backup.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from backup.c:43: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling bsr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from bsr.c:39: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling catreq.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from catreq.c:42: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ catreq.c:305:28: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] if (sdmr.VolReadTime >= 0) { ~~~~~~~~~~~~~~~~ ^ ~ catreq.c:308:29: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] if (sdmr.VolWriteTime >= 0) { ~~~~~~~~~~~~~~~~~ ^ ~ 4 warnings generated. Compiling dir_plugins.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from dir_plugins.c:34: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling dird_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from dird_conf.c:52: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling expand.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from expand.c:38: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling fd_cmds.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from fd_cmds.c:42: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling getmsg.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from getmsg.c:50: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling inc_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from inc_conf.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling job.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from job.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling jobq.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from jobq.c:47: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling migrate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from migrate.c:46: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling mountreq.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from mountreq.c:42: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling msgchan.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from msgchan.c:45: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling next_vol.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from next_vol.c:38: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling newvol.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from newvol.c:42: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling pythondir.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from pythondir.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling recycle.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from recycle.c:38: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling restore.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from restore.c:48: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling run_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from run_conf.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling scheduler.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from scheduler.c:39: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ua_acl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_acl.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ua_cmds.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_cmds.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ua_dotcmds.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_dotcmds.c:40: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ua_query.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_query.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ua_input.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_input.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ua_label.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_label.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ua_output.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_output.c:38: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ua_prune.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_prune.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ua_purge.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_purge.c:40: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ua_restore.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_restore.c:42: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ ua_restore.c:235:12: warning: address of array 'rx.ClientName' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!rx.ClientName) { ~~~~^~~~~~~~~~ 3 warnings generated. Compiling ua_run.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_run.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ ua_run.c:1145:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] prt_type = _("Run Copy job\n"); ^ ../baconfig.h:151:20: note: expanded from macro '_' #define _(s) (s) ^ ua_run.c:1147:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] prt_type = _("Run Migration job\n"); ^ ../baconfig.h:151:20: note: expanded from macro '_' #define _(s) (s) ^ 4 warnings generated. Compiling ua_select.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_select.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ua_server.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_server.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ua_status.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_status.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ua_tree.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_tree.c:38: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ua_update.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ua_update.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ ua_update.c:365:17: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] poolname = _("*None*"); ^ ../baconfig.h:151:20: note: expanded from macro '_' #define _(s) (s) ^ 3 warnings generated. Compiling vbackup.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from vbackup.c:46: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling verify.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from verify.c:44: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Linking bacula-dir ... /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L../lib -L../cats -L../findlib -o bacula-dir dird.o admin.o authenticate.o autoprune.o backup.o bsr.o catreq.o dir_plugins.o dird_conf.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o msgchan.o next_vol.o newvol.o pythondir.o recycle.o restore.o run_conf.o scheduler.o ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o ua_status.o ua_tree.o ua_update.o vbackup.o verify.o ../findlib/libbacfind.la ../cats/libbacsql.la ../cats/libbaccats.la ../lib/libbacpy.la ../lib/libbaccfg.la ../lib/libbac.la -lm -lpthread -lpthread -lintl -L/usr/lib -lssl -lcrypto ../lib/.libs/libbac.so: undefined reference to `in6addr_any' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/dird ====== Error in /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/dird ====== ==>Entering directory /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/stored Compiling stored.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from stored.c:40: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling ansi_label.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ansi_label.c:40: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling vtape.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from vtape.c:60: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling autochanger.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from autochanger.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling acquire.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from acquire.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling append.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from append.c:34: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling askdir.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from askdir.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ askdir.c:624:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] msg = _("Please mount append Volume \"%s\" or label a new one for:\n" ^ ../baconfig.h:151:20: note: expanded from macro '_' #define _(s) (s) ^ askdir.c:630:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] msg = _("Please mount read Volume \"%s\" for:\n" ^ ../baconfig.h:151:20: note: expanded from macro '_' #define _(s) (s) ^ 4 warnings generated. Compiling authenticate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from authenticate.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling block.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from block.c:38: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling butil.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from butil.c:42: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling dev.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from dev.c:81: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling device.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from device.c:59: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling dircmd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from dircmd.c:48: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling dvd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from dvd.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ dvd.c:132:19: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] if (free >= 0) { ~~~~ ^ ~ 3 warnings generated. Compiling ebcdic.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling fd_cmds.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from fd_cmds.c:42: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling job.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from job.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling label.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from label.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling lock.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from lock.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling mac.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from mac.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling match_bsr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from match_bsr.c:45: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling mount.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from mount.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling parse_bsr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from parse_bsr.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ parse_bsr.c:1021:41: warning: address of array 'bsr->volume->VolumeName' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!bsr->volume || !bsr->volume->VolumeName) { ~~~~~~~~~~~~~~^~~~~~~~~~ 3 warnings generated. Compiling pythonsd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from pythonsd.c:39: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling read.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from read.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling read_record.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from read_record.c:43: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling record.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from record.c:38: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling reserve.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from reserve.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling scan.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from scan.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling sd_plugins.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from sd_plugins.c:34: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling spool.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from spool.c:35: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ spool.c:261:11: warning: destination for this 'memset' call is a pointer to dynamic class 'DEVICE'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memset(rdev, 0, sizeof(DEVICE)); ~~~~~~ ^ spool.c:261:11: note: explicitly cast the pointer to silence this warning memset(rdev, 0, sizeof(DEVICE)); ^ (void*) 3 warnings generated. Compiling status.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from status.c:36: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling stored_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from stored_conf.c:34: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling vol_mgr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from vol_mgr.c:37: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Compiling wait.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from wait.c:39: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. Linking bacula-sd ... /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L../lib -o bacula-sd stored.o ansi_label.o vtape.o autochanger.o acquire.o append.o askdir.o authenticate.o block.o butil.o dev.o device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o lock.o mac.o match_bsr.o mount.o parse_bsr.o pythonsd.o read.o read_record.o record.o reserve.o scan.o sd_plugins.o spool.o status.o stored_conf.o vol_mgr.o wait.o -lz ../lib/libbacpy.la ../lib/libbaccfg.la ../lib/libbac.la -lm -lpthread -lpthread -lintl -L/usr/lib -lssl -lcrypto ../lib/.libs/libbac.so: undefined reference to `in6addr_any' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/stored ====== Error in /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/stored ====== ==>Entering directory /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/tools Compiling bsmtp.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from bsmtp.c:67: In file included from ../bacula.h:175: In file included from ../lib/lib.h:39: ../lib/alist.h:116:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items == 0 : true; ^~~~ ~ ../lib/alist.h:155:11: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] return this ? num_items : 0; ^~~~ ~ 2 warnings generated. /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/pkgsrc/work/sysutils/bacula/work/.wrapper/bin/c++ -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L../lib -o bsmtp bsmtp.o ../lib/libbac.la -lm -lpthread -lpthread -lintl -L/usr/lib -lssl -lcrypto ../lib/.libs/libbac.so: undefined reference to `in6addr_any' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/tools ====== Error in /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/src/tools ====== ==>Entering directory /usr/pkgsrc/work/sysutils/bacula/work/bacula-5.2.13/manpages => Substituting "fixwrap" in scripts/bacula_config INFO: [subst.mk:fixwrap] Nothing changed in ./scripts/bacula_config. => Unwrapping files-to-be-installed. INFO: [subst.mk:unwrap] Nothing changed in ./src/dird/README-config. => Creating /usr/pkgsrc/work/sysutils/bacula/work/.rc.d/bacula => Creating /usr/pkgsrc/work/sysutils/bacula/work/.rc.d/bacula-dir => Creating /usr/pkgsrc/work/sysutils/bacula/work/.rc.d/bacula-sd => Creating /usr/pkgsrc/work/sysutils/bacula/work/.rc.d/bacula-fd