=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for bacula-5.2.13nb1 ==>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 Compiling base64.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling berrno.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling bsys.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling binflate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling bget_msg.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling bnet.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling bnet_server.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling runscript.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling bsock.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling bpipe.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling bsnprintf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling btime.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling cram-md5.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling crc32.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling crypto.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling daemon.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling edit.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling fnmatch.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling guid_to_name.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling hmac.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling jcr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling lex.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling alist.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling dlist.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling md5.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling message.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling mem_pool.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling mntent_cache.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling openssl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling plugins.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling priv.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling queue.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling bregex.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling rwlock.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling scan.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling sellist.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling serial.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling sha1.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling signal.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling smartall.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling rblist.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling tls.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling tree.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling util.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling var.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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)); ^~~ 1 warning generated. Compiling watchdog.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling workq.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling btimers.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling address_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling breg.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling htable.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling lockmgr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling devlock.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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 -lpthread -lpthread Compiling ini.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling parse_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling res.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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 -lpthread -lpthread Compiling pythonlib.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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 -lpthread -lpthread ==== 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 Compiling match.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling find_one.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling attribs.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling create_file.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling bfile.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling drivetype.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling enable_priv.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling fstype.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling mkpath.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling savecwd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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 Compiling authenticate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling acl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling backup.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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) { ^ ( ) 1 warning generated. Compiling estimate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling fd_plugins.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling accurate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling filed_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling heartbeat.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling job.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling pythonfd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling restore.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling status.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling verify.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling verify_vol.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling xattr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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 ../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: 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 Compiling console_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling authenticate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling conio.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated /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 ../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: 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 -O2 -march=i586 -I/usr/include -D_REENTRANT -I/usr/pkg/include -I../.. -I../../filed -c bpipe-fd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated /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 -O2 -march=i586 -I/usr/include -D_REENTRANT -I/usr/pkg/include -I../.. -I../../filed -c test-plugin-fd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated /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 -O2 -march=i586 -I/usr/include -D_REENTRANT -I/usr/pkg/include -I../.. -I../../filed -c test-deltaseq-fd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated /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 Compiling cats.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling sql.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling sql_cmds.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling sql_create.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling sql_delete.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling sql_find.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling sql_get.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling sql_glue.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling sql_list.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling sql_update.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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) { ~~~~~~~~~~~~~~~~ ^ ~ 2 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 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 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 Compiling admin.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling authenticate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling autoprune.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling backup.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling bsr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling catreq.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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) { ~~~~~~~~~~~~~~~~~ ^ ~ 2 warnings generated. Compiling dir_plugins.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling dird_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling expand.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 Compiling getmsg.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling inc_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling job.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling jobq.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling migrate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling mountreq.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling msgchan.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling next_vol.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling newvol.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling pythondir.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling recycle.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling restore.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling run_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling scheduler.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_acl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_cmds.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_dotcmds.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_query.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_input.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_label.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_output.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_prune.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_purge.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_restore.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_run.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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) ^ 2 warnings generated. Compiling ua_select.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_server.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_status.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_tree.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling ua_update.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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) ^ 1 warning generated. Compiling vbackup.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling verify.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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 ../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: 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 Compiling ansi_label.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling vtape.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling autochanger.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling acquire.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling append.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling askdir.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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) ^ 2 warnings generated. Compiling authenticate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling block.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling butil.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling dev.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling device.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling dircmd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling dvd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated dvd.c:132:19: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] if (free >= 0) { ~~~~ ^ ~ 1 warning 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 Compiling job.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling label.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling lock.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling mac.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling match_bsr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling mount.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling parse_bsr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling pythonsd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling read.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling read_record.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling record.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling reserve.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling scan.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling sd_plugins.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling spool.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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*) 1 warning generated. Compiling status.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling stored_conf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling vol_mgr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling wait.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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 ../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: 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 /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 ../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: 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 => Unwrapping files-to-be-installed. INFO: [subst.mk:unwrap] Nothing changed in ./src/dird/README-config. => Creating /usr/pkgsrc/work/sysutils/bacula/work/bacula => Creating /usr/pkgsrc/work/sysutils/bacula/work/bacula-dir => Creating /usr/pkgsrc/work/sysutils/bacula/work/bacula-sd => Creating /usr/pkgsrc/work/sysutils/bacula/work/bacula-fd