Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/simarrange.spec'], chrootPath='/var/lib/mock/f40-build-771297-125923/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/simarrange.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1694044800 Wrote: /builddir/build/SRPMS/simarrange-0.0-4020170316git8238ce5.fc40.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 riscv64 --nodeps /builddir/build/SPECS/simarrange.spec'], chrootPath='/var/lib/mock/f40-build-771297-125923/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/simarrange.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1694044800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Gg4L53 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf simarrange-8238ce568c3ce23e1ad5fbfec55031907bd23f77 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/simarrange-0.0-8238ce5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd simarrange-8238ce568c3ce23e1ad5fbfec55031907bd23f77 + rm -rf /builddir/build/BUILD/simarrange-8238ce568c3ce23e1ad5fbfec55031907bd23f77-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/simarrange-8238ce568c3ce23e1ad5fbfec55031907bd23f77-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (simarrange-opencv4.patch):' Patch #0 (simarrange-opencv4.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file simarrange.c + rm utlist.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ggZPr7 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 simarrange-8238ce568c3ce23e1ad5fbfec55031907bd23f77 ++ pkg-config --cflags --libs opencv + g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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 simarrange.c -o ./simarrange -lm -I/usr/include/opencv4 -lopencv_gapi -lopencv_stitching -lopencv_alphamat -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_cvv -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_intensity_transform -lopencv_line_descriptor -lopencv_mcc -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_highgui -lopencv_datasets -lopencv_text -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_wechat_qrcode -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_dnn -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core -ladmesh -largtable2 -fopenmp -DPARALLEL simarrange.c: In function ‘void add_stl(char*, int, int, int, img_list**)’: simarrange.c:138:19: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 138 | for (i = 0; i < s->stats.number_of_facets; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ simarrange.c:153:19: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 153 | for (i = 0; i < count; ++i) | ~~^~~~~~~ simarrange.c: In function ‘int main(int, char**)’: simarrange.c:464:41: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 464 | for (copy = elt->done; copy < elt->count; copy++) { | ~~~~~^~~~~~~~~~~~ simarrange.c:546:33: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 546 | for (copy = 0; copy < elt->done; ++copy) | ~~~~~^~~~~~~~~~~ simarrange.c:601:37: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 601 | for (copy = 0; copy < elt->done; ++copy) | ~~~~~^~~~~~~~~~~ simarrange.c:612:37: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 612 | for (copy = 0; copy < elt->done; ++copy) | ~~~~~^~~~~~~~~~~ simarrange.c:630:17: warning: variable ‘last_edges_fixed’ set but not used [-Wunused-but-set-variable] 630 | int last_edges_fixed = 0; | ^~~~~~~~~~~~~~~~ simarrange.c:327:9: warning: unused variable ‘c’ [-Wunused-variable] 327 | int c; | ^ simarrange.c:416:15: warning: unused variable ‘curplate’ [-Wunused-variable] 416 | img_list *curplate=NULL; | ^~~~~~~~ simarrange.c: In function ‘int add_files(arg_file*, int, int, img_list**, int)’: simarrange.c:184:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 350 equals destination size [-Wstringop-truncation] 184 | strncpy(filename, arg->filename[ifile], FILENAME_LEN); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KEbNdW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/simarrange-0.0-4020170316git8238ce5.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/simarrange-0.0-4020170316git8238ce5.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/simarrange-0.0-4020170316git8238ce5.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/simarrange-0.0-4020170316git8238ce5.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 simarrange-8238ce568c3ce23e1ad5fbfec55031907bd23f77 + install -Dpm0755 ./simarrange /builddir/build/BUILDROOT/simarrange-0.0-4020170316git8238ce5.fc40.riscv64/usr/bin/simarrange + install -Dpm0644 ./simarrange.1 /builddir/build/BUILDROOT/simarrange-0.0-4020170316git8238ce5.fc40.riscv64/usr/share/man/man1/simarrange.1 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.0-4020170316git8238ce5.fc40 --unique-debug-suffix -0.0-4020170316git8238ce5.fc40.riscv64 --unique-debug-src-base simarrange-0.0-4020170316git8238ce5.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/simarrange-8238ce568c3ce23e1ad5fbfec55031907bd23f77 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/simarrange-0.0-4020170316git8238ce5.fc40.riscv64 53 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: simarrange-0.0-4020170316git8238ce5.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mz60J7 + umask 022 + cd /builddir/build/BUILD + cd simarrange-8238ce568c3ce23e1ad5fbfec55031907bd23f77 + DOCDIR=/builddir/build/BUILDROOT/simarrange-0.0-4020170316git8238ce5.fc40.riscv64/usr/share/doc/simarrange + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/simarrange-0.0-4020170316git8238ce5.fc40.riscv64/usr/share/doc/simarrange + cp -pr /builddir/build/BUILD/simarrange-8238ce568c3ce23e1ad5fbfec55031907bd23f77/README.md /builddir/build/BUILDROOT/simarrange-0.0-4020170316git8238ce5.fc40.riscv64/usr/share/doc/simarrange + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.taOlLS + umask 022 + cd /builddir/build/BUILD + cd simarrange-8238ce568c3ce23e1ad5fbfec55031907bd23f77 + LICENSEDIR=/builddir/build/BUILDROOT/simarrange-0.0-4020170316git8238ce5.fc40.riscv64/usr/share/licenses/simarrange + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/simarrange-0.0-4020170316git8238ce5.fc40.riscv64/usr/share/licenses/simarrange + cp -pr /builddir/build/BUILD/simarrange-8238ce568c3ce23e1ad5fbfec55031907bd23f77/COPYING /builddir/build/BUILDROOT/simarrange-0.0-4020170316git8238ce5.fc40.riscv64/usr/share/licenses/simarrange + RPM_EC=0 ++ jobs -p + exit 0 Provides: simarrange = 0.0-4020170316git8238ce5.fc40 simarrange(riscv-64) = 0.0-4020170316git8238ce5.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libadmesh.so.1()(64bit) libargtable2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgomp.so.1()(64bit) libgomp.so.1(GOMP_1.0)(64bit) libgomp.so.1(GOMP_4.0)(64bit) libgomp.so.1(OMP_1.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libopencv_core.so.408()(64bit) libopencv_imgcodecs.so.408()(64bit) libopencv_imgproc.so.408()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: simarrange-debugsource-0.0-4020170316git8238ce5.fc40.riscv64 Provides: simarrange-debugsource = 0.0-4020170316git8238ce5.fc40 simarrange-debugsource(riscv-64) = 0.0-4020170316git8238ce5.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: simarrange-debuginfo-0.0-4020170316git8238ce5.fc40.riscv64 Provides: debuginfo(build-id) = af392301b9b0586d434134e6dfc85c25d25c0373 simarrange-debuginfo = 0.0-4020170316git8238ce5.fc40 simarrange-debuginfo(riscv-64) = 0.0-4020170316git8238ce5.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: simarrange-debugsource(riscv-64) = 0.0-4020170316git8238ce5.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/simarrange-0.0-4020170316git8238ce5.fc40.riscv64 Wrote: /builddir/build/RPMS/simarrange-debugsource-0.0-4020170316git8238ce5.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/simarrange-0.0-4020170316git8238ce5.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/simarrange-debuginfo-0.0-4020170316git8238ce5.fc40.riscv64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0