[SOLVED] Bacula 5.2.12_5 Port update issues

dweimer dweimer at dweimer.net
Fri Jul 4 21:26:45 UTC 2014


On 07/04/2014 3:35 pm, Baptiste Daroussin wrote:
> On Fri, Jul 04, 2014 at 04:00:32PM -0400, Dan Langille wrote:
>> 
>> On Jul 4, 2014, at 3:42 AM, Andrea Venturoli <ml at netfence.it> wrote:
>> 
>> > On 07/03/14 15:51, dweimer wrote:
>> >> I am trying to update my Bacula server to the latest Bacula port update,
>> >> 5.2.12_5, however It's failing to compile.  Has anyone else trying this
>> >> update, ran into an issue?
>> >
>> > Yes, on a 8.4/amd64 system, with only Postgres as enabled option.
>> >
>> > Deleting the port and reinstalling didn't help; strangely neither did a svn downgrade up to one year ago.
>> >
>> >
>> >
>> > Turns out that libbac.la comes from bacula-client, but bacula-client pkg-list is in bacula-server port, where libbac.la was removed from pkg-plist.client in rev 360216.
>> >
>> > So my solution was to:
>> > _ downgrade bacula-server to rev 359586;
>> > _ reinstall bacula-client;
>> > _ reinstall bacula-server.
>> >
>> >
>> >
>> > On the long run maybe lib/libbac.la should be readded to pkg-plist.client?
>> > Since I don't know the rationale behind this change, I don't know if this is the correct solution, so I won't post a PR with a patch.
>> >
>> 
>> Baptiste: are you available to make this change to the 
>> pkg-plist.client file please?
>> 
>> This relates to the 'Stage bacula’ commit on 2 July.
>> 
>>>> Dan Langille
>> 
> 
> hum I do not understand the issue la files are removed on purpose, can 
> I have
> the log of the build failure?
> 
> regards,
> Bapt

Here is the full build on my server that its failing under:


===>  Found saved configuration for bacula-server-5.2.12_5
===>   bacula-server-5.2.12_5 depends on file: /usr/local/sbin/pkg - 
found
===> Fetching all distfiles required by bacula-server-5.2.12_5 for 
building
===>  Extracting for bacula-server-5.2.12_5
=> SHA256 Checksum OK for bacula-5.2.12.tar.gz.
===>  Patching for bacula-server-5.2.12_5
===>  Applying FreeBSD patches for bacula-server-5.2.12_5
/usr/bin/sed -i.bak -e '/docdir/d' 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/Makefile.in
===>   bacula-server-5.2.12_5 depends on file: 
/usr/local/lib/libcrypto.so.8 - found
===>   bacula-server-5.2.12_5 depends on shared library: liblzo2.so - 
found (/usr/local/lib/liblzo2.so.2.0.0)
===>   bacula-server-5.2.12_5 depends on shared library: libbac.so - 
found (/usr/local/lib/libbac.so.5.0.2)
===>   bacula-server-5.2.12_5 depends on shared library: libintl.so - 
found (/usr/local/lib/libintl.so.9)
===>   bacula-server-5.2.12_5 depends on shared library: libpq.so.5 - 
found (/usr/local/lib/libpq.so.5)
===>  Configuring for bacula-server-5.2.12_5
===>   FreeBSD 10 autotools fix applied to 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/autoconf/config.rpath
===>   FreeBSD 10 autotools fix applied to 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/autoconf/aclocal.m4
===>   FreeBSD 10 autotools fix applied to 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/autoconf/libtool/libtool.m4
===>   FreeBSD 10 autotools fix applied to 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/configure
configure: loading site script /usr/ports/Templates/config.site
checking for true... /usr/bin/true
checking for false... /usr/bin/false
configuring for Bacula 5.2.12 (12 September 2012)
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... none
checking for wx-config... wx-config
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 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 Python support... 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... yes
checking for crypt... no
checking for crypt in -lcrypt... (cached) yes
checking for PQisthreadsafe in -lpq... yes
checking for PQputCopyData in -lpq... yes
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... no
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 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 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 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 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/bacula.desktop.gnome1
config.status: creating scripts/bacula.desktop.gnome2
config.status: creating scripts/bacula.desktop.gnome1.consolehelper
config.status: creating scripts/bacula.desktop.gnome2.consolehelper
config.status: creating scripts/bacula.desktop.gnome1.xsu
config.status: creating scripts/bacula.desktop.gnome2.xsu
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/bacula-tray-monitor.desktop
config.status: creating scripts/logwatch/Makefile
config.status: creating scripts/logwatch/logfile.bacula.conf
config.status: creating scripts/wxconsole.console_apps
config.status: creating scripts/wxconsole.desktop.consolehelper
config.status: creating scripts/wxconsole.desktop.xsu
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/tray-monitor/tray-monitor.pro
config.status: creating src/qt-console/tray-monitor/tray-monitor.conf
config.status: creating src/qt-console/bat.conf
config.status: creating src/qt-console/bat.pro
config.status: creating src/qt-console/bat.pro.mingw32
config.status: creating src/qt-console/install_conf_file
config.status: creating src/wx-console/Makefile
config.status: creating src/wx-console/bwx-console.conf
config.status: creating src/tray-monitor/Makefile
config.status: creating src/tray-monitor/tray-monitor.conf
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 src/win32/Makefile.inc
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/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 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/scripts
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src/cats
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src/dird
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src/stored
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src/tools
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/manpages

Cleaning up

==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/scripts
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src/cats
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src/dird
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src/stored
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src/tools
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/manpages
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/platforms

Configuration on Fri Jul  4 16:22:14 CDT 2014:

    Host:		     amd64-portbld-freebsd10.0 -- freebsd 10.0-RELEASE-p6
    Bacula version:	     Bacula 5.2.12 (12 September 2012)
    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 -Wl,-rpath,/usr/local/lib 
-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:	     PostgreSQL
    Database port:
    Database name:	     bacula
    Database user:	     bacula

    Job Output Email:	     root at localhost
    Traceback Email:	     root at localhost
    SMTP Host Address:	     localhost

    Director Port:	     9101
    File daemon Port:	     9102
    Storage daemon Port:      9103

    Director User:	     bacula
    Director Group:	     bacula
    Storage Daemon User:      bacula
    Storage DaemonGroup:      operator
    File Daemon User:
    File Daemon Group:

    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
    enable-gnome:	     no
    enable-bwx-console:	     no
    enable-tray-monitor:      no
    client-only: 	     no
    build-dird:		     yes
    build-stored:	     yes
    Plugin support:	     yes
    AFS support: 	     no
    ACL support: 	     yes
    XATTR support:	     yes
    Python support:	     no
    systemd support:	     no
    Batch insert enabled:     PostgreSQL


===>  Building for bacula-server-5.2.12_5
--- all ---
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/scripts
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src/cats
--- bvfs.lo ---
--- cats.lo ---
Compiling bvfs.c
Compiling cats.c
--- bvfs.lo ---
c++: warning: treating 'c' input as 'c++' when in C++ mode, this 
behavior is deprecated
--- cats.lo ---
c++: warning: treating 'c' input as 'c++' when in C++ mode, this 
behavior is deprecated
--- sql.lo ---
Compiling sql.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this 
behavior is deprecated
--- sql_cmds.lo ---
Compiling sql_cmds.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this 
behavior is deprecated
--- sql_create.lo ---
Compiling sql_create.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this 
behavior is deprecated
--- sql_delete.lo ---
Compiling sql_delete.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this 
behavior is deprecated
--- sql_find.lo ---
Compiling sql_find.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this 
behavior is deprecated
--- sql_get.lo ---
Compiling sql_get.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this 
behavior is deprecated
--- sql_glue.lo ---
Compiling sql_glue.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this 
behavior is deprecated
--- sql_list.lo ---
Compiling sql_list.c
--- sql_update.lo ---
Compiling sql_update.c
--- sql_list.lo ---
c++: warning: treating 'c' input as 'c++' when in C++ mode, this 
behavior is deprecated
--- sql_update.lo ---
c++: 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) {
        ~~~~~~~~~~~~~~~~ ^ ~
--- cats_dummy.lo ---
Compiling cats_dummy.c
--- sql_update.lo ---
2 warnings generated.
--- cats_dummy.lo ---
c++: warning: treating 'c' input as 'c++' when in C++ mode, this 
behavior is deprecated
--- postgresql.lo ---
Compiling postgresql.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this 
behavior is deprecated
--- libbacsql.la ---
Making libbacsql.la ...
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/libtool 
--silent --tag=CXX --mode=link /usr/bin/c++ -D_BDB_PRIV_INTERFACE_  
-L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/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/local/lib -version-info 5:2:0
--- libbaccats.la ---
Making libbaccats.la ...
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/libtool 
--silent --tag=CXX --mode=link /usr/bin/c++ -D_BDB_PRIV_INTERFACE_  
-L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -o 
libbaccats.la cats_dummy.lo -export-dynamic -rpath /usr/local/lib 
-version-info 5:2:0
--- libbaccats-postgresql.la ---
Making libbaccats-postgresql.la ...
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/libtool 
--silent --tag=CXX --mode=link /usr/bin/c++ -D_BDB_PRIV_INTERFACE_  
-L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -o 
libbaccats-postgresql.la postgresql.lo -export-dynamic -rpath 
/usr/local/lib -version-info 5:2:0  -soname libbaccats-5.2.12.so -R 
/usr/local/lib -L/usr/local/lib -lpq -lcrypt
--- all ---
==== Make of sqllibs is good ====
==>Entering directory 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src/dird
make[3]: make[3]: don't know how to make /usr/local/lib/libbac.la. Stop

make[3]: stopped in 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src/dird


   ====== Error in 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12/src/dird 
======


*** [all] Error code 1

make[2]: stopped in 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12

make[2]: stopped in 
/var/ports/usr/ports/sysutils/bacula-server/work/bacula-5.2.12
===> 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


-- 
Thanks,
    Dean E. Weimer
    http://www.dweimer.net/


More information about the freebsd-questions mailing list