Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/pnm2ppa.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-41246-21227/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/pnm2ppa.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 Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/pnm2ppa-1.04-40.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/pnm2ppa.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-41246-21227/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/pnm2ppa.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 Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AnEjVn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pnm2ppa-1.04 + /usr/bin/gzip -dc /builddir/build/SOURCES/pnm2ppa-1.04.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pnm2ppa-1.04 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd pnm2ppa-1.04 + /usr/bin/gzip -dc /builddir/build/SOURCES/ppa-0.8.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #2 (pbm2ppa-20000205.diff):' Patch #2 (pbm2ppa-20000205.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .20000205 --fuzz=0 patching file pbm2ppa-0.8.6/CALIBRATION patching file pbm2ppa-0.8.6/defaults.1000.h patching file pbm2ppa-0.8.6/defaults.720.h patching file pbm2ppa-0.8.6/defaults.820.h patching file pbm2ppa-0.8.6/defaults.h patching file pbm2ppa-0.8.6/INSTALL patching file pbm2ppa-0.8.6/INSTALL-MORE patching file pbm2ppa-0.8.6/Makefile patching file pbm2ppa-0.8.6/pbm2ppa.1 patching file pbm2ppa-0.8.6/pbm2ppa.c patching file pbm2ppa-0.8.6/pbm2ppa.conf patching file pbm2ppa-0.8.6/pbm2ppa.conf.hp1000 patching file pbm2ppa-0.8.6/pbm2ppa.conf.hp720 patching file pbm2ppa-0.8.6/pbm2ppa.conf.hp820 patching file pbm2ppa-0.8.6/pbmtpg.c patching file pbm2ppa-0.8.6/README.REDHAT + echo 'Patch #3 (pnm2ppa-redhat.patch):' Patch #3 (pnm2ppa-redhat.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh --fuzz=0 patching file Makefile patching file pbm2ppa-0.8.6/Makefile patching file pnm2ppa.conf Patch #4 (pnm2ppa-coverity-return-local.patch): + echo 'Patch #4 (pnm2ppa-coverity-return-local.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .coverity-return-local --fuzz=0 patching file calibrate_ppa.c patching file pnm2ppa.c Patch #5 (pnm2ppa-ldflags.patch): + echo 'Patch #5 (pnm2ppa-ldflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ldflags --fuzz=0 patching file Makefile patching file pbm2ppa-0.8.6/Makefile + for file in docs/en/LICENSE pbm2ppa-0.8.6/LICENSE + sed 's|\r||g' docs/en/LICENSE + touch -r docs/en/LICENSE docs/en/LICENSE.new + mv docs/en/LICENSE.new docs/en/LICENSE + for file in docs/en/LICENSE pbm2ppa-0.8.6/LICENSE + sed 's|\r||g' pbm2ppa-0.8.6/LICENSE + touch -r pbm2ppa-0.8.6/LICENSE pbm2ppa-0.8.6/LICENSE.new + mv pbm2ppa-0.8.6/LICENSE.new pbm2ppa-0.8.6/LICENSE + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zOlWJB + umask 022 + cd /builddir/build/BUILD + cd pnm2ppa-1.04 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/make -O -j4 gcc -O2 -g -DNDEBUG -DLANG_EN -c syslog.c gcc -O2 -g -DNDEBUG -DLANG_EN -c ppa.c gcc -O2 -g -DNDEBUG -DLANG_EN -c pnm2ppa.c gcc -O2 -g -DNDEBUG -DLANG_EN -c image.c gcc -O2 -g -DNDEBUG -DLANG_EN -c dither.c gcc -O2 -g -DNDEBUG -DLANG_EN -c gamma.c gcc -O2 -g -DNDEBUG -DLANG_EN -lm -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o make_hash_ink make_hash_ink.c gcc -O2 -g -DNDEBUG -DLANG_EN -c pnmtools.c gcc -O2 -g -DNDEBUG -DLANG_EN -c cutswath.c gcc -O2 -g -DNDEBUG -DLANG_EN -c calibrate_ppa.c gcc -lm -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -DNDEBUG -DLANG_EN -o calibrate_ppa calibrate_ppa.o pnmtools.o gamma.o ./make_hash_ink 4 3 > hash_ink.c ./make_hash_ink 1 5 >> hash_ink.c gcc -O2 -g -DNDEBUG -DLANG_EN -c hash_ink.c gcc -lm -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -DNDEBUG -DLANG_EN -o pnm2ppa pnm2ppa.o syslog.o ppa.o image.o dither.o cutswath.o hash_ink.o gamma.o ~/build/BUILD/pnm2ppa-1.04/pbm2ppa-0.8.6 ~/build/BUILD/pnm2ppa-1.04 + pushd pbm2ppa-0.8.6 + /usr/bin/make -O -j4 gcc -O2 -g -DDEFAULT_PRINTER=HP720 -c pbm.c In file included from pbm.c:15: pbm.h:28:7: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif; ^ gcc -O2 -g -DDEFAULT_PRINTER=HP720 -c cutswath.c In file included from cutswath.c:16: pbm.h:28:7: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif; ^ gcc -O2 -g -DDEFAULT_PRINTER=HP720 -c pbm2ppa.c In file included from pbm2ppa.c:13: pbm.h:28:7: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif; ^ gcc -O2 -g -DDEFAULT_PRINTER=HP720 -c ppa.c gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o pbm2ppa pbm2ppa.o ppa.o pbm.o cutswath.o gcc -O2 -g -DDEFAULT_PRINTER=HP720 -c pbmtpg.c gcc -O2 -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o pbmtpg pbmtpg.o -lm ~/build/BUILD/pnm2ppa-1.04 + popd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oMbIKP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64 ++ dirname /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64 + cd pnm2ppa-1.04 + install -d /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/bin + install -d /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/etc + install -d /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/man/man1 + make INSTALLDIR=/builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/bin CONFDIR=/builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/etc MANDIR=/builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/man/man1 install install -b -m 755 pnm2ppa /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/bin install -b -d /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/man/man1 install -b -m 644 docs/en/pnm2ppa.1 /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/man/man1 install -b -m 644 pnm2ppa.conf /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/etc install -b -m 755 calibrate_ppa /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/bin Now, edit /etc/pnm2ppa.conf to choose your printer + install -p -m 0755 utils/Linux/detect_ppa /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/bin + install -p -m 0755 utils/Linux/test_ppa /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/bin + install -p -m 0755 pbm2ppa-0.8.6/pbm2ppa /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/bin + install -p -m 0755 pbm2ppa-0.8.6/pbmtpg /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/bin + install -p -m 0644 pbm2ppa-0.8.6/pbm2ppa.conf /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/etc + install -p -m 0644 pbm2ppa-0.8.6/pbm2ppa.1 /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/man/man1 + chmod 644 docs/en/LICENSE + mkdir -p pbm2ppa + for file in CALIBRATION CREDITS INSTALL INSTALL-MORE LICENSE README + install -p -m 0644 pbm2ppa-0.8.6/CALIBRATION pbm2ppa/CALIBRATION + for file in CALIBRATION CREDITS INSTALL INSTALL-MORE LICENSE README + install -p -m 0644 pbm2ppa-0.8.6/CREDITS pbm2ppa/CREDITS + for file in CALIBRATION CREDITS INSTALL INSTALL-MORE LICENSE README + install -p -m 0644 pbm2ppa-0.8.6/INSTALL pbm2ppa/INSTALL + for file in CALIBRATION CREDITS INSTALL INSTALL-MORE LICENSE README + install -p -m 0644 pbm2ppa-0.8.6/INSTALL-MORE pbm2ppa/INSTALL-MORE + for file in CALIBRATION CREDITS INSTALL INSTALL-MORE LICENSE README + install -p -m 0644 pbm2ppa-0.8.6/LICENSE pbm2ppa/LICENSE + for file in CALIBRATION CREDITS INSTALL INSTALL-MORE LICENSE README + install -p -m 0644 pbm2ppa-0.8.6/README pbm2ppa/README + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.04-40.el8 --unique-debug-suffix -1.04-40.el8.loongarch64 --unique-debug-src-base pnm2ppa-1.04-40.el8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pnm2ppa-1.04 extracting debug info from /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/bin/calibrate_ppa extracting debug info from /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/bin/pbmtpg extracting debug info from /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/bin/pnm2ppa extracting debug info from /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/bin/pbm2ppa /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 2760 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: pnm2ppa-1.04-40.el8.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pMxSN3 + umask 022 + cd /builddir/build/BUILD + cd pnm2ppa-1.04 + DOCDIR=/builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/CREDITS /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/INSTALL /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/README /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/RELEASE-NOTES /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/TODO /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/INSTALL.REDHAT.txt /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/COLOR.txt /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/CALIBRATION.txt /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/INSTALL.REDHAT.html /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/COLOR.html /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + cp -pr docs/en/CALIBRATION.html /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + cp -pr test.ps /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + cp -pr pbm2ppa /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/doc/pnm2ppa + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.j8biRh + umask 022 + cd /builddir/build/BUILD + cd pnm2ppa-1.04 + LICENSEDIR=/builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/licenses/pnm2ppa + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/licenses/pnm2ppa + cp -pr docs/en/LICENSE /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64/usr/share/licenses/pnm2ppa + exit 0 Provides: config(pnm2ppa) = 1:1.04-40.el8 pnm2ppa = 1:1.04-40.el8 pnm2ppa(loongarch-64) = 1:1.04-40.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: pnm2ppa-debugsource-1.04-40.el8.loongarch64 Provides: pnm2ppa-debugsource = 1:1.04-40.el8 pnm2ppa-debugsource(loongarch-64) = 1:1.04-40.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pnm2ppa-debuginfo-1.04-40.el8.loongarch64 Provides: debuginfo(build-id) = 117527cc87b24290dca0c524c0dc0099829ac266 debuginfo(build-id) = 314b109ce272e1ca17312b939585432ad7a9d2ce debuginfo(build-id) = 8d446152c3d8d0834f3f7173b30ee73b8b71b405 debuginfo(build-id) = fbcb82a1837cadc606af67c05c670c4526fbd2ea pnm2ppa-debuginfo = 1:1.04-40.el8 pnm2ppa-debuginfo(loongarch-64) = 1:1.04-40.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pnm2ppa-debugsource(loongarch-64) = 1:1.04-40.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64 Wrote: /builddir/build/RPMS/pnm2ppa-1.04-40.el8.loongarch64.rpm Wrote: /builddir/build/RPMS/pnm2ppa-debugsource-1.04-40.el8.loongarch64.rpm Wrote: /builddir/build/RPMS/pnm2ppa-debuginfo-1.04-40.el8.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GJeuZv + umask 022 + cd /builddir/build/BUILD + cd pnm2ppa-1.04 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pnm2ppa-1.04-40.el8.loongarch64 + exit 0 Child return code was: 0