+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/python-rhsm.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 warning: Macro expanded in comment on line 27: %{?something:foo} expands to foo only when something is **defined**. Likewise the warning: Macro expanded in comment on line 28: %{!?something:foo} expands only when something is **not defined**. Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eSk7Cf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-rhsm-1.20.2 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/python-rhsm-1.20.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-rhsm-1.20.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Y7di5h + umask 022 + cd /builddir/build/BUILD + cd python-rhsm-1.20.2 + PYTHON_RHSM_VERSION=1.20.2 + PYTHON_RHSM_RELEASE=1.fc28 + 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 ' + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /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_py creating build creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/rhsm copying src/rhsm/ourjson.py -> build/lib.linux-riscv64-2.7/rhsm copying src/rhsm/m2cryptossl.py -> build/lib.linux-riscv64-2.7/rhsm copying src/rhsm/huffman.py -> build/lib.linux-riscv64-2.7/rhsm copying src/rhsm/profile.py -> build/lib.linux-riscv64-2.7/rhsm copying src/rhsm/config.py -> build/lib.linux-riscv64-2.7/rhsm copying src/rhsm/__init__.py -> build/lib.linux-riscv64-2.7/rhsm copying src/rhsm/bitstream.py -> build/lib.linux-riscv64-2.7/rhsm copying src/rhsm/utils.py -> build/lib.linux-riscv64-2.7/rhsm copying src/rhsm/m2cryptohttp.py -> build/lib.linux-riscv64-2.7/rhsm copying src/rhsm/certificate.py -> build/lib.linux-riscv64-2.7/rhsm copying src/rhsm/certificate2.py -> build/lib.linux-riscv64-2.7/rhsm copying src/rhsm/connection.py -> build/lib.linux-riscv64-2.7/rhsm copying src/rhsm/https.py -> build/lib.linux-riscv64-2.7/rhsm copying src/rhsm/pathtree.py -> build/lib.linux-riscv64-2.7/rhsm running egg_info creating rhsm.egg-info writing rhsm.egg-info/PKG-INFO writing top-level names to rhsm.egg-info/top_level.txt writing dependency_links to rhsm.egg-info/dependency_links.txt writing manifest file 'rhsm.egg-info/SOURCES.txt' reading manifest file 'rhsm.egg-info/SOURCES.txt' writing manifest file 'rhsm.egg-info/SOURCES.txt' running build_ext building 'rhsm._certificate' extension creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/src 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 -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 -fPIC -I/usr/include/python2.7 -c src/certificate.c -o build/temp.linux-riscv64-2.7/src/certificate.o gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -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 build/temp.linux-riscv64-2.7/src/certificate.o -L/usr/lib64 -lssl -lcrypto -lpython2.7 -o build/lib.linux-riscv64-2.7/rhsm/_certificate.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.azp0Yl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64 + cd python-rhsm-1.20.2 + rm -rf /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64 + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64 --prefix=/usr running install running install_lib creating /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64 creating /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr creating /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/ourjson.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/m2cryptossl.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/huffman.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/profile.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/config.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/version.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/__init__.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/bitstream.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/utils.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/_certificate.so -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/m2cryptohttp.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/certificate.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/certificate2.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/connection.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/https.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm copying build/lib.linux-riscv64-2.7/rhsm/pathtree.py -> /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/ourjson.py to ourjson.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/m2cryptossl.py to m2cryptossl.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/huffman.py to huffman.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/profile.py to profile.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/config.py to config.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/version.py to version.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/bitstream.py to bitstream.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/m2cryptohttp.py to m2cryptohttp.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/certificate.py to certificate.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/certificate2.py to certificate2.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/connection.py to connection.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/https.py to https.pyc byte-compiling /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm/pathtree.py to pathtree.pyc writing byte-compilation script '/tmp/tmpEHCt6Y.py' /usr/bin/python2 -O /tmp/tmpEHCt6Y.py removing /tmp/tmpEHCt6Y.py running install_egg_info running egg_info writing rhsm.egg-info/PKG-INFO writing top-level names to rhsm.egg-info/top_level.txt writing dependency_links to rhsm.egg-info/dependency_links.txt reading manifest file 'rhsm.egg-info/SOURCES.txt' writing manifest file 'rhsm.egg-info/SOURCES.txt' Copying rhsm.egg-info to /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7/site-packages/rhsm-1.20.2-py2.7.egg-info running install_scripts + mkdir -p /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/etc/rhsm/ca + install etc-conf/ca/redhat-uep.pem /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/etc/rhsm/ca + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/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-rhsm-1.20.2-1.fc28.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./etc/rhsm/ca/redhat-uep.pem is executable but has empty or no shebang, removing executable bit Processing files: python-rhsm-1.20.2-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UPvRI5 + umask 022 + cd /builddir/build/BUILD + cd python-rhsm-1.20.2 + DOCDIR=/builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/share/doc/python-rhsm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/share/doc/python-rhsm + cp -pr README /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64/usr/share/doc/python-rhsm + exit 0 Provides: python-rhsm = 1.20.2-1.fc28 python-rhsm(riscv-64) = 1.20.2-1.fc28 python2-rhsm = 1.20.2-1.fc28 python2.7dist(rhsm) = 1.20.2 python2dist(rhsm) = 1.20.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-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) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) libssl.so.1.1()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: python-rhsm-certificates-1.20.2-1.fc28.riscv64 Provides: python-rhsm-certificates = 1.20.2-1.fc28 python-rhsm-certificates(riscv-64) = 1.20.2-1.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/python-rhsm-1.20.2-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/python-rhsm-1.20.2-1.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/python-rhsm-certificates-1.20.2-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5o6ILT + umask 022 + cd /builddir/build/BUILD + cd python-rhsm-1.20.2 + rm -rf /builddir/build/BUILDROOT/python-rhsm-1.20.2-1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff