Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/snapper.spec'], chrootPath='/var/lib/mock/f37-build-655580-72857/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/snapper.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1651622400 Wrote: /builddir/build/SRPMS/snapper-0.10.1-2.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/snapper.spec'], chrootPath='/var/lib/mock/f37-build-655580-72857/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/snapper.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1651622400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4tKdP4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf snapper-0.10.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/snapper-0.10.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd snapper-0.10.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/snapper-remove-ext4-info-xml.patch + find -type f -exec sed -i -e 's|/usr/lib/snapper|/usr/libexec/snapper|g' '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MMGAhW + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd snapper-0.10.1 + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force configure.ac:17: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9837: AM_INIT_AUTOMAKE is expanded from... configure.ac:17: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:17: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:17: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:23: installing './compile' configure.ac:23: installing './config.guess' configure.ac:23: installing './config.sub' configure.ac:17: installing './install-sh' configure.ac:17: installing './missing' client/Makefile.am: installing './depcomp' po/Makefile.am:9: warning: wildcard ../client/*.cc ../client/*.h ../client/utils/*.cc: non-POSIX variable name po/Makefile.am:9: (probably a GNU make extension) po/Makefile.am:11: warning: wildcard *.po: non-POSIX variable name po/Makefile.am:11: (probably a GNU make extension) po/Makefile.am:23: warning: '%'-style pattern rules are a GNU make extension testsuite-real/Makefile.am:5: warning: 'CXXFLAGS' is a user variable, you should not override it; testsuite-real/Makefile.am:5: use 'AM_CXXFLAGS' instead parallel-tests: installing './test-driver' autoreconf: Leaving directory '.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-10-20 06:45:38.528720250 -0400 +++ ./configure 2022-10-20 06:45:52.138735221 -0400 @@ -1847,7 +1847,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-10-20 06:45:52.138735221 -0400 +++ ./configure 2022-10-20 06:45:52.308735408 -0400 @@ -7697,7 +7697,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -19139,7 +19139,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 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 ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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 --disable-ext4 --disable-zypp --enable-selinux checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-file... no checking for file... file checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7703: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for xsltproc... /usr/bin/xsltproc checking for chsnap... /sbin/chsnap checking for cp... /usr/bin/cp checking for touch... /usr/bin/touch checking for rm... /usr/bin/rm checking for diff... /usr/bin/diff checking for chattr... /usr/bin/chattr checking for lvcreate... /sbin/lvcreate checking for lvremove... /sbin/lvremove checking for lvs... /sbin/lvs checking for lvchange... /sbin/lvchange checking for lvm... /sbin/lvm checking for lvrename... /sbin/lvrename checking for btrfs_read_and_process_send_stream in -lbtrfs... yes checking for btrfs/version.h... yes checking for libmount/libmount.h... yes checking for selinux/selinux.h... yes checking for selinux_snapperd_contexts_path in -lselinux... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for DBUS... yes checking for XML2... yes checking for JSONC... yes checking for acl/libacl.h... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating snapper/Makefile config.status: creating snapper/Version.h config.status: creating examples/Makefile config.status: creating examples/c/Makefile config.status: creating examples/c++-lib/Makefile config.status: creating dbus/Makefile config.status: creating server/Makefile config.status: creating client/Makefile config.status: creating client/utils/Makefile config.status: creating scripts/Makefile config.status: creating pam/Makefile config.status: creating data/Makefile config.status: creating doc/Makefile config.status: creating doc/snapper.xml config.status: creating doc/snapperd.xml config.status: creating doc/snapper-configs.xml config.status: creating doc/snapper-zypp-plugin.xml config.status: creating doc/snapper-zypp-plugin.conf.xml config.status: creating doc/pam_snapper.xml config.status: creating doc/mksubvolume.xml config.status: creating po/Makefile config.status: creating testsuite/Makefile config.status: creating testsuite-real/Makefile config.status: creating testsuite-cmp/Makefile config.status: creating zypp-plugin/Makefile config.status: creating zypp-plugin/testsuite/Makefile config.status: creating package/snapper.spec config.status: creating dists/debian/snapper-Debian.dsc.in config.status: creating dists/debian/snapper-xUbuntu.dsc.in config.status: creating dists/debian/snapper-Raspbian.dsc.in config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in snapper make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o ComparisonImpl.lo ComparisonImpl.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c ComparisonImpl.cc -fPIC -DPIC -o .libs/ComparisonImpl.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o Comparison.lo Comparison.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c Comparison.cc -fPIC -DPIC -o .libs/Comparison.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o Filesystem.lo Filesystem.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c Filesystem.cc -fPIC -DPIC -o .libs/Filesystem.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o Snapshot.lo Snapshot.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c Snapshot.cc -fPIC -DPIC -o .libs/Snapshot.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o XmlFile.lo XmlFile.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c XmlFile.cc -fPIC -DPIC -o .libs/XmlFile.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o Enum.lo Enum.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c Enum.cc -fPIC -DPIC -o .libs/Enum.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o AppUtil2.lo AppUtil2.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c AppUtil2.cc -fPIC -DPIC -o .libs/AppUtil2.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o Snapper.lo Snapper.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c Snapper.cc -fPIC -DPIC -o .libs/Snapper.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o AppUtil.lo AppUtil.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c AppUtil.cc -fPIC -DPIC -o .libs/AppUtil.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o Log.lo Log.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c Log.cc -fPIC -DPIC -o .libs/Log.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o File.lo File.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c File.cc -fPIC -DPIC -o .libs/File.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o FileUtils.lo FileUtils.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c FileUtils.cc -fPIC -DPIC -o .libs/FileUtils.o FileUtils.cc: In member function 'ssize_t snapper::SDir::listxattr(const std::string&, char*, size_t) const': FileUtils.cc:494:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 494 | chdir("/"); | ~~~~~^~~~~ FileUtils.cc: In member function 'ssize_t snapper::SDir::getxattr(const std::string&, const char*, void*, size_t) const': FileUtils.cc:530:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 530 | chdir("/"); | ~~~~~^~~~~ FileUtils.cc: In member function 'bool snapper::SDir::mount(const std::string&, const std::string&, long unsigned int, const std::string&) const': FileUtils.cc:585:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 585 | chdir("/"); | ~~~~~^~~~~ FileUtils.cc:589:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 589 | chdir("/"); | ~~~~~^~~~~ FileUtils.cc: In member function 'bool snapper::SDir::umount(const std::string&) const': FileUtils.cc:614:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 614 | chdir("/"); | ~~~~~^~~~~ FileUtils.cc:618:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 618 | chdir("/"); | ~~~~~^~~~~ FileUtils.cc: In member function 'bool snapper::SDir::fsetfilecon(const std::string&, char*) const': FileUtils.cc:665:22: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 665 | chdir("/"); | ~~~~~^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o XAttributes.lo XAttributes.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c XAttributes.cc -fPIC -DPIC -o .libs/XAttributes.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o Logger.lo Logger.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c Logger.cc -fPIC -DPIC -o .libs/Logger.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o SystemCmd.lo SystemCmd.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c SystemCmd.cc -fPIC -DPIC -o .libs/SystemCmd.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o Acls.lo Acls.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c Acls.cc -fPIC -DPIC -o .libs/Acls.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o Compare.lo Compare.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c Compare.cc -fPIC -DPIC -o .libs/Compare.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o Exception.lo Exception.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c Exception.cc -fPIC -DPIC -o .libs/Exception.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o BtrfsUtils.lo BtrfsUtils.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c BtrfsUtils.cc -fPIC -DPIC -o .libs/BtrfsUtils.o In file included from /usr/include/btrfs/send-utils.h:27, from BtrfsUtils.cc:36: /usr/include/btrfs/list.h: In function 'void INIT_LIST_HEAD(list_head*)': /usr/include/btrfs/list.h:78:9: error: expected primary-expression before 'volatile' 78 | WRITE_ONCE(list->next, list); | ^~~~~~~~~~ /usr/include/btrfs/list.h:78:9: error: expected ')' before 'volatile' 78 | WRITE_ONCE(list->next, list); | ^~~~~~~~~~ /usr/include/btrfs/list.h: In function 'void __list_add(list_head*, list_head*, list_head*)': /usr/include/btrfs/list.h:116:9: error: expected primary-expression before 'volatile' 116 | WRITE_ONCE(prev->next, xnew); | ^~~~~~~~~~ /usr/include/btrfs/list.h:116:9: error: expected ')' before 'volatile' 116 | WRITE_ONCE(prev->next, xnew); | ^~~~~~~~~~ /usr/include/btrfs/list.h: In function 'void __list_del(list_head*, list_head*)': /usr/include/btrfs/list.h:156:9: error: expected primary-expression before 'volatile' 156 | WRITE_ONCE(prev->next, next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:156:9: error: expected ')' before 'volatile' 156 | WRITE_ONCE(prev->next, next); | ^~~~~~~~~~ In file included from /usr/include/btrfs/ctree.h:31, from /usr/include/btrfs/send-utils.h:28: /usr/include/btrfs/list.h: In function 'void list_del(list_head*)': /usr/include/btrfs/list.h:190:23: error: invalid conversion from 'void*' to 'list_head*' [-fpermissive] 190 | entry->next = LIST_POISON1; | ^~~~~~~~~~~~ | | | void* /usr/include/btrfs/list.h:191:23: error: invalid conversion from 'void*' to 'list_head*' [-fpermissive] 191 | entry->prev = LIST_POISON2; | ^~~~~~~~~~~~ | | | void* /usr/include/btrfs/list.h: In function 'int list_empty(const list_head*)': /usr/include/btrfs/list.h:333:16: error: expected primary-expression before 'const' 333 | return READ_ONCE(head->next) == head; | ^~~~~~~~~ /usr/include/btrfs/list.h:333:16: error: expected ')' before 'const' 333 | return READ_ONCE(head->next) == head; | ^~~~~~~~~ /usr/include/btrfs/list.h:333:16: error: expected ')' before ';' token 333 | return READ_ONCE(head->next) == head; | ^~~~~~~~~ /usr/include/btrfs/list.h:333:16: note: to match this '(' 333 | return READ_ONCE(head->next) == head; | ^~~~~~~~~ /usr/include/btrfs/list.h:333:38: error: invalid operands of types 'void' and 'const list_head*' to binary 'operator==' 333 | return READ_ONCE(head->next) == head; | ^~ ~~~~ | | | const list_head* /usr/include/btrfs/list.h: In function 'void list_del_init_careful(list_head*)': /usr/include/btrfs/list.h:351:9: error: expected primary-expression before 'volatile' 351 | smp_store_release(&entry->next, entry); | ^~~~~~~~~~~~~~~~~ /usr/include/btrfs/list.h:351:9: error: expected ')' before 'volatile' 351 | smp_store_release(&entry->next, entry); | ^~~~~~~~~~~~~~~~~ /usr/include/btrfs/list.h: In function 'int list_empty_careful(const list_head*)': /usr/include/btrfs/list.h:369:34: error: expected primary-expression before 'const' 369 | struct list_head *next = smp_load_acquire(&head->next); | ^~~~~~~~~~~~~~~~ /usr/include/btrfs/list.h:369:34: error: expected ')' before 'const' 369 | struct list_head *next = smp_load_acquire(&head->next); | ^~~~~~~~~~~~~~~~ /usr/include/btrfs/list.h:369:34: error: expected ')' before ';' token 369 | struct list_head *next = smp_load_acquire(&head->next); | ^~~~~~~~~~~~~~~~ /usr/include/btrfs/list.h:369:34: note: to match this '(' 369 | struct list_head *next = smp_load_acquire(&head->next); | ^~~~~~~~~~~~~~~~ /usr/include/btrfs/list.h:369:34: error: void value not ignored as it ought to be 369 | struct list_head *next = smp_load_acquire(&head->next); | ^~~~~~~~~~~~~~~~ /usr/include/btrfs/list.h: In function 'int hlist_unhashed_lockless(const hlist_node*)': /usr/include/btrfs/list.h:872:17: error: expected primary-expression before 'const' 872 | return !READ_ONCE(h->pprev); | ^~~~~~~~~ /usr/include/btrfs/list.h:872:17: error: expected ')' before 'const' 872 | return !READ_ONCE(h->pprev); | ^~~~~~~~~ /usr/include/btrfs/list.h:872:17: error: expected ')' before ';' token 872 | return !READ_ONCE(h->pprev); | ^~~~~~~~~ /usr/include/btrfs/list.h:872:17: note: to match this '(' 872 | return !READ_ONCE(h->pprev); | ^~~~~~~~~ /usr/include/btrfs/list.h:872:17: error: could not convert '' from 'void' to 'bool' 872 | return !READ_ONCE(h->pprev); | ^~~~~~~~~ | | | void /usr/include/btrfs/list.h:872:17: error: in argument to unary ! /usr/include/btrfs/list.h: In function 'int hlist_empty(const hlist_head*)': /usr/include/btrfs/list.h:881:17: error: expected primary-expression before 'const' 881 | return !READ_ONCE(h->first); | ^~~~~~~~~ /usr/include/btrfs/list.h:881:17: error: expected ')' before 'const' 881 | return !READ_ONCE(h->first); | ^~~~~~~~~ /usr/include/btrfs/list.h:881:17: error: expected ')' before ';' token 881 | return !READ_ONCE(h->first); | ^~~~~~~~~ /usr/include/btrfs/list.h:881:17: note: to match this '(' 881 | return !READ_ONCE(h->first); | ^~~~~~~~~ /usr/include/btrfs/list.h:881:17: error: could not convert '' from 'void' to 'bool' 881 | return !READ_ONCE(h->first); | ^~~~~~~~~ | | | void /usr/include/btrfs/list.h:881:17: error: in argument to unary ! /usr/include/btrfs/list.h: In function 'void __hlist_del(hlist_node*)': /usr/include/btrfs/list.h:889:9: error: expected primary-expression before 'volatile' 889 | WRITE_ONCE(*pprev, next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:889:9: error: expected ')' before 'volatile' 889 | WRITE_ONCE(*pprev, next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:891:17: error: expected primary-expression before 'volatile' 891 | WRITE_ONCE(next->pprev, pprev); | ^~~~~~~~~~ /usr/include/btrfs/list.h:891:17: error: expected ')' before 'volatile' 891 | WRITE_ONCE(next->pprev, pprev); | ^~~~~~~~~~ /usr/include/btrfs/list.h: In function 'void hlist_del(hlist_node*)': /usr/include/btrfs/list.h:904:19: error: invalid conversion from 'void*' to 'hlist_node*' [-fpermissive] 904 | n->next = LIST_POISON1; | ^~~~~~~~~~~~ | | | void* /usr/include/btrfs/list.h:905:20: error: invalid conversion from 'void*' to 'hlist_node**' [-fpermissive] 905 | n->pprev = LIST_POISON2; | ^~~~~~~~~~~~ | | | void* /usr/include/btrfs/list.h: In function 'void hlist_add_head(hlist_node*, hlist_head*)': /usr/include/btrfs/list.h:933:9: error: expected primary-expression before 'volatile' 933 | WRITE_ONCE(n->next, first); | ^~~~~~~~~~ /usr/include/btrfs/list.h:933:9: error: expected ')' before 'volatile' 933 | WRITE_ONCE(n->next, first); | ^~~~~~~~~~ /usr/include/btrfs/list.h:935:17: error: expected primary-expression befmake[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' ore 'volatile' 935 | WRITE_ONCE(first->pprev, &n->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:935:17: error: expected ')' before 'volatile' 935 | WRITE_ONCE(first->pprev, &n->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:936:9: error: expected primary-expression before 'volatile' 936 | WRITE_ONCE(h->first, n); | ^~~~~~~~~~ /usr/include/btrfs/list.h:936:9: error: expected ')' before 'volatile' 936 | WRITE_ONCE(h->first, n); | ^~~~~~~~~~ /usr/include/btrfs/list.h:937:9: error: expected primary-expression before 'volatile' 937 | WRITE_ONCE(n->pprev, &h->first); | ^~~~~~~~~~ /usr/include/btrfs/list.h:937:9: error: expected ')' before 'volatile' 937 | WRITE_ONCE(n->pprev, &h->first); | ^~~~~~~~~~ /usr/include/btrfs/list.h: In function 'void hlist_add_before(hlist_node*, hlist_node*)': /usr/include/btrfs/list.h:948:9: error: expected primary-expression before 'volatile' 948 | WRITE_ONCE(n->pprev, next->pprev); | ^~~~~~~~~~ /usr/include/btrfs/list.h:948:9: error: expected ')' before 'volatile' 948 | WRITE_ONCE(n->pprev, next->pprev); | ^~~~~~~~~~ /usr/include/btrfs/list.h:949:9: error: expected primary-expression before 'volatile' 949 | WRITE_ONCE(n->next, next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:949:9: error: expected ')' before 'volatile' 949 | WRITE_ONCE(n->next, next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:950:9: error: expected primary-expression before 'volatile' 950 | WRITE_ONCE(next->pprev, &n->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:950:9: error: expected ')' before 'volatile' 950 | WRITE_ONCE(next->pprev, &n->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:951:9: error: expected primary-expression before 'volatile' 951 | WRITE_ONCE(*(n->pprev), n); | ^~~~~~~~~~ /usr/include/btrfs/list.h:951:9: error: expected ')' before 'volatile' 951 | WRITE_ONCE(*(n->pprev), n); | ^~~~~~~~~~ /usr/include/btrfs/list.h: In function 'void hlist_add_behind(hlist_node*, hlist_node*)': /usr/include/btrfs/list.h:962:9: error: expected primary-expression before 'volatile' 962 | WRITE_ONCE(n->next, prev->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:962:9: error: expected ')' before 'volatile' 962 | WRITE_ONCE(n->next, prev->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:963:9: error: expected primary-expression before 'volatile' 963 | WRITE_ONCE(prev->next, n); | ^~~~~~~~~~ /usr/include/btrfs/list.h:963:9: error: expected ')' before 'volatile' 963 | WRITE_ONCE(prev->next, n); | ^~~~~~~~~~ /usr/include/btrfs/list.h:964:9: error: expected primary-expression before 'volatile' 964 | WRITE_ONCE(n->pprev, &prev->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:964:9: error: expected ')' before 'volatile' 964 | WRITE_ONCE(n->pprev, &prev->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:967:17: error: expected primary-expression before 'volatile' 967 | WRITE_ONCE(n->next->pprev, &n->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:967:17: error: expected ')' before 'volatile' 967 | WRITE_ONCE(n->next->pprev, &n->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h: At global scope: /usr/include/btrfs/list.h:1015:55: error: expected ',' or '...' before 'new' 1015 | struct hlist_head *new) | ^~~ /usr/include/btrfs/list.h: In function 'void hlist_move_list(hlist_head*, hlist_head*)': /usr/include/btrfs/list.h:1017:12: error: expected type-specifier before '->' token 1017 | new->first = old->first; | ^~ /usr/include/btrfs/list.h:1018:16: error: expected type-specifier before '->' token 1018 | if (new->first) | ^~ /usr/include/btrfs/list.h:1018:16: error: expected ')' before '->' token 1018 | if (new->first) | ~ ^~ | ) /usr/include/btrfs/list.h:1019:20: error: expected type-specifier before '->' token 1019 | new->first->pprev = &new->first; | ^~ /usr/include/btrfs/extent-cache.h: In function 'int cache_tree_empty(cache_tree*)': /usr/include/btrfs/extent-cache.h:78:16: error: expected primary-expression before 'const' 78 | return RB_EMPTY_ROOT(&tree->root); | ^~~~~~~~~~~~~ /usr/include/btrfs/extent-cache.h:78:16: error: expected ')' before 'const' 78 | return RB_EMPTY_ROOT(&tree->root); | ^~~~~~~~~~~~~ /usr/include/btrfs/extent-cache.h:78:16: error: expected ')' before ';' token 78 | return RB_EMPTY_ROOT(&tree->root); | ^~~~~~~~~~~~~ /usr/include/btrfs/extent-cache.h:78:16: note: to match this '(' 78 | return RB_EMPTY_ROOT(&tree->root); | ^~~~~~~~~~~~~ In file included from /usr/include/btrfs/extent-cache.h:27, from /usr/include/btrfs/ctree.h:33: /usr/include/btrfs/extent-cache.h:78:16: error: invalid operands of types 'void' and 'long int' to binary 'operator==' 78 | return RB_EMPTY_ROOT(&tree->root); | ^ make[2]: *** [Makefile:596: BtrfsUtils.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o Hooks.lo Hooks.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c Hooks.cc -fPIC -DPIC -o .libs/Hooks.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o Btrfs.lo Btrfs.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c Btrfs.cc -fPIC -DPIC -o .libs/Btrfs.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' In file included from /usr/include/btrfs/list.h:25, from /usr/include/btrfs/ctree.h:31, from /usr/include/btrfs/send.h:26, from Btrfs.cc:41: /usr/include/btrfs/list.h: In function 'void INIT_LIST_HEAD(list_head*)': /usr/include/btrfs/list.h:78:9: error: expected primary-expression before 'volatile' 78 | WRITE_ONCE(list->next, list); | ^~~~~~~~~~ /usr/include/btrfs/list.h:78:9: error: expected ')' before 'volatile' 78 | WRITE_ONCE(list->next, list); | ^~~~~~~~~~ /usr/include/btrfs/list.h: In function 'void __list_add(list_head*, list_head*, list_head*)': /usr/include/btrfs/list.h:116:9: error: expected primary-expression before 'volatile' 116 | WRITE_ONCE(prev->next, xnew); | ^~~~~~~~~~ /usr/include/btrfs/list.h:116:9: error: expected ')' before 'volatile' 116 | WRITE_ONCE(prev->next, xnew); | ^~~~~~~~~~ /usr/include/btrfs/list.h: In function 'void __list_del(list_head*, list_head*)': /usr/include/btrfs/list.h:156:9: error: expected primary-expression before 'volatile' 156 | WRITE_ONCE(prev->next, next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:156:9: error: expected ')' before 'volatile' 156 | WRITE_ONCE(prev->next, next); | ^~~~~~~~~~ /usr/include/btrfs/list.h: In function 'void list_del(list_head*)': /usr/include/btrfs/list.h:190:23: error: invalid conversion from 'void*' to 'list_head*' [-fpermissive] 190 | entry->next = LIST_POISON1; | ^~~~~~~~~~~~ | | | void* /usr/include/btrfs/list.h:191:23: error: invalid conversion from 'void*' to 'list_head*' [-fpermissive] 191 | entry->prev = LIST_POISON2; | ^~~~~~~~~~~~ | | | void* /usr/include/btrfs/list.h: In function 'int list_empty(const list_head*)': /usr/include/btrfs/list.h:333:16: error: expected primary-expression before 'const' 333 | return READ_ONCE(head->next) == head; | ^~~~~~~~~ /usr/include/btrfs/list.h:333:16: error: expected ')' before 'const' 333 | return READ_ONCE(head->next) == head; | ^~~~~~~~~ /usr/include/btrfs/list.h:333:16: error: expected ')' before ';' token 333 | return READ_ONCE(head->next) == head; | ^~~~~~~~~ /usr/include/btrfs/list.h:333:16: note: to match this '(' 333 | return READ_ONCE(head->next) == head; | ^~~~~~~~~ /usr/include/btrfs/list.h:333:38: error: invalid operands of types 'void' and 'const list_head*' to binary 'operator==' 333 | return READ_ONCE(head->next) == head; | ^~ ~~~~ | | | const list_head* /usr/include/btrfs/list.h: In function 'void list_del_init_careful(list_head*)': /usr/include/btrfs/list.h:351:9: error: expected primary-expression before 'volatile' 351 | smp_store_release(&entry->next, entry); | ^~~~~~~~~~~~~~~~~ /usr/include/btrfs/list.h:351:9: error: expected ')' before 'volatile' 351 | smp_store_release(&entry->next, entry); | ^~~~~~~~~~~~~~~~~ /usr/include/btrfs/list.h: In function 'int list_empty_careful(const list_head*)': /usr/include/btrfs/list.h:369:34: error: expected primary-expression before 'const' 369 | struct list_head *next = smp_load_acquire(&head->next); | ^~~~~~~~~~~~~~~~ /usr/include/btrfs/list.h:369:34: error: expected ')' before 'const' 369 | struct list_head *next = smp_load_acquire(&head->next); | ^~~~~~~~~~~~~~~~ /usr/include/btrfs/list.h:369:34: error: expected ')' before ';' token 369 | struct list_head *next = smp_load_acquire(&head->next); | ^~~~~~~~~~~~~~~~ /usr/include/btrfs/list.h:369:34: note: to match this '(' 369 | struct list_head *next = smp_load_acquire(&head->next); | ^~~~~~~~~~~~~~~~ /usr/include/btrfs/list.h:369:34: error: void value not ignored as it ought to be 369 | struct list_head *next = smp_load_acquire(&head->next); | ^~~~~~~~~~~~~~~~ /usr/include/btrfs/list.h: In function 'int hlist_unhashed_lockless(const hlist_node*)': /usr/include/btrfs/list.h:872:17: error: expected primary-expression before 'const' 872 | return !READ_ONCE(h->pprev); | ^~~~~~~~~ /usr/include/btrfs/list.h:872:17: error: expected ')' before 'const' 872 | return !READ_ONCE(h->pprev); | ^~~~~~~~~ /usr/include/btrfs/list.h:872:17: error: expected ')' before ';' token 872 | return !READ_ONCE(h->pprev); | ^~~~~~~~~ /usr/include/btrfs/list.h:872:17: note: to match this '(' 872 | return !READ_ONCE(h->pprev); | ^~~~~~~~~ /usr/include/btrfs/list.h:872:17: error: could not convert '' from 'void' to 'bool' 872 | return !READ_ONCE(h->pprev); | ^~~~~~~~~ | | | void /usr/include/btrfs/list.h:872:17: error: in argument to unary ! /usr/include/btrfs/list.h: In function 'int hlist_empty(const hlist_head*)': /usr/include/btrfs/list.h:881:17: error: expected primary-expression before 'const' 881 | return !READ_ONCE(h->first); | ^~~~~~~~~ /usr/include/btrfs/list.h:881:17: error: expected ')' before 'const' 881 | return !READ_ONCE(h->first); | ^~~~~~~~~ /usr/include/btrfs/list.h:881:17: error: expected ')' before ';' token 881 | return !READ_ONCE(h->first); | ^~~~~~~~~ /usr/include/btrfs/list.h:881:17: note: to match this '(' 881 | return !READ_ONCE(h->first); | ^~~~~~~~~ /usr/include/btrfs/list.h:881:17: error: could not convert '' from 'void' to 'bool' 881 | return !READ_ONCE(h->first); | ^~~~~~~~~ | | | void /usr/include/btrfs/list.h:881:17: error: in argument to unary ! /usr/include/btrfs/list.h: In function 'void __hlist_del(hlist_node*)': /usr/include/btrfs/list.h:889:9: error: expected primary-expression before 'volatile' 889 | WRITE_ONCE(*pprev, next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:889:9: error: expected ')' before 'volatile' 889 | WRITE_ONCE(*pprev, next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:891:17: error: expected primary-expression before 'volatile' 891 | WRITE_ONCE(next->pprev, pprev); | ^~~~~~~~~~ /usr/include/btrfs/list.h:891:17: error: expected ')' before 'volatile' 891 | WRITE_ONCE(next->pprev, pprev); | ^~~~~~~~~~ /usr/include/btrfs/list.h: In function 'void hlist_del(hlist_node*)': /usr/include/btrfs/list.h:904:19: error: invalid conversion from 'void*' to 'hlist_node*' [-fpermissive] 904 | n->next = LIST_POISON1; | ^~~~~~~~~~~~ | | | void* /usr/include/btrfs/list.h:905:20: error: invalid conversion from 'void*' to 'hlist_node**' [-fpermissive] 905 | n->pprev = LIST_POISON2; | ^~~~~~~~~~~~ | | | void* /usr/include/btrfs/list.h: In function 'void hlist_add_head(hlist_node*, hlist_head*)': /usr/include/btrfs/list.h:933:9: error: expected primary-expression before 'volatile' 933 | WRITE_ONCE(n->next, first); | ^~~~~~~~~~ /usr/include/btrfs/list.h:933:9: error: expected ')' before 'volatile' 933 | WRITE_ONCE(n->next, first); | ^~~~~~~~~~ /usr/include/btrfs/list.h:935:17: error: expected primary-expression before 'volatile' 935 | WRITE_ONCE(first->pprev, &n->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:935:17: error: expected ')' before 'volatile' 935 | WRITE_ONCE(first->pprev, &n->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:936:9: error: expected primary-expression before 'volatile' 936 | WRITE_ONCE(h->first, n); | ^~~~~~~~~~ /usr/include/btrfs/list.h:936:9: error: expected ')' before 'volatile' 936 | WRITE_ONCE(h->first, n); | ^~~~~~~~~~ /usr/include/btrfs/list.h:937:9: error: expected primary-expression before 'volatile' 937 | WRITE_ONCE(n->pprev, &h->first); | ^~~~~~~~~~ /usr/include/btrfs/list.h:937:9: error: expected ')' before 'volatile' 937 | WRITE_ONCE(n->pprev, &h->first); | ^~~~~~~~~~ /usr/include/btrfs/list.h: In function 'void hlist_add_before(hlist_node*, hlist_node*)': /usr/include/btrfs/list.h:948:9: error: expected primary-expression before 'volatile' 948 | WRITE_ONCE(n->pprev, next->pprev); | ^~~~~~~~~~ /usr/include/btrfs/list.h:948:9: error: expected ')' before 'volatile' 948 | WRITE_ONCE(n->pprev, next->pprev); | ^~~~~~~~~~ /usr/include/btrfs/list.h:949:9: error: expected primary-expression before 'volatile' 949 | WRITE_ONCE(n->next, next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:949:9: error: expected ')' before 'volatile' 949 | WRITE_ONCE(n->next, next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:950:9: error: expected primary-expression before 'volatile' 950 | WRITE_ONCE(next->pprev, &n->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:950:9: error: expected ')' before 'volatile' 950 | WRITE_ONCE(next->pprev, &n->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:951:9: error: expected primary-expression before 'volatile' 951 | WRITE_ONCE(*(n->pprev), n); | ^~~~~~~~~~ /usr/include/btrfs/list.h:951:9: error: expected ')' before 'volatile' 951 | WRITE_ONCE(*(n->pprev), n); | ^~~~~~~~~~ /usr/include/btrfs/list.h: In function 'void hlist_add_behind(hlist_node*, hlist_node*)': /usr/include/btrfs/list.h:962:9: error: expected primary-expression before 'volatile' 962 | WRITE_ONCE(n->next, prev->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:962:9: error: expected ')' before 'volatile' 962 | WRITE_ONCE(n->next, prev->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:963:9: error: expected primary-expression before 'volatile' 963 | WRITE_ONCE(prev->next, n); | ^~~~~~~~~~ /usr/include/btrfs/list.h:963:9: error: expected ')' before 'volatile' 963 | WRITE_ONCE(prev->next, n); | ^~~~~~~~~~ /usr/include/btrfs/list.h:964:9: error: expected primary-expression before 'volatile' 964 | WRITE_ONCE(n->pprev, &prev->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:964:9: error: expected ')' before 'volatile' 964 | WRITE_ONCE(n->pprev, &prev->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:967:17: error: expected primary-expression before 'volatile' 967 | WRITE_ONCE(n->next->pprev, &n->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h:967:17: error: expected ')' before 'volatile' 967 | WRITE_ONCE(n->next->pprev, &n->next); | ^~~~~~~~~~ /usr/include/btrfs/list.h: At global scope: /usr/include/btrfs/list.h:1015:55: error: expected ',' or '...' before 'new' 1015 | struct hlist_head *new) | ^~~ /usr/include/btrfs/list.h: In function 'void hlist_move_list(hlist_head*, hlist_head*)': /usr/include/btrfs/list.h:1017:12: error: expected type-specifier before '->' token 1017 | new->first = old->first; | ^~ /usr/include/btrfs/list.h:1018:16: error: expected type-specifier before '->' token 1018 | if (new->first) | ^~ /usr/include/btrfs/list.h:1018:16: error: expected ')' before '->' token 1018 | if (new->first) | ~ ^~ | ) /usr/include/btrfs/list.h:1019:20: error: expected type-specifier before '->' token 1019 | new->first->pprev = &new->first; | ^~ /usr/include/btrfs/extent-cache.h: In function 'int cache_tree_empty(cache_tree*)': /usr/include/btrfs/extent-cache.h:78:16: error: expected primary-expression before 'const' 78 | return RB_EMPTY_ROOT(&tree->root); | ^~~~~~~~~~~~~ /usr/include/btrfs/extent-cache.h:78:16: error: expected ')' before 'const' 78 | return RB_EMPTY_ROOT(&tree->root); | ^~~~~~~~~~~~~ /usr/include/btrfs/extent-cache.h:78:16: error: expected ')' before ';' token 78 | return RB_EMPTY_ROOT(&tree->root); | ^~~~~~~~~~~~~ /usr/include/btrfs/extent-cache.h:78:16: note: to match this '(' 78 | return RB_EMPTY_ROOT(&tree->root); | ^~~~~~~~~~~~~ In file included from /usr/include/btrfs/extent-cache.h:27, from /usr/include/btrfs/ctree.h:33: /usr/include/btrfs/extent-cache.h:78:16: error: invalid operands of types 'void' and 'long int' to binary 'operator==' 78 | return RB_EMPTY_ROOT(&tree->root); | ^ make[2]: *** [Makefile:596: Btrfs.lo] Error 1 make[2]: Entering directory '/builddir/build/BUILD/snapper-0.10.1/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o AsciiFile.lo AsciiFile.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c AsciiFile.cc -fPIC -DPIC -o .libs/AsciiFile.o make[2]: Leaving directory '/builddir/build/BUILD/snapper-0.10.1/snapper' make[1]: *** [Makefile:566: all-recursive] Error 1 make: *** [Makefile:469: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.MMGAhW (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.MMGAhW (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/snapper.spec