Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/extundelete.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-151423-9983/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/extundelete.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/extundelete-0.2.4-1.ocs23.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/extundelete.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-151423-9983/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/extundelete.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Vf5EP6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf extundelete-0.2.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/extundelete-0.2.4.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd extundelete-0.2.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (extundelete-0.2.4-i_size_high.patch):' Patch #0 (extundelete-0.2.4-i_size_high.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .i_size_high --fuzz=0 patching file src/insertionops.cc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6H7FqV + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd extundelete-0.2.4 + '[' '-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 2013-01-04 03:10:04.000000000 +0800 +++ ./configure 2024-05-08 16:13:36.921000814 +0800 @@ -1589,7 +1589,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 + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-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 Configuring extundelete 0.2.4 Writing generated files to disk + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make -s all-recursive Making all in src cli.cc: In function 'errcode_t examine_fs(ext2_filsys)': cli.cc:337:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 337 | if(strlen(name) > 0) | ^~ cli.cc:339:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 339 | if(errcode) com_err(Config::progname.c_str(), errcode, "while restoring file %s.", name); | ^~ extundelete.cc: In function 'int extundelete_test_inode_bitmap(ext2_filsys, ext2_ino_t)': extundelete.cc:196:12: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] 196 | if(! EXT2_SB(fs->super)->s_feature_incompat & EXT4_FEATURE_INCOMPAT_64BIT) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extundelete.cc: In function 'ext2_ino_t find_inode(ext2_filsys, ext2_filsys, ext2_inode*, std::string, int)': extundelete.cc:1271:35: warning: narrowing conversion of 'search_flags' from 'int' to 'ext2_ino_t' {aka 'unsigned int'} [-Wnarrowing] 1271 | struct dir_context ctx = {search_flags, DIRENT_FLAG_INCLUDE_REMOVED, | ^~~~~~~~~~~~ extundelete.cc: In function 'errcode_t restore_file(ext2_filsys, ext2_filsys, const std::string&)': extundelete.cc:1522:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1522 | if (LINUX_S_ISDIR(inode->i_mode) && inode->i_blocks > 0) | ^~ extundelete.cc:1524:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1524 | print_directory_inode(fs, inode, ino); | ^~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9yohrB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/extundelete-0.2.4-1.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/extundelete-0.2.4-1.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/extundelete-0.2.4-1.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/extundelete-0.2.4-1.ocs23.aarch64 + cd extundelete-0.2.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/extundelete-0.2.4-1.ocs23.aarch64 'INSTALL=/usr/bin/install -p' Making install in src /usr/bin/install -p extundelete '/builddir/build/BUILDROOT/extundelete-0.2.4-1.ocs23.aarch64/usr/bin' + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.2.4-1.ocs23 --unique-debug-suffix -0.2.4-1.ocs23.aarch64 --unique-debug-src-base extundelete-0.2.4-1.ocs23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/extundelete-0.2.4 extracting debug info from /builddir/build/BUILDROOT/extundelete-0.2.4-1.ocs23.aarch64/usr/bin/extundelete 309 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: extundelete-0.2.4-1.ocs23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VMgsfQ + umask 022 + cd /builddir/build/BUILD + cd extundelete-0.2.4 + DOCDIR=/builddir/build/BUILDROOT/extundelete-0.2.4-1.ocs23.aarch64/usr/share/doc/extundelete + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/extundelete-0.2.4-1.ocs23.aarch64/usr/share/doc/extundelete + cp -pr README /builddir/build/BUILDROOT/extundelete-0.2.4-1.ocs23.aarch64/usr/share/doc/extundelete + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.S2mGAw + umask 022 + cd /builddir/build/BUILD + cd extundelete-0.2.4 + LICENSEDIR=/builddir/build/BUILDROOT/extundelete-0.2.4-1.ocs23.aarch64/usr/share/licenses/extundelete + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/extundelete-0.2.4-1.ocs23.aarch64/usr/share/licenses/extundelete + cp -pr LICENSE /builddir/build/BUILDROOT/extundelete-0.2.4-1.ocs23.aarch64/usr/share/licenses/extundelete + RPM_EC=0 ++ jobs -p + exit 0 Provides: extundelete = 0.2.4-1.ocs23 extundelete(aarch-64) = 0.2.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libcom_err.so.2()(64bit) libext2fs.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: extundelete-debugsource-0.2.4-1.ocs23.aarch64 Provides: extundelete-debugsource = 0.2.4-1.ocs23 extundelete-debugsource(aarch-64) = 0.2.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: extundelete-debuginfo-0.2.4-1.ocs23.aarch64 Provides: debuginfo(build-id) = d6e64e6443736582a675bac71fd782f724875ea2 extundelete-debuginfo = 0.2.4-1.ocs23 extundelete-debuginfo(aarch-64) = 0.2.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: extundelete-debugsource(aarch-64) = 0.2.4-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/extundelete-0.2.4-1.ocs23.aarch64 Wrote: /builddir/build/RPMS/extundelete-debugsource-0.2.4-1.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/extundelete-0.2.4-1.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/extundelete-debuginfo-0.2.4-1.ocs23.aarch64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0