D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/pdf-stapler-1.0.0-0.rc1.5.mga9.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JHjlX2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf stapler-1.0.0rc1 + /usr/bin/xz -dc /home/pterjan/rpmbuild/SOURCES/stapler-1.0.0rc1.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd stapler-1.0.0rc1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HDgNbZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd stapler-1.0.0rc1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.10/site-packages/setuptools/dist.py:493: UserWarning: Normalizing '1.0.0-rc1' to '1.0.0rc1' warnings.warn(tmpl.format(**locals())) running build running build_py creating build creating build/lib creating build/lib/staplelib copying staplelib/stapler.py -> build/lib/staplelib copying staplelib/iohelper.py -> build/lib/staplelib copying staplelib/tests.py -> build/lib/staplelib copying staplelib/commands.py -> build/lib/staplelib copying staplelib/__init__.py -> build/lib/staplelib running egg_info creating stapler.egg-info writing stapler.egg-info/PKG-INFO writing dependency_links to stapler.egg-info/dependency_links.txt writing entry points to stapler.egg-info/entry_points.txt writing requirements to stapler.egg-info/requires.txt writing top-level names to stapler.egg-info/top_level.txt writing manifest file 'stapler.egg-info/SOURCES.txt' reading manifest file 'stapler.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'stapler.egg-info/SOURCES.txt' creating build/lib/staplelib/testfiles copying staplelib/testfiles/1page.pdf -> build/lib/staplelib/testfiles copying staplelib/testfiles/5page.pdf -> build/lib/staplelib/testfiles + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.y9WtkZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch ++ dirname /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch + cd stapler-1.0.0rc1 + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py install -O1 --skip-build --root /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch /usr/lib/python3.10/site-packages/setuptools/dist.py:493: UserWarning: Normalizing '1.0.0-rc1' to '1.0.0rc1' warnings.warn(tmpl.format(**locals())) running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr creating /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib creating /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10 creating /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages creating /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/staplelib creating /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/staplelib/testfiles copying build/lib/staplelib/testfiles/1page.pdf -> /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/staplelib/testfiles copying build/lib/staplelib/testfiles/5page.pdf -> /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/staplelib/testfiles copying build/lib/staplelib/stapler.py -> /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/staplelib copying build/lib/staplelib/iohelper.py -> /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/staplelib copying build/lib/staplelib/tests.py -> /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/staplelib copying build/lib/staplelib/commands.py -> /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/staplelib copying build/lib/staplelib/__init__.py -> /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/staplelib byte-compiling /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/staplelib/stapler.py to stapler.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/staplelib/iohelper.py to iohelper.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/staplelib/tests.py to tests.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/staplelib/commands.py to commands.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/staplelib/__init__.py to __init__.cpython-310.pyc writing byte-compilation script '/tmp/tmpxjtia151.py' /usr/bin/python3 -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmpxjtia151.py removing /tmp/tmpxjtia151.py running install_egg_info running egg_info writing stapler.egg-info/PKG-INFO writing dependency_links to stapler.egg-info/dependency_links.txt writing entry points to stapler.egg-info/entry_points.txt writing requirements to stapler.egg-info/requires.txt writing top-level names to stapler.egg-info/top_level.txt reading manifest file 'stapler.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'stapler.egg-info/SOURCES.txt' Copying stapler.egg-info to /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10/site-packages/stapler-1.0.0rc1-py3.10.egg-info running install_scripts Installing stapler script to /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/bin Installing pdf-stapler script to /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/bin + rm -rfv /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.0.0-0.rc1.5.mga9 --unique-debug-suffix -1.0.0-0.rc1.5.mga9.noarch --unique-debug-src-base pdf-stapler-1.0.0-0.rc1.5.mga9.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/stapler-1.0.0rc1 + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7dDzWf + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd stapler-1.0.0rc1 + '[' 1 -eq 1 ']' + /usr/bin/python3 setup.py test /usr/lib/python3.10/site-packages/setuptools/dist.py:493: UserWarning: Normalizing '1.0.0-rc1' to '1.0.0rc1' warnings.warn(tmpl.format(**locals())) running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing stapler.egg-info/PKG-INFO writing dependency_links to stapler.egg-info/dependency_links.txt writing entry points to stapler.egg-info/entry_points.txt writing requirements to stapler.egg-info/requires.txt writing top-level names to stapler.egg-info/top_level.txt reading manifest file 'stapler.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'stapler.egg-info/SOURCES.txt' running build_ext test_cat (staplelib.tests.TestStapler) Make sure files are properly concatenated. ... ok test_del_one_page (staplelib.tests.TestStapler) Test del command for inverse select of one page. ... ok test_del_range (staplelib.tests.TestStapler) Test del command for inverse select multiple pages. ... ok test_output_file_already_exists (staplelib.tests.TestStapler) Test zip. ... ok test_sel_one_page (staplelib.tests.TestStapler) Test select of a one page from a PDF file. ... ok test_sel_range (staplelib.tests.TestStapler) Test select of more pages from a PDF file. ... ok test_split (staplelib.tests.TestStapler) Make sure a file is properly split into pages. ... ok test_zip (staplelib.tests.TestStapler) Test zip. ... ok ---------------------------------------------------------------------- Ran 8 tests in 0.397s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: pdf-stapler-1.0.0-0.rc1.5.mga9.noarch Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IZrN1k + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd stapler-1.0.0rc1 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/share/doc/pdf-stapler + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/share/doc/pdf-stapler + cp -pr README.rst /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/share/doc/pdf-stapler + cp -pr TODO /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/share/doc/pdf-stapler + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JolKi1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd stapler-1.0.0rc1 + LICENSEDIR=/home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/share/licenses/pdf-stapler + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/share/licenses/pdf-stapler + cp -pr LICENSE /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch/usr/share/licenses/pdf-stapler + RPM_EC=0 ++ jobs -p + exit 0 Provides: pdf-stapler = 1.0.0-0.rc1.5.mga9 python3-staplelib = 1.0.0-0.rc1.5.mga9 python3.10dist(stapler) = 1~rc1 python3dist(stapler) = 1~rc1 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: python(abi) = 3.10 python3.10dist(more-itertools) >= 2.2 python3.10dist(pypdf2) >= 1.26 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch Wrote: /home/pterjan/rpmbuild/RPMS/noarch/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1IuHY7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd stapler-1.0.0rc1 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/pdf-stapler-1.0.0-0.rc1.5.mga9.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RaDkDt + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf stapler-1.0.0rc1 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!