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/python-smbpasswd.spec'], chrootPath='/var/lib/mock/f33-build-302625-56996/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/python-smbpasswd.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: Macro expanded in comment on line 10: %{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/python-smbpasswd-1.0.2-4.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/python-smbpasswd.spec'], chrootPath='/var/lib/mock/f33-build-302625-56996/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/python-smbpasswd.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: Macro expanded in comment on line 10: %{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dOmDLl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf py-smbpasswd-1.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/py-smbpasswd-1.0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd py-smbpasswd-1.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (python-smbpasswd-1.0.1-py3.patch):' Patch #1 (python-smbpasswd-1.0.1-py3.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .org --fuzz=0 patching file README.txt patching file setup.py patching file smbpasswd.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LiFe8h + umask 022 + cd /builddir/build/BUILD + cd py-smbpasswd-1.0.2 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_ext building 'smbpasswd' extension creating build creating build/temp.linux-riscv64-3.9 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -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 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -c md4.c -o build/temp.linux-riscv64-3.9/md4.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -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 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -c smbdes.c -o build/temp.linux-riscv64-3.9/smbdes.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -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 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -c smbpasswd.c -o build/temp.linux-riscv64-3.9/smbpasswd.o smbpasswd.c: In function ‘lmhash’: smbpasswd.c:100:18: warning: pointer targets in passing argument 2 of ‘E_P16’ differ in signedness [-Wpointer-sign] 100 | E_P16(lmpwd, hashout); | ^~~~~~~ | | | char * smbpasswd.c:35:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 35 | void E_P16(unsigned char *p14,unsigned char *p16); | ~~~~~~~~~~~~~~~^~~ smbpasswd.c: In function ‘nthash’: smbpasswd.c:125:12: warning: pointer targets in passing argument 1 of ‘mdfour’ differ in signedness [-Wpointer-sign] 125 | mdfour(hashout, pwd, pwd_len); | ^~~~~~~ | | | char * smbpasswd.c:34:28: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 34 | void mdfour(unsigned char *out, unsigned char *in, int n); | ~~~~~~~~~~~~~~~^~~ smbpasswd.c:125:21: warning: pointer targets in passing argument 2 of ‘mdfour’ differ in signedness [-Wpointer-sign] 125 | mdfour(hashout, pwd, pwd_len); | ^~~ | | | char * smbpasswd.c:34:48: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 34 | void mdfour(unsigned char *out, unsigned char *in, int n); | ~~~~~~~~~~~~~~~^~ creating build/lib.linux-riscv64-3.9 gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.9/md4.o build/temp.linux-riscv64-3.9/smbdes.o build/temp.linux-riscv64-3.9/smbpasswd.o -L/usr/lib64 -o build/lib.linux-riscv64-3.9/smbpasswd.cpython-39-riscv64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AGiZtj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64 + cd py-smbpasswd-1.0.2 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/lib64/python3.9/site-packages copying build/lib.linux-riscv64-3.9/smbpasswd.cpython-39-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/lib64/python3.9/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/lib64/python3.9/site-packages/smbpasswd-1.0.2-py3.9.egg-info + rm -rfv /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.2-4.fc33 --unique-debug-suffix -1.0.2-4.fc33.riscv64 --unique-debug-src-base python-smbpasswd-1.0.2-4.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/py-smbpasswd-1.0.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/lib64/python3.9/site-packages/smbpasswd.cpython-39-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/lib64/python3.9/site-packages/smbpasswd.cpython-39-riscv64-linux-gnu.so original debug info size: 152kB, size after compression: 156kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 36 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 '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/lib64/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/python-smbpasswd-1.0.2-4.fc33.riscv64/smbpasswd.c is executable but has no shebang, removing executable bit Processing files: python3-smbpasswd-1.0.2-4.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NlGCKj + umask 022 + cd /builddir/build/BUILD + cd py-smbpasswd-1.0.2 + DOCDIR=/builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/share/doc/python3-smbpasswd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/share/doc/python3-smbpasswd + cp -pr README.txt /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/share/doc/python3-smbpasswd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.RZvZ3j + umask 022 + cd /builddir/build/BUILD + cd py-smbpasswd-1.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/share/licenses/python3-smbpasswd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/share/licenses/python3-smbpasswd + cp -pr COPYING.txt /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64/usr/share/licenses/python3-smbpasswd + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-smbpasswd = 1.0.2-4.fc33 python3-smbpasswd = 1.0.2-4.fc33 python3-smbpasswd(riscv-64) = 1.0.2-4.fc33 python3.9-smbpasswd = 1.0.2-4.fc33 python3.9dist(smbpasswd) = 1.0.2 python3dist(smbpasswd) = 1.0.2 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) python(abi) = 3.9 rtld(GNU_HASH) Obsoletes: python-smbpasswd < 1.0.2-4.fc33 Processing files: python-smbpasswd-debugsource-1.0.2-4.fc33.riscv64 Provides: python-smbpasswd-debugsource = 1.0.2-4.fc33 python-smbpasswd-debugsource(riscv-64) = 1.0.2-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-smbpasswd-debuginfo-1.0.2-4.fc33.riscv64 Provides: debuginfo(build-id) = 0bb8112842b7731e4b5b557161d69dbf3016b2fe python-smbpasswd-debuginfo = 1.0.2-4.fc33 python3-smbpasswd-debuginfo = 1.0.2-4.fc33 python3-smbpasswd-debuginfo(riscv-64) = 1.0.2-4.fc33 python3.9-smbpasswd-debuginfo = 1.0.2-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-smbpasswd-debugsource(riscv-64) = 1.0.2-4.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64 Wrote: /builddir/build/RPMS/python-smbpasswd-debugsource-1.0.2-4.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-smbpasswd-1.0.2-4.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-smbpasswd-debuginfo-1.0.2-4.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XuQNmm + umask 022 + cd /builddir/build/BUILD + cd py-smbpasswd-1.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-smbpasswd-1.0.2-4.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0