Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1251557 Details for
Bug 1423268
bacula2: FTBFS in rawhide
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
<fdopen> (text/plain), 104.05 KB, created by
Fedora Release Engineering
on 2017-02-17 03:24:41 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2017-02-17 03:24:41 UTC
Size:
104.05 KB
patch
obsolete
>Mock Version: 1.3.3 >Mock Version: 1.3.3 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/bacula2.spec'], user='mockbuild'printOutput=FalsechrootPath='/var/lib/mock/f26-build-7597540-694090/root'timeout=172800logger=<mockbuild.trace_decorator.getLog object at 0x3fff85702358>gid=425env={'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash'}shell=Falseuid=1000) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/bacula2.spec'] with env {'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash'} and shell False >Building target platforms: ppc64 >Building for target ppc64 >Wrote: /builddir/build/SRPMS/bacula2-2.4.4-23.fc26.src.rpm >Child return code was: 0 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/bacula2.spec'], user='mockbuild'printOutput=FalsechrootPath='/var/lib/mock/f26-build-7597540-694090/root'timeout=172800logger=<mockbuild.trace_decorator.getLog object at 0x3fff85702358>private_network=Truegid=425env={'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash'}shell=Falseuid=1000) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/bacula2.spec'] with env {'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash'} and shell False >Building target platforms: ppc64 >Building for target ppc64 >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8lc8A1 >+ umask 022 >+ cd /builddir/build/BUILD >+ cd /builddir/build/BUILD >+ rm -rf bacula-2.4.4 >+ /usr/bin/gzip -dc /builddir/build/SOURCES/bacula-2.4.4.tar.gz >+ /usr/bin/tar -xof - >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd bacula-2.4.4 >+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . >+ echo 'Patch #0 (bacula2-2.4.4-utf8.patch):' >Patch #0 (bacula2-2.4.4-utf8.patch): >+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 >patching file examples/conf/m4.email >patching file examples/nagios/nagios.txt >Patch #1 (bacula2-config.patch): >+ echo 'Patch #1 (bacula2-config.patch):' >+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 >patching file src/gnome2-console/bgnome-console.conf.in >patching file src/dird/bacula-dir.conf.in >patching file src/filed/bacula-fd.conf.in >patching file src/stored/bacula-sd.conf.in >patching file src/wx-console/bwx-console.conf.in >patching file src/tray-monitor/tray-monitor.conf.in >patching file src/qt-console/bat.conf.in >patching file src/stored/stored.conf.in >Patch #2 (bacula2-3.0.2-openssl.patch): >+ echo 'Patch #2 (bacula2-3.0.2-openssl.patch):' >+ /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 >patching file src/lib/crypto.c >patching file src/lib/tls.c >Hunk #1 succeeded at 316 (offset 1 line). >+ echo 'Patch #3 (bacula2-2.4.4-python27.patch):' >Patch #3 (bacula2-2.4.4-python27.patch): >+ /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 >patching file configure >Patch #5 (bacula-2.4.4-non-free-code.patch): >+ echo 'Patch #5 (bacula-2.4.4-non-free-code.patch):' >+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 >patching file src/lib/lib.h >patching file src/lib/Makefile.in >patching file src/lib/sha1.c >patching file src/lib/sha1.h >+ find examples -type f >+ xargs chmod -x >+ find updatedb -type f >+ xargs chmod -x >+ chmod -x src/console/conio.c >+ exit 0 >Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X5iMGi >+ umask 022 >+ cd /builddir/build/BUILD >+ cd bacula-2.4.4 >++ echo -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 >++ sed s/-D_FORTIFY_SOURCE=./-U_FORTIFY_SOURCE/ >+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64' >+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64' >+ export CFLAGS >+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64' >+ export CXXFLAGS >+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -I/usr/lib64/gfortran/modules' >+ export FFLAGS >+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -I/usr/lib64/gfortran/modules' >+ export FCFLAGS >+ LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' >+ export LDFLAGS >+ '[' 1 = 1 ']' >+++ dirname ./configure >++ find . -name config.guess -o -name config.sub >+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) >++ basename ./autoconf/config.guess >+ '[' -f /usr/lib/rpm/redhat/config.guess ']' >+ /usr/bin/rm -f ./autoconf/config.guess >++ basename ./autoconf/config.guess >+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./autoconf/config.guess >'/usr/lib/rpm/redhat/config.guess' -> './autoconf/config.guess' >+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) >++ basename ./autoconf/config.sub >+ '[' -f /usr/lib/rpm/redhat/config.sub ']' >+ /usr/bin/rm -f ./autoconf/config.sub >++ basename ./autoconf/config.sub >+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./autoconf/config.sub >'/usr/lib/rpm/redhat/config.sub' -> './autoconf/config.sub' >+ '[' 1 = 1 ']' >+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' >++ find . -name ltmain.sh >+ ./configure --build=ppc64-redhat-linux-gnu --host=ppc64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc/bacula2 --with-fd-user=root --with-fd-group=root --with-fd-password=@@FD_PASSWORD@@ --with-mon-dir-password=@@MON_DIR_PASSWORD@@ --with-mon-fd-password=@@MON_FD_PASSWORD@@ --with-mon-sd-password=@@MON_SD_PASSWORD@@ --with-working-dir=/var/spool/bacula2 --with-scriptdir=/usr/libexec/bacula2 --with-smtp-host=localhost --with-subsys-dir=/var/lock/subsys --with-pid-dir=/var/run --enable-client-only --enable-largefile --with-openssl --with-tcp-wrappers --with-python --enable-smartalloc >checking for true... /usr/bin/true >checking for false... /usr/bin/false >configuring for bacula 2.4.4 (28 December 2008) >checking for ppc64-redhat-linux-gnu-gcc... no >checking for gcc... gcc >checking for C compiler default output file name... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether gcc accepts -g... yes >checking for gcc option to accept ISO C89... none needed >checking for ppc64-redhat-linux-gnu-g++... no >checking for ppc64-redhat-linux-gnu-c++... no >checking for ppc64-redhat-linux-gnu-gpp... no >checking for ppc64-redhat-linux-gnu-aCC... no >checking for ppc64-redhat-linux-gnu-CC... no >checking for ppc64-redhat-linux-gnu-cxx... no >checking for ppc64-redhat-linux-gnu-cc++... no >checking for ppc64-redhat-linux-gnu-cl.exe... no >checking for ppc64-redhat-linux-gnu-FCC... no >checking for ppc64-redhat-linux-gnu-KCC... no >checking for ppc64-redhat-linux-gnu-RCC... no >checking for ppc64-redhat-linux-gnu-xlC_r... no >checking for ppc64-redhat-linux-gnu-xlC... no >checking for g++... g++ >checking whether we are using the GNU C++ compiler... yes >checking whether g++ accepts -g... yes >checking whether gcc and cc understand -c and -o together... yes >checking how to run the C preprocessor... gcc -E >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking whether gcc needs -traditional... no >checking for g++... /usr/bin/g++ >checking for a BSD-compatible install... /usr/bin/install -c >checking for ppc64-redhat-linux-gnu-ranlib... no >checking for ranlib... ranlib >checking for mv... /usr/bin/mv >checking for rm... /usr/bin/rm >checking for cp... /usr/bin/cp >checking for sed... /usr/bin/sed >checking for echo... /usr/bin/echo >checking for cmp... /usr/bin/cmp >checking for tbl... tbl >checking for ar... /usr/bin/ar >checking for openssl... none >checking for mtx... mtx >checking for dd... /usr/bin/dd >checking for mkisofs... mkisofs >checking for python... /usr/bin/python >checking for growisofs... growisofs >checking for dvd+rw-mediainfo... dvd+rw-mediainfo >checking for dvd+rw-format... dvd+rw-format >checking for pkg-config... /usr/bin/pkg-config >checking for qmake... none >checking for qmake-qt4... none >checking for wx-config... wx-config >checking for cdrecord... cdrecord >checking for pidof... pidof >checking for gawk... gawk >checking for gawk... /usr/bin/gawk >checking build system type... powerpc64-redhat-linux-gnu >checking host system type... powerpc64-redhat-linux-gnu >checking for Operating System Distribution... done >checking whether make sets $(MAKE)... yes >checking whether NLS is requested... yes >checking for msgfmt... no >checking for gmsgfmt... : >checking for xgettext... no >checking for msgmerge... no >checking for ld used by GCC... /usr/bin/ld >checking if the linker (/usr/bin/ld) is GNU ld... yes >checking for shared library run path origin... done >checking for CFPreferencesCopyAppValue... no >checking for CFLocaleCopyCurrent... no >checking whether NLS is requested... yes >checking for GNU gettext in libc... yes >checking whether to use NLS... yes >checking where the gettext function comes from... libc >checking for msgfmt... (cached) : >checking termcap.h usability... no >checking termcap.h presence... no >checking for termcap.h... no >checking curses.h usability... no >checking curses.h presence... no >checking for curses.h... no >checking for term.h... no > >Required libraries not found. CONIO turned off ... > >checking /usr/include/readline/readline.h usability... no >checking /usr/include/readline/readline.h presence... no >checking for /usr/include/readline/readline.h... no >checking /builddir/build/BUILD/depkgs/readline/readline.h usability... no >checking /builddir/build/BUILD/depkgs/readline/readline.h presence... no >checking for /builddir/build/BUILD/depkgs/readline/readline.h... no > >readline.h not found. readline turned off ... > >checking whether stat file-mode macros are broken... no >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for strcasecmp... yes >checking for select... yes >checking for setenv... yes >checking for putenv... yes >checking for tcgetattr... yes >checking for lstat... yes >checking for lchown... 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 Python support... yes >configure: checking for more Python libs >checking for library containing shm_open... -lrt >checking for openpty in -lutil... yes >checking for socket... yes >using libc's socket >checking for libwrap... checking for library containing nanosleep... none required >yes >checking for OpenSSL... yes >checking for library containing dlopen... -ldl >autoconf/randpass: line 21: ps: command not found >autoconf/randpass: line 26: bc: command not found >autoconf/randpass: line 21: ps: command not found >autoconf/randpass: line 26: bc: command not found >checking for PostgreSQL support... no >checking for MySQL support... checking for SQLite3 support... no >checking for SQLite support... no >nm: 'a.out': No such file >checking for ppc64-redhat-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... no >checking assert.h usability... yes >checking assert.h presence... yes >checking for assert.h... yes >checking fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking grp.h usability... yes >checking grp.h presence... yes >checking for grp.h... yes >checking pwd.h usability... yes >checking pwd.h presence... yes >checking for pwd.h... yes >checking libc.h usability... no >checking libc.h presence... no >checking for libc.h... no >checking limits.h usability... yes >checking limits.h presence... yes >checking for limits.h... yes >checking stdarg.h usability... yes >checking stdarg.h presence... yes >checking for stdarg.h... yes >checking stdlib.h usability... yes >checking stdlib.h presence... yes >checking for stdlib.h... yes >checking stdint.h usability... yes >checking stdint.h presence... yes >checking for stdint.h... yes >checking string.h usability... yes >checking string.h presence... yes >checking for string.h... yes >checking strings.h usability... yes >checking strings.h presence... yes >checking for strings.h... yes >checking termios.h usability... yes >checking termios.h presence... yes >checking for termios.h... yes >checking for termcap.h... (cached) no >checking for term.h... (cached) no >checking unistd.h usability... yes >checking unistd.h presence... yes >checking for unistd.h... 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 sys/stat.h usability... yes >checking sys/stat.h presence... yes >checking for sys/stat.h... yes >checking sys/time.h usability... yes >checking sys/time.h presence... yes >checking for sys/time.h... yes >checking sys/types.h usability... yes >checking sys/types.h presence... yes >checking for sys/types.h... yes >checking arpa/nameser.h usability... yes >checking arpa/nameser.h presence... yes >checking for arpa/nameser.h... yes >checking resolv.h usability... yes >checking resolv.h presence... yes >checking for resolv.h... yes >checking mtio.h usability... no >checking mtio.h presence... no >checking for mtio.h... no >checking sys/mtio.h usability... yes >checking sys/mtio.h presence... yes >checking for sys/mtio.h... yes >checking sys/tape.h usability... no >checking sys/tape.h presence... no >checking for sys/tape.h... no >checking regex.h usability... yes >checking regex.h presence... yes >checking for regex.h... yes >checking for ANSI C header files... yes >checking whether sys/types.h defines makedev... yes >checking for dirent.h that defines DIR... (cached) yes >checking for library containing opendir... (cached) none required >checking whether stat file-mode macros are broken... (cached) no >checking for sys/wait.h that is POSIX.1 compatible... 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 bigendian... yes >checking for typeof... yes >checking for an ANSI C-conforming const... yes >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 ino_t... yes >checking for dev_t... yes >checking for daddr_t... yes >checking for major_t... no >checking for minor_t... no >checking for ssize_t... yes >checking for struct stat.st_blocks... (cached) yes >checking for struct stat.st_rdev... yes >checking whether struct tm is in sys/time.h or time.h... (cached) time.h >checking for an ANSI C-conforming const... (cached) yes >checking for char... yes >checking size of char... 1 >checking for short int... yes >checking size of short int... 2 >checking for int... yes >checking size of int... 4 >checking for long int... yes >checking size of long int... 8 >checking for long long int... yes >checking size of long long int... 8 >checking for int *... yes >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 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 >checking for gethostbyname_r... (cached) yes >using libc's resolver >checking for inet_pton... yes >checking for inet_ntop... yes >checking for gethostbyname2... yes >checking for struct sockaddr has a sa_len field... no >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 whether closedir returns void... no >checking whether setpgrp takes no argument... yes >checking for gettext in -lintl... no >checking for getpwnam in -lsun... no >checking zlib.h usability... yes >checking zlib.h presence... yes >checking for zlib.h... yes >checking for deflate in -lz... yes >checking 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 for pthread_create in -lpthread... yes >configure: creating ./config.status >config.status: creating autoconf/Make.common >config.status: creating Makefile >config.status: creating manpages/Makefile >config.status: creating scripts/startmysql >config.status: creating scripts/stopmysql >config.status: creating scripts/btraceback >config.status: creating scripts/startit >config.status: creating scripts/stopit >config.status: creating scripts/bconsole >config.status: creating scripts/gconsole >config.status: creating scripts/bacula >config.status: creating scripts/bacula-ctl-dir >config.status: creating scripts/bacula-ctl-fd >config.status: creating scripts/bacula-ctl-sd >config.status: creating scripts/devel_bacula >config.status: creating scripts/Makefile >config.status: creating scripts/logrotate >config.status: creating scripts/bacula.desktop.gnome1 >config.status: creating scripts/bacula.desktop.gnome2 >config.status: creating scripts/bacula.desktop.gnome1.consolehelper >config.status: creating scripts/bacula.desktop.gnome2.consolehelper >config.status: creating scripts/bacula.desktop.gnome1.xsu >config.status: creating scripts/bacula.desktop.gnome2.xsu >config.status: creating scripts/bgnome-console.console_apps >config.status: creating scripts/mtx-changer >config.status: creating scripts/disk-changer >config.status: creating scripts/dvd-handler >config.status: creating scripts/dvd-simulator >config.status: creating scripts/bacula-tray-monitor.desktop >config.status: creating scripts/logwatch/Makefile >config.status: creating scripts/logwatch/logfile.bacula.conf >config.status: creating scripts/wxconsole.console_apps >config.status: creating scripts/wxconsole.desktop.consolehelper >config.status: creating scripts/wxconsole.desktop.xsu >config.status: creating scripts/bat.desktop >config.status: creating scripts/bat.desktop.xsu >config.status: creating scripts/bat.desktop.consolehelper >config.status: creating scripts/bat.console_apps >config.status: creating src/Makefile >config.status: creating src/host.h >config.status: creating src/console/Makefile >config.status: creating src/console/bconsole.conf >config.status: creating src/gnome2-console/Makefile >config.status: creating src/gnome2-console/bgnome-console.conf >config.status: creating src/qt-console/bat.conf >config.status: creating src/qt-console/bat.pro >config.status: creating src/qt-console/install_conf_file >config.status: creating src/wx-console/Makefile >config.status: creating src/wx-console/bwx-console.conf >config.status: creating src/tray-monitor/Makefile >config.status: creating src/tray-monitor/tray-monitor.conf >config.status: creating src/dird/Makefile >config.status: creating src/dird/bacula-dir.conf >config.status: creating src/lib/Makefile >config.status: creating src/stored/Makefile >config.status: creating src/stored/bacula-sd.conf >config.status: creating src/filed/Makefile >config.status: creating src/filed/bacula-fd.conf >config.status: creating src/cats/Makefile >config.status: creating src/cats/make_catalog_backup >config.status: creating src/cats/delete_catalog_backup >config.status: creating src/cats/create_postgresql_database >config.status: creating src/cats/update_postgresql_tables >config.status: creating src/cats/make_postgresql_tables >config.status: creating src/cats/grant_postgresql_privileges >config.status: creating src/cats/drop_postgresql_tables >config.status: creating src/cats/drop_postgresql_database >config.status: creating src/cats/create_mysql_database >config.status: creating src/cats/update_mysql_tables >config.status: creating src/cats/make_mysql_tables >config.status: creating src/cats/grant_mysql_privileges >config.status: creating src/cats/drop_mysql_tables >config.status: creating src/cats/drop_mysql_database >config.status: creating src/cats/create_sqlite_database >config.status: creating src/cats/update_sqlite_tables >config.status: creating src/cats/make_sqlite_tables >config.status: creating src/cats/grant_sqlite_privileges >config.status: creating src/cats/drop_sqlite_tables >config.status: creating src/cats/drop_sqlite_database >config.status: creating src/cats/create_sqlite3_database >config.status: creating src/cats/update_sqlite3_tables >config.status: creating src/cats/make_sqlite3_tables >config.status: creating src/cats/grant_sqlite3_privileges >config.status: creating src/cats/drop_sqlite3_tables >config.status: creating src/cats/drop_sqlite3_database >config.status: creating src/cats/sqlite >config.status: creating src/cats/mysql >config.status: creating src/cats/create_bdb_database >config.status: creating src/cats/update_bdb_tables >config.status: creating src/cats/make_bdb_tables >config.status: creating src/cats/grant_bdb_privileges >config.status: creating src/cats/drop_bdb_tables >config.status: creating src/cats/drop_bdb_database >config.status: creating src/cats/create_bacula_database >config.status: creating src/cats/update_bacula_tables >config.status: creating src/cats/grant_bacula_privileges >config.status: creating src/cats/make_bacula_tables >config.status: creating src/cats/drop_bacula_tables >config.status: creating src/cats/drop_bacula_database >config.status: creating src/findlib/Makefile >config.status: creating src/tools/Makefile >config.status: creating po/Makefile.in >config.status: creating platforms/Makefile >config.status: creating platforms/redhat/Makefile >config.status: creating platforms/redhat/bacula-fd >config.status: creating platforms/redhat/bacula-sd >config.status: creating platforms/redhat/bacula-dir >config.status: creating platforms/redhat/bacula.spec >config.status: creating src/config.h >config.status: executing default-1 commands >config.status: creating po/POTFILES >config.status: creating po/Makefile >config.status: executing default commands >Doing make of dependencies >==>Entering directory /builddir/build/BUILD/bacula-2.4.4/src >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src' >make[1]: Nothing to be done for 'depend'. >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src' >==>Entering directory /builddir/build/BUILD/bacula-2.4.4/scripts >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/scripts' >make[1]: 'depend' is up to date. >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/scripts' >==>Entering directory /builddir/build/BUILD/bacula-2.4.4/src/lib >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src/lib' >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src/lib' >==>Entering directory /builddir/build/BUILD/bacula-2.4.4/src/findlib >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src/findlib' >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src/findlib' >==>Entering directory /builddir/build/BUILD/bacula-2.4.4/src/filed >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src/filed' >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src/filed' >==>Entering directory /builddir/build/BUILD/bacula-2.4.4/src/console >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src/console' >conio.c:82:10: fatal error: termcap.h: No such file or directory > #include <termcap.h> > ^~~~~~~~~~~ >compilation terminated. >make[1]: *** [Makefile:205: depend] Error 1 >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src/console' >==>Entering directory /builddir/build/BUILD/bacula-2.4.4/manpages >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/manpages' >make[1]: Nothing to be done for 'depend'. >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/manpages' >Configuration on Fri Feb 10 14:24:49 UTC 2017: > Host: powerpc64-redhat-linux-gnu -- redhat > Bacula version: 2.4.4 (28 December 2008) > Source code location: . > Install binaries: /usr/sbin > Install config files: /etc/bacula2 > Scripts directory: /usr/libexec/bacula2 > Archive directory: > Working directory: /var/spool/bacula2 > PID directory: /var/run > Subsys directory: /var/lock/subsys > Man directory: /usr/share/man > Data directory: /usr/share > C Compiler: gcc 7.0.1 > C++ Compiler: /usr/bin/g++ 7.0.1 > Compiler flags: -O2 -g -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -fno-strict-aliasing -fno-exceptions -fno-rtti > Linker flags: -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld > Libraries: -lpthread -ldl > Statically Linked Tools: no > Statically Linked FD: no > Statically Linked SD: no > Statically Linked DIR: no > Statically Linked CONS: no > Database type: None > Database lib: > Database name: bacula > Database user: bacula > Job Output Email: root@localhost > Traceback Email: root@localhost > SMTP Host Address: localhost > Director Port: 9101 > File daemon Port: 9102 > Storage daemon Port: 9103 > Director User: > Director Group: > Storage Daemon User: > Storage DaemonGroup: > File Daemon User: root > File Daemon Group: root > SQL binaries Directory > Large file support: yes > Bacula conio support: no > readline support: no > TCP Wrappers support: yes -lwrap > TLS support: yes > Encryption support: yes > ZLIB support: yes > enable-smartalloc: yes > bat support: no > enable-gnome: no > enable-bwx-console: no > enable-tray-monitor: > client-only: yes > build-dird: yes > build-stored: yes > ACL support: yes > Python support: yes -L/usr/lib64/python2.7/config -lpython2.7 -lutil -lrt > Batch insert enabled: no > >+ /usr/bin/make -j4 >==>Entering directory /builddir/build/BUILD/bacula-2.4.4/src >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src' >make[1]: Nothing to be done for 'all'. >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src' >==>Entering directory /builddir/build/BUILD/bacula-2.4.4/scripts >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/scripts' >make[1]: Nothing to be done for 'all'. >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/scripts' >==>Entering directory /builddir/build/BUILD/bacula-2.4.4/src/lib >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src/lib' >Compiling attr.c >Compiling base64.c >Compiling berrno.c >Compiling bsys.c >Compiling bget_msg.c >Compiling bnet.c >Compiling bnet_server.c >Compiling runscript.c >Compiling bsock.c >Compiling bpipe.c >Compiling bsnprintf.c >Compiling btime.c >bsnprintf.c: In function 'int bvsnprintf(char*, int32_t, const char*, va_list)': >bsnprintf.c:349:25: warning: variable 'num' set but not used [-Wunused-but-set-variable] > int16_t *num; > ^~~ >bsnprintf.c:355:25: warning: variable 'num' set but not used [-Wunused-but-set-variable] > int32_t *num; > ^~~ >bsnprintf.c:361:25: warning: variable 'num' set but not used [-Wunused-but-set-variable] > int64_t *num; > ^~~ >bsnprintf.c:367:25: warning: variable 'num' set but not used [-Wunused-but-set-variable] > int32_t *num; > ^~~ >Compiling cram-md5.c >Compiling crc32.c >Compiling crypto.c >Compiling daemon.c >Compiling edit.c >Compiling enh_fnmatch.c >crypto.c:201:1: error: expected constructor, destructor, or type conversion before 'IMPLEMENT_STACK_OF' > IMPLEMENT_STACK_OF(RecipientInfo) > ^~~~~~~~~~~~~~~~~~ >crypto.c:278:15: error: field 'ctx' has incomplete type 'EVP_MD_CTX {aka evp_md_ctx_st}' > EVP_MD_CTX ctx; > ^~~ >In file included from /usr/include/openssl/crypto.h:31:0, > from /usr/include/openssl/comp.h:16, > from /usr/include/openssl/ssl.h:47, > from ../bacula.h:144, > from crypto.c:48: >/usr/include/openssl/ossl_typ.h:92:16: note: forward declaration of 'EVP_MD_CTX {aka struct evp_md_ctx_st}' > typedef struct evp_md_ctx_st EVP_MD_CTX; > ^~~~~~~~~~~~~ >crypto.c:296:19: error: field 'ctx' has incomplete type 'EVP_CIPHER_CTX {aka evp_cipher_ctx_st}' > EVP_CIPHER_CTX ctx; > ^~~ >In file included from /usr/include/openssl/crypto.h:31:0, > from /usr/include/openssl/comp.h:16, > from /usr/include/openssl/ssl.h:47, > from ../bacula.h:144, > from crypto.c:48: >/usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}' > typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; > ^~~~~~~~~~~~~~~~~ >crypto.c: In function 'ASN1_OCTET_STRING* openssl_cert_keyid(X509*)': >crypto.c:341:24: error: invalid use of incomplete type 'X509_EXTENSION {aka struct X509_extension_st}' > ext_value_data = ext->value->data; > ^~ >In file included from /usr/include/openssl/ssl.h:50:0, > from ../bacula.h:144, > from crypto.c:48: >/usr/include/openssl/x509.h:79:16: note: forward declaration of 'X509_EXTENSION {aka struct X509_extension_st}' > typedef struct X509_extension_st X509_EXTENSION; > ^~~~~~~~~~~~~~~~~ >crypto.c:348:77: error: invalid use of incomplete type 'X509_EXTENSION {aka struct X509_extension_st}' > keyid = (ASN1_OCTET_STRING *) ASN1_item_d2i(NULL, &ext_value_data, ext->value->length, > ^~ >In file included from /usr/include/openssl/ssl.h:50:0, > from ../bacula.h:144, > from crypto.c:48: >/usr/include/openssl/x509.h:79:16: note: forward declaration of 'X509_EXTENSION {aka struct X509_extension_st}' > typedef struct X509_extension_st X509_EXTENSION; > ^~~~~~~~~~~~~~~~~ >crypto.c:354:75: error: invalid use of incomplete type 'X509_EXTENSION {aka struct X509_extension_st}' > keyid = (ASN1_OCTET_STRING *) method->d2i(NULL, &ext_value_data, ext->value->length); > ^~ >In file included from /usr/include/openssl/ssl.h:50:0, > from ../bacula.h:144, > from crypto.c:48: >/usr/include/openssl/x509.h:79:16: note: forward declaration of 'X509_EXTENSION {aka struct X509_extension_st}' > typedef struct X509_extension_st X509_EXTENSION; > ^~~~~~~~~~~~~~~~~ >In file included from ../lib/lib.h:38:0, > from ../bacula.h:164, > from crypto.c:48: >crypto.c: In function 'X509_KEYPAIR* crypto_keypair_new()': >crypto.c:374:56: error: invalid application of 'sizeof' to incomplete type 'X509_KEYPAIR {aka X509_Keypair}' > keypair = (X509_KEYPAIR *)malloc(sizeof(X509_KEYPAIR)); > ^ >../lib/smartall.h:74:55: note: in definition of macro 'malloc' > #define malloc(x) sm_malloc(__FILE__, __LINE__, (x)) > ^ >crypto.c:377:11: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > keypair->keyid = NULL; > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:378:11: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > keypair->pubkey = NULL; > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:379:11: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > keypair->privkey = NULL; > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c: In function 'X509_KEYPAIR* crypto_keypair_dup(X509_KEYPAIR*)': >crypto.c:402:15: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (keypair->pubkey) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:403:27: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > CRYPTO_add(&(keypair->pubkey->references), 1, CRYPTO_LOCK_EVP_PKEY); > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:403:53: error: 'CRYPTO_LOCK_EVP_PKEY' was not declared in this scope > CRYPTO_add(&(keypair->pubkey->references), 1, CRYPTO_LOCK_EVP_PKEY); > ^~~~~~~~~~~~~~~~~~~~ >crypto.c:403:53: note: suggested alternative: 'CRYPTO_LOCK' > CRYPTO_add(&(keypair->pubkey->references), 1, CRYPTO_LOCK_EVP_PKEY); > ^~~~~~~~~~~~~~~~~~~~ > CRYPTO_LOCK >crypto.c:403:7: error: 'CRYPTO_add' was not declared in this scope > CRYPTO_add(&(keypair->pubkey->references), 1, CRYPTO_LOCK_EVP_PKEY); > ^~~~~~~~~~ >crypto.c:403:7: note: suggested alternative: 'CRYPTO_ONCE' > CRYPTO_add(&(keypair->pubkey->references), 1, CRYPTO_LOCK_EVP_PKEY); > ^~~~~~~~~~ > CRYPTO_ONCE >crypto.c:404:14: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > newpair->pubkey = keypair->pubkey; > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:404:32: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > newpair->pubkey = keypair->pubkey; > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:408:15: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (keypair->privkey) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:409:27: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > CRYPTO_add(&(keypair->privkey->references), 1, CRYPTO_LOCK_EVP_PKEY); > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:409:54: error: 'CRYPTO_LOCK_EVP_PKEY' was not declared in this scope > CRYPTO_add(&(keypair->privkey->references), 1, CRYPTO_LOCK_EVP_PKEY); > ^~~~~~~~~~~~~~~~~~~~ >crypto.c:409:54: note: suggested alternative: 'CRYPTO_LOCK' > CRYPTO_add(&(keypair->privkey->references), 1, CRYPTO_LOCK_EVP_PKEY); > ^~~~~~~~~~~~~~~~~~~~ > CRYPTO_LOCK >crypto.c:409:7: error: 'CRYPTO_add' was not declared in this scope > CRYPTO_add(&(keypair->privkey->references), 1, CRYPTO_LOCK_EVP_PKEY); > ^~~~~~~~~~ >crypto.c:409:7: note: suggested alternative: 'CRYPTO_ONCE' > CRYPTO_add(&(keypair->privkey->references), 1, CRYPTO_LOCK_EVP_PKEY); > ^~~~~~~~~~ > CRYPTO_ONCE >crypto.c:410:14: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > newpair->privkey = keypair->privkey; > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:410:33: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > newpair->privkey = keypair->privkey; > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:414:15: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (keypair->keyid) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:415: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:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:415:55: 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:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:415:24: error: 'M_ASN1_OCTET_STRING_dup' was not declared in this scope > newpair->keyid = M_ASN1_OCTET_STRING_dup(keypair->keyid); > ^~~~~~~~~~~~~~~~~~~~~~~ >Compiling fnmatch.c >crypto.c:415:24: note: suggested alternative: 'ASN1_OCTET_STRING_dup' > newpair->keyid = M_ASN1_OCTET_STRING_dup(keypair->keyid); > ^~~~~~~~~~~~~~~~~~~~~~~ > ASN1_OCTET_STRING_dup >crypto.c:416:19: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (!newpair->keyid) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c: In function 'int crypto_keypair_load_cert(X509_KEYPAIR*, const char*)': >crypto.c:451: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:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:457: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:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:464:29: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (EVP_PKEY_type(keypair->pubkey->type) != EVP_PKEY_RSA) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >In file included from ../bacula.h:163:0, > from crypto.c:48: >crypto.c:466:77: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > _("Unsupported key type provided: %d\n"), EVP_PKEY_type(keypair->pubkey->type)); > ^ >../baconfig.h:499:93: note: in definition of macro 'Jmsg1' > #define Jmsg1(jcr, typ, lvl, msg, a1) j_msg(__FILE__, __LINE__, jcr, typ, lvl, msg, a1) > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:475:15: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (keypair->pubkey) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:476: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:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c: In function 'int crypto_keypair_load_key(X509_KEYPAIR*, const char*, int (*)(char*, int, const void*), const void*)': >crypto.c:564: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:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:566:16: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (!keypair->privkey) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c: In function 'void crypto_keypair_free(X509_KEYPAIR*)': >crypto.c:579:15: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (keypair->pubkey) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:580: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:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:582:15: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (keypair->privkey) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:583: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:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:585:15: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (keypair->keyid) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:586:39: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > M_ASN1_OCTET_STRING_free(keypair->keyid); > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:586:7: error: 'M_ASN1_OCTET_STRING_free' was not declared in this scope > M_ASN1_OCTET_STRING_free(keypair->keyid); > ^~~~~~~~~~~~~~~~~~~~~~~~ >crypto.c:586:7: note: suggested alternative: 'ASN1_OCTET_STRING_free' > M_ASN1_OCTET_STRING_free(keypair->keyid); > ^~~~~~~~~~~~~~~~~~~~~~~~ > ASN1_OCTET_STRING_free >crypto.c: In function 'void crypto_digest_free(DIGEST*)': >crypto.c:684:3: error: 'EVP_MD_CTX_cleanup' was not declared in this scope > EVP_MD_CTX_cleanup(&digest->ctx); > ^~~~~~~~~~~~~~~~~~ >crypto.c:684:3: note: suggested alternative: 'EVP_MD_CTX_create' > EVP_MD_CTX_cleanup(&digest->ctx); > ^~~~~~~~~~~~~~~~~~ > EVP_MD_CTX_create >crypto.c: In function 'crypto_error_t crypto_sign_get_digest(SIGNATURE*, X509_KEYPAIR*, crypto_digest_t&, DIGEST**)': >crypto.c:209:52: error: expected primary-expression before ',' token > #define sk_SignerInfo_num(st) SKM_sk_num(SignerInfo, (st)) > ^ >crypto.c:734:20: note: in expansion of macro 'sk_SignerInfo_num' > for (i = 0; i < sk_SignerInfo_num(signers); i++) { > ^~~~~~~~~~~~~~~~~ >crypto.c:209:31: error: 'SKM_sk_num' was not declared in this scope > #define sk_SignerInfo_num(st) SKM_sk_num(SignerInfo, (st)) > ^ >crypto.c:734:20: note: in expansion of macro 'sk_SignerInfo_num' > for (i = 0; i < sk_SignerInfo_num(signers); i++) { > ^~~~~~~~~~~~~~~~~ >crypto.c:209:31: note: suggested alternative: 'sk_num' > #define sk_SignerInfo_num(st) SKM_sk_num(SignerInfo, (st)) > ^ >crypto.c:734:20: note: in expansion of macro 'sk_SignerInfo_num' > for (i = 0; i < sk_SignerInfo_num(signers); i++) { > ^~~~~~~~~~~~~~~~~ >crypto.c:210:59: error: expected primary-expression before ',' token > #define sk_SignerInfo_value(st, i) SKM_sk_value(SignerInfo, (st), (i)) > ^ >crypto.c:735:12: note: in expansion of macro 'sk_SignerInfo_value' > si = sk_SignerInfo_value(signers, i); > ^~~~~~~~~~~~~~~~~~~ >crypto.c:210:36: error: 'SKM_sk_value' was not declared in this scope > #define sk_SignerInfo_value(st, i) SKM_sk_value(SignerInfo, (st), (i)) > ^ >crypto.c:735:12: note: in expansion of macro 'sk_SignerInfo_value' > si = sk_SignerInfo_value(signers, i); > ^~~~~~~~~~~~~~~~~~~ >crypto.c:210:36: note: suggested alternative: 'sk_value' > #define sk_SignerInfo_value(st, i) SKM_sk_value(SignerInfo, (st), (i)) > ^ >crypto.c:735:12: note: in expansion of macro 'sk_SignerInfo_value' > si = sk_SignerInfo_value(signers, i); > ^~~~~~~~~~~~~~~~~~~ >crypto.c:736:42: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, si->subjectKeyIdentifier) == 0) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:736:11: error: 'M_ASN1_OCTET_STRING_cmp' was not declared in this scope > if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, si->subjectKeyIdentifier) == 0) { > ^~~~~~~~~~~~~~~~~~~~~~~ >crypto.c:736:11: note: suggested alternative: 'ASN1_OCTET_STRING_cmp' > if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, si->subjectKeyIdentifier) == 0) { > ^~~~~~~~~~~~~~~~~~~~~~~ > ASN1_OCTET_STRING_cmp >crypto.c: In function 'crypto_error_t crypto_sign_verify(SIGNATURE*, X509_KEYPAIR*, DIGEST*)': >crypto.c:209:52: error: expected primary-expression before ',' token > #define sk_SignerInfo_num(st) SKM_sk_num(SignerInfo, (st)) > ^ >crypto.c:804:20: note: in expansion of macro 'sk_SignerInfo_num' > for (i = 0; i < sk_SignerInfo_num(signers); i++) { > ^~~~~~~~~~~~~~~~~ >crypto.c:209:31: error: 'SKM_sk_num' was not declared in this scope > #define sk_SignerInfo_num(st) SKM_sk_num(SignerInfo, (st)) > ^ >crypto.c:804:20: note: in expansion of macro 'sk_SignerInfo_num' > for (i = 0; i < sk_SignerInfo_num(signers); i++) { > ^~~~~~~~~~~~~~~~~ >crypto.c:209:31: note: suggested alternative: 'sk_num' > #define sk_SignerInfo_num(st) SKM_sk_num(SignerInfo, (st)) > ^ >crypto.c:804:20: note: in expansion of macro 'sk_SignerInfo_num' > for (i = 0; i < sk_SignerInfo_num(signers); i++) { > ^~~~~~~~~~~~~~~~~ >crypto.c:210:59: error: expected primary-expression before ',' token > #define sk_SignerInfo_value(st, i) SKM_sk_value(SignerInfo, (st), (i)) > ^ >crypto.c:805:12: note: in expansion of macro 'sk_SignerInfo_value' > si = sk_SignerInfo_value(signers, i); > ^~~~~~~~~~~~~~~~~~~ >crypto.c:210:36: error: 'SKM_sk_value' was not declared in this scope > #define sk_SignerInfo_value(st, i) SKM_sk_value(SignerInfo, (st), (i)) > ^ >crypto.c:805:12: note: in expansion of macro 'sk_SignerInfo_value' > si = sk_SignerInfo_value(signers, i); > ^~~~~~~~~~~~~~~~~~~ >crypto.c:210:36: note: suggested alternative: 'sk_value' > #define sk_SignerInfo_value(st, i) SKM_sk_value(SignerInfo, (st), (i)) > ^ >crypto.c:805:12: note: in expansion of macro 'sk_SignerInfo_value' > si = sk_SignerInfo_value(signers, i); > ^~~~~~~~~~~~~~~~~~~ >crypto.c:806:42: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, si->subjectKeyIdentifier) == 0) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:806:11: error: 'M_ASN1_OCTET_STRING_cmp' was not declared in this scope > if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, si->subjectKeyIdentifier) == 0) { > ^~~~~~~~~~~~~~~~~~~~~~~ >crypto.c:806:11: note: suggested alternative: 'ASN1_OCTET_STRING_cmp' > if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, si->subjectKeyIdentifier) == 0) { > ^~~~~~~~~~~~~~~~~~~~~~~ > ASN1_OCTET_STRING_cmp >crypto.c:808:19: error: 'M_ASN1_STRING_length' was not declared in this scope > sigLen = M_ASN1_STRING_length(si->signature); > ^~~~~~~~~~~~~~~~~~~~ >crypto.c:808:19: note: suggested alternative: 'ASN1_STRING_length' > sigLen = M_ASN1_STRING_length(si->signature); > ^~~~~~~~~~~~~~~~~~~~ > ASN1_STRING_length >crypto.c:809:20: error: 'M_ASN1_STRING_data' was not declared in this scope > sigData = M_ASN1_STRING_data(si->signature); > ^~~~~~~~~~~~~~~~~~ >crypto.c:809:20: note: suggested alternative: 'ASN1_STRING_data' > sigData = M_ASN1_STRING_data(si->signature); > ^~~~~~~~~~~~~~~~~~ > ASN1_STRING_data >crypto.c:811:69: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > ok = EVP_VerifyFinal(&digest->ctx, sigData, sigLen, keypair->pubkey); > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c: In function 'int crypto_sign_add_signer(SIGNATURE*, DIGEST*, X509_KEYPAIR*)': >crypto.c:873:4: error: 'M_ASN1_OCTET_STRING_free' was not declared in this scope > M_ASN1_OCTET_STRING_free(si->subjectKeyIdentifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >crypto.c:873:4: note: suggested alternative: 'ASN1_OCTET_STRING_free' > M_ASN1_OCTET_STRING_free(si->subjectKeyIdentifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ > ASN1_OCTET_STRING_free >crypto.c:874:62: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > si->subjectKeyIdentifier = M_ASN1_OCTET_STRING_dup(keypair->keyid); > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:874:31: error: 'M_ASN1_OCTET_STRING_dup' was not declared in this scope > si->subjectKeyIdentifier = M_ASN1_OCTET_STRING_dup(keypair->keyid); > ^~~~~~~~~~~~~~~~~~~~~~~ >Compiling guid_to_name.c >crypto.c:874:31: note: suggested alternative: 'ASN1_OCTET_STRING_dup' > si->subjectKeyIdentifier = M_ASN1_OCTET_STRING_dup(keypair->keyid); > ^~~~~~~~~~~~~~~~~~~~~~~ > ASN1_OCTET_STRING_dup >In file included from crypto.c:50:0: >crypto.c:877:32: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > assert(EVP_PKEY_type(keypair->pubkey->type) == EVP_PKEY_RSA); > ^ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:882: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:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:884:55: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (!EVP_SignFinal(&digest->ctx, buf, &len, keypair->privkey)) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:890:9: error: 'M_ASN1_OCTET_STRING_set' was not declared in this scope > if (!M_ASN1_OCTET_STRING_set(si->signature, buf, len)) { > ^~~~~~~~~~~~~~~~~~~~~~~ >crypto.c:890:9: note: suggested alternative: 'ASN1_OCTET_STRING_set' > if (!M_ASN1_OCTET_STRING_set(si->signature, buf, len)) { > ^~~~~~~~~~~~~~~~~~~~~~~ > ASN1_OCTET_STRING_set >crypto.c:213:59: error: expected primary-expression before ',' token > #define sk_SignerInfo_push(st, val) SKM_sk_push(SignerInfo, (st), (val)) > ^ >crypto.c:899:4: note: in expansion of macro 'sk_SignerInfo_push' > sk_SignerInfo_push(sig->sigData->signerInfo, si); > ^~~~~~~~~~~~~~~~~~ >crypto.c:213:37: error: 'SKM_sk_push' was not declared in this scope > #define sk_SignerInfo_push(st, val) SKM_sk_push(SignerInfo, (st), (val)) > ^ >crypto.c:899:4: note: in expansion of macro 'sk_SignerInfo_push' > sk_SignerInfo_push(sig->sigData->signerInfo, si); > ^~~~~~~~~~~~~~~~~~ >crypto.c:213:37: note: suggested alternative: 'sk_push' > #define sk_SignerInfo_push(st, val) SKM_sk_push(SignerInfo, (st), (val)) > ^ >crypto.c:899:4: note: in expansion of macro 'sk_SignerInfo_push' > sk_SignerInfo_push(sig->sigData->signerInfo, si); > ^~~~~~~~~~~~~~~~~~ >crypto.c: In function 'CRYPTO_SESSION* crypto_session_new(crypto_cipher_t, alist*)': >crypto.c:1071:12: error: 'M_ASN1_OCTET_STRING_set' was not declared in this scope > if (!M_ASN1_OCTET_STRING_set(cs->cryptoData->iv, iv, iv_len)) { > ^~~~~~~~~~~~~~~~~~~~~~~ >Compiling hmac.c >crypto.c:1071:12: note: suggested alternative: 'ASN1_OCTET_STRING_set' > if (!M_ASN1_OCTET_STRING_set(cs->cryptoData->iv, iv, iv_len)) { > ^~~~~~~~~~~~~~~~~~~~~~~ > ASN1_OCTET_STRING_set >crypto.c:1100:7: error: 'M_ASN1_OCTET_STRING_free' was not declared in this scope > M_ASN1_OCTET_STRING_free(ri->subjectKeyIdentifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ >crypto.c:1100:7: note: suggested alternative: 'ASN1_OCTET_STRING_free' > M_ASN1_OCTET_STRING_free(ri->subjectKeyIdentifier); > ^~~~~~~~~~~~~~~~~~~~~~~~ > ASN1_OCTET_STRING_free >crypto.c:1101:65: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > ri->subjectKeyIdentifier = M_ASN1_OCTET_STRING_dup(keypair->keyid); > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:1101:34: error: 'M_ASN1_OCTET_STRING_dup' was not declared in this scope > ri->subjectKeyIdentifier = M_ASN1_OCTET_STRING_dup(keypair->keyid); > ^~~~~~~~~~~~~~~~~~~~~~~ >crypto.c:1101:34: note: suggested alternative: 'ASN1_OCTET_STRING_dup' > ri->subjectKeyIdentifier = M_ASN1_OCTET_STRING_dup(keypair->keyid); > ^~~~~~~~~~~~~~~~~~~~~~~ > ASN1_OCTET_STRING_dup >In file included from crypto.c:50:0: >crypto.c:1104:21: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > assert(keypair->pubkey && EVP_PKEY_type(keypair->pubkey->type) == EVP_PKEY_RSA); > ^ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >In file included from crypto.c:50:0: >crypto.c:1104:54: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > assert(keypair->pubkey && EVP_PKEY_type(keypair->pubkey->type) == EVP_PKEY_RSA); > ^ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >In file included from ../lib/lib.h:38:0, > from ../bacula.h:164, > from crypto.c:48: >crypto.c:1108: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:74:55: note: in definition of macro 'malloc' > #define malloc(x) sm_malloc(__FILE__, __LINE__, (x)) > ^ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:1110:91: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if ((ekey_len = EVP_PKEY_encrypt(ekey, cs->session_key, cs->session_key_len, keypair->pubkey)) <= 0) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:1119:12: error: 'M_ASN1_OCTET_STRING_set' was not declared in this scope > if (!M_ASN1_OCTET_STRING_set(ri->encryptedKey, ekey, ekey_len)) { > ^~~~~~~~~~~~~~~~~~~~~~~ >Compiling jcr.c >crypto.c:1119:12: note: suggested alternative: 'ASN1_OCTET_STRING_set' > if (!M_ASN1_OCTET_STRING_set(ri->encryptedKey, ekey, ekey_len)) { > ^~~~~~~~~~~~~~~~~~~~~~~ > ASN1_OCTET_STRING_set >crypto.c:243:65: error: expected primary-expression before ',' token > #define sk_RecipientInfo_push(st, val) SKM_sk_push(RecipientInfo, (st), (val)) > ^ >crypto.c:1131:7: note: in expansion of macro 'sk_RecipientInfo_push' > sk_RecipientInfo_push(cs->cryptoData->recipientInfo, ri); > ^~~~~~~~~~~~~~~~~~~~~ >crypto.c:243:40: error: 'SKM_sk_push' was not declared in this scope > #define sk_RecipientInfo_push(st, val) SKM_sk_push(RecipientInfo, (st), (val)) > ^ >crypto.c:1131:7: note: in expansion of macro 'sk_RecipientInfo_push' > sk_RecipientInfo_push(cs->cryptoData->recipientInfo, ri); > ^~~~~~~~~~~~~~~~~~~~~ >crypto.c:243:40: note: suggested alternative: 'sk_push' > #define sk_RecipientInfo_push(st, val) SKM_sk_push(RecipientInfo, (st), (val)) > ^ >crypto.c:1131:7: note: in expansion of macro 'sk_RecipientInfo_push' > sk_RecipientInfo_push(cs->cryptoData->recipientInfo, ri); > ^~~~~~~~~~~~~~~~~~~~~ >crypto.c: In function 'crypto_error_t crypto_session_decode(const u_int8_t*, u_int32_t, alist*, CRYPTO_SESSION**)': >crypto.c:1209:18: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (keypair->privkey == NULL) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:239:58: error: expected primary-expression before ',' token > #define sk_RecipientInfo_num(st) SKM_sk_num(RecipientInfo, (st)) > ^ >crypto.c:1213:23: note: in expansion of macro 'sk_RecipientInfo_num' > for (i = 0; i < sk_RecipientInfo_num(recipients); i++) { > ^~~~~~~~~~~~~~~~~~~~ >crypto.c:239:34: error: 'SKM_sk_num' was not declared in this scope > #define sk_RecipientInfo_num(st) SKM_sk_num(RecipientInfo, (st)) > ^ >crypto.c:1213:23: note: in expansion of macro 'sk_RecipientInfo_num' > for (i = 0; i < sk_RecipientInfo_num(recipients); i++) { > ^~~~~~~~~~~~~~~~~~~~ >crypto.c:239:34: note: suggested alternative: 'sk_num' > #define sk_RecipientInfo_num(st) SKM_sk_num(RecipientInfo, (st)) > ^ >crypto.c:1213:23: note: in expansion of macro 'sk_RecipientInfo_num' > for (i = 0; i < sk_RecipientInfo_num(recipients); i++) { > ^~~~~~~~~~~~~~~~~~~~ >crypto.c:240:65: error: expected primary-expression before ',' token > #define sk_RecipientInfo_value(st, i) SKM_sk_value(RecipientInfo, (st), (i)) > ^ >crypto.c:1214:15: note: in expansion of macro 'sk_RecipientInfo_value' > ri = sk_RecipientInfo_value(recipients, i); > ^~~~~~~~~~~~~~~~~~~~~~ >crypto.c:240:39: error: 'SKM_sk_value' was not declared in this scope > #define sk_RecipientInfo_value(st, i) SKM_sk_value(RecipientInfo, (st), (i)) > ^ >crypto.c:1214:15: note: in expansion of macro 'sk_RecipientInfo_value' > ri = sk_RecipientInfo_value(recipients, i); > ^~~~~~~~~~~~~~~~~~~~~~ >crypto.c:240:39: note: suggested alternative: 'sk_value' > #define sk_RecipientInfo_value(st, i) SKM_sk_value(RecipientInfo, (st), (i)) > ^ >crypto.c:1214:15: note: in expansion of macro 'sk_RecipientInfo_value' > ri = sk_RecipientInfo_value(recipients, i); > ^~~~~~~~~~~~~~~~~~~~~~ >crypto.c:1217:45: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, ri->subjectKeyIdentifier) == 0) { > ^~ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:1217:14: error: 'M_ASN1_OCTET_STRING_cmp' was not declared in this scope > if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, ri->subjectKeyIdentifier) == 0) { > ^~~~~~~~~~~~~~~~~~~~~~~ >crypto.c:1217:14: note: suggested alternative: 'ASN1_OCTET_STRING_cmp' > if (M_ASN1_OCTET_STRING_cmp(keypair->keyid, ri->subjectKeyIdentifier) == 0) { > ^~~~~~~~~~~~~~~~~~~~~~~ > ASN1_OCTET_STRING_cmp >In file included from crypto.c:50:0: >crypto.c:1221:41: error: invalid use of incomplete type 'X509_KEYPAIR {aka struct X509_Keypair}' > assert(EVP_PKEY_type(keypair->privkey->type) == EVP_PKEY_RSA); > ^ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >In file included from ../lib/lib.h:38:0, > from ../bacula.h:164, > from crypto.c:48: >crypto.c:1232: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:74:55: note: in definition of macro 'malloc' > #define malloc(x) sm_malloc(__FILE__, __LINE__, (x)) > ^ >In file included from ../lib/lib.h:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c:1233:69: error: 'M_ASN1_STRING_data' was not declared in this scope > cs->session_key_len = EVP_PKEY_decrypt(cs->session_key, M_ASN1_STRING_data(ri->encryptedKey), > ^~~~~~~~~~~~~~~~~~ >crypto.c:1233:69: note: suggested alternative: 'ASN1_STRING_data' > cs->session_key_len = EVP_PKEY_decrypt(cs->session_key, M_ASN1_STRING_data(ri->encryptedKey), > ^~~~~~~~~~~~~~~~~~ > ASN1_STRING_data >crypto.c:1234:35: error: 'M_ASN1_STRING_length' was not declared in this scope > M_ASN1_STRING_length(ri->encryptedKey), keypair->privkey); > ^~~~~~~~~~~~~~~~~~~~ >crypto.c:1234:35: note: suggested alternative: 'ASN1_STRING_length' > M_ASN1_STRING_length(ri->encryptedKey), keypair->privkey); > ^~~~~~~~~~~~~~~~~~~~ > ASN1_STRING_length >crypto.c:1234: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:45:0, > from ../bacula.h:164, > from crypto.c:48: >../lib/crypto.h:51:16: note: forward declaration of 'X509_KEYPAIR {aka struct X509_Keypair}' > typedef struct X509_Keypair X509_KEYPAIR; > ^~~~~~~~~~~~ >crypto.c: In function 'CIPHER_CONTEXT* crypto_cipher_new(CRYPTO_SESSION*, bool, u_int32_t*)': >crypto.c:1316:36: error: 'M_ASN1_STRING_length' was not declared in this scope > if (EVP_CIPHER_iv_length(ec) != M_ASN1_STRING_length(cs->cryptoData->iv)) { > ^~~~~~~~~~~~~~~~~~~~ >crypto.c:1316:36: note: suggested alternative: 'ASN1_STRING_length' > if (EVP_CIPHER_iv_length(ec) != M_ASN1_STRING_length(cs->cryptoData->iv)) { > ^~~~~~~~~~~~~~~~~~~~ > ASN1_STRING_length >crypto.c:1322:74: error: 'M_ASN1_STRING_data' was not declared in this scope > if (!EVP_CipherInit_ex(&cipher_ctx->ctx, NULL, NULL, cs->session_key, M_ASN1_STRING_data(cs->cryptoData->iv), -1)) { > ^~~~~~~~~~~~~~~~~~ >crypto.c:1322:74: note: suggested alternative: 'ASN1_STRING_data' > if (!EVP_CipherInit_ex(&cipher_ctx->ctx, NULL, NULL, cs->session_key, M_ASN1_STRING_data(cs->cryptoData->iv), -1)) { > ^~~~~~~~~~~~~~~~~~ > ASN1_STRING_data >crypto.c: In function 'bool crypto_digest_update(DIGEST*, const u_int8_t*, u_int32_t)': >crypto.c:659:1: warning: control reaches end of non-void function [-Wreturn-type] > } > ^ >crypto.c: In function 'bool crypto_digest_finalize(DIGEST*, u_int8_t*, u_int32_t*)': >crypto.c:677:1: warning: control reaches end of non-void function [-Wreturn-type] > } > ^ >crypto.c: In function 'bool crypto_cipher_update(CIPHER_CONTEXT*, const u_int8_t*, u_int32_t, const u_int8_t*, u_int32_t*)': >crypto.c:1349:1: warning: control reaches end of non-void function [-Wreturn-type] > } > ^ >crypto.c: In function 'bool crypto_cipher_finalize(CIPHER_CONTEXT*, u_int8_t*, u_int32_t*)': >crypto.c:1367:1: warning: control reaches end of non-void function [-Wreturn-type] > } > ^ >make[1]: *** [Makefile:143: crypto.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >In file included from ../lib/lib.h:39:0, > from ../bacula.h:164, > from jcr.c:53: >../lib/alist.h: In member function 'int alist::size() const': >../lib/alist.h:141:16: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] > return this ? num_items : 0; > ~~~~~^~~~~~~~~~~~~~~ >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src/lib' > ====== Error in /builddir/build/BUILD/bacula-2.4.4/src/lib ====== >==>Entering directory /builddir/build/BUILD/bacula-2.4.4/src/findlib >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src/findlib' >Compiling find.c >Compiling match.c >Compiling find_one.c >Compiling attribs.c >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from bfile.h:41, > from find.h:38, > from match.c:44: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from match.c:43: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from bfile.h:41, > from find.h:38, > from find.c:42: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from find.c:41: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from bfile.h:41, > from find.h:38, > from find_one.c:42: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from find_one.c:41: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from bfile.h:41, > from find.h:38, > from attribs.c:40: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from attribs.c:39: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >In file included from ../lib/lib.h:39:0, > from ../bacula.h:164, > from find.c:41: >../lib/alist.h: In member function 'int alist::size() const': >../lib/alist.h:141:16: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] > return this ? num_items : 0; > ~~~~~^~~~~~~~~~~~~~~ >find_one.c: In function 'int find_one_file(JCR*, FF_PKT*, int (*)(FF_PKT*, void*, bool), void*, char*, dev_t, bool)': >find_one.c:626:20: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations] > status = readdir_r(directory, entry, &result); > ^~~~~~~~~ >In file included from /usr/include/features.h:410:0, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from find_one.c:41: >/usr/include/dirent.h:189:12: note: declared here > extern int __REDIRECT (readdir_r, > ^ >find_one.c:626:55: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations] > status = readdir_r(directory, entry, &result); > ^ >In file included from /usr/include/features.h:410:0, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from find_one.c:41: >/usr/include/dirent.h:189:12: note: declared here > extern int __REDIRECT (readdir_r, > ^ >Compiling create_file.c >In file included from ../lib/lib.h:39:0, > from ../bacula.h:164, > from find_one.c:41: >../lib/alist.h: In member function 'int alist::size() const': >../lib/alist.h:141:16: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] > return this ? num_items : 0; > ~~~~~^~~~~~~~~~~~~~~ >Compiling bfile.c >Compiling drivetype.c >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from bfile.h:41, > from find.h:38, > from create_file.c:38: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from create_file.c:37: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from bfile.h:41, > from find.h:38, > from bfile.c:40: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from bfile.c:39: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from bfile.h:41, > from find.h:38, > from drivetype.c:39: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from drivetype.c:38: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >Compiling enable_priv.c >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from bfile.h:41, > from find.h:38, > from enable_priv.c:38: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from enable_priv.c:37: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >Compiling fstype.c >Compiling makepath.c >make[1]: *** No rule to make target '../lib/libbac.a', needed by 'all'. Stop. >make[1]: *** Waiting for unfinished jobs.... >Compiling save-cwd.c >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from bfile.h:41, > from find.h:38, > from fstype.c:40: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from fstype.c:39: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src/findlib' > ====== Error in /builddir/build/BUILD/bacula-2.4.4/src/findlib ====== >==>Entering directory /builddir/build/BUILD/bacula-2.4.4/src/filed >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src/filed' >Compiling filed.c >Compiling authenticate.c >Compiling acl.c >Compiling backup.c >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from ../findlib/bfile.h:41, > from ../findlib/find.h:38, > from filed.h:38, > from filed.c:38: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from filed.c:37: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from ../findlib/bfile.h:41, > from ../findlib/find.h:38, > from filed.h:38, > from backup.c:39: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from backup.c:38: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from ../findlib/bfile.h:41, > from ../findlib/find.h:38, > from filed.h:38, > from authenticate.c:38: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from ../findlib/bfile.h:41, > from ../findlib/find.h:38, > from filed.h:38, > from acl.c:63: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from acl.c:62: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from authenticate.c:37: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >Compiling estimate.c >Compiling filed_conf.c >Compiling heartbeat.c >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from ../findlib/bfile.h:41, > from ../findlib/find.h:38, > from filed.h:38, > from estimate.c:39: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from estimate.c:38: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from ../findlib/bfile.h:41, > from ../findlib/find.h:38, > from filed.h:38, > from filed_conf.c:53: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from filed_conf.c:52: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from ../findlib/bfile.h:41, > from ../findlib/find.h:38, > from filed.h:38, > from heartbeat.c:40: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from heartbeat.c:39: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >Compiling job.c >Compiling pythonfd.c >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from ../findlib/bfile.h:41, > from ../findlib/find.h:38, > from filed.h:38, > from job.c:38: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from job.c:37: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >Compiling restore.c >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from ../findlib/bfile.h:41, > from ../findlib/find.h:38, > from filed.h:38, > from pythonfd.c:39: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from pythonfd.c:38: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >Compiling status.c >In file included from ../lib/lib.h:39:0, > from ../bacula.h:164, > from job.c:37: >../lib/alist.h: In member function 'int alist::size() const': >../lib/alist.h:141:16: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] > return this ? num_items : 0; > ~~~~~^~~~~~~~~~~~~~~ >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from ../findlib/bfile.h:41, > from ../findlib/find.h:38, > from filed.h:38, > from restore.c:38: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from restore.c:37: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from ../findlib/bfile.h:41, > from ../findlib/find.h:38, > from filed.h:38, > from status.c:38: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from status.c:37: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >Compiling verify.c >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from ../findlib/bfile.h:41, > from ../findlib/find.h:38, > from filed.h:38, > from verify.c:38: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from verify.c:37: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >make[1]: *** No rule to make target '../findlib/libfind.a', needed by 'bacula-fd'. Stop. >make[1]: *** Waiting for unfinished jobs.... >Compiling verify_vol.c >In file included from /usr/include/python2.7/pyconfig.h:6:0, > from /usr/include/python2.7/Python.h:8, > from ../findlib/bfile.h:41, > from ../findlib/find.h:38, > from filed.h:38, > from verify_vol.c:39: >/usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined > #define _XOPEN_SOURCE 600 > >In file included from /usr/include/bits/libc-header-start.h:33:0, > from /usr/include/stdint.h:26, > from /usr/lib/gcc/ppc64-redhat-linux/7/include/stdint.h:9, > from ../bacula.h:60, > from verify_vol.c:38: >/usr/include/features.h:198:0: note: this is the location of the previous definition > # define _XOPEN_SOURCE 700 > >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src/filed' > ====== Error in /builddir/build/BUILD/bacula-2.4.4/src/filed ====== >==>Entering directory /builddir/build/BUILD/bacula-2.4.4/src/console >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src/console' >Compiling console.c >Compiling console_conf.c >Compiling authenticate.c >make[1]: *** No rule to make target '../lib/libbac.a', needed by 'bconsole'. Stop. >make[1]: *** Waiting for unfinished jobs.... >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src/console' > ====== Error in /builddir/build/BUILD/bacula-2.4.4/src/console ====== >==>Entering directory /builddir/build/BUILD/bacula-2.4.4/manpages >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/manpages' >make[1]: Nothing to be done for 'all'. >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/manpages' >+ exit 0 >Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3N6vYQ >+ umask 022 >+ cd /builddir/build/BUILD >+ '[' /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64 '!=' / ']' >+ rm -rf /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64 >++ dirname /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64 >+ mkdir -p /builddir/build/BUILDROOT >+ mkdir /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64 >+ cd bacula-2.4.4 >+ rm -rf /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64 >+ make install DESTDIR=/builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64 >./autoconf/mkinstalldirs /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/sbin >mkdir -p -- /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/sbin >./autoconf/mkinstalldirs /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/etc/bacula2 >mkdir -p -- /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/etc/bacula2 >./autoconf/mkinstalldirs /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2 >mkdir -p -- /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2 >if test ! -d /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/var/spool/bacula2 ; then \ > ./autoconf/mkinstalldirs /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/var/spool/bacula2; \ > chmod 770 /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/var/spool/bacula2; \ >fi >mkdir -p -- /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/var/spool/bacula2 >if test "x" != "x" ; then \ > chown /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/var/spool/bacula2; \ >fi >if test "x" != "x" ; then \ > chgrp /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/var/spool/bacula2; \ >fi >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src' >make[1]: Nothing to be done for 'install'. >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src' >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/scripts' >../autoconf/mkinstalldirs /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/etc/bacula2 >../autoconf/mkinstalldirs /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/sbin >../autoconf/mkinstalldirs /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2 >../autoconf/mkinstalldirs /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/share/man >mkdir -p -- /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/share/man >/usr/bin/install -c -m 0754 startmysql /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/startmysql >/usr/bin/install -c -m 0754 stopmysql /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/stopmysql >/usr/bin/install -c -m 0754 bconsole /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/bconsole >/usr/bin/install -c -m 0754 gconsole /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/gconsole >/usr/bin/install -c -m 0754 bacula /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/bacula >/usr/bin/install -c -m 0754 bacula-ctl-dir /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/bacula-ctl-dir >/usr/bin/install -c -m 0754 bacula-ctl-fd /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/bacula-ctl-fd >/usr/bin/install -c -m 0754 bacula-ctl-sd /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/bacula-ctl-sd >/usr/bin/install -c -m 0754 mtx-changer /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/mtx-changer >/usr/bin/install -c -m 0754 disk-changer /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/disk-changer >/usr/bin/install -c -m 0754 dvd-handler /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/dvd-handler >/usr/bin/install -c -m 644 btraceback.gdb /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/btraceback.gdb >/usr/bin/install -c -m 644 btraceback.dbx /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/btraceback.dbx >chmod 0644 /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/btraceback.gdb \ > /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/libexec/bacula2/btraceback.dbx >/usr/bin/install -c -m 0754 btraceback /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/sbin/btraceback >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/scripts' >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src/lib' >make[1]: Nothing to be done for 'install'. >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src/lib' >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src/findlib' >make[1]: Nothing to be done for 'install'. >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src/findlib' >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src/filed' >make[1]: *** No rule to make target '../findlib/libfind.a', needed by 'bacula-fd'. Stop. >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src/filed' >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/src/console' >make[1]: *** No rule to make target '../lib/libbac.a', needed by 'bconsole'. Stop. >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/src/console' >make[1]: Entering directory '/builddir/build/BUILD/bacula-2.4.4/manpages' >/builddir/build/BUILD/bacula-2.4.4/autoconf/mkinstalldirs /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64//usr/share/man/man8 >mkdir -p -- /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64//usr/share/man/man8 >for I in bacula.8 bacula-dir.8 bacula-fd.8 bacula-sd.8 bconsole.8 bcopy.8 bextract.8 bls.8 bscan.8 btape.8 btraceback.8 dbcheck.8; \ > do (/usr/bin/rm -f $I.gz; gzip -c $I >$I.gz; \ > /usr/bin/install -c -m 644 $I.gz /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/share/man/man8/$I.gz; \ > rm -f $I.gz); \ >done >/builddir/build/BUILD/bacula-2.4.4/autoconf/mkinstalldirs /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64//usr/share/man/man1 >mkdir -p -- /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64//usr/share/man/man1 >for I in bacula-bgnome-console.1 bacula-tray-monitor.1 bacula-bwxconsole.1 bsmtp.1 bat.1; \ > do (/usr/bin/rm -f $I.gz; gzip -c $I >$I.gz; \ > /usr/bin/install -c -m 644 $I.gz /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/share/man/man1/$I.gz; \ > rm -f $I.gz); \ >done >make[1]: Leaving directory '/builddir/build/BUILD/bacula-2.4.4/manpages' >+ mkdir -p /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/bin >+ install -m 755 -D /builddir/build/SOURCES/bacula2-fd.service /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/lib/systemd/system/bacula2-fd.service >+ mkdir -p /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/var/spool/bacula2 >+ mv /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/sbin/bacula-fd /builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/sbin/bacula2-fd >mv: cannot stat '/builddir/build/BUILDROOT/bacula2-2.4.4-23.fc26.ppc64/usr/sbin/bacula-fd': No such file or directory >error: Bad exit status from /var/tmp/rpm-tmp.3N6vYQ (%install) >RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.3N6vYQ (%install) >Child return code was: 1 >EXCEPTION: [Error()] >Traceback (most recent call last): > File "/usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py", line 89, in trace > result = func(*args, **kw) > File "/usr/lib/python3.5/site-packages/mockbuild/util.py", line 578, in do > raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) >mockbuild.exception.Error: Command failed. See logs for output. > # bash --login -c /usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/bacula2.spec
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1423268
: 1251557 |
1251558
|
1251559