thebighonker.lerctr.org /usr/ports/sysutils/bacula-client # make ===> Found saved configuration for bacula-client-5.2.12_3 ===> bacula-client-7.0.4_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bacula-client-7.0.4_1 for building ===> Extracting for bacula-client-7.0.4_1 => SHA256 Checksum OK for bacula-7.0.4.tar.gz. ===> Patching for bacula-client-7.0.4_1 ===> Applying FreeBSD patches for bacula-client-7.0.4_1 /usr/bin/sed -i.bak -e '/docdir/d' /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/Makefile.in /usr/bin/sed -i.bak -e 's|\(.*${MKDIR} ${DESTDIR}${scriptdir}\)|#\1|g' /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/Makefile.in ===> bacula-client-7.0.4_1 depends on shared library: liblzo2.so - found (/usr/local/lib/liblzo2.so.2.0.0) ===> bacula-client-7.0.4_1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so.9) ===> Configuring for bacula-client-7.0.4_1 ===> FreeBSD 10 autotools fix applied to /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/configure ===> FreeBSD 10 autotools fix applied to /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/autoconf/config.rpath ===> FreeBSD 10 autotools fix applied to /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/autoconf/libtool/libtool.m4 ===> FreeBSD 10 autotools fix applied to /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/autoconf/aclocal.m4 configure: loading site script /usr/ports/Templates/config.site checking for true... /usr/bin/true checking for false... /usr/bin/false configuring for Bacula 7.0.4 (04 June 2014) checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking whether cc understands -c and -o together... yes checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking whether cc needs -traditional... no checking for c++... /usr/bin/c++ checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for mv... /bin/mv checking for rm... /bin/rm checking for cp... /bin/cp checking for sed... (cached) /usr/bin/sed checking for echo... /bin/echo checking for cmp... /usr/bin/cmp checking for tbl... /usr/bin/tbl checking for ar... /usr/bin/ar checking for openssl... /usr/bin/openssl checking for mtx... mtx checking for dd... /bin/dd checking for mkisofs... mkisofs checking for python... /usr/local/bin/python checking for growisofs... growisofs checking for dvd+rw-mediainfo... dvd+rw-mediainfo checking for dvd+rw-format... dvd+rw-format checking for pkg-config... /usr/local/bin/pkg-config checking for qmake... none checking for gmake... /usr/local/bin/gmake checking for cdrecord... cdrecord checking for pidof... pidof checking for gawk... (cached) /usr/bin/awk checking for /usr/bin/awk... /usr/bin/awk checking build system type... amd64-portbld-freebsd10.0 checking host system type... amd64-portbld-freebsd10.0 checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert amd64-portbld-freebsd10.0 file names to amd64-portbld-freebsd10.0 format... func_convert_file_noop checking how to convert amd64-portbld-freebsd10.0 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd10.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... /usr/bin/c++ -E checking for ld used by /usr/bin/c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the /usr/bin/c++ linker (/usr/bin/ld) supports shared libraries... yes checking for /usr/bin/c++ option to produce PIC... -fPIC -DPIC checking if /usr/bin/c++ PIC flag -fPIC -DPIC works... yes checking if /usr/bin/c++ static flag -static works... yes checking if /usr/bin/c++ supports -c -o file.o... yes checking if /usr/bin/c++ supports -c -o file.o... (cached) yes checking whether the /usr/bin/c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd10.0 ld.so checking how to hardcode library paths into programs... immediate checking for library containing dlopen... none required checking for dlerror... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dld_link in -ldld... no checking for Operating System Distribution... done checking whether make sets $(MAKE)... yes checking whether NLS is requested... yes checking for msgfmt... /usr/local/bin/msgfmt checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking for msgmerge... /usr/local/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether NLS is requested... yes checking for GNU gettext in libc... no checking for iconv... yes checking how to link with libiconv... /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib checking for msgfmt... (cached) /usr/local/bin/msgfmt checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for tgetent in -ltinfo... yes checking /usr/include/readline/readline.h usability... yes checking /usr/include/readline/readline.h presence... yes checking for /usr/include/readline/readline.h... yes checking whether stat file-mode macros are broken... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for strcasecmp... (cached) yes checking for select... (cached) yes checking for setenv... (cached) yes checking for putenv... (cached) yes checking for tcgetattr... yes checking for lstat... (cached) yes checking for lchown... yes checking for lchmod... yes checking for futimes... (cached) yes checking for fchmod... (cached) yes checking for fchown... (cached) yes checking for nanosleep... yes checking for nl_langinfo... (cached) yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking for socket... yes using libc's socket checking for library containing nanosleep... none required checking for libwrap... yes checking for OpenSSL... yes checking for EVP_PKEY_encrypt_old in -lcrypto... yes checking for library containing dlopen... (cached) none required checking for PostgreSQL support... no checking for MySQL support... no checking for MySQL embedded support... no checking for SQLite3 support... no checking for getconf... getconf checking for CFLAGS value to request large file support... no checking for LDFLAGS value to request large file support... no checking for LIBS value to request large file support... no checking for _FILE_OFFSET_BITS... 64 checking for _LARGEFILE_SOURCE... 1 checking for _LARGE_FILES... 1 checking for X... libraries , headers checking for gethostbyname... (cached) yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking for fcntl.h... (cached) yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for pwd.h... (cached) yes checking libc.h usability... no checking libc.h presence... no checking for libc.h... no checking for limits.h... (cached) yes checking for stdarg.h... (cached) yes checking for stdlib.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking term.h usability... yes checking term.h presence... yes checking for term.h... yes checking for unistd.h... (cached) yes checking sys/bitypes.h usability... no checking sys/bitypes.h presence... no checking for sys/bitypes.h... no checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking for sys/ioctl.h... (cached) yes checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for arpa/nameser.h... (cached) yes checking mtio.h usability... no checking mtio.h presence... no checking for mtio.h... no checking sys/mtio.h usability... yes checking sys/mtio.h presence... yes checking for sys/mtio.h... yes checking sys/tape.h usability... no checking sys/tape.h presence... no checking for sys/tape.h... no checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for ANSI C header files... (cached) yes checking whether sys/types.h defines makedev... yes checking for dirent.h that defines DIR... (cached) yes checking for library containing opendir... (cached) none required checking whether stat file-mode macros are broken... (cached) no checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for struct stat.st_blksize... (cached) yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for utime.h... yes checking for socklen_t... yes checking for ioctl_req_t... yes checking for typeof... no checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking how to get filesystem type... 4.4BSD/OSF1 checking for sys/statvfs.h... (cached) yes checking for backtrace... no checking return type of signal handlers... void checking for type of signal functions... posix checking for mode_t... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for size_t... (cached) yes checking for pid_t... (cached) yes checking for off_t... (cached) yes checking for intptr_t... yes checking for uintptr_t... (cached) yes checking for ino_t... yes checking for dev_t... yes checking for daddr_t... yes checking for major_t... no checking for minor_t... no checking for ssize_t... (cached) yes checking for struct stat.st_blocks... (cached) yes checking for struct stat.st_rdev... yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for an ANSI C-conforming const... (cached) yes checking size of char... 1 checking size of short int... 2 checking size of int... 4 checking size of long int... 8 checking size of long long int... 8 checking size of int *... 8 checking for u_int type... (cached) yes checking for intmax_t type... yes checking for u_intmax_t type... no checking for intXX_t types... (cached) yes checking for int64_t type... (cached) yes checking for u_intXX_t types... (cached) yes checking for u_int64_t types... (cached) yes checking for fork... (cached) yes checking for getcwd... (cached) yes checking for gethostname... (cached) yes checking for getpid... (cached) yes checking for gettimeofday... (cached) yes checking for setpgid... yes checking for setpgrp... yes checking for setsid... (cached) yes checking for signal... yes checking for strerror... (cached) yes checking for strncmp... yes checking for strncpy... yes checking for vfprintf... yes checking whether F_CLOSEM is declared... no checking for closefrom... (cached) yes checking for getpagesize... (cached) yes checking for malloc_trim... no checking for fchdir... yes checking for strtoll... (cached) yes checking for posix_fadvise... yes checking for fdatasync... no checking for chflags... yes checking for snprintf... (cached) yes checking for vsnprintf... (cached) yes checking for gethostid... yes checking for fseeko... yes checking for va_copy... yes checking for localtime_r... yes checking for readdir_r... yes checking for strerror_r... (cached) yes checking for gethostbyname_r... yes checking for gethostbyname_r... (cached) yes using libc's resolver checking for inet_pton... yes checking for inet_ntop... (cached) yes checking for gethostbyname2... yes checking for getnameinfo... (cached) yes checking for struct sockaddr has a sa_len field... yes checking for working getaddrinfo... yes checking for gai_strerror... (cached) yes checking for strftime... (cached) yes checking for vprintf... (cached) yes checking for _doprnt... no checking for working alloca.h... no checking for alloca... yes checking for library containing getmntent... no checking for getmntinfo... yes checking whether closedir returns void... no checking whether setpgrp takes no argument... no checking for gettext in -lintl... yes checking for getpwnam in -lsun... no checking for zlib.h... (cached) yes checking for deflate in -lz... (cached) yes checking afs/afsint.h usability... no checking afs/afsint.h presence... no checking for afs/afsint.h... no checking for pioctl in AFS libsys... no checking lzo/lzoconf.h usability... yes checking lzo/lzoconf.h presence... yes checking for lzo/lzoconf.h... yes checking lzo/lzo1x.h usability... yes checking lzo/lzo1x.h presence... yes checking for lzo/lzo1x.h... yes checking for lzo1x_1_compress in -llzo2... yes checking for sys/acl.h... (cached) yes checking for acl_get_file... (cached) yes checking for ACL_TYPE_NFS4 in acl.h include file... yes checking sys/extattr.h usability... yes checking sys/extattr.h presence... yes checking for sys/extattr.h... yes checking for libutil.h... (cached) yes checking for extattr_get_link... yes checking for extattr_set_link... yes checking for extattr_list_link... yes checking for extattr_namespace_to_string... yes checking for extattr_string_to_namespace... yes checking for pthread_create in -lpthread... yes checking sys/prctl.h usability... no checking sys/prctl.h presence... no checking for sys/prctl.h... no checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for prctl... no checking for setreuid... (cached) yes checking for cap_set_proc in -lcap... no checking for systemd support... no configure: creating ./config.status config.status: creating autoconf/Make.common config.status: creating Makefile config.status: creating manpages/Makefile config.status: creating scripts/btraceback config.status: creating scripts/bconsole config.status: creating scripts/bacula config.status: creating scripts/bacula-ctl-dir config.status: creating scripts/bacula-ctl-fd config.status: creating scripts/bacula-ctl-sd config.status: creating scripts/devel_bacula config.status: creating scripts/Makefile config.status: creating scripts/logrotate config.status: creating scripts/mtx-changer config.status: creating scripts/disk-changer config.status: creating scripts/dvd-handler config.status: creating scripts/dvd-simulator config.status: creating scripts/logwatch/Makefile config.status: creating scripts/logwatch/logfile.bacula.conf config.status: creating scripts/bat.desktop config.status: creating scripts/bat.desktop.xsu config.status: creating scripts/bat.desktop.consolehelper config.status: creating scripts/bat.console_apps config.status: creating src/Makefile config.status: creating src/host.h config.status: creating src/console/Makefile config.status: creating src/console/bconsole.conf config.status: creating src/qt-console/bat.conf config.status: creating src/qt-console/bat.pro config.status: WARNING: 'src/qt-console/bat.pro.in' seems to ignore the --datarootdir setting config.status: creating src/qt-console/bat.pro.mingw32 config.status: creating src/qt-console/install_conf_file config.status: creating src/dird/Makefile config.status: creating src/dird/bacula-dir.conf config.status: creating src/lib/Makefile config.status: creating src/stored/Makefile config.status: creating src/stored/bacula-sd.conf config.status: creating src/filed/Makefile config.status: creating src/filed/bacula-fd.conf config.status: creating src/cats/Makefile config.status: creating src/cats/make_catalog_backup.pl config.status: creating src/cats/make_catalog_backup config.status: creating src/cats/delete_catalog_backup config.status: creating src/cats/create_postgresql_database config.status: creating src/cats/update_postgresql_tables config.status: creating src/cats/make_postgresql_tables config.status: creating src/cats/grant_postgresql_privileges config.status: creating src/cats/drop_postgresql_tables config.status: creating src/cats/drop_postgresql_database config.status: creating src/cats/create_mysql_database config.status: creating src/cats/update_mysql_tables config.status: creating src/cats/make_mysql_tables config.status: creating src/cats/grant_mysql_privileges config.status: creating src/cats/drop_mysql_tables config.status: creating src/cats/drop_mysql_database config.status: creating src/cats/create_sqlite3_database config.status: creating src/cats/update_sqlite3_tables config.status: creating src/cats/make_sqlite3_tables config.status: creating src/cats/grant_sqlite3_privileges config.status: creating src/cats/drop_sqlite3_tables config.status: creating src/cats/drop_sqlite3_database config.status: creating src/cats/sqlite config.status: creating src/cats/mysql config.status: creating src/cats/create_bacula_database config.status: creating src/cats/update_bacula_tables config.status: creating src/cats/grant_bacula_privileges config.status: creating src/cats/make_bacula_tables config.status: creating src/cats/drop_bacula_tables config.status: creating src/cats/drop_bacula_database config.status: creating src/cats/install-default-backend config.status: creating src/findlib/Makefile config.status: creating src/tools/Makefile config.status: creating src/plugins/fd/Makefile config.status: creating src/plugins/sd/Makefile config.status: creating src/plugins/dir/Makefile config.status: creating po/Makefile.in config.status: creating updatedb/update_mysql_tables_9_to_10 config.status: creating updatedb/update_sqlite3_tables_9_to_10 config.status: creating updatedb/update_postgresql_tables_9_to_10 config.status: creating updatedb/update_mysql_tables_10_to_11 config.status: creating updatedb/update_sqlite3_tables_10_to_11 config.status: creating updatedb/update_postgresql_tables_10_to_11 config.status: creating updatedb/update_mysql_tables_11_to_12 config.status: creating updatedb/update_sqlite3_tables_11_to_12 config.status: creating updatedb/update_postgresql_tables_11_to_12 config.status: creating updatedb/update_mysql_tables_12_to_14 config.status: creating updatedb/update_sqlite3_tables_12_to_14 config.status: creating updatedb/update_postgresql_tables_12_to_14 config.status: creating examples/nagios/check_bacula/Makefile config.status: creating platforms/rpms/redhat/bacula.spec config.status: creating platforms/rpms/redhat/bacula-bat.spec config.status: creating platforms/rpms/redhat/bacula-docs.spec config.status: creating platforms/rpms/redhat/bacula-mtx.spec config.status: creating platforms/rpms/suse/bacula.spec config.status: creating platforms/rpms/suse/bacula-bat.spec config.status: creating platforms/rpms/suse/bacula-docs.spec config.status: creating platforms/rpms/suse/bacula-mtx.spec config.status: creating platforms/Makefile config.status: creating platforms/freebsd/Makefile config.status: creating platforms/freebsd/bacula-fd config.status: creating platforms/freebsd/bacula-sd config.status: creating platforms/freebsd/bacula-dir config.status: creating src/config.h config.status: executing libtool commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing default commands Doing make of dependencies ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/lib Variable ECHO is recursive. make[3]: stopped in /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/lib *** Error code 1 Stop. make[2]: stopped in /usr/ports/sysutils/bacula-client/work/bacula-7.0.4 chmod: storage-ctl: No such file or directory chmod: bsg_persist: No such file or directory Cleaning up ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/lib ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/findlib ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/filed ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/console ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/plugins/fd ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/manpages ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/platforms Configuration on Sat Aug 9 10:21:29 CDT 2014: Host: amd64-portbld-freebsd10.0 -- freebsd 10.0-STABLE Bacula version: Bacula 7.0.4 (04 June 2014) Source code location: . Install binaries: /usr/local/sbin Install libraries: /usr/local/lib Install config files: /usr/local/etc/bacula Scripts directory: /usr/local/share/bacula Archive directory: /tmp Working directory: /var/db/bacula PID directory: /var/run Subsys directory: /var/run/subsys Man directory: /usr/local/man Data directory: /usr/local/share Plugin directory: /usr/local/lib C Compiler: cc version C++ Compiler: /usr/bin/c++ version Compiler flags: -O2 -pipe -fno-strict-aliasing Linker flags: -L/usr/local/lib Libraries: -lpthread -lintl Statically Linked Tools: no Statically Linked FD: no Statically Linked SD: no Statically Linked DIR: no Statically Linked CONS: no Database backends: None Database port: Database name: bacula Database user: bacula Job Output Email: root@localhost Traceback Email: root@localhost SMTP Host Address: localhost Director Port: 9101 File daemon Port: 9102 Storage daemon Port: 9103 Director User: Director Group: Storage Daemon User: Storage DaemonGroup: File Daemon User: root File Daemon Group: wheel Large file support: yes Bacula conio support: no -lreadline -lhistory -ltinfo readline support: yes TCP Wrappers support: yes -lwrap TLS support: yes Encryption support: yes ZLIB support: yes LZO support: yes enable-smartalloc: yes enable-lockmgr: no bat support: no client-only: yes build-dird: yes build-stored: yes Plugin support: yes AFS support: no ACL support: yes XATTR support: yes systemd support: no Batch insert enabled: None ===> Building for bacula-client-7.0.4_1 --- all --- ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/lib --- attr.lo --- --- base64.lo --- --- berrno.lo --- --- bsys.lo --- --- binflate.lo --- --- bget_msg.lo --- --- bnet.lo --- --- bnet_server.lo --- Compiling attr.c Compiling base64.c Compiling berrno.c Compiling bsys.c Compiling binflate.c Compiling bget_msg.c Compiling bnet_server.c --- bnet.lo --- Compiling bnet.c --- attr.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- base64.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- berrno.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- binflate.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- bget_msg.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- bsys.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- bnet.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- bnet_server.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- runscript.lo --- Compiling runscript.c --- bsock.lo --- Compiling bsock.c --- bpipe.lo --- Compiling bpipe.c --- bsnprintf.lo --- Compiling bsnprintf.c --- runscript.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- bsock.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- bpipe.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- bsnprintf.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- btime.lo --- Compiling btime.c --- cram-md5.lo --- Compiling cram-md5.c --- btime.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- crc32.lo --- Compiling crc32.c --- crypto.lo --- Compiling crypto.c --- cram-md5.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- crypto.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- crc32.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- daemon.lo --- Compiling daemon.c --- edit.lo --- Compiling edit.c --- fnmatch.lo --- Compiling fnmatch.c --- daemon.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- guid_to_name.lo --- Compiling guid_to_name.c --- edit.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- hmac.lo --- Compiling hmac.c --- guid_to_name.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- hmac.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- fnmatch.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- jcr.lo --- Compiling jcr.c --- lex.lo --- Compiling lex.c --- alist.lo --- Compiling alist.c --- jcr.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- lex.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- alist.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- dlist.lo --- Compiling dlist.c --- md5.lo --- Compiling md5.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- message.lo --- Compiling message.c --- mem_pool.lo --- Compiling mem_pool.c --- message.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- dlist.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- mntent_cache.lo --- Compiling mntent_cache.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- mem_pool.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- openssl.lo --- Compiling openssl.c --- plugins.lo --- Compiling plugins.c --- priv.lo --- --- openssl.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- priv.lo --- Compiling priv.c --- plugins.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- queue.lo --- Compiling queue.c --- priv.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- queue.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- bregex.lo --- Compiling bregex.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- rwlock.lo --- Compiling rwlock.c --- scan.lo --- Compiling scan.c --- rwlock.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- scan.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- sellist.lo --- Compiling sellist.c --- serial.lo --- --- sha1.lo --- --- serial.lo --- Compiling serial.c --- sha1.lo --- Compiling sha1.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- signal.lo --- Compiling signal.c --- smartall.lo --- Compiling smartall.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- sellist.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- signal.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- rblist.lo --- Compiling rblist.c --- serial.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- rblist.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- tls.lo --- Compiling tls.c --- tree.lo --- Compiling tree.c --- tls.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- util.lo --- Compiling util.c --- var.lo --- Compiling var.c --- tree.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- var.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- util.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- watchdog.lo --- Compiling watchdog.c --- workq.lo --- Compiling workq.c --- btimers.lo --- --- workq.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- btimers.lo --- Compiling btimers.c --- address_conf.lo --- --- watchdog.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Compiling address_conf.c --- btimers.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- breg.lo --- Compiling breg.c --- address_conf.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- htable.lo --- Compiling htable.c --- breg.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- lockmgr.lo --- Compiling lockmgr.c --- htable.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- devlock.lo --- --- ini.lo --- Compiling devlock.c Compiling ini.c --- parse_conf.lo --- Compiling parse_conf.c --- lockmgr.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- devlock.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- ini.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- parse_conf.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- res.lo --- Compiling res.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- libbac.la --- Making libbac.la ... /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/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/local/lib -release 7.0.4 -lwrap -lz -lssl -lcrypto -lpthread -lintl --- libbaccfg.la --- Making libbaccfg.la ... /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib -o libbaccfg.la ini.lo parse_conf.lo res.lo -export-dynamic -rpath /usr/local/lib -release 7.0.4 -lssl -lcrypto -lpthread -lintl --- all --- ==== Make of lib is good ==== ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/findlib --- find.lo --- --- match.lo --- --- find_one.lo --- --- file_attrs.lo --- --- file_create.lo --- --- bfile.lo --- --- drivetype.lo --- --- priv.lo --- Compiling find.c Compiling match.c Compiling find_one.c Compiling file_attrs.c Compiling file_create.c Compiling bfile.c Compiling drivetype.c Compiling priv.c --- file_create.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- find_one.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- file_attrs.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- priv.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- find.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- drivetype.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- match.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- bfile.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- fstype.lo --- Compiling fstype.c --- makepath.lo --- Compiling makepath.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- fstype.lo --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- libbacfind.la --- Making libbacfind.la ... /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib -o libbacfind.la find.lo match.lo find_one.lo file_attrs.lo file_create.lo bfile.lo drivetype.lo priv.lo fstype.lo makepath.lo -export-dynamic -rpath /usr/local/lib -release 7.0.4 --- all --- ==== Make of findlib is good ==== ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/filed --- filed.o --- --- authenticate.o --- --- acl.o --- --- backup.o --- --- estimate.o --- --- fd_plugins.o --- --- accurate.o --- --- filed_conf.o --- Compiling filed.c Compiling authenticate.c Compiling acl.c Compiling backup.c Compiling estimate.c --- fd_plugins.o --- Compiling fd_plugins.c --- accurate.o --- Compiling accurate.c Compiling filed_conf.c --- acl.o --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- filed.o --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- authenticate.o --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- backup.o --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- estimate.o --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- accurate.o --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- filed_conf.o --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- fd_plugins.o --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- heartbeat.o --- Compiling heartbeat.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- backup.o --- backup.c:663: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:663: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:663: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) { ^ ( ) --- job.o --- Compiling job.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- restore.o --- Compiling restore.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- status.o --- Compiling status.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- verify.o --- --- verify_vol.o --- --- verify.o --- Compiling verify.c --- verify_vol.o --- Compiling verify_vol.c --- verify.o --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- verify_vol.o --- c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- xattr.o --- Compiling xattr.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated --- backup.o --- 1 warning generated. --- bacula-fd --- Linking bacula-fd ... /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/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 restore.o status.o verify.o verify_vol.o xattr.o -lz -lbacfind -lbaccfg -lbac -lm -lpthread -lintl -lwrap /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lssl -lcrypto -llzo2 filed.o: In function `main': filed.c:(.text+0x6c): undefined reference to `init_msg(JCR*, MSGS*, char* (*)(JCR*, char const*))' filed.c:(.text+0x220): undefined reference to `debug_parse_tags(char const*, long*)' filed.c:(.text+0xfd3): undefined reference to `init_msg(JCR*, MSGS*, char* (*)(JCR*, char const*))' filed.c:(.text+0x111a): undefined reference to `d_msg(char const*, int, long, char const*, ...)' filed.o: In function `terminate_filed(int)': filed.c:(.text+0x1274): undefined reference to `generate_daemon_event(JCR*, char const*)' authenticate.o: In function `authenticate_director(JCR*)': authenticate.c:(.text+0x214): undefined reference to `d_msg(char const*, int, long, char const*, ...)' authenticate.c:(.text+0x367): undefined reference to `d_msg(char const*, int, long, char const*, ...)' authenticate.c:(.text+0x479): undefined reference to `d_msg(char const*, int, long, char const*, ...)' authenticate.o: In function `authenticate_storagedaemon(JCR*)': authenticate.c:(.text+0x6f0): undefined reference to `d_msg(char const*, int, long, char const*, ...)' authenticate.c:(.text+0x723): undefined reference to `d_msg(char const*, int, long, char const*, ...)' authenticate.o:authenticate.c:(.text+0x7b1): more undefined references to `d_msg(char const*, int, long, char const*, ...)' follow backup.o: In function `save_file(JCR*, FF_PKT*, bool)': backup.c:(.text+0x14aa): undefined reference to `bopen(BFILE*, char const*, unsigned long, unsigned short)' backup.c:(.text+0x1528): undefined reference to `d_msg(char const*, int, long, char const*, ...)' backup.c:(.text+0x18b0): undefined reference to `d_msg(char const*, int, long, char const*, ...)' backup.c:(.text+0x1b6d): undefined reference to `d_msg(char const*, int, long, char const*, ...)' backup.c:(.text+0x1c38): undefined reference to `d_msg(char const*, int, long, char const*, ...)' backup.c:(.text+0x1ccd): undefined reference to `d_msg(char const*, int, long, char const*, ...)' backup.o:backup.c:(.text+0x1d92): more undefined references to `d_msg(char const*, int, long, char const*, ...)' follow fd_plugins.o: In function `plugin_create_file(JCR*, ATTR*, BFILE*, int)': fd_plugins.c:(.text+0x2224): undefined reference to `bopen(BFILE*, char const*, unsigned long, unsigned short)' fd_plugins.c:(.text+0x225e): undefined reference to `d_msg(char const*, int, long, char const*, ...)' fd_plugins.c:(.text+0x22ac): undefined reference to `d_msg(char const*, int, long, char const*, ...)' fd_plugins.c:(.text+0x23a0): undefined reference to `d_msg(char const*, int, long, char const*, ...)' fd_plugins.o: In function `plugin_set_attributes(JCR*, ATTR*, BFILE*)': fd_plugins.c:(.text+0x2493): undefined reference to `d_msg(char const*, int, long, char const*, ...)' fd_plugins.o: In function `load_fd_plugins(char const*)': fd_plugins.c:(.text+0x2844): undefined reference to `d_msg(char const*, int, long, char const*, ...)' fd_plugins.o:fd_plugins.c:(.text+0x2904): more undefined references to `d_msg(char const*, int, long, char const*, ...)' follow job.o: In function `backup_cmd(JCR*)': job.c:(.text+0x2a5): undefined reference to `generate_daemon_event(JCR*, char const*)' job.c:(.text+0x2ef): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.c:(.text+0x474): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.c:(.text+0x4af): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.o: In function `setdebug_cmd(JCR*)': job.c:(.text+0x6cf): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.c:(.text+0x76e): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.c:(.text+0x7c4): undefined reference to `debug_parse_tags(char const*, long*)' job.c:(.text+0x7eb): undefined reference to `set_debug_flags(char*)' job.c:(.text+0x846): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.o: In function `hello_cmd(JCR*)': job.c:(.text+0xb68): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.c:(.text+0xbab): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.o: In function `fileset_cmd(JCR*)': job.c:(.text+0xd05): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.c:(.text+0xd74): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.o:job.c:(.text+0xdf2): more undefined references to `d_msg(char const*, int, long, char const*, ...)' follow job.o: In function `restore_cmd(JCR*)': job.c:(.text+0x1dfc): undefined reference to `generate_daemon_event(JCR*, char const*)' job.c:(.text+0x1e87): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.c:(.text+0x1f1a): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.c:(.text+0x1f59): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.c:(.text+0x1fc7): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.o: In function `end_restore_cmd(JCR*)': job.c:(.text+0x2178): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.o:job.c:(.text+0x21e7): more undefined references to `d_msg(char const*, int, long, char const*, ...)' follow job.o: In function `verify_cmd(JCR*)': job.c:(.text+0x29c3): undefined reference to `generate_daemon_event(JCR*, char const*)' job.c:(.text+0x2a1a): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.c:(.text+0x2aaf): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.o: In function `runbeforenow_cmd(JCR*)': job.c:(.text+0x2bc2): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.o: In function `runbefore_cmd(JCR*)': job.c:(.text+0x2c80): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.o: In function `runafter_cmd(JCR*)': job.c:(.text+0x2e30): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.o:job.c:(.text+0x2fc9): more undefined references to `d_msg(char const*, int, long, char const*, ...)' follow job.o: In function `handle_connection_request(void*)': job.c:(.text+0x3e40): undefined reference to `generate_daemon_event(JCR*, char const*)' job.c:(.text+0x424a): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.c:(.text+0x4294): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.c:(.text+0x42e5): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.c:(.text+0x4385): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.c:(.text+0x4441): undefined reference to `d_msg(char const*, int, long, char const*, ...)' job.o:job.c:(.text+0x4544): more undefined references to `d_msg(char const*, int, long, char const*, ...)' follow verify.o: In function `digest_file(JCR*, FF_PKT*, Digest*)': verify.c:(.text+0xc1f): undefined reference to `bopen(BFILE*, char const*, unsigned long, unsigned short)' verify.c:(.text+0xc62): undefined reference to `d_msg(char const*, int, long, char const*, ...)' verify.c:(.text+0xde5): undefined reference to `d_msg(char const*, int, long, char const*, ...)' verify.c:(.text+0xef5): undefined reference to `d_msg(char const*, int, long, char const*, ...)' verify_vol.o: In function `do_verify_volume(JCR*)': verify_vol.c:(.text+0x191): undefined reference to `d_msg(char const*, int, long, char const*, ...)' verify_vol.c:(.text+0x1fe): undefined reference to `d_msg(char const*, int, long, char const*, ...)' verify_vol.o:verify_vol.c:(.text+0x268): more undefined references to `d_msg(char const*, int, long, char const*, ...)' follow c++: error: linker command failed with exit code 1 (use -v to see invocation) *** [bacula-fd] Error code 1 make[3]: stopped in /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/filed 1 error make[3]: stopped in /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/filed ====== Error in /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/filed ====== *** [all] Error code 1 make[2]: stopped in /usr/ports/sysutils/bacula-client/work/bacula-7.0.4 1 error make[2]: stopped in /usr/ports/sysutils/bacula-client/work/bacula-7.0.4 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/sysutils/bacula-client *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/bacula-client thebighonker.lerctr.org /usr/ports/sysutils/bacula-client #
thebighonker.lerctr.org /usr/ports/sysutils/bacula-client # uname -a FreeBSD thebighonker.lerctr.org 10.0-STABLE FreeBSD 10.0-STABLE #41 r269753M: Sat Aug 9 10:09:26 CDT 2014 root@thebighonker.lerctr.org:/usr/obj/usr/src/sys/GENERIC amd64 thebighonker.lerctr.org /usr/ports/sysutils/bacula-client # cat /etc/make.conf WITH_PKGNG=yes DEFAULT_VERSIONS= perl5=5.16,pgsql=92 #__EXIM__ LOG_FILE_PATH="syslog:${LOGDIR}/%slog" LOGDIR=/var/log/exim # APACHE_DEFAULT=2.2 DEFAULT_VERSIONS+=apache=2.2 thebighonker.lerctr.org /usr/ports/sysutils/bacula-client #
removing the NLS & SSL options does NOT change things.
This also happens for bacula-server 7.0.4_1 on 10-STABLE... ua_status.o:ua_status.c:(.text+0xaaa): more undefined references to `d_msg(char const*, int, long, char const*, ...)' follow ua_status.o: In function `llist_scheduled_jobs(UAContext*)': ua_status.c:(.text+0x2386): undefined reference to `tm_ldom(int, int)' ua_status.c:(.text+0x2500): undefined reference to `bstrftime_dn(char*, int, long)' ua_status.c:(.text+0x2748): undefined reference to `d_msg(char const*, int, long, char const*, ...)' ua_status.o: In function `do_all_status(UAContext*)': ua_status.c:(.text+0x28bc): undefined reference to `d_msg(char const*, int, long, char const*, ...)' ua_status.c:(.text+0x2a52): undefined reference to `d_msg(char const*, int, long, char const*, ...)' ua_tree.o: In function `insert_tree_handler(void*, int, char**)': ua_tree.c:(.text+0x1167): undefined reference to `d_msg(char const*, int, long, char const*, ...)' ua_tree.c:(.text+0x1263): undefined reference to `d_msg(char const*, int, long, char const*, ...)' ua_tree.o:ua_tree.c:(.text+0x132f): more undefined references to `d_msg(char const*, int, long, char const*, ...)' follow vbackup.o: In function `do_vbackup(JCR*)': vbackup.c:(.text+0x57c): undefined reference to `sellist::set_string(char const*, bool)' vbackup.c:(.text+0x5ae): undefined reference to `sellist::get_expanded_list()' vbackup.c:(.text+0x629): undefined reference to `sellist::get_expanded_list()' vbackup.c:(.text+0x84e): undefined reference to `d_msg(char const*, int, long, char const*, ...)' vbackup.c:(.text+0x9b4): undefined reference to `d_msg(char const*, int, long, char const*, ...)' vbackup.c:(.text+0xa3b): undefined reference to `d_msg(char const*, int, long, char const*, ...)' vbackup.c:(.text+0xa8a): undefined reference to `JCR::setJobStarted()' vbackup.o: In function `vbackup_cleanup(JCR*, int)': vbackup.c:(.text+0xde0): undefined reference to `d_msg(char const*, int, long, char const*, ...)' vbackup.c:(.text+0x158c): undefined reference to `d_msg(char const*, int, long, char const*, ...)' verify.o: In function `do_verify(JCR*)': verify.c:(.text+0x179): undefined reference to `d_msg(char const*, int, long, char const*, ...)' verify.c:(.text+0x1bc): undefined reference to `d_msg(char const*, int, long, char const*, ...)' verify.c:(.text+0x21d): undefined reference to `d_msg(char const*, int, long, char const*, ...)' verify.o:verify.c:(.text+0x361): more undefined references to `d_msg(char const*, int, long, char const*, ...)' follow /usr/ports/sysutils/bacula-server/work/bacula-7.0.4/src/cats/.libs/libbacsql.so: undefined reference to `set_assert_msg(char const*, int, char const*)' c++: error: linker command failed with exit code 1 (use -v to see invocation) *** [bacula-dir] Error code 1 make[3]: stopped in /usr/ports/sysutils/bacula-server/work/bacula-7.0.4/src/dird 1 error make[3]: stopped in /usr/ports/sysutils/bacula-server/work/bacula-7.0.4/src/dird ====== Error in /usr/ports/sysutils/bacula-server/work/bacula-7.0.4/src/dird ====== *** [all] Error code 1 make[2]: stopped in /usr/ports/sysutils/bacula-server/work/bacula-7.0.4 1 error make[2]: stopped in /usr/ports/sysutils/bacula-server/work/bacula-7.0.4 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/sysutils/bacula-server *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/bacula-server thebighonker.lerctr.org /usr/ports/sysutils/bacula-server # thebighonker.lerctr.org /usr/ports/sysutils/bacula-server #
latest ports? This one was updated 3 times on Aug 9...
(over to maintainer btw)
yes thebighonker.lerctr.org /home/ler $ cd /usr/ports thebighonker.lerctr.org /usr/ports $ svn info Path: . Working Copy Root Path: /usr/ports URL: svn://svn.freebsd.org/ports/head Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 364443 Node Kind: directory Schedule: normal Last Changed Author: marino Last Changed Rev: 364443 Last Changed Date: 2014-08-09 08:54:07 -0500 (Sat, 09 Aug 2014) thebighonker.lerctr.org /usr/ports $
The linker line is failing to find functions defined in lib/message.c. lib was never compiled because something is wrong with variable expansions, causing ECHO to be recursively defined, seen below. Strangly, the build continues even though it failed to build lib: ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/lib Variable ECHO is recursive. make[3]: stopped in /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/lib *** Error code 1 Stop. make[2]: stopped in /usr/ports/sysutils/bacula-client/work/bacula-7.0.4 chmod: storage-ctl: No such file or directory chmod: bsg_persist: No such file or directory Cleaning up ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/lib ==>Entering directory /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/src/findlib ... continues building. Not sure why 'Variable ECHO is recursive.'
Ignore my last comment. The echo thing is a small problem, but it doesn't breka the build, and has nothing to do with your problem. I'm going to guess that you currently have bacula 5.x installed and are attempting to build sysutils/bacula-client to upgrade to bacula 7.x Consider this linker line: /usr/ports/sysutils/bacula-client/work/bacula-7.0.4/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/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 restore.o status.o verify.o verify_vol.o xattr.o -lz -lbacfind -lbaccfg -lbac -lm -lpthread -lintl -lwrap message.o is packed into libbac.la, found in freshly rebuilt in ../lib -lbac is being incorrectly satisfied by -L/usr/local/lib, since it's before -L../lib -L/usr/local/lib is necessary to cause the linker to link against the ports versions of openssl et al, instead of what it'll find in /usr/lib. -L/usr/local/lib is injected by the port's Makefile: # cat Makefile | grep LDFLAGS LDFLAGS+= -L${LOCALBASE}/lib The problem is that -L${LOCALBASE} needs to be injected to the end of the linker line. I'm not well versed enough in make/autoconf to know how to do that, unfortunately. Bacula has been plagued by this problem for a while; during the most recent kerfluffle of making the port work on 7.x, the maintainers had temporarily commented out LDFLAGS to make things work for them (probably because of the same problem you had). In https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192514#c20 we figure out that LDFLAGS being commented out breaks compilation of the server, because the server depends on the client being installed, so it can find the client's libbacfind in /usr/local/lib. Here, we find out it breaks the client if you're upgrading sysutils/bacula-client from bacula 5.x to bacula 7.x. So how do you inject -L${LOCALBASE}/lib to the end of the linker line?
Ok, deinstalling the 5.x version allows the 7.x version to compile and install.
> So how do you inject -L${LOCALBASE}/lib to the end of the linker line? You don't. This is bacula's mistake, as best as I can tell: angst(/usr/ports/sysutils/bacula-server) # make clean extract ===> Cleaning for bacula-server-7.0.4_1 ===> Found saved configuration for bacula-server-7.0.4 ... angst(/usr/ports/sysutils/bacula-server/work/bacula-7.0.4/src) # find . | xargs grep -- '-L../lib' ./console/Makefile.in: $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) $(CONS_LDFLAGS) -L../lib -L../cats -o $@ $(CONSOBJS) \ ./console/Makefile.in: $(LIBTOOL_LINK) $(CXX) -static $(LDFLAGS) $(CONS_LDFLAGS) -L../lib -L../cats -o $@ $(CONSOBJS) \ ./stored/Makefile.in: $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -o $@ $(SDOBJS) $(ZLIBS) \ ./stored/Makefile.in: $(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -static -L../lib -o $@ $(SDOBJS) $(ZLIBS) \ ./stored/Makefile.in: $(LIBTOOL_LINK) $(CXX) $(TTOOL_LDFLAGS) $(LDFLAGS) -L../lib -o $@ $(TAPEOBJS) \ ... Either we need to patch the Makefile.in files to move $(LDFLAGS) to the end, or have upstream do it for us.
Created attachment 145579 [details] Patch file to rewrite LDFLAGS position This patch moves all LDFLAGS references to after all other -L options, so as to give it the least priority. I've compile and tested the subsequent build on my particular system, but I encourage others to test as well. IMO this patch should be committed upstream but I'd welcome some peer review before doing so.
Here's a quick test: 1) Uninstall all traces of any bacula version - server or client, 5.x or 7.x. 2) `make clean` bacula-server, bacula-client, bacula5-server and bacula5-client 2) Install sysutils/bacula5-client 3) DO NOT install my patch. Remove it from sysutils/bacula-server/files if you already have. 4) Temporarily remove the `CONFLICTS` lines from sysutils/bacula-server/Makefile 5) Attempt to `make build` sysutils/bacula-client 6) Observe sysutils/bacula-client fails to build. `make clean` sysutils/bacula-client 7) Install my patch into sysutils/bacula-server/files 8) Attempt to `make build` sysutils/bacula-client. 9) Observe that sysutils/bacula-client compiles cleanly.
Thank you. I am AFK. is this patch similar to those removed when the port went from 5.x to 7.x? It looks familiar.
Yeah, poking around in PR 191311 (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191311), it looks like the old port actually had patches to move LDFLAGS around. One of the obsolete patches in 191311 show those patch files getting updates, but I guess that everything got discarded in the update. I guess that means we should try to make a strong effort to get these patches merged upstream.
Kevin: I discarded those patches after suggestions were made that they weren't useful. I will reinstate them. Is there a good way, other than svn, to add a comment to a patch file?
Kevin: I'm also a Bacula developer, so I will send a patch there too once we get this working.
Yeah, everything before the header is supposed to be ignored, according to the unified diff format. Svn et al use this to store stuff like 'Index:' lines. Typical unified diff: > --- src/console/Makefile.in.orig 2014-08-09 15:50:30.000000000 -0400 > +++ src/console/Makefile.in 2014-08-09 15:51:14.000000000 -0400 Unified diff with comments: > See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192526 for > the reasons this patch exists. > ======================================================================= > --- src/console/Makefile.in.orig 2014-08-09 15:50:30.000000000 -0400 > +++ src/console/Makefile.in 2014-08-09 15:51:14.000000000 -0400
I have posted to the bacula-users mailing list about this issue: http://marc.info/?l=bacula-devel&m=140856764725362&w=2
FYI, no reply yet on my email to the vendor mailing list.
with 7.0.4 installed, the upgrade to 7.0.5 produces UNUSABLE binaries, as the new code looks for / links with the previous libbac*7.0.4 SO's.
In previous version of this port, great lengths were taken to ensure it did not use 7.0.4 or 7.0.5, but 7. I was told this wasn't necessary and it was removed. Now it seems something else is required. Larry: when upgrading, what process did you use?
portmaster bacula* was what I used.
what do you get for pkg info -x bac?
borg.lerctr.org /home/ler # pkg info -x bac bacula-bat-7.0.5 bacula-client-7.0.5 bacula-docs-7.0.3 bacula-server-7.0.5 borg.lerctr.org /home/ler #
Further discussion is on https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193641
*** This bug has been marked as a duplicate of bug 193641 ***