Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libdasm.spec'], chrootPath='/var/lib/mock/centos-stream-8-x86_64-1619039309.467615/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hvmak32j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hvmak32j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e3f6439bee934d20933f2aa55a49819b', '-D', '/var/lib/mock/centos-stream-8-x86_64-1619039309.467615/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hvmak32j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libdasm.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libdasm-1.6-11.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libdasm.spec'], chrootPath='/var/lib/mock/centos-stream-8-x86_64-1619039309.467615/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hvmak32j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hvmak32j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6c7015bd6d1c4f30b9dec3c277809032', '-D', '/var/lib/mock/centos-stream-8-x86_64-1619039309.467615/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hvmak32j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libdasm.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HOuJgw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libdasm-1.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/libdasm-1.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libdasm-1.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/libdasm-01_readonly.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/libdasm-02_explicit_python.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/libdasm-03_das_futurize.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -rf bin + sed -i -e 's|python |python2 |g;' pydasm/Makefile + sed -i -e 's|make -C pydasm|# make -C pydasm|' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rpdy3v + umask 022 + cd /builddir/build/BUILD + cd libdasm-1.6 + make -j2 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC' PREFIX=/usr LIBDIR=/usr/lib64 BINDIR=/usr/bin gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o libdasm.o libdasm.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -shared -fPIC -Wl,-soname,libdasm.so.1 -o libdasm.so libdasm.c ar rc libdasm.a libdasm.o && ranlib libdasm.a make -C examples make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/builddir/build/BUILD/libdasm-1.6/examples' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o das.o das.c das.c: In function 'read_file': das.c:185:16: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] return (buf); ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -o das das.o -l dasm -L ../ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o simple.o simple.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -o simple simple.o -l dasm -L ../ make[1]: Leaving directory '/builddir/build/BUILD/libdasm-1.6/examples' # make -C pydasm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cdWq7v + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64 + cd libdasm-1.6 + make install DESTDIR=/builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64 PREFIX=/usr LIBDIR=/usr/lib64 BINDIR=/usr/bin install -p -D libdasm.so /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/lib64/libdasm.so.1.0 ln -s "libdasm.so.1.0" /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/lib64/libdasm.so.1 ln -s "libdasm.so.1.0" /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/lib64/libdasm.so install -d /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/include install -m 644 -p libdasm.h /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/include/libdasm.h install -m 644 -p -D libdasm.a /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/lib64/libdasm.a make -C examples install DESTDIR=/builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64 make[1]: Entering directory '/builddir/build/BUILD/libdasm-1.6/examples' install -p -D das /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/bin/das make[1]: Leaving directory '/builddir/build/BUILD/libdasm-1.6/examples' # make -C pydasm install DESTDIR=/builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64 + rm -f /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/bin/das.py + pushd /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/bin ~/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/bin ~/build/BUILD/libdasm-1.6 ~/build/BUILD/libdasm-1.6 + popd + find /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64 -name '*.la' -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64 -name '*.a' -exec rm -f '{}' ';' + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.6-11.el8 --unique-debug-suffix -1.6-11.el8.x86_64 --unique-debug-src-base libdasm-1.6-11.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libdasm-1.6 extracting debug info from /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/bin/das extracting debug info from /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/lib64/libdasm.so.1.0 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 686 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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: libdasm-1.6-11.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Ozk04t + umask 022 + cd /builddir/build/BUILD + cd libdasm-1.6 + DOCDIR=/builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/share/doc/libdasm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/share/doc/libdasm + cp -pr HISTORY.txt /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/share/doc/libdasm + cp -pr LIB.txt /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/share/doc/libdasm + cp -pr README.txt /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/share/doc/libdasm + cp -pr TODO.txt /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64/usr/share/doc/libdasm + exit 0 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '%{python2_sitearch}/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: libdasm = 1.6-11.el8 libdasm(x86-64) = 1.6-11.el8 libdasm.so.1()(64bit) 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.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libdasm.so.1()(64bit) rtld(GNU_HASH) Processing files: libdasm-devel-1.6-11.el8.x86_64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '%{python2_sitearch}/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: libdasm-devel = 1.6-11.el8 libdasm-devel(x86-64) = 1.6-11.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libdasm.so.1()(64bit) Processing files: libdasm-debugsource-1.6-11.el8.x86_64 warning: Deprecated external dependency generator is used! Provides: libdasm-debugsource = 1.6-11.el8 libdasm-debugsource(x86-64) = 1.6-11.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libdasm-debuginfo-1.6-11.el8.x86_64 Finding Provides: /bin/sh -c " /usr/bin/grep -v '%{python2_sitearch}/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " warning: Deprecated external dependency generator is used! Provides: debuginfo(build-id) = 49b5648fe340565b31bce9ef753de1048f6f4e2e debuginfo(build-id) = 5f8e400a2f67e55cf13a7b7c93cff87406338371 libdasm-debuginfo = 1.6-11.el8 libdasm-debuginfo(x86-64) = 1.6-11.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libdasm-debugsource(x86-64) = 1.6-11.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64 Wrote: /builddir/build/RPMS/libdasm-1.6-11.el8.x86_64.rpm Wrote: /builddir/build/RPMS/libdasm-devel-1.6-11.el8.x86_64.rpm Wrote: /builddir/build/RPMS/libdasm-debugsource-1.6-11.el8.x86_64.rpm Wrote: /builddir/build/RPMS/libdasm-debuginfo-1.6-11.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.heJOsw + umask 022 + cd /builddir/build/BUILD + cd libdasm-1.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libdasm-1.6-11.el8.x86_64 + exit 0 Child return code was: 0