Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-smbpasswd.spec'], chrootPath='/var/lib/mock/f31-build-69139-30266/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=345600uid=986gid=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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/python-smbpasswd-1.0.1-41.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-smbpasswd.spec'], chrootPath='/var/lib/mock/f31-build-69139-30266/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=345600uid=986gid=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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ANMECU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf py-smbpasswd-1.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/py-smbpasswd-1.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd py-smbpasswd-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (python-smbpasswd-1.0.1-py3.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .org --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #1 (python-smbpasswd-1.0.1-py3.patch): patching file README.txt patching file setup.py patching file smbpasswd.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.M5fEwU + umask 022 + cd /builddir/build/BUILD + cd py-smbpasswd-1.0.1 + 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' + 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' BUILDSTDERR: smbpasswd.c: In function ‘lmhash’: BUILDSTDERR: smbpasswd.c:100:18: warning: pointer targets in passing argument 2 of ‘E_P16’ differ in signedness [-Wpointer-sign] BUILDSTDERR: 100 | E_P16(lmpwd, hashout); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: smbpasswd.c:35:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: 35 | void E_P16(unsigned char *p14,unsigned char *p16); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: smbpasswd.c: In function ‘nthash’: BUILDSTDERR: smbpasswd.c:125:12: warning: pointer targets in passing argument 1 of ‘mdfour’ differ in signedness [-Wpointer-sign] BUILDSTDERR: 125 | mdfour(hashout, pwd, pwd_len); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: smbpasswd.c:34:28: note: expected ‘unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: 34 | void mdfour(unsigned char *out, unsigned char *in, int n); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: smbpasswd.c:125:21: warning: pointer targets in passing argument 2 of ‘mdfour’ differ in signedness [-Wpointer-sign] BUILDSTDERR: 125 | mdfour(hashout, pwd, pwd_len); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: smbpasswd.c:34:48: note: expected ‘unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: 34 | void mdfour(unsigned char *out, unsigned char *in, int n); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 running build running build_ext building 'smbpasswd' extension creating build creating build/temp.linux-riscv64-3.7 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -I/usr/include/python3.7m -c md4.c -o build/temp.linux-riscv64-3.7/md4.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -I/usr/include/python3.7m -c smbdes.c -o build/temp.linux-riscv64-3.7/smbdes.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -I/usr/include/python3.7m -c smbpasswd.c -o build/temp.linux-riscv64-3.7/smbpasswd.o creating build/lib.linux-riscv64-3.7 gcc -pthread -shared -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 -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 build/temp.linux-riscv64-3.7/md4.o build/temp.linux-riscv64-3.7/smbdes.o build/temp.linux-riscv64-3.7/smbpasswd.o -L/usr/lib64 -lpython3.7m -o build/lib.linux-riscv64-3.7/smbpasswd.cpython-37m-riscv64-linux-gnu.so Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.50CRmV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64 + cd py-smbpasswd-1.0.1 + 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' + 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.1-41.fc31.riscv64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.1-41.fc31 --unique-debug-suffix -1.0.1-41.fc31.riscv64 --unique-debug-src-base python-smbpasswd-1.0.1-41.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/py-smbpasswd-1.0.1 BUILDSTDERR: 36 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: ./usr/src/debug/python-smbpasswd-1.0.1-41.fc31.riscv64/smbpasswd.c is executable but has empty or no shebang, removing executable bit running install running install_lib creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64/usr creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64/usr/lib64/python3.7/site-packages copying build/lib.linux-riscv64-3.7/smbpasswd.cpython-37m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64/usr/lib64/python3.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64/usr/lib64/python3.7/site-packages/smbpasswd-1.0.1-py3.7.egg-info explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64/usr/lib64/python3.7/site-packages/smbpasswd.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64/usr/lib64/python3.7/site-packages/smbpasswd.cpython-37m-riscv64-linux-gnu.so original debug info size: 96kB, size after compression: 100kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Bytecompiling .py files below /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/python3.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64/usr/lib64/python3.7 using /usr/bin/python3.7 Processing files: python3-smbpasswd-1.0.1-41.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GxlbMR + umask 022 + cd /builddir/build/BUILD + cd py-smbpasswd-1.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.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.1-41.fc31.riscv64/usr/share/doc/python3-smbpasswd + cp -pr README.txt /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64/usr/share/doc/python3-smbpasswd + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QAxrIV + umask 022 + cd /builddir/build/BUILD + cd py-smbpasswd-1.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.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.1-41.fc31.riscv64/usr/share/licenses/python3-smbpasswd + cp -pr COPYING /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64/usr/share/licenses/python3-smbpasswd + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: python-smbpasswd = 1.0.1-41.fc31 python3-smbpasswd = 1.0.1-41.fc31 python3-smbpasswd(riscv-64) = 1.0.1-41.fc31 python3.7dist(smbpasswd) = 1.0.1 python3dist(smbpasswd) = 1.0.1 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) libpython3.7m.so.1.0()(64bit) python(abi) = 3.7 rtld(GNU_HASH) Obsoletes: python-smbpasswd < 1.0.1-41.fc31 Processing files: python-smbpasswd-debugsource-1.0.1-41.fc31.riscv64 Provides: python-smbpasswd-debugsource = 1.0.1-41.fc31 python-smbpasswd-debugsource(riscv-64) = 1.0.1-41.fc31 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.1-41.fc31.riscv64 Provides: debuginfo(build-id) = 77eade96b2de7e6ffb27074ca15265f40163c5f2 python3-smbpasswd-debuginfo = 1.0.1-41.fc31 python3-smbpasswd-debuginfo(riscv-64) = 1.0.1-41.fc31 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.1-41.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64 Wrote: /builddir/build/RPMS/python-smbpasswd-debugsource-1.0.1-41.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-smbpasswd-1.0.1-41.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-smbpasswd-debuginfo-1.0.1-41.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6WlKRV + umask 022 + cd /builddir/build/BUILD + cd py-smbpasswd-1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-41.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0