Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-epub.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1662044407.458096/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lb_llmip:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lb_llmip:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9ba628f0e3514ac3a3a146436c685963', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1662044407.458096/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lb_llmip:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-epub.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/python-epub-0.5.2-28.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-epub.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1662044407.458096/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lb_llmip:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lb_llmip:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '64d5a1c5cc404318b84800cf06cdd936', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1662044407.458096/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lb_llmip:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-epub.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rOK7iI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf exirel-epub-d6db4535273d + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/epub-0.5.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd exirel-epub-d6db4535273d + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-epub-test-suite.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-38-test-suite.patch + touch test/__init__.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0srvD0 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd exirel-epub-d6db4535273d + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/epub copying epub/utils.py -> build/lib/epub copying epub/opf.py -> build/lib/epub copying epub/ncx.py -> build/lib/epub copying epub/__init__.py -> build/lib/epub + /usr/bin/make -O -j2 V=1 VERBOSE=1 -C docs html make: Entering directory '/builddir/build/BUILD/exirel-epub-d6db4535273d/docs' sphinx-build -b html -d _build/doctrees . _build/html Running Sphinx v5.1.1 loading translations [fr]... done making output directory... done building [mo]: targets for 0 po files that are out of date building [html]: targets for 6 source files that are out of date updating environment: [new config] 6 added, 0 changed, 0 removed reading sources... [ 16%] changelog reading sources... [ 33%] epub/index reading sources... [ 50%] epub/ncx reading sources... [ 66%] epub/opf reading sources... [ 83%] epub/utils reading sources... [100%] index looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 16%] changelog writing output... [ 33%] epub/index writing output... [ 50%] epub/ncx writing output... [ 66%] epub/opf writing output... [ 83%] epub/utils writing output... [100%] index generating indices... genindex py-modindex done writing additional pages... search done copying static files... done copying extra files... done dumping search index in French (code: fr)... done dumping object inventory... done build succeeded, 1 warning. The HTML pages are in _build/html. Build finished. The HTML pages are in _build/html. make: Leaving directory '/builddir/build/BUILD/exirel-epub-d6db4535273d/docs' WARNING: html_static_path entry '_static' does not exist + rm -f docs/_build/html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ruw2jV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd exirel-epub-d6db4535273d + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64 --prefix /usr running install /usr/lib/python3.11/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 /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr creating /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/lib/python3.11/site-packages/epub copying build/lib/epub/__init__.py -> /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/lib/python3.11/site-packages/epub copying build/lib/epub/ncx.py -> /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/lib/python3.11/site-packages/epub copying build/lib/epub/opf.py -> /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/lib/python3.11/site-packages/epub copying build/lib/epub/utils.py -> /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/lib/python3.11/site-packages/epub byte-compiling /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/lib/python3.11/site-packages/epub/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/lib/python3.11/site-packages/epub/ncx.py to ncx.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/lib/python3.11/site-packages/epub/opf.py to opf.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/lib/python3.11/site-packages/epub/utils.py to utils.cpython-311.pyc writing byte-compilation script '/tmp/tmpep1slu5c.py' /usr/bin/python3 /tmp/tmpep1slu5c.py removing /tmp/tmpep1slu5c.py running install_egg_info running egg_info creating epub.egg-info writing epub.egg-info/PKG-INFO writing dependency_links to epub.egg-info/dependency_links.txt writing top-level names to epub.egg-info/top_level.txt writing manifest file 'epub.egg-info/SOURCES.txt' reading manifest file 'epub.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'epub.egg-info/SOURCES.txt' Copying epub.egg-info to /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/lib/python3.11/site-packages/epub-0.5.2-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.5.2-28.fc38 --unique-debug-suffix -0.5.2-28.fc38.x86_64 --unique-debug-src-base python-epub-0.5.2-28.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/exirel-epub-d6db4535273d find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.xEIJKb + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd exirel-epub-d6db4535273d + /usr/bin/python3 setup.py test 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 epub.egg-info/PKG-INFO writing dependency_links to epub.egg-info/dependency_links.txt writing top-level names to epub.egg-info/top_level.txt reading manifest file 'epub.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'epub.egg-info/SOURCES.txt' running build_ext test_get_node_text (test.test_utils.TestFunction.test_get_node_text) ... ok test_get_urlpath_part (test.test_utils.TestFunction.test_get_urlpath_part) ... ok test_chapters (test.test.TestBook.test_chapters) ... ok test_coverage (test.test.TestBook.test_coverage) ... ok test_dates (test.test.TestBook.test_dates) ... ok test_dc_format (test.test.TestBook.test_dc_format) ... ok test_dc_type (test.test.TestBook.test_dc_type) ... ok test_extra_chapters (test.test.TestBook.test_extra_chapters) ... ok test_identifiers (test.test.TestBook.test_identifiers) ... ok test_languages (test.test.TestBook.test_languages) ... ok test_metadata_contributors (test.test.TestBook.test_metadata_contributors) ... ok test_metadata_creators (test.test.TestBook.test_metadata_creators) ... ok test_metadata_description (test.test.TestBook.test_metadata_description) ... ok test_metadata_isbn (test.test.TestBook.test_metadata_isbn) ... ok test_metadata_publisher (test.test.TestBook.test_metadata_publisher) ... ok test_metas (test.test.TestBook.test_metas) ... ok test_relation (test.test.TestBook.test_relation) ... ok test_right (test.test.TestBook.test_right) ... ok test_source (test.test.TestBook.test_source) ... ok test_subjects (test.test.TestBook.test_subjects) ... ok test_titles (test.test.TestBook.test_titles) ... ok test_read (test.test.TestBookChapter.test_read) ... ok test_add_item_fail (test.test.TestEpubFile.test_add_item_fail) When open in read-only mode, add_item must fail. ... /builddir/build/BUILD/exirel-epub-d6db4535273d/epub/__init__.py:34: DeprecationWarning: Function `epub.open` is deprecated since 0.5.0. warnings.warn('Function `epub.open` is deprecated since 0.5.0.', ok test_extract_item_to_path (test.test.TestEpubFile.test_extract_item_to_path) ... ok test_get_item (test.test.TestEpubFile.test_get_item) Check EpubFile.get_item() return an EpubManifestItem by its id ... ok test_get_item_by_ref (test.test.TestEpubFile.test_get_item_by_ref) Check EpubFile.get_item() return an EpubManifestItem by its href ... ok test_open (test.test.TestFunction.test_open) ... ok test_version (test.test.TestFunction.test_version) ... ok test_open (test.test.TestFunctionWriteModeAppend.test_open) ... ok test_open_new (test.test.TestFunctionWriteModeAppend.test_open_new) ... ok test_open (test.test.TestFunctionWriteModeNew.test_open) ... ok test_parse_opf (test.test_opf.TestFunction.test_parse_opf) ... ok test_parse_xml_manifest (test.test_opf.TestFunction.test_parse_xml_manifest) ... ok test_parse_xml_metadata (test.test_opf.TestFunction.test_parse_xml_metadata) Test _parse_xml_metadata. ... ok test_as_xml_element (test.test_opf.TestGuide.test_as_xml_element) ... ok test_add_item (test.test_opf.TestManifest.test_add_item) Check epub.opf.Manifest.add_item() ... ok test_as_xml_element (test.test_opf.TestManifest.test_as_xml_element) ... skipped 'toxml keeps elements order' test_dict_behavior (test.test_opf.TestManifest.test_dict_behavior) ... ok test_add_identifier (test.test_opf.TestMetadata.test_add_identifier) ... ok test_as_xml_element (test.test_opf.TestMetadata.test_as_xml_element) ... ok test_as_xml_element_contributors (test.test_opf.TestMetadata.test_as_xml_element_contributors) ... ok test_as_xml_element_coverage (test.test_opf.TestMetadata.test_as_xml_element_coverage) ... ok test_as_xml_element_creators (test.test_opf.TestMetadata.test_as_xml_element_creators) ... ok test_as_xml_element_date (test.test_opf.TestMetadata.test_as_xml_element_date) ... ok test_as_xml_element_description (test.test_opf.TestMetadata.test_as_xml_element_description) ... ok test_as_xml_element_format (test.test_opf.TestMetadata.test_as_xml_element_format) ... ok test_as_xml_element_publisher (test.test_opf.TestMetadata.test_as_xml_element_publisher) ... ok test_as_xml_element_relation (test.test_opf.TestMetadata.test_as_xml_element_relation) ... ok test_as_xml_element_right (test.test_opf.TestMetadata.test_as_xml_element_right) ... ok test_as_xml_element_source (test.test_opf.TestMetadata.test_as_xml_element_source) ... ok test_as_xml_element_subjects (test.test_opf.TestMetadata.test_as_xml_element_subjects) ... ok test_as_xml_element_type (test.test_opf.TestMetadata.test_as_xml_element_type) ... ok test_get_isbn (test.test_opf.TestMetadata.test_get_isbn) ... ok test_as_xml_document (test.test_opf.TestOpf.test_as_xml_document) ... skipped 'toxml keeps elements order' test_init (test.test_opf.TestOpf.test_init) ... ok test_add_itemref (test.test_opf.TestSpine.test_add_itemref) ... ok test_append (test.test_opf.TestSpine.test_append) ... ok test_as_xml_element (test.test_opf.TestSpine.test_as_xml_element) ... ok test_init (test.test_opf.TestSpine.test_init) ... ok test_create_xml_element_text (test.test_ncx.TestFunction.test_create_xml_element_text) ... ok test_parse_for_text_tag (test.test_ncx.TestFunction.test_parse_for_text_tag) Test function "_parse_for_text_tag". ... ok test_parse_toc (test.test_ncx.TestFunction.test_parse_toc) ... ok test_parse_xml_nav_list (test.test_ncx.TestFunction.test_parse_xml_nav_list) Test function "_parse_xml_nav_list". ... ok test_parse_xml_nav_map (test.test_ncx.TestFunction.test_parse_xml_nav_map) ... ok test_parse_xml_nav_point (test.test_ncx.TestFunction.test_parse_xml_nav_point) Test function "_parse_xml_nav_point". ... ok test_parse_xml_nav_target (test.test_ncx.TestFunction.test_parse_xml_nav_target) Test function "_parse_xml_nav_target". ... ok test_parse_xml_page_list (test.test_ncx.TestFunction.test_parse_xml_page_list) Test function "_parse_xml_page_list". ... ok test_parse_xml_page_target (test.test_ncx.TestFunction.test_parse_xml_page_target) Test function "_parse_xml_page_target". ... ok test_as_xml_element (test.test_ncx.TestNavList.test_as_xml_element) ... skipped 'toxml keeps elements order' test_as_xml_element (test.test_ncx.TestNavMap.test_as_xml_element) ... ok test_as_xml_element (test.test_ncx.TestNavPoint.test_as_xml_element) ... skipped 'toxml keeps elements order' test_as_xml_element (test.test_ncx.TestNavTarget.test_as_xml_element) ... skipped 'toxml keeps elements order' test_as_xml_document (test.test_ncx.TestNcx.test_as_xml_document) Check if ncx.as_xml_document reproduce a good xml. ... skipped 'toprettyxml keeps elements order' test_as_xml_element (test.test_ncx.TestPageList.test_as_xml_element) ... skipped 'toxml keeps elements order' test_as_xml_element (test.test_ncx.TestPageTarget.test_as_xml_element) ... skipped 'toxml keeps elements order' ---------------------------------------------------------------------- Ran 75 tests in 0.113s OK (skipped=8) + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-epub-0.5.2-28.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VsWKGz + umask 022 + cd /builddir/build/BUILD + cd exirel-epub-d6db4535273d + DOCDIR=/builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/share/doc/python3-epub + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/share/doc/python3-epub + cp -pr README.txt /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/share/doc/python3-epub + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vPgm5o + umask 022 + cd /builddir/build/BUILD + cd exirel-epub-d6db4535273d + LICENSEDIR=/builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/share/licenses/python3-epub + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/share/licenses/python3-epub + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/share/licenses/python3-epub + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-epub = 0.5.2-28.fc38 python3-epub = 0.5.2-28.fc38 python3.11-epub = 0.5.2-28.fc38 python3.11dist(epub) = 0.5.2 python3dist(epub) = 0.5.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: python(abi) = 3.11 Obsoletes: python-epub < 0.5.2-28.fc38 Processing files: python-epub-doc-0.5.2-28.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.snNP4Y + umask 022 + cd /builddir/build/BUILD + cd exirel-epub-d6db4535273d + DOCDIR=/builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/share/doc/python-epub-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/share/doc/python-epub-doc + cp -pr docs/_build/html/_sources docs/_build/html/_static docs/_build/html/changelog.html docs/_build/html/epub docs/_build/html/genindex.html docs/_build/html/index.html docs/_build/html/objects.inv docs/_build/html/py-modindex.html docs/_build/html/search.html docs/_build/html/searchindex.js /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/share/doc/python-epub-doc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NRK81v + umask 022 + cd /builddir/build/BUILD + cd exirel-epub-d6db4535273d + LICENSEDIR=/builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/share/licenses/python-epub-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/share/licenses/python-epub-doc + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64/usr/share/licenses/python-epub-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-epub-doc = 0.5.2-28.fc38 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-epub-0.5.2-28.fc38.x86_64 Wrote: /builddir/build/RPMS/python3-epub-0.5.2-28.fc38.noarch.rpm Wrote: /builddir/build/RPMS/python-epub-doc-0.5.2-28.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.etv71n + umask 022 + cd /builddir/build/BUILD + cd exirel-epub-d6db4535273d + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-epub-0.5.2-28.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.6lS3N0 + umask 022 + cd /builddir/build/BUILD + rm -rf exirel-epub-d6db4535273d exirel-epub-d6db4535273d.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0