* Package: app-backup/bareos-16.2.7 * Repository: gentoo * Maintainer: mschiff@gentoo.org * USE: abi_x86_64 acl amd64 director elibc_glibc ipv6 kernel_linux libressl python_targets_python2_7 readline sqlite ssl storage-daemon userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Adding group 'bareos' to your system ... * - Groupid: next available * * The group 'bareos' has been created. Any users you add to this * group have access to files created by the daemons. * * Adding user 'bareos' to your system ... * - Userid: 128 * - Shell: /sbin/nologin * - Home: /var/lib/bareos * - Groups: bareos,disk,tape,cdrom,cdrw * - GECOS: added by portage for bareos * - Creating /var/lib/bareos in / * * The user 'bareos' has been created. Please see the bareos manual * for information about running bareos as a non-root user. * >>> Unpacking source... >>> Unpacking bareos-16.2.7.tar.gz to /var/tmp/portage/app-backup/bareos-16.2.7/work >>> Source unpacked in /var/tmp/portage/app-backup/bareos-16.2.7/work >>> Preparing source in /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7 ... * Applying bareos-12.4.5-Makefile.patch ... [ ok ] * Applying bareos-12.4.5-bat-ldflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7 ... * econf: updating bareos-Release-16.2.7/autoconf/config.sub with /usr/share/gnuconfig/config.sub * econf: updating bareos-Release-16.2.7/autoconf/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --docdir=/usr/share/doc/bareos-16.2.7 --htmldir=/usr/share/doc/bareos-16.2.7/html --with-pid-dir=/run/bareos --sysconfdir=/etc --with-subsys-dir=/run/lock/subsys --with-working-dir=/var/lib/bareos --with-logdir=/var/log/bareos --with-scriptdir=/usr/libexec/bareos --with-plugindir=/usr/lib64/bareos/plugin --with-backenddir=/usr/lib64/bareos/backend --with-dir-user=bareos --with-dir-group=bareos --with-sd-user=root --with-sd-group=bareos --with-fd-user=root --with-fd-group=bareos --with-sbin-perm=0755 --with-systemd --enable-dynamic-cats-backends --enable-dynamic-storage-backends --enable-batch-insert --disable-afs --host=x86_64-pc-linux-gnu --disable-bat --disable-traymonitor --without-x --enable-acl --enable-ipv6 --disable-ndmp --enable-readline --disable-conio --disable-scsi-crypto --disable-sql-pooling --without-fastlz --without-mysql --without-postgresql --without-python --with-readline --with-sqlite3 --with-openssl --without-tcp-wrappers --disable-lmdb --without-glusterfs --without-rados --without-rados-striper --without-cephfs --without-jansson checking for true... /bin/true checking for false... /bin/false configuring for Bareos 16.2.7 (09 October 2017) checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for x86_64-pc-linux-gnu-g++... /usr/bin/x86_64-pc-linux-gnu-g++ checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c checking for mv... /bin/mv checking for rm... /bin/rm checking for echo... /bin/echo checking for cp... /bin/cp checking for sed... /bin/sed 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... /usr/sbin/mtx checking for dd... /bin/dd checking for python... /usr/bin/python checking for pkg-config... /usr/bin/pkg-config checking for qmake... /usr/bin/qmake checking for gmake... /usr/bin/gmake checking for pidof... /usr/bin/pidof checking for pgrep... /usr/bin/pgrep checking for gcore... no checking for gdb... no checking for dbx... no checking for mdb... no 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) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 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/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... /usr/bin/ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... mt checking if mt 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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/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/x86_64-pc-linux-gnu-g++ -E checking for ld used by /usr/bin/x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the /usr/bin/x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for /usr/bin/x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if /usr/bin/x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if /usr/bin/x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if /usr/bin/x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if /usr/bin/x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the /usr/bin/x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/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... -ldl 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 for OBS OS 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/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/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... no checking for tgetent in -lncurses... 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 glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking for glob... yes checking for strcasecmp... yes checking for select... yes checking for poll... yes checking for setenv... yes checking for putenv... yes checking for tcgetattr... yes checking for lstat... yes checking for lchown... yes checking for lchmod... no checking for utimes... yes checking for lutimes... yes checking for futimes... yes checking for futimens... yes checking for fchmod... yes checking for fchown... yes checking for nanosleep... yes checking for nl_langinfo... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking for cmocka support... checking for setjmp.h... yes checking for cmocka.h... no no checking for Python support... no checking for socket... yes using socket from libc checking for OpenSSL... no checking for library containing dlopen... (cached) -ldl checking for logrotate... /usr/bin/logrotate checking for PostgreSQL support... no checking for MySQL support... checking for MySQL embedded support... no checking for SQLite3 support... yes checking for sqlite3_threadsafe in -lsqlite3... yes checking for x86_64-pc-linux-gnu-getconf... 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... disabled checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking for dlfcn.h... (cached) 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/dl.h usability... no checking sys/dl.h presence... no checking for sys/dl.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... 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 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 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 for bcopy... yes checking for closefrom... no checking for getpagesize... yes checking for malloc_trim... yes checking for backtrace_symbols... yes checking for backtrace... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking cxxabi.h usability... yes checking cxxabi.h presence... yes checking for cxxabi.h... yes checking for fchdir... yes checking for strtoll... yes checking for posix_fadvise... yes checking for fdatasync... 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 using gethostbyname_r from resolver in libc checking for inet_pton... yes checking for inet_ntop... yes checking for gethostbyname2... yes checking for struct sockaddr has a sa_len field... no 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 compressBound in zlib library... yes checking for deflate in zlib library... 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 lzo library... yes checking fastlzlib.h usability... no checking fastlzlib.h presence... no checking for fastlzlib.h... no checking for fastlzlibCompress in fastlz library... 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 api/glfs.h usability... no checking api/glfs.h presence... no checking for api/glfs.h... no checking for glfs_init in gfapi library... no checking for glfs_readdirplus... no checking droplet.h usability... no checking droplet.h presence... no checking for droplet.h... no checking for dpl_ctx_new in libdroplet library... no checking rados/librados.h usability... no checking rados/librados.h presence... no checking for rados/librados.h... no checking for rados_create in rados library... no checking radosstriper/libradosstriper.h usability... no checking radosstriper/libradosstriper.h presence... no checking for radosstriper/libradosstriper.h... no checking for rados_striper_create in radosstriper library... no checking cephfs/libcephfs.h usability... no checking cephfs/libcephfs.h presence... no checking for cephfs/libcephfs.h... no checking for ceph_create in cephfs library... no checking elasto/data.h usability... no checking elasto/data.h presence... no checking for elasto/data.h... no checking elasto/file.h usability... no checking elasto/file.h presence... no checking for elasto/file.h... no checking for elasto_fclose in -lelasto_file... no checking for pthread_create in -lpthread... yes 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 checking for systemd support... checking for systemctl... no no configure: creating ./config.status config.status: creating autoconf/Make.common config.status: creating Makefile config.status: creating GNUmakefile config.status: creating manpages/Makefile config.status: creating scripts/bareos-config config.status: creating scripts/bareos-config-lib.sh config.status: creating scripts/bareos-explorer config.status: creating scripts/bareos-glusterfind-wrapper config.status: creating scripts/btraceback config.status: creating scripts/bconsole config.status: creating scripts/bareos config.status: creating scripts/bareos-ctl-dir config.status: creating scripts/bareos-ctl-fd config.status: creating scripts/bareos-ctl-sd config.status: creating scripts/devel_bareos 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/logwatch/Makefile config.status: creating scripts/logwatch/logfile.bareos.conf config.status: creating scripts/bat.console_apps config.status: creating src/Makefile config.status: creating src/include/host.h config.status: creating src/console/Makefile config.status: creating src/console/bconsole.conf config.status: creating src/qt-tray-monitor/bareos-tray-monitor.desktop config.status: creating src/qt-tray-monitor/tray-monitor.conf config.status: creating src/qt-tray-monitor/tray-monitor.pro config.status: creating src/qt-console/bat.conf config.status: creating src/qt-console/bat.desktop config.status: creating src/qt-console/bat.pro config.status: creating src/qt-console/install_conf_file config.status: creating src/defaultconfigs/bareos-dir.d/catalog/MyCatalog.conf config.status: creating src/defaultconfigs/bareos-dir.d/client/bareos-fd.conf config.status: creating src/defaultconfigs/bareos-dir.d/console/bareos-mon.conf config.status: creating src/defaultconfigs/bareos-dir.d/director/bareos-dir.conf config.status: creating src/defaultconfigs/bareos-dir.d/fileset/Catalog.conf config.status: creating src/defaultconfigs/bareos-dir.d/fileset/LinuxAll.conf config.status: creating src/defaultconfigs/bareos-dir.d/fileset/SelfTest.conf config.status: creating src/defaultconfigs/bareos-dir.d/job/BackupCatalog.conf config.status: creating src/defaultconfigs/bareos-dir.d/jobdefs/DefaultJob.conf config.status: creating src/defaultconfigs/bareos-dir.d/messages/Daemon.conf config.status: creating src/defaultconfigs/bareos-dir.d/messages/Standard.conf config.status: creating src/defaultconfigs/bareos-dir.d/storage/File.conf config.status: creating src/defaultconfigs/bareos-sd.d/device/FileStorage.conf config.status: creating src/defaultconfigs/bareos-sd.d/director/bareos-dir.conf config.status: creating src/defaultconfigs/bareos-sd.d/director/bareos-mon.conf config.status: creating src/defaultconfigs/bareos-sd.d/storage/bareos-sd.conf config.status: creating src/defaultconfigs/bareos-fd.d/client/myself.conf config.status: creating src/defaultconfigs/bareos-fd.d/director/bareos-dir.conf config.status: creating src/defaultconfigs/bareos-fd.d/director/bareos-mon.conf config.status: creating src/defaultconfigs/tray-monitor.d/client/FileDaemon-local.conf config.status: creating src/defaultconfigs/tray-monitor.d/director/Director-local.conf config.status: creating src/defaultconfigs/tray-monitor.d/monitor/bareos-mon.conf config.status: creating src/defaultconfigs/tray-monitor.d/storage/StorageDaemon-local.conf config.status: creating src/dird/Makefile config.status: creating src/dird/bareos-dir.conf config.status: creating src/lib/Makefile config.status: creating src/lib/unittests/Makefile config.status: creating src/stored/Makefile config.status: creating src/stored/bareos-sd.conf config.status: creating src/stored/backends/Makefile config.status: creating src/filed/Makefile config.status: creating src/filed/bareos-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_bareos_database config.status: creating src/cats/update_bareos_tables config.status: creating src/cats/grant_bareos_privileges config.status: creating src/cats/make_bareos_tables config.status: creating src/cats/drop_bareos_tables config.status: creating src/cats/drop_bareos_database config.status: creating src/cats/install-default-backend config.status: creating src/cats/ddl/versions.map config.status: creating src/findlib/Makefile config.status: creating src/findlib/unittests/Makefile config.status: creating src/lmdb/Makefile config.status: creating src/ndmp/Makefile config.status: creating src/tests/Makefile config.status: creating src/tools/Makefile config.status: creating src/plugins/filed/Makefile config.status: creating src/plugins/filed/python-ldap-conf.d/bareos-dir.d/fileset/plugin-ldap.conf.example config.status: creating src/plugins/stored/Makefile config.status: creating src/plugins/dird/Makefile config.status: creating po/Makefile.in config.status: creating src/defaultconfigs/diskonly/bareos-sd.conf config.status: creating src/defaultconfigs/diskonly/bareos-dir.conf config.status: creating platforms/Makefile config.status: creating platforms/gentoo/Makefile config.status: creating platforms/gentoo/bareos-init config.status: creating platforms/gentoo/bareos-fd config.status: creating platforms/gentoo/bareos-sd config.status: creating platforms/gentoo/bareos-dir config.status: creating src/include/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 /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/scripts make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/scripts' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/scripts' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/lib make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/lib' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/lib' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/findlib make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/findlib' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/findlib' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/filed make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/filed' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/filed' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/console make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/console' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/console' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/filed make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/filed' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/filed' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/cats make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/cats' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/cats' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/dird make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/dird' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/dird' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/stored make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/stored' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/stored' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/stored/backends make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/stored/backends' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/stored/backends' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/stored make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/stored' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/stored' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/dird make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/dird' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/dird' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/tools make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/tools' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/tools' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/manpages make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/manpages' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/manpages' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/platforms make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/platforms' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/platforms' Cleaning up ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/scripts make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/scripts' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/scripts' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/lib make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/lib' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/lib' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/findlib make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/findlib' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/findlib' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/filed make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/filed' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/filed' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/console make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/console' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/console' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/filed make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/filed' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/filed' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/cats make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/cats' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/cats' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/dird make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/dird' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/dird' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/stored make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/stored' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/stored' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/stored/backends make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/stored/backends' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/stored/backends' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/stored make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/stored' find . -name '*.lo' -print | xargs /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=clean /bin/rm -f /bin/rm -f *.la /bin/rm -f -r .libs _libs make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/stored' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/dird make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/dird' find . -name '*.lo' -print | xargs /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=clean /bin/rm -f /bin/rm -f *.la /bin/rm -f -r .libs _libs make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/plugins/dird' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/tools make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/tools' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/tools' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/manpages make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/manpages' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/manpages' ==>Entering directory /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/platforms make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/platforms' make[2]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/platforms/gentoo' make[2]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/platforms/gentoo' make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/platforms' Configuration on Mon Dec 11 02:10:53 CET 2017: Host: x86_64-pc-linux-gnu -- gentoo Bareos version: Bareos 16.2.7 (09 October 2017) Distribution: gentoo Source code location: . Modify package list: Install binaries: /usr/bin Install system binaries: /usr/sbin Install libraries: /usr/lib64 Install system config files: /etc Install Bareos config files: /etc/bareos Scripts directory: /usr/libexec/bareos Archive directory: /tmp Working directory: /var/lib/bareos PID directory: /run/bareos Subsys directory: /run/lock/subsys Man directory: /usr/share/man Data directory: /usr/share Backend directory: /usr/lib64/bareos/backend Plugin directory: /usr/lib64/bareos/plugin C Compiler: x86_64-pc-linux-gnu-gcc Hardened C++ Compiler: /usr/bin/x86_64-pc-linux-gnu-g++ Hardened Compiler flags: -O2 -pipe -march=native -Wall Linker flags: -Wl,-O1 -Wl,--as-needed Libraries: -lpthread -ldl Statically Linked Tools: no Statically Linked FD: no Statically Linked SD: no Statically Linked DIR: no Statically Linked CONS: no Database backends: SQLite3 Database port: Database name: bareos Database user: bareos Database version: 2004 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: bareos Director Group: bareos Storage Daemon User: root Storage DaemonGroup: bareos File Daemon User: root File Daemon Group: bareos Large file support: yes Bareos conio support: no -lreadline -lhistory -lncurses readline support: yes TCP Wrappers support: no TLS support: yes Encryption support: yes OpenSSL support: yes GNUTLS support: no ZLIB support: yes LZO support: yes FASTLZ support: no JANSSON support: no LMDB support: no NDMP support: no enable-smartalloc: yes enable-lockmgr: no bat support: no tray-monitor support: no client-only: no build-dird: yes build-stored: yes Plugin support: yes AFS support: no ACL support: yes XATTR support: yes SCSI Crypto support: no GLUSTERFS support: no DROPLET support: no CEPH RADOS support: no RADOS striping support: no CEPHFS support: no ELASTO support: no Python support: no systemd support: no Batch insert enabled: SQLite3 cmocka support: no >>> Source configured. >>> Compiling source in /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7 ... make -j1 NO_ECHO= scripts/git-info.sh build/ skipped: this directory isn't a git directory /bin/cp -p config.out build/ make -C src make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src' make[1]: Nothing to be done for 'first_rule'. make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src' make -C scripts make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/scripts' make[1]: Nothing to be done for 'first_rule'. make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/scripts' make -C src/lib make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/lib' Compiling address_conf.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native address_conf.c Compiling alist.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native alist.c Compiling attr.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native attr.c Compiling attribs.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native attribs.c Compiling base64.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native base64.c Compiling berrno.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native berrno.c Compiling bget_msg.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native bget_msg.c Compiling binflate.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native binflate.c Compiling bnet_server_tcp.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native bnet_server_tcp.c Compiling bnet.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native bnet.c Compiling bpipe.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native bpipe.c Compiling breg.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native breg.c Compiling bregex.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native bregex.c Compiling bsnprintf.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native bsnprintf.c Compiling bsock.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native bsock.c Compiling bsock_sctp.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native bsock_sctp.c Compiling bsock_tcp.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native bsock_tcp.c Compiling bsock_udt.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native bsock_udt.c Compiling bsys.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native bsys.c Compiling btime.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native btime.c Compiling btimers.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native btimers.c Compiling cbuf.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native cbuf.c Compiling compression.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native compression.c Compiling connection_pool.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native connection_pool.c Compiling cram-md5.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native cram-md5.c Compiling crypto.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native crypto.c Compiling crypto_cache.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native crypto_cache.c Compiling crypto_gnutls.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native crypto_gnutls.c Compiling crypto_none.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native crypto_none.c Compiling crypto_nss.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native crypto_nss.c Compiling crypto_openssl.c /var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++ -c -I. -I.. -I../include -O2 -pipe -march=native crypto_openssl.c crypto_openssl.c:196:0: warning: "M_ASN1_OCTET_STRING_cmp" redefined #define M_ASN1_OCTET_STRING_cmp(a,b) ASN1_STRING_cmp((const ASN1_STRING *)a,(const ASN1_STRING *)b) In file included from /usr/include/openssl/objects.h:960:0, from /usr/include/openssl/evp.h:86, from /usr/include/openssl/hmac.h:67, from /usr/include/openssl/ssl.h:149, from crypto_openssl.c:39: /usr/include/openssl/asn1.h:584:0: note: this is the location of the previous definition #define M_ASN1_OCTET_STRING_cmp(a,b) ASN1_STRING_cmp(\ crypto_openssl.c:193:1: error: expected constructor, destructor, or type conversion before ‘DEFINE_STACK_OF’ DEFINE_STACK_OF(RecipientInfo) ^~~~~~~~~~~~~~~ crypto_openssl.c: In constructor ‘Digest::Digest(JCR*, crypto_digest_t)’: crypto_openssl.c:269:19: error: ‘EVP_MD_CTX_new’ was not declared in this scope ctx = EVP_MD_CTX_new(); ^~~~~~~~~~~~~~ crypto_openssl.c:269:19: note: suggested alternative: ‘EVP_MD_CTX_init’ ctx = EVP_MD_CTX_new(); ^~~~~~~~~~~~~~ EVP_MD_CTX_init crypto_openssl.c: In destructor ‘Digest::~Digest()’: crypto_openssl.c:274:10: error: ‘EVP_MD_CTX_free’ was not declared in this scope EVP_MD_CTX_free(ctx); ^~~~~~~~~~~~~~~ crypto_openssl.c:274:10: note: suggested alternative: ‘EVP_MD_CTX_create’ EVP_MD_CTX_free(ctx); ^~~~~~~~~~~~~~~ EVP_MD_CTX_create In file included from ../lib/lib.h:29:0, from ../include/bareos.h:152, from crypto_openssl.c:27: crypto_openssl.c: In function ‘X509_KEYPAIR* crypto_keypair_new()’: crypto_openssl.c:381:56: error: invalid application of ‘sizeof’ to incomplete type ‘X509_KEYPAIR {aka X509_Keypair}’ keypair = (X509_KEYPAIR *)malloc(sizeof(X509_KEYPAIR)); ^ ../lib/smartall.h:68:55: note: in definition of macro ‘malloc’ #define malloc(x) sm_malloc(__FILE__, __LINE__, (x)) ^ crypto_openssl.c:384:11: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ keypair->keyid = NULL; ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:384:13: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ keypair->keyid = NULL; ^~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:385:11: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ keypair->pubkey = NULL; ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:385:13: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ keypair->pubkey = NULL; ^~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:386:11: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ keypair->privkey = NULL; ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:386:13: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ keypair->privkey = NULL; ^~~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c: In function ‘X509_KEYPAIR* crypto_keypair_dup(X509_KEYPAIR*)’: crypto_openssl.c:410:15: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->pubkey) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:410:17: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->pubkey) { ^~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:411:30: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ EVP_PKEY_up_ref(keypair->pubkey); ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:411:32: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ EVP_PKEY_up_ref(keypair->pubkey); ^~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:411:7: error: ‘EVP_PKEY_up_ref’ was not declared in this scope EVP_PKEY_up_ref(keypair->pubkey); ^~~~~~~~~~~~~~~ crypto_openssl.c:411:7: note: suggested alternative: ‘EC_KEY_up_ref’ EVP_PKEY_up_ref(keypair->pubkey); ^~~~~~~~~~~~~~~ EC_KEY_up_ref crypto_openssl.c:412:14: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ newpair->pubkey = keypair->pubkey; ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:412:16: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ newpair->pubkey = keypair->pubkey; ^~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:412:32: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ newpair->pubkey = keypair->pubkey; ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:412:34: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ newpair->pubkey = keypair->pubkey; ^~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:416:15: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->privkey) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:416:17: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->privkey) { ^~~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:417:30: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ EVP_PKEY_up_ref(keypair->privkey); ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:417:32: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ EVP_PKEY_up_ref(keypair->privkey); ^~~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:417:7: error: ‘EVP_PKEY_up_ref’ was not declared in this scope EVP_PKEY_up_ref(keypair->privkey); ^~~~~~~~~~~~~~~ crypto_openssl.c:417:7: note: suggested alternative: ‘EC_KEY_up_ref’ EVP_PKEY_up_ref(keypair->privkey); ^~~~~~~~~~~~~~~ EC_KEY_up_ref crypto_openssl.c:418:14: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ newpair->privkey = keypair->privkey; ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:418:16: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ newpair->privkey = keypair->privkey; ^~~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:418:33: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ newpair->privkey = keypair->privkey; ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:418:35: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ newpair->privkey = keypair->privkey; ^~~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:422:15: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->keyid) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:422:17: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->keyid) { ^~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:423:14: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ newpair->keyid = M_ASN1_OCTET_STRING_dup(keypair->keyid); ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:423:16: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ newpair->keyid = M_ASN1_OCTET_STRING_dup(keypair->keyid); ^~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:423:55: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ newpair->keyid = M_ASN1_OCTET_STRING_dup(keypair->keyid); ^ crypto_openssl.c:197:100: note: in definition of macro ‘M_ASN1_OCTET_STRING_dup’ TRING_dup(a) (ASN1_OCTET_STRING *) ASN1_STRING_dup((const ASN1_STRING *)a) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:423:57: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ newpair->keyid = M_ASN1_OCTET_STRING_dup(keypair->keyid); ^ crypto_openssl.c:197:100: note: in definition of macro ‘M_ASN1_OCTET_STRING_dup’ TRING_dup(a) (ASN1_OCTET_STRING *) ASN1_STRING_dup((const ASN1_STRING *)a) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:424:19: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (!newpair->keyid) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:424:21: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (!newpair->keyid) { ^~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c: In function ‘int crypto_keypair_load_cert(X509_KEYPAIR*, const char*)’: crypto_openssl.c:459:17: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (!(keypair->pubkey = X509_get_pubkey(cert))) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:459:19: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (!(keypair->pubkey = X509_get_pubkey(cert))) { ^~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:465:16: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if ((keypair->keyid = openssl_cert_keyid(cert)) == NULL) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:465:18: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if ((keypair->keyid = openssl_cert_keyid(cert)) == NULL) { ^~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:472:41: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (EVP_PKEY_type(EVP_PKEY_id(keypair->pubkey)) != EVP_PKEY_RSA) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:472:43: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (EVP_PKEY_type(EVP_PKEY_id(keypair->pubkey)) != EVP_PKEY_RSA) { ^~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ In file included from ../include/bareos.h:151:0, from crypto_openssl.c:27: crypto_openssl.c:474:89: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ pported key type provided: %d\n"), EVP_PKEY_type(EVP_PKEY_id(keypair->pubkey))); ^ ../include/baconfig.h:503:47: note: in definition of macro ‘Jmsg1’ j_msg(__FILE__, __LINE__, jcr, typ, lvl, msg, a1) ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ In file included from ../include/bareos.h:151:0, from crypto_openssl.c:27: crypto_openssl.c:474:91: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ ported key type provided: %d\n"), EVP_PKEY_type(EVP_PKEY_id(keypair->pubkey))); ^ ../include/baconfig.h:503:47: note: in definition of macro ‘Jmsg1’ j_msg(__FILE__, __LINE__, jcr, typ, lvl, msg, a1) ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:483:15: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->pubkey) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:483:17: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->pubkey) { ^~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:484:28: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ EVP_PKEY_free(keypair->pubkey); ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:484:30: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ EVP_PKEY_free(keypair->pubkey); ^~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c: In function ‘int crypto_keypair_load_key(X509_KEYPAIR*, const char*, int (*)(char*, int, const void*), const void*)’: crypto_openssl.c:572:11: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ keypair->privkey = PEM_read_bio_PrivateKey(bio, NULL, crypto_pem_callback_dispatch, &ctx); ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:572:13: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ keypair->privkey = PEM_read_bio_PrivateKey(bio, NULL, crypto_pem_callback_dispatch, &ctx); ^~~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:574:16: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (!keypair->privkey) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:574:18: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (!keypair->privkey) { ^~~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c: In function ‘void crypto_keypair_free(X509_KEYPAIR*)’: crypto_openssl.c:587:15: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->pubkey) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:587:17: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->pubkey) { ^~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:588:28: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ EVP_PKEY_free(keypair->pubkey); ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:588:30: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ EVP_PKEY_free(keypair->pubkey); ^~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:590:15: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->privkey) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:590:17: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->privkey) { ^~~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:591:28: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ EVP_PKEY_free(keypair->privkey); ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:591:30: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ EVP_PKEY_free(keypair->privkey); ^~~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:593:15: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->keyid) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:593:17: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->keyid) { ^~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:594:39: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ M_ASN1_OCTET_STRING_free(keypair->keyid); ^ crypto_openssl.c:195:73: note: in definition of macro ‘M_ASN1_OCTET_STRING_free’ #define M_ASN1_OCTET_STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:594:41: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ M_ASN1_OCTET_STRING_free(keypair->keyid); ^ crypto_openssl.c:195:73: note: in definition of macro ‘M_ASN1_OCTET_STRING_free’ #define M_ASN1_OCTET_STRING_free(a) ASN1_STRING_free((ASN1_STRING *)a) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c: In function ‘crypto_error_t crypto_sign_get_digest(SIGNATURE*, X509_KEYPAIR*, crypto_digest_t&, DIGEST**)’: crypto_openssl.c:736:20: error: ‘sk_SignerInfo_num’ was not declared in this scope for (i = 0; i < sk_SignerInfo_num(signers); i++) { ^~~~~~~~~~~~~~~~~ crypto_openssl.c:736:20: note: suggested alternative: ‘sk_CMS_SignerInfo_num’ for (i = 0; i < sk_SignerInfo_num(signers); i++) { ^~~~~~~~~~~~~~~~~ sk_CMS_SignerInfo_num crypto_openssl.c:737:12: error: ‘sk_SignerInfo_value’ was not declared in this scope si = sk_SignerInfo_value(signers, i); ^~~~~~~~~~~~~~~~~~~ crypto_openssl.c:737:12: note: suggested alternative: ‘sk_CMS_SignerInfo_value’ si = sk_SignerInfo_value(signers, i); ^~~~~~~~~~~~~~~~~~~ sk_CMS_SignerInfo_value crypto_openssl.c:738:42: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, si->subjectKeyIdentifier) == 0) { ^ crypto_openssl.c:196:78: note: in definition of macro ‘M_ASN1_OCTET_STRING_cmp’ _ASN1_OCTET_STRING_cmp(a,b) ASN1_STRING_cmp((const ASN1_STRING *)a,(const ASN1_STRING *)b) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:738:44: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, si->subjectKeyIdentifier) == 0) { ^ crypto_openssl.c:196:78: note: in definition of macro ‘M_ASN1_OCTET_STRING_cmp’ _ASN1_OCTET_STRING_cmp(a,b) ASN1_STRING_cmp((const ASN1_STRING *)a,(const ASN1_STRING *)b) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c: In function ‘crypto_error_t crypto_sign_verify(SIGNATURE*, X509_KEYPAIR*, DIGEST*)’: crypto_openssl.c:806:20: error: ‘sk_SignerInfo_num’ was not declared in this scope for (i = 0; i < sk_SignerInfo_num(signers); i++) { ^~~~~~~~~~~~~~~~~ crypto_openssl.c:806:20: note: suggested alternative: ‘sk_CMS_SignerInfo_num’ for (i = 0; i < sk_SignerInfo_num(signers); i++) { ^~~~~~~~~~~~~~~~~ sk_CMS_SignerInfo_num crypto_openssl.c:807:12: error: ‘sk_SignerInfo_value’ was not declared in this scope si = sk_SignerInfo_value(signers, i); ^~~~~~~~~~~~~~~~~~~ crypto_openssl.c:807:12: note: suggested alternative: ‘sk_CMS_SignerInfo_value’ si = sk_SignerInfo_value(signers, i); ^~~~~~~~~~~~~~~~~~~ sk_CMS_SignerInfo_value crypto_openssl.c:808:42: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, si->subjectKeyIdentifier) == 0) { ^ crypto_openssl.c:196:78: note: in definition of macro ‘M_ASN1_OCTET_STRING_cmp’ _ASN1_OCTET_STRING_cmp(a,b) ASN1_STRING_cmp((const ASN1_STRING *)a,(const ASN1_STRING *)b) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:808:44: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, si->subjectKeyIdentifier) == 0) { ^ crypto_openssl.c:196:78: note: in definition of macro ‘M_ASN1_OCTET_STRING_cmp’ _ASN1_OCTET_STRING_cmp(a,b) ASN1_STRING_cmp((const ASN1_STRING *)a,(const ASN1_STRING *)b) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:813:75: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ ok = EVP_VerifyFinal(&digest->get_ctx(), sigData, sigLen, keypair->pubkey); ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:813:77: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ ok = EVP_VerifyFinal(&digest->get_ctx(), sigData, sigLen, keypair->pubkey); ^~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c: In function ‘int crypto_sign_add_signer(SIGNATURE*, DIGEST*, X509_KEYPAIR*)’: crypto_openssl.c:876:62: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ si->subjectKeyIdentifier = M_ASN1_OCTET_STRING_dup(keypair->keyid); ^ crypto_openssl.c:197:100: note: in definition of macro ‘M_ASN1_OCTET_STRING_dup’ TRING_dup(a) (ASN1_OCTET_STRING *) ASN1_STRING_dup((const ASN1_STRING *)a) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:876:64: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ si->subjectKeyIdentifier = M_ASN1_OCTET_STRING_dup(keypair->keyid); ^ crypto_openssl.c:197:100: note: in definition of macro ‘M_ASN1_OCTET_STRING_dup’ TRING_dup(a) (ASN1_OCTET_STRING *) ASN1_STRING_dup((const ASN1_STRING *)a) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ In file included from crypto_openssl.c:37:0: crypto_openssl.c:880:44: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ assert(EVP_PKEY_type(EVP_PKEY_id(keypair->pubkey)) == EVP_PKEY_RSA); ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ In file included from crypto_openssl.c:37:0: crypto_openssl.c:880:46: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ assert(EVP_PKEY_type(EVP_PKEY_id(keypair->pubkey)) == EVP_PKEY_RSA); ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:885:31: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ len = EVP_PKEY_size(keypair->privkey); ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:885:33: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ len = EVP_PKEY_size(keypair->privkey); ^~~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:887:61: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (!EVP_SignFinal(&digest->get_ctx(), buf, &len, keypair->privkey)) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:887:63: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (!EVP_SignFinal(&digest->get_ctx(), buf, &len, keypair->privkey)) { ^~~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:902:4: error: ‘sk_SignerInfo_push’ was not declared in this scope sk_SignerInfo_push(sig->sigData->signerInfo, si); ^~~~~~~~~~~~~~~~~~ crypto_openssl.c:902:4: note: suggested alternative: ‘sk_CMS_SignerInfo_push’ sk_SignerInfo_push(sig->sigData->signerInfo, si); ^~~~~~~~~~~~~~~~~~ sk_CMS_SignerInfo_push crypto_openssl.c: In function ‘CRYPTO_SESSION* crypto_session_new(crypto_cipher_t, alist*)’: crypto_openssl.c:1152:65: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ ri->subjectKeyIdentifier = M_ASN1_OCTET_STRING_dup(keypair->keyid); ^ crypto_openssl.c:197:100: note: in definition of macro ‘M_ASN1_OCTET_STRING_dup’ TRING_dup(a) (ASN1_OCTET_STRING *) ASN1_STRING_dup((const ASN1_STRING *)a) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:1152:67: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ ri->subjectKeyIdentifier = M_ASN1_OCTET_STRING_dup(keypair->keyid); ^ crypto_openssl.c:197:100: note: in definition of macro ‘M_ASN1_OCTET_STRING_dup’ TRING_dup(a) (ASN1_OCTET_STRING *) ASN1_STRING_dup((const ASN1_STRING *)a) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ In file included from crypto_openssl.c:37:0: crypto_openssl.c:1155:21: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ assert(keypair->pubkey && EVP_PKEY_type(EVP_PKEY_id(keypair->pubkey)) == EVP_PKEY_RSA); ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ In file included from crypto_openssl.c:37:0: crypto_openssl.c:1155:23: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ assert(keypair->pubkey && EVP_PKEY_type(EVP_PKEY_id(keypair->pubkey)) == EVP_PKEY_RSA); ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ In file included from crypto_openssl.c:37:0: crypto_openssl.c:1155:66: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ assert(keypair->pubkey && EVP_PKEY_type(EVP_PKEY_id(keypair->pubkey)) == EVP_PKEY_RSA); ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ In file included from crypto_openssl.c:37:0: crypto_openssl.c:1155:68: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ assert(keypair->pubkey && EVP_PKEY_type(EVP_PKEY_id(keypair->pubkey)) == EVP_PKEY_RSA); ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ In file included from ../lib/lib.h:29:0, from ../include/bareos.h:152, from crypto_openssl.c:27: crypto_openssl.c:1159:59: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ ekey = (unsigned char *)malloc(EVP_PKEY_size(keypair->pubkey)); ^ ../lib/smartall.h:68:55: note: in definition of macro ‘malloc’ #define malloc(x) sm_malloc(__FILE__, __LINE__, (x)) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ In file included from ../lib/lib.h:29:0, from ../include/bareos.h:152, from crypto_openssl.c:27: crypto_openssl.c:1159:61: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ ekey = (unsigned char *)malloc(EVP_PKEY_size(keypair->pubkey)); ^ ../lib/smartall.h:68:55: note: in definition of macro ‘malloc’ #define malloc(x) sm_malloc(__FILE__, __LINE__, (x)) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:1161:91: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ EVP_PKEY_encrypt(ekey, cs->session_key, cs->session_key_len, keypair->pubkey)) <= 0) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:1161:93: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ P_PKEY_encrypt(ekey, cs->session_key, cs->session_key_len, keypair->pubkey)) <= 0) { ^~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:1182:7: error: ‘sk_RecipientInfo_push’ was not declared in this scope sk_RecipientInfo_push(cs->cryptoData->recipientInfo, ri); ^~~~~~~~~~~~~~~~~~~~~ crypto_openssl.c:1182:7: note: suggested alternative: ‘sk_CMS_RecipientInfo_push’ sk_RecipientInfo_push(cs->cryptoData->recipientInfo, ri); ^~~~~~~~~~~~~~~~~~~~~ sk_CMS_RecipientInfo_push crypto_openssl.c: In function ‘crypto_error_t crypto_session_decode(const u_int8_t*, u_int32_t, alist*, CRYPTO_SESSION**)’: crypto_openssl.c:1260:18: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->privkey == NULL) { ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:1260:20: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (keypair->privkey == NULL) { ^~~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:1264:23: error: ‘sk_RecipientInfo_num’ was not declared in this scope for (i = 0; i < sk_RecipientInfo_num(recipients); i++) { ^~~~~~~~~~~~~~~~~~~~ crypto_openssl.c:1264:23: note: suggested alternative: ‘sk_CMS_RecipientInfo_num’ for (i = 0; i < sk_RecipientInfo_num(recipients); i++) { ^~~~~~~~~~~~~~~~~~~~ sk_CMS_RecipientInfo_num crypto_openssl.c:1265:15: error: ‘sk_RecipientInfo_value’ was not declared in this scope ri = sk_RecipientInfo_value(recipients, i); ^~~~~~~~~~~~~~~~~~~~~~ crypto_openssl.c:1265:15: note: suggested alternative: ‘sk_CMS_RecipientInfo_value’ ri = sk_RecipientInfo_value(recipients, i); ^~~~~~~~~~~~~~~~~~~~~~ sk_CMS_RecipientInfo_value crypto_openssl.c:1268:45: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, ri->subjectKeyIdentifier) == 0) { ^ crypto_openssl.c:196:78: note: in definition of macro ‘M_ASN1_OCTET_STRING_cmp’ _ASN1_OCTET_STRING_cmp(a,b) ASN1_STRING_cmp((const ASN1_STRING *)a,(const ASN1_STRING *)b) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:1268:47: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, ri->subjectKeyIdentifier) == 0) { ^ crypto_openssl.c:196:78: note: in definition of macro ‘M_ASN1_OCTET_STRING_cmp’ _ASN1_OCTET_STRING_cmp(a,b) ASN1_STRING_cmp((const ASN1_STRING *)a,(const ASN1_STRING *)b) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ In file included from crypto_openssl.c:37:0: crypto_openssl.c:1272:53: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ assert(EVP_PKEY_type(EVP_PKEY_id(keypair->privkey)) == EVP_PKEY_RSA); ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ In file included from crypto_openssl.c:37:0: crypto_openssl.c:1272:55: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ assert(EVP_PKEY_type(EVP_PKEY_id(keypair->privkey)) == EVP_PKEY_RSA); ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ In file included from ../lib/lib.h:29:0, from ../include/bareos.h:152, from crypto_openssl.c:27: crypto_openssl.c:1283:76: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ cs->session_key = (unsigned char *)malloc(EVP_PKEY_size(keypair->privkey)); ^ ../lib/smartall.h:68:55: note: in definition of macro ‘malloc’ #define malloc(x) sm_malloc(__FILE__, __LINE__, (x)) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ In file included from ../lib/lib.h:29:0, from ../include/bareos.h:152, from crypto_openssl.c:27: crypto_openssl.c:1283:78: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ cs->session_key = (unsigned char *)malloc(EVP_PKEY_size(keypair->privkey)); ^ ../lib/smartall.h:68:55: note: in definition of macro ‘malloc’ #define malloc(x) sm_malloc(__FILE__, __LINE__, (x)) ^ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:1285:82: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ M_ASN1_STRING_length(ri->encryptedKey), keypair->privkey); ^~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ crypto_openssl.c:1285:84: error: invalid use of incomplete type ‘X509_KEYPAIR {aka struct X509_Keypair}’ M_ASN1_STRING_length(ri->encryptedKey), keypair->privkey); ^~~~~~~ In file included from ../lib/lib.h:37:0, from ../include/bareos.h:152, from crypto_openssl.c:27: ../lib/crypto.h:31:16: note: forward declaration of ‘X509_KEYPAIR {aka struct X509_Keypair}’ typedef struct X509_Keypair X509_KEYPAIR; ^~~~~~~~~~~~ make[1]: *** [Makefile:226: crypto_openssl.lo] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7/src/lib' make: *** [GNUmakefile:165: src/lib] Error 2 * ERROR: app-backup/bareos-16.2.7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-backup/bareos-16.2.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-backup/bareos-16.2.7::gentoo'`. * The complete build log is located at '/var/log/portage/app-backup:bareos-16.2.7:20171211-010955.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-backup/bareos-16.2.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-backup/bareos-16.2.7/temp/environment'. * Working directory: '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7' * S: '/var/tmp/portage/app-backup/bareos-16.2.7/work/bareos-Release-16.2.7'