Hello,I tried to create an issue directly in your GitLab instance, but an account is required and when I tried to register I never recieved the confirmation email.
There is a problem in current release 15.0.2 when the system supports zstd but not lzo.
compress_len and real_compress_len are defined in an ifdef HAVE_LZO block (l.1327), but later used in an ifdef HAVE_ZSTD (l. 1385). This causes the following build error:
restore.c: In function ‘bool decompress_data(JCR*, int32_t, char**, u_int32_t*)’: restore.c:1387:13: error: ‘compress_len’ was not declared in this scope; did you mean ‘comp_len’?
1387 | compress_len = jcr->compress_buf_size; | ^~~~~~~~~~~~ | comp_len restore.c:1388:13: error: ‘cbuf’ was not declared in this scope1388 | cbuf = (const unsigned char*)*data + sizeof(comp_stream_header);
| ^~~~ Compiling bxattr.c restore.c:1389:13: error: ‘real_compress_len’ was not declared in this scope1389 | real_compress_len = *length - sizeof(comp_stream_header);
| ^~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:187: restore.o] Error 1 make[1]: *** Waiting for unfinished jobs....make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/filed'
I attach the full build logs.Another thing I noticed is that latest version button in sourceforge.net still points to 13.x instead of 15.x. Is 15.0.2 still considered a beta? If so, it was marked as Release in GitLab tags.
Best regards, Iyán -- Iyán Méndez Veiga GPG 0x422E3694311E5AC1
checking for true... /usr/bin/true checking for false... /usr/bin/false configuring for Bacula 15.0.2 (21 March 2024) checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for g++... /usr/bin/g++ checking for multiarch system... checking for a BSD-compatible install... /usr/bin/install -c checking for mv... /usr/bin/mv checking for rm... /usr/bin/rm checking for cp... /usr/bin/cp checking for sed... /usr/bin/sed checking for echo... /usr/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... /usr/bin/dd checking for mkisofs... mkisofs checking for python... /usr/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/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for qmake... none checking for gmake... none checking for pidof... pidof checking for gawk... gawk checking for gawk... /usr/bin/gawk checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /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... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu 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... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux 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/g++ -E checking for ld used by /usr/bin/g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for /usr/bin/g++ option to produce PIC... -fPIC -DPIC checking if /usr/bin/g++ PIC flag -fPIC -DPIC works... yes checking if /usr/bin/g++ static flag -static works... yes checking if /usr/bin/g++ supports -c -o file.o... yes checking if /usr/bin/g++ supports -c -o file.o... (cached) yes checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux 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/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) 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... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for msgfmt... (cached) /usr/bin/msgfmt checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for tgetent in -ltinfo... 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 sys/fsuid.h usability... yes checking sys/fsuid.h presence... yes checking for sys/fsuid.h... yes checking for setfsgid... yes checking for setfsuid... yes checking for strcasecmp... yes checking for select... yes checking for setenv... yes checking for putenv... yes checking for tcgetattr... yes checking for tzset... yes checking for lstat... yes checking for lchown... yes checking for lchmod... yes checking for futimes... yes checking for fchmod... yes checking for fchown... yes checking for lutimes... yes checking for nanosleep... yes checking for nl_langinfo... yes checking for be64toh... no checking for htobe64... no 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 CURL... checking curl/curl.h usability... yes checking curl/curl.h presence... yes checking for curl/curl.h... yes checking for curl_version_info in -lcurl... yes yes checking zstd.h usability... yes checking zstd.h presence... yes checking for zstd.h... yes yes checking for OpenSSL... checkint for FIPS... no yes checking for EVP_PKEY_encrypt_old in -lcrypto... yes checking for library containing dlopen... (cached) none required ./configure: line 23847: hostname: command not found 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... checking for LDFLAGS value to request large file support... checking for LIBS value to request large file support... 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking libc.h usability... no checking libc.h presence... no checking for libc.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... 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... yes checking sys/bitypes.h presence... yes checking for sys/bitypes.h... yes checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... 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 attr/attributes.h usability... yes checking attr/attributes.h presence... yes checking for attr/attributes.h... yes checking attr/xattr.h usability... no checking attr/xattr.h presence... no checking for attr/xattr.h... no checking for ANSI C header files... (cached) yes checking whether sys/types.h defines makedev... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... 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... yes checking whether time.h and sys/time.h may both be included... yes checking for struct stat.st_blksize... 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... yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking how to get filesystem type... 4.3BSD checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking whether O_CLOEXEC is declared... yes checking whether FD_CLOEXEC is declared... yes checking whether SOCK_CLOEXEC is declared... yes checking for close on exec modifier for fopen()... e checking for accept4... yes checking libs3.h usability... no checking libs3.h presence... no checking for libs3.h... no checking for backtrace... yes checking return type of signal handlers... void checking for type of signal functions... posix checking for mode_t... yes checking for uid_t in sys/types.h... yes checking for size_t... yes checking for pid_t... yes checking for off_t... yes checking for intptr_t... yes checking for uintptr_t... 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... 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 for C/C++ restrict keyword... __restrict 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... yes checking for intmax_t type... yes checking for u_intmax_t type... no checking for intXX_t types... yes checking for int64_t type... yes checking for u_intXX_t types... yes checking for u_int64_t types... yes checking for uintXX_t types in sys/bitypes.h... no checking for fork... yes checking for getcwd... yes checking for gethostname... yes checking for getpid... yes checking for gettimeofday... yes checking for setpgid... yes checking for setpgrp... yes checking for setsid... yes checking for signal... yes checking for strerror... yes checking for strncmp... yes checking for strncpy... yes checking for vfprintf... yes checking whether F_CLOSEM is declared... no checking whether FS_NODUMP_FL is declared... yes checking whether FS_APPEND_FL is declared... yes checking whether FS_IMMUTABLE_FL is declared... yes checking whether FS_IOC_GETFLAGS is declared... yes checking whether FS_IOC_SETFLAGS is declared... yes checking whether F_SETLK is declared... yes checking for closefrom... yes checking for getpagesize... yes checking for malloc_trim... yes checking for fchdir... yes checking for strtoll... yes checking for posix_fadvise... yes checking for posix_fallocate... yes checking for fdatasync... yes checking for realpath... yes checking for getrlimit... yes checking for getpwent_r... yes checking for chflags... no checking for snprintf... yes checking for vsnprintf... 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... 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... yes checking for gethostbyname2... yes checking for getnameinfo... yes checking for poll... yes checking for struct sockaddr has a sa_len field... no checking for struct sockaddr_storage... yes checking for working getaddrinfo... yes checking for gai_strerror... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for working alloca.h... yes checking for alloca... yes checking for library containing getmntent... none required checking for getmntinfo... no checking whether closedir returns void... no checking whether setpgrp takes no argument... yes checking for gettext in -lintl... no checking for getpwnam in -lsun... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for deflate in -lz... 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... no checking lzo/lzoconf.h presence... no checking for lzo/lzoconf.h... no checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking for acl_get_file... no checking for acl_get_file in -lacl... yes checking sys/xattr.h usability... yes checking sys/xattr.h presence... yes checking for sys/xattr.h... yes checking for llistxattr... yes checking for lgetxattr... yes checking for lsetxattr... yes checking gpfs.h usability... no checking gpfs.h presence... no checking for gpfs.h... no checking for gpfs_getacl in -lgpfs... no checking for pthread_create in -lpthread... yes checking for docker... no checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking for prctl... yes checking for setreuid... yes checking for cap_set_proc in -lcap... yes === Something went wrong. Unknown DISTNAME archlinux === checking for systemd support... yes 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/key-manager.py config.status: creating scripts/install-key-manager.sh 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 scripts/aws_cloud_driver config.status: creating scripts/bacula-tray-monitor.desktop config.status: creating scripts/kubernetes-bacula-backup/Dockerfile 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: creating src/qt-console/bat.pro.mingw32 config.status: creating src/qt-console/bat.pro.mingw64 config.status: creating src/qt-console/install_conf_file config.status: creating src/qt-console/tray-monitor/tray-monitor.conf config.status: creating src/qt-console/tray-monitor/bacula-tray-monitor.conf config.status: creating src/qt-console/tray-monitor/tray-monitor.pro config.status: creating src/qt-console/tray-monitor/tray-monitor.pro.mingw32 config.status: creating src/qt-console/tray-monitor/tray-monitor.pro.mingw64 config.status: creating src/qt-console/tray-monitor/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/tools/cdp-client/Makefile config.status: creating src/plugins/fd/Makefile.inc config.status: creating src/plugins/sd/Makefile config.status: creating src/plugins/dir/Makefile.inc config.status: creating src/plugins/fd/kubernetes-backend/baculak8s/plugins/k8sbackend/baculabackupimage.py config.status: creating po/Makefile.in config.status: creating updatedb/update_mysql_tables config.status: creating updatedb/update_sqlite3_tables config.status: creating updatedb/update_postgresql_tables 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_postgresql_tables_1021_to_1022 config.status: creating updatedb/update_postgresql_tables_1022_to_1023 config.status: creating updatedb/update_postgresql_tables_1023_to_1024 config.status: creating updatedb/update_postgresql_tables_1024_to_1025 config.status: creating updatedb/update_postgresql_tables_1025_to_1026 config.status: creating updatedb/update_mysql_tables_1020_to_1021 config.status: creating updatedb/update_mysql_tables_1021_to_1022 config.status: creating updatedb/update_mysql_tables_1022_to_1023 config.status: creating updatedb/update_mysql_tables_1023_to_1024 config.status: creating updatedb/update_mysql_tables_1024_to_1025 config.status: creating updatedb/update_mysql_tables_1025_to_1026 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/systemd/Makefile config.status: creating platforms/systemd/bacula.conf config.status: creating platforms/systemd/bacula-dir.service config.status: creating platforms/systemd/bacula-fd.service config.status: creating platforms/systemd/bacula-sd.service config.status: creating src/plugins/fd/kubernetes-backend/baculak8s/plugins/k8sbackend/baculabackupimage.py 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 Doing make of dependencies ==> Entering directory src make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src' ==> Entering directory scripts make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/scripts' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/scripts' ==> Entering directory src/lib make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/lib' make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/lib' ==> Entering directory src/findlib make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/findlib' make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/findlib' ==> Entering directory src/filed make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/filed' make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/filed' ==> Entering directory src/console make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/console' make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/console' ==> Entering directory manpages make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/manpages' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/manpages' ==> Plugin directory src/plugins/fd make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/plugins/fd' which: no git in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl) make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/plugins/fd' ==> Plugin directory src/plugins/dir make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/plugins/dir' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/plugins/dir' Cleaning up ==> Plugin directory src/plugins/fd make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/plugins/fd' which: no git in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl) make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/plugins/fd' ==> Plugin directory src/plugins/dir make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/plugins/dir' make -C totp clean make[2]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/plugins/dir/totp' which: no git in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl) make[2]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/plugins/dir/totp' make -C ldap clean make[2]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/plugins/dir/ldap' make[2]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/plugins/dir/ldap' make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/plugins/dir' ==>Entering directory /build/bacula-client/src/bacula-15.0.2/src make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src' make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src' ==>Entering directory /build/bacula-client/src/bacula-15.0.2/scripts make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/scripts' make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/scripts' ==>Entering directory /build/bacula-client/src/bacula-15.0.2/src/lib make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/lib' make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/lib' ==>Entering directory /build/bacula-client/src/bacula-15.0.2/src/findlib make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/findlib' make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/findlib' ==>Entering directory /build/bacula-client/src/bacula-15.0.2/src/filed make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/filed' make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/filed' ==>Entering directory /build/bacula-client/src/bacula-15.0.2/src/console make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/console' make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/console' ==>Entering directory /build/bacula-client/src/bacula-15.0.2/manpages make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/manpages' make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/manpages' ==>Entering directory /build/bacula-client/src/bacula-15.0.2/platforms make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/platforms' make[2]: Entering directory '/build/bacula-client/src/bacula-15.0.2/platforms/systemd' make[2]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/platforms/systemd' make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/platforms' Configuration on Mon Jul 15 10:18:46 CEST 2024: Host: x86_64-pc-linux-gnu -- archlinux Bacula version: Bacula 15.0.2 (21 March 2024) Source code location: . Install binaries: /usr/bin Install libraries: /usr/lib Install config files: /etc/bacula Scripts directory: /etc/bacula/scripts Archive directory: /tmp Working directory: /opt/bacula/working PID directory: /var/run Subsys directory: /var/run/subsys Man directory: /usr/share/man Data directory: /usr/share Plugin directory: /usr/lib C Compiler: gcc 14.1.1 C++ Compiler: /usr/bin/g++ 14.1.1 Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/bacula-client/src=/usr/src/debug/bacula-client -flto=auto -x c++ -fno-strict-aliasing -fno-exceptions -fno-rtti Linker flags: -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto Libraries: -lpthread 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 Database SSL options: 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: File Daemon Group: Large file support: yes Bacula conio support: yes -ltinfo readline support: no TCP Wrappers support: no TLS support: yes Encryption support: yes ZLIB support: yes LZO support: no S3 support: no LIBCAP support: yes ZSTD support: yes enable-smartalloc: yes enable-lockmgr: no bat support: no client-only: yes build-dird: yes build-stored: yes Plugin support: yes LDAP support: no LDAP StartTLS support: no AFS support: no ACL support: yes XATTR support: yes GPFS support: no systemd support: yes /usr/lib/systemd/system/ Batch insert enabled: None Plugins: - Docker: no - Kubernetes: - LDAP BPAM: no - TOTP BPAM: no - CDP: auto - Antivirus: no - aws: no ==>Entering directory /build/bacula-client/src/bacula-15.0.2/src make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src' ==>Entering directory /build/bacula-client/src/bacula-15.0.2/scripts make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/scripts' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/scripts' ==>Entering directory /build/bacula-client/src/bacula-15.0.2/src/lib make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/lib' Compiling attr.c Compiling base64.c Compiling base32.c Compiling berrno.c Compiling bsys.c Compiling binflate.c Compiling authenticatebase.cc Compiling bnet.c Compiling bget_msg.c Compiling bnet_server.c Compiling bsock.c Compiling bpipe.c Compiling bsnprintf.c Compiling bstat.c Compiling btime.c Compiling cram-md5.c Compiling crypto.c Compiling daemon.c Compiling edit.c Compiling fnmatch.c Compiling guid_to_name.c Compiling hmac.c Compiling jcr.c Compiling lex.c Compiling lz4.c Compiling alist.c crypto.c: In function 'int crypto_sign_add_signer(SIGNATURE*, DIGEST*, X509_KEYPAIR*)': crypto.c:991:71: warning: 'const EVP_MD* EVP_MD_CTX_md(const EVP_MD_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 991 | si->signatureAlgorithm = OBJ_nid2obj(EVP_MD_pkey_type(EVP_MD_CTX_md(digest->ctx))); | ~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:32, from ../bacula.h:147, from crypto.c:37: /usr/include/openssl/evp.h:560:15: note: declared here 560 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); | ^~~~~~~~~~~~~ crypto.c: In function 'CRYPTO_SESSION* crypto_session_new(crypto_cipher_t, alist*)': crypto.c:1214:39: warning: 'int EVP_PKEY_encrypt_old(unsigned char*, const unsigned char*, int, EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1214 | if ((ekey_len = EVP_PKEY_encrypt(ekey, cs->session_key, cs->session_key_len, keypair->pubkey)) <= 0) { | ^ /usr/include/openssl/evp.h:1307:27: note: declared here 1307 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_encrypt_old(unsigned char *enc_key, | ^~~~~~~~~~~~~~~~~~~~ crypto.c: In function 'crypto_error_t crypto_session_decode(const u_int8_t*, u_int32_t, alist*, CRYPTO_SESSION**)': crypto.c:1333:51: warning: 'int EVP_PKEY_decrypt_old(unsigned char*, const unsigned char*, int, EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1333 | cs->session_key_len = EVP_PKEY_decrypt(cs->session_key, ASN1_STRING_get0_data(ri->encryptedKey), | ^ /usr/include/openssl/evp.h:1303:27: note: declared here 1303 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_decrypt_old(unsigned char *dec_key, | ^~~~~~~~~~~~~~~~~~~~ Compiling dlist.c Compiling md5.c Compiling message.c Compiling mem_pool.c Compiling openssl.c Compiling plugins.c Compiling priv.c Compiling queue.c Compiling bregex.c Compiling bsockcore.c Compiling runscript.c Compiling rwlock.c Compiling scan.c Compiling sellist.c Compiling serial.c Compiling sha1.c Compiling sha2.c Compiling signal.c Compiling smartall.c Compiling rblist.c Compiling tls.c Compiling tree.c Compiling util.c Compiling var.c Compiling watchdog.c Compiling workq.c Compiling btimers.c Compiling worker.c Compiling flist.c tls.c: In function 'TLS_CONTEXT* new_tls_context(const char*, const char*, const char*, const char*, int (*)(char*, int, const void*), const void*, const char*, bool)': tls.c:338:33: warning: 'DH* PEM_read_bio_DHparams(BIO*, DH**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 338 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ssl.h:37, from ../bacula.h:147, from tls.c:40: /usr/include/openssl/pem.h:473:1: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ tls.c:346:17: warning: 'void DH_free(DH*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 346 | DH_free(dh); | ~~~~~~~^~~~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ Compiling bcollector.c Compiling collect.c Compiling address_conf.c Compiling breg.c Compiling htable.c Compiling lockmgr.c Compiling devlock.c Compiling output.c Compiling bwlimit.c Compiling bsock_meeting.c Compiling bcrc32.c Compiling events.c Compiling ilist.c Compiling cJSON.c Compiling cJSON_Utils.c Compiling xxhash.c Compiling org_lib_dedup.c Compiling org_lib_fips.c Compiling ini.c Compiling parse_conf.c Compiling res.c Compiling bjson.c Making libbac.la ... /build/bacula-client/src/bacula-15.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -o libbac.la attr.lo base64.lo base32.lo berrno.lo bsys.lo binflate.lo bget_msg.lo authenticatebase.lo bnet.lo bnet_server.lo bsock.lo bpipe.lo bsnprintf.lo bstat.lo btime.lo cram-md5.lo crypto.lo daemon.lo edit.lo fnmatch.lo guid_to_name.lo hmac.lo jcr.lo lex.lo lz4.lo alist.lo dlist.lo md5.lo message.lo mem_pool.lo openssl.lo plugins.lo priv.lo queue.lo bregex.lo bsockcore.lo runscript.lo rwlock.lo scan.lo sellist.lo serial.lo sha1.lo sha2.lo signal.lo smartall.lo rblist.lo tls.lo tree.lo util.lo var.lo watchdog.lo workq.lo btimers.lo worker.lo flist.lo bcollector.lo collect.lo address_conf.lo breg.lo htable.lo lockmgr.lo devlock.lo output.lo bwlimit.lo bsock_meeting.lo bcrc32.lo events.lo ilist.lo cJSON.lo cJSON_Utils.lo xxhash.lo org_lib_dedup.lo org_lib_fips.lo -export-dynamic -rpath /usr/lib -release 15.0.2 -lcap -lz -lssl -lcrypto -lpthread Making libbaccfg.la ... /build/bacula-client/src/bacula-15.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -o libbaccfg.la ini.lo parse_conf.lo res.lo bjson.lo -export-dynamic -rpath /usr/lib -release 15.0.2 -lssl -lcrypto -lpthread ==== Make of lib is good ==== make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/lib' ==>Entering directory /build/bacula-client/src/bacula-15.0.2/src/findlib make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/findlib' Compiling find.c Compiling match.c Compiling find_one.c Compiling attribs.c Compiling create_file.c Compiling bfile.c Compiling drivetype.c Compiling enable_priv.c Compiling fstype.c Compiling savecwd.c Compiling mkpath.c Compiling namedpipe.c Compiling win32filter.c Making libbacfind.la ... /build/bacula-client/src/bacula-15.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -o libbacfind.la find.lo match.lo find_one.lo attribs.lo create_file.lo bfile.lo drivetype.lo enable_priv.lo fstype.lo mkpath.lo savecwd.lo namedpipe.lo win32filter.lo -export-dynamic -rpath /usr/lib -release 15.0.2 ==== Make of findlib is good ==== make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/findlib' ==>Entering directory /build/bacula-client/src/bacula-15.0.2/src/filed make[1]: Entering directory '/build/bacula-client/src/bacula-15.0.2/src/filed' Compiling filed.c Compiling authenticate.c Compiling backup.c Compiling crypto.c Compiling win_efs.c Compiling estimate.c Compiling fdcollect.c Compiling fd_plugins.c Compiling accurate.c Compiling bacgpfs.c Compiling filed_conf.c Compiling runres_conf.c Compiling heartbeat.c Compiling hello.c Compiling job.c Compiling fd_snapshot.c Compiling restore.c Compiling status.c Compiling verify.c Compiling verify_vol.c Compiling fdcallsdir.c Compiling suspend.c Compiling org_filed_dedup.c Compiling bacl.c Compiling bacl_linux.c restore.c: In function ‘bool decompress_data(JCR*, int32_t, char**, u_int32_t*)’: restore.c:1387:13: error: ‘compress_len’ was not declared in this scope; did you mean ‘comp_len’? 1387 | compress_len = jcr->compress_buf_size; | ^~~~~~~~~~~~ | comp_len restore.c:1388:13: error: ‘cbuf’ was not declared in this scope 1388 | cbuf = (const unsigned char*)*data + sizeof(comp_stream_header); | ^~~~ Compiling bxattr.c restore.c:1389:13: error: ‘real_compress_len’ was not declared in this scope 1389 | real_compress_len = *length - sizeof(comp_stream_header); | ^~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:187: restore.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/build/bacula-client/src/bacula-15.0.2/src/filed' ====== Error in /build/bacula-client/src/bacula-15.0.2/src/filed ====== make: *** [Makefile:164: all] Error 1
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel