D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/valgrind-3.22.0-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dTpO4b + umask 022 + cd /home/pterjan/rpmbuild/BUILD/valgrind-3.22.0-build + test -d /home/pterjan/rpmbuild/BUILD/valgrind-3.22.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/valgrind-3.22.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/valgrind-3.22.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/valgrind-3.22.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/valgrind-3.22.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.G4eLFs + umask 022 + cd /home/pterjan/rpmbuild/BUILD/valgrind-3.22.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/valgrind-3.22.0-build + rm -rf valgrind-3.22.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/valgrind-3.22.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd valgrind-3.22.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (valgrind-3.9.0-cachegrind-improvements.patch):' Patch #1 (valgrind-3.9.0-cachegrind-improvements.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cachegrind/cg_sim.c Hunk #1 succeeded at 40 (offset -2 lines). Hunk #2 succeeded at 73 (offset -2 lines). + echo 'Patch #2 (valgrind-3.9.0-ldso-supp.patch):' Patch #2 (valgrind-3.9.0-ldso-supp.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file glibc-2.X.supp.in + echo 'Patch #3 (valgrind-3.16.0-some-stack-protector.patch):' Patch #3 (valgrind-3.16.0-some-stack-protector.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file auxprogs/Makefile.am patching file configure.ac Hunk #1 succeeded at 2743 (offset 391 lines). patching file coregrind/Makefile.am Hunk #1 succeeded at 60 (offset 5 lines). + echo 'Patch #4 (valgrind-3.16.0-some-Wl-z-now.patch):' Patch #4 (valgrind-3.16.0-some-Wl-z-now.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file auxprogs/Makefile.am patching file coregrind/Makefile.am Hunk #1 succeeded at 62 (offset 5 lines). + echo 'Patch #5 (valgrind-3.22.0-valgrind-monitor-python-re.patch):' Patch #5 (valgrind-3.22.0-valgrind-monitor-python-re.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file coregrind/m_gdbserver/valgrind-monitor-def.py + echo 'Patch #6 (valgrind-3.22.0-rodata.patch):' Patch #6 (valgrind-3.22.0-rodata.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file coregrind/m_debuginfo/image.c patching file coregrind/m_debuginfo/priv_image.h patching file coregrind/m_debuginfo/readelf.c + echo 'Patch #7 (valgrind-3.22.0-fchmodat2.patch):' Patch #7 (valgrind-3.22.0-fchmodat2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file coregrind/m_syswrap/priv_syswrap-linux.h patching file coregrind/m_syswrap/syswrap-amd64-linux.c patching file coregrind/m_syswrap/syswrap-arm-linux.c patching file coregrind/m_syswrap/syswrap-arm64-linux.c patching file coregrind/m_syswrap/syswrap-linux.c patching file coregrind/m_syswrap/syswrap-mips32-linux.c patching file coregrind/m_syswrap/syswrap-mips64-linux.c patching file coregrind/m_syswrap/syswrap-nanomips-linux.c patching file coregrind/m_syswrap/syswrap-ppc32-linux.c patching file coregrind/m_syswrap/syswrap-ppc64-linux.c patching file coregrind/m_syswrap/syswrap-s390x-linux.c patching file coregrind/m_syswrap/syswrap-x86-linux.c patching file include/vki/vki-scnums-shared-linux.h + echo 'Patch #1000 (valgrind-3.13.0-arm.patch):' Patch #1000 (valgrind-3.13.0-arm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file none/tests/arm/Makefile.am patching file configure.ac + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9Th7Gh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/valgrind-3.22.0-build + cd valgrind-3.22.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ./autogen.sh running: aclocal running: autoheader running: automake -a running: autoconf skipping: git configuration ++ echo ' -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' ++ sed 's/ -fstack-protector\([-a-z]*\) / / g;s/ -O2 / /g;' + CFLAGS=' -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export CFLAGS ++ echo ' -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' ++ sed 's/ -Wl,-z,now / / g;' + LDFLAGS=' -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + CFLAGS=' -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + 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/fix-libtool-ltmain-from-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 --with-mpicc=/usr/lib64/openmpi/bin/mpicc --enable-only64bit GDB=/usr/bin/gdb checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 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 xargs -n works... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E 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 dependency style of g++... none checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gcc-ranlib... /usr/bin/gcc-ranlib checking for a sed that does not truncate output... /usr/bin/sed checking for gsha256sum... no checking for sha256sum... sha256sum checking for ar... /usr/bin/ar checking for gcc-ar... /usr/bin/gcc-ar checking for perl... /usr/bin/perl checking for gdb... /usr/bin/gdb checking dependency style of gcc... none checking for diff -u... yes checking for a supported version of gcc... ok (14) checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for a supported CPU... ok (x86_64) checking for a 64-bit only build... yes checking for a 32-bit only build... no checking for a supported OS... ok (linux-gnu) checking for the kernel version... 2.6 or later (6.4.7-server-3.mga9) checking for 32 bit build support... yes checking for a supported CPU/OS combination... ok (amd64-linux) checking for use as an inner Valgrind... no checking for using the undefined behaviour sanitiser... no checking where gdb scripts are installed... /usr/libexec/valgrind 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 sys/time.h... yes checking for sys/param.h... yes checking for features.h... yes checking for egrep -e... /usr/bin/grep -E checking whether pthread_create needs libpthread... no checking the glibc version... 2.40 family checking for AT_FDCWD... yes checking for stpncpy... yes checking for PTRACE_GETREGS... yes checking for CLOCK_MONOTONIC... yes checking for Elf32_Chdr... yes checking for Elf64_Chdr... yes checking for pthread_rwlock_t... yes checking for clockid_t... yes checking for PTHREAD_MUTEX_ADAPTIVE_NP... yes checking for PTHREAD_MUTEX_ERRORCHECK_NP... yes checking for PTHREAD_MUTEX_RECURSIVE_NP... yes checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP... yes checking for pthread_mutex_t.__m_kind... no checking for pthread_mutex_t.__data.__kind... yes checking if AT_HWCAP contains the altivec indicator... no checking if AT_HWCAP contains the vsx indicator... no checking if AT_HWCAP contains the dfp indicator... no checking if AT_HWCAP contains the arch_2_05 indicator... no checking if AT_HWCAP contains the arch_2_06 indicator... no checking if AT_HWCAP contains the arch_2_07 indicator... no checking if AT_HWCAP contains the arch_3_00 indicator... no checking if AT_HWCAP contains the arch_3_1 indicator... no checking if AT_HWCAP contains the htm indicator... no checking if AT_HWCAP contains the mma indicator... no checking that assembler knows ISA 2.07 instructions ... no checking for Altivec support in the compiler ... no checking for VSX compiler flag support... no checking for VSX support in the assembler ... no checking that assembler knows DFP... no checking that compiler knows -mhard-dfp switch... no checking that compiler knows DFP datatypes... yes checking if compiler accepts the -mhtm flag... no checking if compiler can find the htm builtins... no checking that assembler knows ISA 3.00 ... no checking that assembler knows xscvhpdp ... no checking that assembler knows darn instruction ... no checking that assembler knows ISA 3.1 ... no checking for pthread_create@GLIBC2.0()... no checking for dlinfo RTLD_DI_TLS_MODID... yes checking for eventfd()... yes checking that C++ compiler can compile C++17 code... yes checking that C++ compiler can include header file... yes checking that C++ compiler can include header file... yes checking that C++ compiler can use std::shared_timed_mutex... yes checking that C++ compiler can use std::timed_mutex... yes checking for struct user_regs_struct... yes checking for __NR_membarrier... yes checking if gcc accepts -m32... yes checking if gcc accepts -m64... yes checking if gcc accepts -march=octeon... no checking if gcc accepts -march=octeon2... no checking if gcc accepts -mmsa... no checking if gcc is producing mips n32 binaries... no checking if gcc is producing mips n64 binaries... no checking if gcc accepts -mmmx... yes checking if gcc accepts -msse... yes checking if gcc accepts -mpreferred-stack-boundary=2 -m32... yes checking if gcc accepts -mlong-double-128... yes checking for using the link time optimisation... no checking if gcc accepts -Wmemset-transposed-args... yes checking if gcc accepts -Wnonnull... yes checking if gcc accepts -Woverflow... yes checking if gcc accepts -Wpointer-sign... yes checking if gcc accepts -Wuninitialized... yes checking if gcc accepts -Wmaybe-uninitialized... yes checking if gcc accepts -Wunused-function... yes checking if gcc accepts -Wstatic-local-in-inline... no checking if gcc accepts -Wmismatched-new-delete... yes checking if gcc accepts -Winfinite-recursion... yes checking if gcc accepts -Wexpansion-to-defined... yes checking if gcc accepts -Wunused-variable... yes checking if gcc accepts -Wunused-but-set-variable... yes checking if gcc accepts -Wnon-power-of-two-alignment... no checking if gcc accepts -Wsign-compare... yes checking if gcc accepts -Wstringop-overflow... yes checking if gcc accepts -Wstringop-overread... yes checking if gcc accepts -Wstringop-truncation... yes checking if gcc accepts -Wformat-overflow... yes checking if gcc accepts -Wuse-after-free... yes checking if gcc accepts -Wfree-nonheap-object... yes checking if gcc accepts -Wfortify-source... no checking if gcc accepts -Wbuiltin-memcpy-chk-size... no checking if gcc accepts -Wincompatible-pointer-types-discards-qualifiers... no checking if gcc accepts -Wsuspicious-bzero... no checking if gcc accepts -Wattributes... yes checking if gcc accepts -Walloc-size-larger-than=1677216... yes checking if gcc accepts -Wwrite-strings... Session terminated, killing shell...yes checking if gcc accepts -Wempty-body... yes checking if gcc accepts -Wformat... yes checking if gcc accepts -Wformat-signedness... yes checking if gcc accepts -Wcast-qual... yes checking if gcc accepts -Wold-style-declaration... yes checking if gcc accepts -Wignored-qualifiers... yes checking if gcc accepts -Wmissing-parameter-type... yes checking if gcc accepts -Wlogical-op... yes checking if gcc accepts -Wenum-conversion... yes checking if gcc accepts -Wimplicit-fallthrough=2... yes checking if gcc accepts -Wformat-security... yes checking if gcc accepts -Wextra or -W... -Wextra checking if g++ accepts -faligned-new... yes checking if g++ accepts -fsized-deallocation... yes checking if g++ supports aligned new and delete... yes checking if gcc accepts -finline-functions... yes checking if gcc accepts -fno-ipa-icf... yes checking if gcc accepts --param inline-unit-growth... yes checking if gcc accepts -gdwarf-4 -fdebug-types-section... yes checking if gcc accepts -g -gz=zlib... yes checking if gcc accepts -g -gz=zlib-gnu... yes checking if gcc accepts nested functions... yes checking if gcc accepts the 'p' constraint in asm statements... yes checking if gcc accepts -pie... yes checking if gcc accepts -ansi... yes checking if gcc accepts -no-pie... yes checking if the linker accepts -Wl,--image-base... no checking if the linker accepts -Wl,-Ttext-segment... yes configure: ld --image-base or -Ttext-segment used, no need to strip build-id NOTEs. checking if ppc32/64 as supports mtocrf/mfocrf... no checking if ppc32/64 asm supports phased out floating point instructions... no checking if amd64 assembler supports fxsave64/fxrstor64... yes checking if x86/amd64 assembler speaks SSE3... yes checking if x86/amd64 assembler speaks SSSE3... yes checking if x86/amd64 assembler supports 'pclmulqdq'... yes checking if x86/amd64 assembler supports 'vpclmulqdq'... yes checking if x86/amd64 assembler supports FMA4 'vfmaddpd'... yes checking if x86/amd64 assembler supports 'lzcnt'... yes checking if x86/amd64 assembler supports 'loopnel'... yes checking if x86/amd64 assembler supports 'addr32'... yes checking if x86/amd64 assembler speaks SSE4.2... yes checking if x86/amd64 assembler speaks AVX... yes checking if x86/amd64 assembler speaks AVX2... yes checking if x86/amd64 assembler speaks TSX... yes checking if x86/amd64 assembler speaks BMI1 and BMI2... yes checking if x86/amd64 assembler speaks FMA... yes checking if amd64 assembler knows the MPX instructions... yes checking if amd64 assembler knows the ADX instructions... yes checking if amd64 assembler knows the RDRAND instruction... yes checking if amd64 assembler knows the RDSEED instruction... yes checking if amd64 assembler knows the F16C instructions... yes checking if x86/amd64 assembler knows the MOVBE insn... yes checking if gcc supports the ifunc attribute... yes checking if gcc supports the armv8 crc feature flag... no checking if gcc supports the armv81 feature flag and assembler supports v8.1 instructions... no checking if gcc supports the armv82 feature flag and assembler supports v8.2 instructions... no checking for TLS support... yes checking for asm/unistd.h... yes checking for endian.h... yes checking for mqueue.h... yes checking for sys/endian.h... no checking for sys/epoll.h... yes checking for sys/eventfd.h... yes checking for sys/klog.h... yes checking for sys/poll.h... yes checking for sys/prctl.h... yes checking for sys/signal.h... yes checking for sys/signalfd.h... yes checking for sys/syscall.h... yes checking for sys/sysnvl.h... no checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking if is usable... yes checking for uid_t... yes checking for gid_t... ...killed. I: [iurt_root_command] ERROR: chroot yes checking for off_t... yes checking for size_t... yes checking for struct statx... yes checking for working memcmp... yes checking for getpagesize... yes checking for working mmap... yes checking for pthread_create in -lpthread... yes checking for clock_gettime in -lrt... yes checking for aligned_alloc... yes checking for clock_gettime... yes checking for copy_file_range... yes checking for epoll_create... yes checking for epoll_pwait... yes checking for getaddrinfo... yes checking for klogctl... yes checking for mallinfo... yes checking for memchr... yes checking for memfd_create... yes checking for memset... yes checking for mkdir... yes checking for mremap... yes checking for pipe2... yes checking for ppoll... yes checking for preadv... yes checking for preadv2...