+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/python-smbpasswd.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mZdxeN + 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 . + rm -rf /builddir/build/BUILD/python3-python-smbpasswd-1.0.1-34.fc28 + cp -a . /builddir/build/BUILD/python3-python-smbpasswd-1.0.1-34.fc28 + cd /builddir/build/BUILD/python3-python-smbpasswd-1.0.1-34.fc28 + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xO1fQj + 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 ' + /usr/bin/python setup.py build DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out running build running build_ext building 'smbpasswd' extension creating build creating build/temp.linux-riscv64-2.7 gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -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 -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 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c md4.c -o build/temp.linux-riscv64-2.7/md4.o gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -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 -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 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c smbdes.c -o build/temp.linux-riscv64-2.7/smbdes.o gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -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 -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 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c smbpasswd.c -o build/temp.linux-riscv64-2.7/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] E_P16(lmpwd, hashout); ^~~~~~~ smbpasswd.c:35:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mdfour(hashout, pwd, pwd_len); ^~~~~~~ smbpasswd.c:34:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mdfour(hashout, pwd, pwd_len); ^~~ smbpasswd.c:34:6: note: expected 'unsigned char *' but argument is of type 'char *' void mdfour(unsigned char *out, unsigned char *in, int n); ^~~~~~ creating build/lib.linux-riscv64-2.7 gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld build/temp.linux-riscv64-2.7/md4.o build/temp.linux-riscv64-2.7/smbdes.o build/temp.linux-riscv64-2.7/smbpasswd.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/smbpasswd.so + cd /builddir/build/BUILD/python3-python-smbpasswd-1.0.1-34.fc28 + /usr/bin/python3 setup.py build running build running build_ext building 'smbpasswd' extension creating build creating build/temp.linux-riscv64-3.6 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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c md4.c -o build/temp.linux-riscv64-3.6/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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c smbdes.c -o build/temp.linux-riscv64-3.6/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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c smbpasswd.c -o build/temp.linux-riscv64-3.6/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] E_P16(lmpwd, hashout); ^~~~~~~ smbpasswd.c:35:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] mdfour(hashout, pwd, pwd_len); ^~~~~~~ smbpasswd.c:34:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 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] mdfour(hashout, pwd, pwd_len); ^~~ smbpasswd.c:34:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ void mdfour(unsigned char *out, unsigned char *in, int n); ^~~~~~ creating build/lib.linux-riscv64-3.6 gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g build/temp.linux-riscv64-3.6/md4.o build/temp.linux-riscv64-3.6/smbdes.o build/temp.linux-riscv64-3.6/smbpasswd.o -L/usr/lib64 -lpython3.6m -o build/lib.linux-riscv64-3.6/smbpasswd.cpython-36m-riscv64-linux-gnu.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.D2OjHb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64 + cd py-smbpasswd-1.0.1 + rm -rf /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64 DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out running install running install_lib creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64 creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/smbpasswd.so -> /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/lib64/python2.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/lib64/python2.7/site-packages/smbpasswd-1.0.1-py2.7.egg-info + cd /builddir/build/BUILD/python3-python-smbpasswd-1.0.1-34.fc28 + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/lib64/python3.6/site-packages copying build/lib.linux-riscv64-3.6/smbpasswd.cpython-36m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/lib64/python3.6/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/lib64/python3.6/site-packages/smbpasswd-1.0.1-py3.6.egg-info + /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/lib64/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python-smbpasswd-1.0.1-34.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tj6ItG + umask 022 + cd /builddir/build/BUILD + cd py-smbpasswd-1.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/share/doc/python-smbpasswd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/share/doc/python-smbpasswd + cp -pr COPYING /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/share/doc/python-smbpasswd + cp -pr README.txt /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/share/doc/python-smbpasswd + exit 0 Provides: python-smbpasswd = 1.0.1-34.fc28 python-smbpasswd(riscv-64) = 1.0.1-34.fc28 python2.7dist(smbpasswd) = 1.0.1 python2dist(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) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: python3-smbpasswd-1.0.1-34.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ID4W8s + umask 022 + cd /builddir/build/BUILD + cd py-smbpasswd-1.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.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-34.fc28.riscv64/usr/share/doc/python3-smbpasswd + cp -pr COPYING /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/share/doc/python3-smbpasswd + cp -pr README.txt /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64/usr/share/doc/python3-smbpasswd + exit 0 Provides: python3-smbpasswd = 1.0.1-34.fc28 python3-smbpasswd(riscv-64) = 1.0.1-34.fc28 python3.6dist(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) libpthread.so.0()(64bit) libpython3.6m.so.1.0()(64bit) python(abi) = 3.6 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64 Wrote: /builddir/build/SRPMS/python-smbpasswd-1.0.1-34.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/python-smbpasswd-1.0.1-34.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/python3-smbpasswd-1.0.1-34.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.C8OQ2w + umask 022 + cd /builddir/build/BUILD + cd py-smbpasswd-1.0.1 + rm -rf /builddir/build/BUILDROOT/python-smbpasswd-1.0.1-34.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff