D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/foremost-1.5.7-13.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oxVykJ Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GXroOj + umask 022 + cd /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build + rm -rf foremost-1.5.7 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/foremost-1.5.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd foremost-1.5.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (foremost-broken-jpeg.patch):' Patch #0 (foremost-broken-jpeg.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file extract.c + echo 'Patch #1 (foremost-fix-permission-timestamp.patch):' Patch #1 (foremost-fix-permission-timestamp.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file Makefile + echo 'Patch #2 (foremost-1.5.7-format-security.patch):' Patch #2 (foremost-1.5.7-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extract.c Hunk #1 succeeded at 2115 (offset 5 lines). Hunk #2 succeeded at 2149 (offset 5 lines). + echo 'Patch #3 (foremost-1.5.7-gcc10.patch):' Patch #3 (foremost-1.5.7-gcc10.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file api.c patching file extract.c patching file main.h patching file ole.h patching file state.c patching file main.c + sed -i 's|/usr/local/etc/foremost.conf|/etc/foremost.conf|' config.c + sed -i 's|^RAW_FLAGS =.*|RAW_FLAGS = -O2 -g -pipe -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|' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oSHcfe + umask 022 + cd /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build + CFLAGS='-O2 -g -pipe -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 CFLAGS + CXXFLAGS='-O2 -g -pipe -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 -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 -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,--no-undefined -Wl,-z,relro -Wl,-z,now -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 + cd foremost-1.5.7 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 gcc -O2 -g -pipe -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 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c cli.c gcc -O2 -g -pipe -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 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c config.c gcc -O2 -g -pipe -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 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c main.c gcc -O2 -g -pipe -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 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c helpers.c gcc -O2 -g -pipe -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 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c state.c state.c: In function 'set_config_file': state.c:78:9: warning: ignoring return value of 'realpath' declared with attribute 'warn_unused_result' [-Wunused-result] 78 | realpath(fn, temp); | ^~~~~~~~~~~~~~~~~~ state.c: In function 'set_output_directory': state.c:99:9: warning: ignoring return value of 'realpath' declared with attribute 'warn_unused_result' [-Wunused-result] 99 | realpath(fn, temp); | ^~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -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 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c engine.c gcc -O2 -g -pipe -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 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c dir.c gcc -O2 -g -pipe -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 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c api.c gcc -O2 -g -pipe -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 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c extract.c gcc -O2 -g -pipe -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 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 main.o state.o helpers.o config.o cli.o engine.o dir.o extract.o api.o -o foremost + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VMrdz1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build + mkdir /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT + CFLAGS='-O2 -g -pipe -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 CFLAGS + CXXFLAGS='-O2 -g -pipe -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 -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 -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,--no-undefined -Wl,-z,relro -Wl,-z,now -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 + cd foremost-1.5.7 + '[' 1 -eq 1 ']' + chmod 0644 CHANGES Makefile README api.c api.o cli.c cli.o config.c config.o dir.c dir.o engine.c engine.o extract.c extract.h extract.o foremost foremost.8.gz foremost.conf helpers.c helpers.o main.c main.h main.o ole.h state.c state.o + mkdir -p /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT/usr/bin + mkdir -p /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT/etc + mkdir -p /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT/usr/share/man/man8 + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT 'INSTALL=/usr/bin/install -p' BIN=/home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT/usr/bin MAN=/home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT/usr/share/man/man8 CONF=/home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT/etc install -p -m 755 foremost /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT/usr/bin install -p -m 644 foremost.8.gz /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT/usr/share/man/man8 install -p -m 644 foremost.conf /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT/etc + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.5.7-13.mga10 --unique-debug-suffix -1.5.7-13.mga10.x86_64 --unique-debug-src-base foremost-1.5.7-13.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/foremost-1.5.7 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/foremost-1.5.7-13.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/SPECPARTS/rpm-debuginfo.specpart Processing files: foremost-1.5.7-13.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aq3feW + umask 022 + cd /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build + cd foremost-1.5.7 + DOCDIR=/home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT/usr/share/doc/foremost + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT/usr/share/doc/foremost + cp -pr /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/foremost-1.5.7/CHANGES /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT/usr/share/doc/foremost + cp -pr /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/foremost-1.5.7/README /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT/usr/share/doc/foremost + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(foremost) = 1.5.7-13.mga10 foremost = 1.5.7-13.mga10 foremost(x86-64) = 1.5.7-13.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) Processing files: foremost-debugsource-1.5.7-13.mga10.x86_64 Provides: foremost-debugsource = 1.5.7-13.mga10 foremost-debugsource(x86-64) = 1.5.7-13.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: foremost-debuginfo-1.5.7-13.mga10.x86_64 Provides: debuginfo(build-id) = 1582bc0faf185267da292e1914ef5f6adbbb2449 foremost-debuginfo = 1.5.7-13.mga10 foremost-debuginfo(x86-64) = 1.5.7-13.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: foremost-debugsource(x86-64) = 1.5.7-13.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/foremost-1.5.7-13.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/foremost-debugsource-1.5.7-13.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/foremost-debuginfo-1.5.7-13.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sLZCJG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build + test -d /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build + rm -rf /home/pterjan/rpmbuild/BUILD/foremost-1.5.7-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!