+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pyifp.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.DEv2j6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyifp-0.2.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/pyifp-0.2.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyifp-0.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pyifp-0.2.2-setup-fix.patch):' Patch #0 (pyifp-0.2.2-setup-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file setup.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.72LruG + umask 022 + cd /builddir/build/BUILD + cd pyifp-0.2.2 + 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 -c 'import setuptools; execfile("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 copying ifp.py -> build/lib.linux-riscv64-2.7 copying usb_core.py -> build/lib.linux-riscv64-2.7 copying ifp_core.py -> build/lib.linux-riscv64-2.7 running build_ext building '_usb_core' extension swig -v -python -ISWIG -shadow -o usb_core.c usb_core.i Language subdirectory: python Search paths: ./ SWIG/ ./swig_lib/python/ /usr/share/swig/3.0.12/python/ ./swig_lib/ /usr/share/swig/3.0.12/ Preprocessing... Starting language-specific parse... Processing unnamed structs... Processing types... C++ analysis... Generating wrappers... 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 -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 usb_core.c -o build/temp.linux-riscv64-2.7/usb_core.o gcc -pthread -shared -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/usb_core.o -L/usr/lib64 -lusb -lpython2.7 -o build/lib.linux-riscv64-2.7/_usb_core.so building '_ifp_core' extension swig -v -python -ISWIG -shadow -o ifp_core.c ifp_core.i Language subdirectory: python Search paths: ./ SWIG/ ./swig_lib/python/ /usr/share/swig/3.0.12/python/ ./swig_lib/ /usr/share/swig/3.0.12/ Preprocessing... Starting language-specific parse... Processing unnamed structs... Processing types... C++ analysis... Generating wrappers... 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 ifp_core.c -o build/temp.linux-riscv64-2.7/ifp_core.o gcc -pthread -shared -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/ifp_core.o -L/usr/lib64 -lifp -lpython2.7 -o build/lib.linux-riscv64-2.7/_ifp_core.so running build_scripts creating build/scripts-2.7 copying and adjusting pyifp-test -> build/scripts-2.7 copying and adjusting backup-ifp -> build/scripts-2.7 changing mode of build/scripts-2.7/pyifp-test from 644 to 755 changing mode of build/scripts-2.7/backup-ifp from 644 to 755 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kFJZCx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64 + cd pyifp-0.2.2 + rm -rf /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64 + /usr/bin/python -c 'import setuptools; execfile("setup.py")' install --skip-build --root /builddir/build/BUILDROOT/pyifp-0.2.2-16.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/pyifp-0.2.2-16.fc28.riscv64 creating /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr creating /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/ifp.py -> /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/usb_core.py -> /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/_usb_core.so -> /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/ifp_core.py -> /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/_ifp_core.so -> /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/lib64/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/lib64/python2.7/site-packages/ifp.py to ifp.pyc byte-compiling /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/lib64/python2.7/site-packages/usb_core.py to usb_core.pyc byte-compiling /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/lib64/python2.7/site-packages/ifp_core.py to ifp_core.pyc running install_egg_info running egg_info creating pyifp.egg-info writing pyifp.egg-info/PKG-INFO writing top-level names to pyifp.egg-info/top_level.txt writing dependency_links to pyifp.egg-info/dependency_links.txt writing manifest file 'pyifp.egg-info/SOURCES.txt' reading manifest file 'pyifp.egg-info/SOURCES.txt' writing manifest file 'pyifp.egg-info/SOURCES.txt' Copying pyifp.egg-info to /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/lib64/python2.7/site-packages/pyifp-0.2.2-py2.7.egg-info running install_scripts creating /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/bin copying build/scripts-2.7/backup-ifp -> /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/bin copying build/scripts-2.7/pyifp-test -> /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/bin changing mode of /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/bin/backup-ifp to 755 changing mode of /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/bin/pyifp-test to 755 + /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/pyifp-0.2.2-16.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: mangling shebang in ./usr/bin/backup-ifp from #!/usr/bin/python to #!/usr/bin/python2. This will become an ERROR, fix it manually! *** WARNING: mangling shebang in ./usr/bin/pyifp-test from #!/usr/bin/python to #!/usr/bin/python2. This will become an ERROR, fix it manually! Processing files: pyifp-0.2.2-16.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nEKbZE + umask 022 + cd /builddir/build/BUILD + cd pyifp-0.2.2 + DOCDIR=/builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/share/doc/pyifp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/share/doc/pyifp + cp -pr COPYING /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/share/doc/pyifp + cp -pr README.txt /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64/usr/share/doc/pyifp + exit 0 Provides: pyifp = 0.2.2-16.fc28 pyifp(riscv-64) = 0.2.2-16.fc28 python2.7dist(pyifp) = 0.2.2 python2dist(pyifp) = 0.2.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: /usr/bin/python2 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) libifp.so.4()(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) libusb-0.1.so.4()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pyifp-0.2.2-16.fc28.riscv64 Wrote: /builddir/build/SRPMS/pyifp-0.2.2-16.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/pyifp-0.2.2-16.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ycULxh + umask 022 + cd /builddir/build/BUILD + cd pyifp-0.2.2 + rm -rf /builddir/build/BUILDROOT/pyifp-0.2.2-16.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