Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libdasm.spec'], chrootPath='/var/lib/mock/f33-build-124640-39658/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False warning: extra tokens at the end of %endif directive in line 110: %endif #build_release Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Wrote: /builddir/build/SRPMS/libdasm-1.6-8.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libdasm.spec'], chrootPath='/var/lib/mock/f33-build-124640-39658/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False warning: extra tokens at the end of %endif directive in line 110: %endif #build_release Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oL8RGs + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tIMDGq + umask 022 + cd /builddir/build/BUILD + cd libdasm-1.6 + make -j4 '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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c -o das.o das.c In file included from das.c:38: ../libdasm.h:135: warning: "REG_SP" redefined 135 | #define REG_SP REG_ESP | In file included from /usr/include/signal.h:306, from das.c:36: /usr/include/sys/ucontext.h:36: note: this is the location of the previous definition 36 | # define REG_SP 2 | 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] 185 | 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o simple simple.o -l dasm -L ../ make[1]: Leaving directory '/builddir/build/BUILD/libdasm-1.6/examples' # make -C pydasm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JlvIks + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64 + cd libdasm-1.6 + make install DESTDIR=/builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64 PREFIX=/usr LIBDIR=/usr/lib64 BINDIR=/usr/bin install -p -D libdasm.so /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/lib64/libdasm.so.1.0 ln -s "libdasm.so.1.0" /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/lib64/libdasm.so.1 ln -s "libdasm.so.1.0" /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/lib64/libdasm.so install -d /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/include install -m 644 -p libdasm.h /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/include/libdasm.h install -m 644 -p -D libdasm.a /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/lib64/libdasm.a make -C examples install DESTDIR=/builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64 make[1]: Entering directory '/builddir/build/BUILD/libdasm-1.6/examples' install -p -D das /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/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-8.fc33.riscv64 + rm -f /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/bin/das.py + pushd /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/bin ~/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/bin ~/build/BUILD/libdasm-1.6 + popd ~/build/BUILD/libdasm-1.6 + find /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64 -name '*.la' -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64 -name '*.a' -exec rm -f '{}' ';' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.6-8.fc33 --unique-debug-suffix -1.6-8.fc33.riscv64 --unique-debug-src-base libdasm-1.6-8.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libdasm-1.6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/lib64/libdasm.so.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/bin/das extracting debug info from /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/lib64/libdasm.so.1.0 extracting debug info from /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/bin/das original debug info size: 128kB, size after compression: 136kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 686 blocks + /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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libdasm-1.6-8.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.k30E8t + umask 022 + cd /builddir/build/BUILD + cd libdasm-1.6 + DOCDIR=/builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/share/doc/libdasm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/share/doc/libdasm + cp -pr HISTORY.txt /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/share/doc/libdasm + cp -pr LIB.txt /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/share/doc/libdasm + cp -pr README.txt /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/share/doc/libdasm + cp -pr TODO.txt /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64/usr/share/doc/libdasm + RPM_EC=0 ++ jobs -p + 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-8.fc33 libdasm(riscv-64) = 1.6-8.fc33 libdasm.so.1()(64bit) 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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdasm.so.1()(64bit) rtld(GNU_HASH) Processing files: libdasm-devel-1.6-8.fc33.riscv64 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-8.fc33 libdasm-devel(riscv-64) = 1.6-8.fc33 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-8.fc33.riscv64 Provides: libdasm-debugsource = 1.6-8.fc33 libdasm-debugsource(riscv-64) = 1.6-8.fc33 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-8.fc33.riscv64 warning: Deprecated external dependency generator is used! 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 " Provides: debuginfo(build-id) = 491ab1563976bfc429827cd9ed3867e084a54a5b debuginfo(build-id) = 68ca363a112a2d4a8f9c1798db2aa8576c23b10e libdasm-debuginfo = 1.6-8.fc33 libdasm-debuginfo(riscv-64) = 1.6-8.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libdasm-debugsource(riscv-64) = 1.6-8.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64 Wrote: /builddir/build/RPMS/libdasm-devel-1.6-8.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libdasm-debuginfo-1.6-8.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libdasm-1.6-8.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libdasm-debugsource-1.6-8.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RdA3Eq + umask 022 + cd /builddir/build/BUILD + cd libdasm-1.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libdasm-1.6-8.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0