D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/snapper-0.5.6-15.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GRBQTk + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf snapper-0.5.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/snapper-0.5.6.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd snapper-0.5.6 + rm -rf /home/pterjan/rpmbuild/BUILD/snapper-0.5.6-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/snapper-0.5.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/snapper-remove-ext4-info-xml.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/snapper-securelibdir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/1453b7f147e25875d10c3e66e337093603d9e27e.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/snapper-0.5.0-pthread.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/snapper-autoconf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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 /home/pterjan/rpmbuild/tmp/rpm-tmp.AsBQQ4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd snapper-0.5.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 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:9840: AM_INIT_AUTOMAKE is expanded from... configure.ac:17: the top level configure.ac:64: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:64: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:64: the top level configure.ac:72: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:72: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:72: the top level configure.ac:81: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:81: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:81: the top level configure.ac:90: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:90: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:90: the top level configure.ac:103: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:103: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:103: the top level configure.ac:110: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:110: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:110: the top level configure.ac:118: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:118: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:118: the top level configure.ac:128: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:128: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:128: the top level configure.ac:136: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:136: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:136: the top level configure.ac:140: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:140: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:140: the top level configure.ac:162: warning: AC_OUTPUT should be used without arguments. configure.ac:162: You should run autoupdate. 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:17: installing './missing' client/Makefile.am: installing './depcomp' po/Makefile.am:9: warning: wildcard ../client/*.cc ../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 autoreconf: './install-sh' is updated autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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-silent-rules --disable-ext4 --disable-zypp 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... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for x86_64-mageia-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 x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... 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 x86_64-mageia-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 -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for 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 whether make supports nested variables... (cached) yes 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 x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for DBUS... 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 package/snapper.spec config.status: creating dists/debian/snapper-Debian.dsc.in config.status: creating dists/debian/snapper-xUbuntu.dsc.in config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in snapper make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Enum.lo Enum.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Enum.cc -fPIC -DPIC -o .libs/Enum.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o XmlFile.lo XmlFile.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c XmlFile.cc -fPIC -DPIC -o .libs/XmlFile.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Comparison.lo Comparison.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Comparison.cc -fPIC -DPIC -o .libs/Comparison.o In file included from Comparison.cc:32: ../snapper/Snapper.h:108:9: error: 'uint64_t' does not name a type 108 | uint64_t size; | ^~~~~~~~ ../snapper/Snapper.h:33:1: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' 32 | #include "snapper/AsciiFile.h" +++ |+#include 33 | ../snapper/Snapper.h:109:9: error: 'uint64_t' does not name a type 109 | uint64_t used; | ^~~~~~~~ ../snapper/Snapper.h:109:9: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' make[2]: *** [Makefile:585: Comparison.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o AppUtil.lo AppUtil.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c AppUtil.cc -fPIC -DPIC -o .libs/AppUtil.o AppUtil.cc: In function 'std::string snapper::datetime(time_t, bool, bool)': AppUtil.cc:277:60: warning: '%c' yields only last 2 digits of year in some locales [-Wformat-y2k] 277 | if (strftime(buf, sizeof(buf), classic ? "%F %T" : "%c", &t2) == 0) | ^~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Filesystem.lo Filesystem.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Filesystem.cc -fPIC -DPIC -o .libs/Filesystem.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o File.lo File.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c File.cc -fPIC -DPIC -o .libs/File.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o FileUtils.lo FileUtils.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c FileUtils.cc -fPIC -DPIC -o .libs/FileUtils.o FileUtils.cc: In member function 'std::vector > snapper::SDir::entries(entries_pred_t) const': FileUtils.cc:206:25: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations] 206 | while (readdir_r(dp, ep, &epp) == 0 && epp != NULL) | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from FileUtils.cc:25: /usr/include/dirent.h:191:12: note: declared here 191 | extern int __REDIRECT (readdir_r, | ^~~~~~~~~~ FileUtils.cc: In member function 'ssize_t snapper::SDir::listxattr(const std::string&, char*, size_t) const': FileUtils.cc:447:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 447 | chdir("/"); | ~~~~~^~~~~ FileUtils.cc: In member function 'ssize_t snapper::SDir::getxattr(const std::string&, const char*, void*, size_t) const': FileUtils.cc:483:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 483 | 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:538:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 538 | chdir("/"); | ~~~~~^~~~~ FileUtils.cc:542:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 542 | chdir("/"); | ~~~~~^~~~~ FileUtils.cc: In member function 'bool snapper::SDir::umount(const std::string&) const': FileUtils.cc:567:18: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 567 | chdir("/"); | ~~~~~^~~~~ FileUtils.cc:571:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 571 | chdir("/"); | ~~~~~^~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Snapshot.lo Snapshot.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Snapshot.cc -fPIC -DPIC -o .libs/Snapshot.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o Snapper.lo Snapper.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c Snapper.cc -fPIC -DPIC -o .libs/Snapper.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR='"/etc/sysconfig"' -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c -o XAttributes.lo XAttributes.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONFDIR=\"/etc/sysconfig\" -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused-parameter -c XAttributes.cc -fPIC -DPIC -o .libs/XAttributes.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/snapper-0.5.6/snapper' make[1]: *** [Makefile:549: all-recursive] Error 1 make: *** [Makefile:454: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.AsBQQ4 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.AsBQQ4 (%build) I: [iurt_root_command] ERROR: chroot