Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-pdfkit.spec'], chrootPath='/var/lib/mock/f45-build-31973-656/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b4uxre5q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b4uxre5q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'b65c31baf2c0481db99c446ecb669c3f', '-D', '/var/lib/mock/f45-build-31973-656/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b4uxre5q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-pdfkit.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/python-pdfkit-0.6.1-25.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-pdfkit.spec'], chrootPath='/var/lib/mock/f45-build-31973-656/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b4uxre5q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b4uxre5q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'bd4da70bcfea458da5741a0bab1c7e7d', '-D', '/var/lib/mock/f45-build-31973-656/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b4uxre5q:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-pdfkit.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: noarch Building for target noarch warning: The %py3_build macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ warning: The %py3_install macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ setting SOURCE_DATE_EPOCH=1784160000 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.h5Q7Jz Creating(rpmbuild.env): /builddir/build/BUILD/python-pdfkit-0.6.1-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/python-pdfkit-0.6.1-build" RPM_OPT_FLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 " RPM_ARCH="noarch" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/python-pdfkit-0.6.1-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="python-pdfkit" RPM_PACKAGE_VERSION="0.6.1" RPM_PACKAGE_RELEASE="25.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4paFe9 + umask 022 + cd /builddir/build/BUILD/python-pdfkit-0.6.1-build + cd /builddir/build/BUILD/python-pdfkit-0.6.1-build + rm -rf pdfkit-0.6.1 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/pdfkit-0.6.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pdfkit-0.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf pdfkit.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.u7M7O7 + umask 022 + cd /builddir/build/BUILD/python-pdfkit-0.6.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pdfkit-0.6.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/setup.py:25: SyntaxWarning: "\." is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\."? A raw string is also an option. code_block = '(:\n\n)?\.\. code-block::.*' /builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/setup.py:3: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated. !! ******************************************************************************** Please remove any references to `setuptools.command.test` in all supported versions of the affected package. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! from setuptools.command.test import test as TestCommand /builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/pdfkit/source.py:11: SyntaxWarning: "is" with 'str' literal. Did you mean "=="? if self.type is 'file': /builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/setup.py:23: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with codecs.open('README.rst', encoding='utf8') as f: /usr/lib/python3.15/site-packages/setuptools/_distutils/dist.py:288: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dmLD7s + umask 022 + cd /builddir/build/BUILD/python-pdfkit-0.6.1-build + '[' /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-pdfkit-0.6.1-build + mkdir /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pdfkit-0.6.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT --prefix /usr /builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/setup.py:25: SyntaxWarning: "\." is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\."? A raw string is also an option. code_block = '(:\n\n)?\.\. code-block::.*' /builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/setup.py:3: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated. !! ******************************************************************************** Please remove any references to `setuptools.command.test` in all supported versions of the affected package. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! from setuptools.command.test import test as TestCommand /builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/setup.py:23: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with codecs.open('README.rst', encoding='utf8') as f: /usr/lib/python3.15/site-packages/setuptools/_distutils/dist.py:288: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() /usr/lib/python3.15/site-packages/pdfkit/source.py:11: SyntaxWarning: "is" with 'str' literal. Did you mean "=="? /usr/lib/python3.15/site-packages/pdfkit/source.py:11: SyntaxWarning: "is" with 'str' literal. Did you mean "=="? + rm -rfv /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/bin/__pycache__ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /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/redhat/brp-strip-lto /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-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/lib/python3.15 using python3.15 /usr/lib/python3.15/site-packages/pdfkit/source.py:11: SyntaxWarning: "is" with 'str' literal. Did you mean "=="? /usr/lib/python3.15/site-packages/pdfkit/source.py:11: SyntaxWarning: "is" with 'str' literal. Did you mean "=="? + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/lib/python3.15/site-packages/pdfkit/__pycache__/__init__.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/lib/python3.15/site-packages/pdfkit/__pycache__/configuration.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/lib/python3.15/site-packages/pdfkit/__pycache__/api.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/lib/python3.15/site-packages/pdfkit/__pycache__/source.cpython-315.pyc: rewriting with normalized contents /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/lib/python3.15/site-packages/pdfkit/__pycache__/pdfkit.cpython-315.pyc: replacing with normalized version /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/lib/python3.15/site-packages/pdfkit/__pycache__/pdfkit.cpython-315.opt-1.pyc: replacing with normalized version Scanned 8 directories and 19 files, processed 6 inodes, 6 modified (2 replaced + 4 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr Scanned 7 directories and 19 files, considered 19 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.WdajQ8 + umask 022 + cd /builddir/build/BUILD/python-pdfkit-0.6.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pdfkit-0.6.1 + mkdir -p tests/fixtures + cp -t tests /builddir/build/SOURCES/6f1077dbae22863390915b6f69c8ec77f7c4a83f_pdfkit-tests.py + cp -t tests/fixtures /builddir/build/SOURCES/6f1077dbae22863390915b6f69c8ec77f7c4a83f_example.css /builddir/build/SOURCES/6f1077dbae22863390915b6f69c8ec77f7c4a83f_example.html /builddir/build/SOURCES/6f1077dbae22863390915b6f69c8ec77f7c4a83f_example2.css + find tests -type f + read a ++ echo tests/fixtures/6f1077dbae22863390915b6f69c8ec77f7c4a83f_example.css ++ sed -r s/6f1077dbae22863390915b6f69c8ec77f7c4a83f_// + b=tests/fixtures/example.css + mv -v tests/fixtures/6f1077dbae22863390915b6f69c8ec77f7c4a83f_example.css tests/fixtures/example.css renamed 'tests/fixtures/6f1077dbae22863390915b6f69c8ec77f7c4a83f_example.css' -> 'tests/fixtures/example.css' + read a ++ echo tests/fixtures/6f1077dbae22863390915b6f69c8ec77f7c4a83f_example.html ++ sed -r s/6f1077dbae22863390915b6f69c8ec77f7c4a83f_// + b=tests/fixtures/example.html + mv -v tests/fixtures/6f1077dbae22863390915b6f69c8ec77f7c4a83f_example.html tests/fixtures/example.html renamed 'tests/fixtures/6f1077dbae22863390915b6f69c8ec77f7c4a83f_example.html' -> 'tests/fixtures/example.html' + read a ++ echo tests/fixtures/6f1077dbae22863390915b6f69c8ec77f7c4a83f_example2.css ++ sed -r s/6f1077dbae22863390915b6f69c8ec77f7c4a83f_// + b=tests/fixtures/example2.css + mv -v tests/fixtures/6f1077dbae22863390915b6f69c8ec77f7c4a83f_example2.css tests/fixtures/example2.css renamed 'tests/fixtures/6f1077dbae22863390915b6f69c8ec77f7c4a83f_example2.css' -> 'tests/fixtures/example2.css' + read a ++ echo tests/6f1077dbae22863390915b6f69c8ec77f7c4a83f_pdfkit-tests.py ++ sed -r s/6f1077dbae22863390915b6f69c8ec77f7c4a83f_// + b=tests/pdfkit-tests.py + mv -v tests/6f1077dbae22863390915b6f69c8ec77f7c4a83f_pdfkit-tests.py tests/pdfkit-tests.py renamed 'tests/6f1077dbae22863390915b6f69c8ec77f7c4a83f_pdfkit-tests.py' -> 'tests/pdfkit-tests.py' + read a + cd tests + /usr/bin/python3 pdfkit-tests.py ................./builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/pdfkit/pdfkit.py:224: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with codecs.open(p, encoding="UTF-8") as f: ./builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/pdfkit/pdfkit.py:224: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with codecs.open(p, encoding="UTF-8") as f: ./builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/pdfkit/pdfkit.py:170: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with codecs.open(path, encoding='utf-8') as f: ...../builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/pdfkit/pdfkit.py:224: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with codecs.open(p, encoding="UTF-8") as f: ./builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/pdfkit/pdfkit.py:224: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with codecs.open(p, encoding="UTF-8") as f: /builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/pdfkit/pdfkit.py:229: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with codecs.open(self.source.to_s(), encoding="UTF-8") as f: ./builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/pdfkit/pdfkit.py:224: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with codecs.open(p, encoding="UTF-8") as f: ./builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/pdfkit/pdfkit.py:224: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with codecs.open(p, encoding="UTF-8") as f: ....../builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/tests/pdfkit-tests.py:44: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with codecs.open('fixtures/example.css', encoding='UTF-8') as f: ........ Loading page (1/2) [> ] 0% [==============================> ] 50% [============================================================] 100% Printing pages (2/2) [> ] Done Loading page (1/2) [> ] 0% [==============================> ] 50% [============================================================] 100% Printing pages (2/2) [> ] Done ---------------------------------------------------------------------- Ran 41 tests in 1.407s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-pdfkit-0.6.1-25.fc45.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5zZbDE + umask 022 + cd /builddir/build/BUILD/python-pdfkit-0.6.1-build + cd pdfkit-0.6.1 + DOCDIR=/builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/share/doc/python3-pdfkit + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/share/doc/python3-pdfkit + cp -pr /builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/README.rst /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/share/doc/python3-pdfkit + cp -pr /builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/HISTORY.rst /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/share/doc/python3-pdfkit + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UkLGZb + umask 022 + cd /builddir/build/BUILD/python-pdfkit-0.6.1-build + cd pdfkit-0.6.1 + LICENSEDIR=/builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/share/licenses/python3-pdfkit + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/share/licenses/python3-pdfkit + cp -pr /builddir/build/BUILD/python-pdfkit-0.6.1-build/pdfkit-0.6.1/LICENSE /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT/usr/share/licenses/python3-pdfkit + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pdfkit = 0.6.1-25.fc45 python3-pdfkit = 0.6.1-25.fc45 python3.15-pdfkit = 0.6.1-25.fc45 python3.15dist(pdfkit) = 0.6.1 python3dist(pdfkit) = 0.6.1 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.15 Obsoletes: python-pdfkit < 0.6.1-25.fc45 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/python-pdfkit-0.6.1-build/BUILDROOT Wrote: /builddir/build/RPMS/python3-pdfkit-0.6.1-25.fc45.noarch.rpm RPM build warnings: The %py3_build macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ The %py3_install macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ Child return code was: 0