Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/weasyprint.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-802990-28144/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/weasyprint.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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1678147200 Wrote: /builddir/build/SRPMS/weasyprint-58.1-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/weasyprint.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-802990-28144/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/weasyprint.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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1678147200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7F89fe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf weasyprint-58.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/weasyprint-58.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd weasyprint-58.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.JFz4za + umask 022 + cd /builddir/build/BUILD + cd weasyprint-58.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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/weasyprint-58.1/.pyproject-builddir + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/weasyprint-58.1/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/weasyprint-58.1/pyproject-wheeldir -r -x test Handling flit_core >=3.2,<4 from build-system.requires Requirement satisfied: flit_core >=3.2,<4 (installed: flit_core 3.8.0) Handling pydyf >=0.5.0 from hook generated metadata: Requires-Dist Requirement not satisfied: pydyf >=0.5.0 Handling cffi >=0.6 from hook generated metadata: Requires-Dist Requirement not satisfied: cffi >=0.6 Handling html5lib >=1.1 from hook generated metadata: Requires-Dist Requirement not satisfied: html5lib >=1.1 Handling tinycss2 >=1.0.0 from hook generated metadata: Requires-Dist Requirement not satisfied: tinycss2 >=1.0.0 Handling cssselect2 >=0.1 from hook generated metadata: Requires-Dist Requirement not satisfied: cssselect2 >=0.1 Handling Pyphen >=0.9.1 from hook generated metadata: Requires-Dist Requirement not satisfied: Pyphen >=0.9.1 Handling Pillow >=9.1.0 from hook generated metadata: Requires-Dist Requirement not satisfied: Pillow >=9.1.0 Handling fonttools[woff] >=4.0.0 from hook generated metadata: Requires-Dist Requirement not satisfied: fonttools[woff] >=4.0.0 Handling sphinx ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: sphinx ; extra == "doc" Handling sphinx_rtd_theme ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: sphinx_rtd_theme ; extra == "doc" Handling pytest ; extra == "test" from hook generated metadata: Requires-Dist Requirement not satisfied: pytest ; extra == "test" Handling isort ; extra == "test" from hook generated metadata: Requires-Dist Requirement not satisfied: isort ; extra == "test" Handling flake8 ; extra == "test" from hook generated metadata: Requires-Dist Requirement not satisfied: flake8 ; extra == "test" + rm -rfv weasyprint-58.1.dist-info/ removed 'weasyprint-58.1.dist-info/entry_points.txt' removed 'weasyprint-58.1.dist-info/WHEEL' removed 'weasyprint-58.1.dist-info/METADATA' removed directory 'weasyprint-58.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/weasyprint-58.1-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/weasyprint.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-802990-28144/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/weasyprint.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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1678147200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bcQxkb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf weasyprint-58.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/weasyprint-58.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd weasyprint-58.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.2r2NGX + umask 022 + cd /builddir/build/BUILD + cd weasyprint-58.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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/weasyprint-58.1/.pyproject-builddir + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/weasyprint-58.1/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/weasyprint-58.1/pyproject-wheeldir -r -x test Handling flit_core >=3.2,<4 from build-system.requires Requirement satisfied: flit_core >=3.2,<4 (installed: flit_core 3.8.0) Handling pydyf >=0.5.0 from hook generated metadata: Requires-Dist Requirement satisfied: pydyf >=0.5.0 (installed: pydyf 0.6.0) Handling cffi >=0.6 from hook generated metadata: Requires-Dist Requirement satisfied: cffi >=0.6 (installed: cffi 1.15.1) Handling html5lib >=1.1 from hook generated metadata: Requires-Dist Requirement satisfied: html5lib >=1.1 (installed: html5lib 1.1) Handling tinycss2 >=1.0.0 from hook generated metadata: Requires-Dist Requirement satisfied: tinycss2 >=1.0.0 (installed: tinycss2 1.2.1) Handling cssselect2 >=0.1 from hook generated metadata: Requires-Dist Requirement satisfied: cssselect2 >=0.1 (installed: cssselect2 0.7.0) Handling Pyphen >=0.9.1 from hook generated metadata: Requires-Dist Requirement satisfied: Pyphen >=0.9.1 (installed: Pyphen 0.13.2) Handling Pillow >=9.1.0 from hook generated metadata: Requires-Dist Requirement satisfied: Pillow >=9.1.0 (installed: Pillow 9.4.0) Handling fonttools[woff] >=4.0.0 from hook generated metadata: Requires-Dist Requirement satisfied: fonttools[woff] >=4.0.0 (installed: fonttools 4.39.3) (extras are currently not checked) Handling sphinx ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: sphinx ; extra == "doc" Handling sphinx_rtd_theme ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: sphinx_rtd_theme ; extra == "doc" Handling pytest ; extra == "test" from hook generated metadata: Requires-Dist Requirement satisfied: pytest ; extra == "test" (installed: pytest 7.2.2) Handling isort ; extra == "test" from hook generated metadata: Requires-Dist Requirement satisfied: isort ; extra == "test" (installed: isort 5.12.0) Handling flake8 ; extra == "test" from hook generated metadata: Requires-Dist Requirement satisfied: flake8 ; extra == "test" (installed: flake8 5.0.3) + rm -rfv weasyprint-58.1.dist-info/ removed 'weasyprint-58.1.dist-info/entry_points.txt' removed 'weasyprint-58.1.dist-info/WHEEL' removed 'weasyprint-58.1.dist-info/METADATA' removed directory 'weasyprint-58.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/weasyprint-58.1-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/weasyprint.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-802990-28144/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/weasyprint.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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1678147200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.YApkK6 + umask 022 + cd /builddir/build/BUILD + cd weasyprint-58.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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/weasyprint-58.1/.pyproject-builddir + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/weasyprint-58.1/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/weasyprint-58.1/pyproject-wheeldir -r -x test Handling flit_core >=3.2,<4 from build-system.requires Requirement satisfied: flit_core >=3.2,<4 (installed: flit_core 3.8.0) Handling pydyf >=0.5.0 from hook generated metadata: Requires-Dist Requirement satisfied: pydyf >=0.5.0 (installed: pydyf 0.6.0) Handling cffi >=0.6 from hook generated metadata: Requires-Dist Requirement satisfied: cffi >=0.6 (installed: cffi 1.15.1) Handling html5lib >=1.1 from hook generated metadata: Requires-Dist Requirement satisfied: html5lib >=1.1 (installed: html5lib 1.1) Handling tinycss2 >=1.0.0 from hook generated metadata: Requires-Dist Requirement satisfied: tinycss2 >=1.0.0 (installed: tinycss2 1.2.1) Handling cssselect2 >=0.1 from hook generated metadata: Requires-Dist Requirement satisfied: cssselect2 >=0.1 (installed: cssselect2 0.7.0) Handling Pyphen >=0.9.1 from hook generated metadata: Requires-Dist Requirement satisfied: Pyphen >=0.9.1 (installed: Pyphen 0.13.2) Handling Pillow >=9.1.0 from hook generated metadata: Requires-Dist Requirement satisfied: Pillow >=9.1.0 (installed: Pillow 9.4.0) Handling fonttools[woff] >=4.0.0 from hook generated metadata: Requires-Dist Requirement satisfied: fonttools[woff] >=4.0.0 (installed: fonttools 4.39.3) (extras are currently not checked) Handling sphinx ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: sphinx ; extra == "doc" Handling sphinx_rtd_theme ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: sphinx_rtd_theme ; extra == "doc" Handling pytest ; extra == "test" from hook generated metadata: Requires-Dist Requirement satisfied: pytest ; extra == "test" (installed: pytest 7.2.2) Handling isort ; extra == "test" from hook generated metadata: Requires-Dist Requirement satisfied: isort ; extra == "test" (installed: isort 5.12.0) Handling flake8 ; extra == "test" from hook generated metadata: Requires-Dist Requirement satisfied: flake8 ; extra == "test" (installed: flake8 5.0.3) + rm -rfv weasyprint-58.1.dist-info/ removed 'weasyprint-58.1.dist-info/entry_points.txt' removed 'weasyprint-58.1.dist-info/WHEEL' removed 'weasyprint-58.1.dist-info/METADATA' removed directory 'weasyprint-58.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hUvGZA + umask 022 + cd /builddir/build/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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd weasyprint-58.1 + mkdir -p /builddir/build/BUILD/weasyprint-58.1/.pyproject-builddir + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/weasyprint-58.1/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/weasyprint-58.1/pyproject-wheeldir Processing /builddir/build/BUILD/weasyprint-58.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: weasyprint Building wheel for weasyprint (pyproject.toml): started Running command Building wheel for weasyprint (pyproject.toml) Building wheel for weasyprint (pyproject.toml): finished with status 'done' Created wheel for weasyprint: filename=weasyprint-58.1-py3-none-any.whl size=265603 sha256=76dad86a163e9d23e71747e95afbe5918646a01b21d8c90627bdefba773b1fb5 Stored in directory: /builddir/.cache/pip/wheels/10/80/2a/be5ae226796b496d538b577a2813fa4c95bd231e38eee6bdc5 Successfully built weasyprint + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1nBSqx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch ++ dirname /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd weasyprint-58.1 ++ xargs basename --multiple ++ ls /builddir/build/BUILD/weasyprint-58.1/pyproject-wheeldir/weasyprint-58.1-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=weasyprint==58.1 + TMPDIR=/builddir/build/BUILD/weasyprint-58.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/weasyprint-58.1/pyproject-wheeldir weasyprint==58.1 Using pip 22.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/weasyprint-58.1/pyproject-wheeldir Processing ./pyproject-wheeldir/weasyprint-58.1-py3-none-any.whl Installing collected packages: weasyprint Creating /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/bin/weasyprint to 755 Successfully installed weasyprint-58.1 + '[' -d /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/bin/weasyprint /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/bin/weasyprint: updating + rm -rfv /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/weasyprint-58.1-1.fc38.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/weasyprint-58.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/lib/python3.11/site-packages/weasyprint-58.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch --record /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/lib/python3.11/site-packages/weasyprint-58.1.dist-info/RECORD --output /builddir/build/BUILD/weasyprint-58.1-1.fc38.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/lib/python3.11/site-packages/weasyprint-58.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/lib/python3.11/site-packages/weasyprint-58.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/lib/python3.11/site-packages/weasyprint-58.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/lib/python3.11/site-packages/weasyprint-58.1.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/weasyprint-58.1-1.fc38.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 58.1-1.fc38 --unique-debug-suffix -58.1-1.fc38.noarch --unique-debug-src-base weasyprint-58.1-1.fc38.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/weasyprint-58.1 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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/weasyprint-58.1-1.fc38.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.QSXXLi + umask 022 + cd /builddir/build/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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd weasyprint-58.1 + pytest-3 ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.2.2, pluggy-1.0.0 rootdir: /builddir/build/BUILD/weasyprint-58.1 collected 1943 items tests/test_acid2.py x [ 0%] tests/test_api.py .................................................... [ 2%] tests/test_boxes.py .................................................... [ 5%] ...... [ 5%] tests/test_counters.py ........x..................... [ 7%] tests/test_css.py ...................................................... [ 10%] ................ [ 10%] tests/test_css_descriptors.py ................ [ 11%] tests/test_css_validation.py ........................................... [ 13%] ........................................................................ [ 17%] ........................................................................ [ 21%] ..................... [ 22%] tests/test_float.py .........................x [ 23%] tests/test_fonts.py ....... [ 24%] tests/test_pdf.py FFF..F.............F.FF.FF..FF............FF [ 26%] tests/test_presentational_hints.py ......... [ 26%] tests/test_stacking.py ........ [ 27%] tests/test_target.py ...... [ 27%] tests/test_text.py ..................................................... [ 30%] .......................................................................x [ 33%] . [ 34%] tests/test_unicode.py . [ 34%] tests/test_variables.py ................................................ [ 36%] ........................................................................ [ 40%] ................................................ [ 42%] tests/draw/test_absolute.py ...........x......... [ 43%] tests/draw/test_background.py .......................................... [ 45%] ............. [ 46%] tests/draw/test_before_after.py ... [ 46%] tests/draw/test_box.py ................ [ 47%] tests/draw/test_column.py ... [ 47%] tests/draw/test_current_color.py .....x [ 48%] tests/draw/test_float.py ............xx..........x..x.x [ 49%] tests/draw/test_footnote.py .......... [ 50%] tests/draw/test_footnote_column.py .........x [ 50%] tests/draw/test_gradient.py .................. [ 51%] tests/draw/test_image.py ............................................... [ 53%] .... [ 54%] tests/draw/test_leader.py ....xx.x...... [ 54%] tests/draw/test_list.py ... [ 55%] tests/draw/test_opacity.py ... [ 55%] tests/draw/test_overflow.py ........ [ 55%] tests/draw/test_page.py ............ [ 56%] tests/draw/test_table.py .....................x........x [ 57%] tests/draw/test_text.py ....x.....x.........xxx...... [ 59%] tests/draw/test_transform.py .............. [ 60%] tests/draw/test_visibility.py .... [ 60%] tests/draw/test_whitespace.py ......... [ 60%] tests/draw/svg/test_bounding_box.py ......x..xx [ 61%] tests/draw/svg/test_clip.py ..x [ 61%] tests/draw/svg/test_defs.py .. [ 61%] tests/draw/svg/test_gradients.py .............................. [ 63%] tests/draw/svg/test_images.py ........x... [ 63%] tests/draw/svg/test_opacity.py ..xxX [ 63%] tests/draw/svg/test_paths.py ...................... [ 65%] tests/draw/svg/test_patterns.py ....... [ 65%] tests/draw/svg/test_shapes.py ................... [ 66%] tests/draw/svg/test_text.py ............. [ 67%] tests/draw/svg/test_transform.py ................. [ 67%] tests/draw/svg/test_units.py .... [ 68%] tests/draw/svg/test_visibility.py ........ [ 68%] tests/layout/test_block.py ............................................. [ 70%] ................x........ [ 72%] tests/layout/test_column.py ........................................... [ 74%] tests/layout/test_flex.py .............x............. [ 75%] tests/layout/test_footnotes.py ...x.................. [ 76%] tests/layout/test_image.py ............................................. [ 79%] ...................... [ 80%] tests/layout/test_inline.py .x...........x.............................. [ 82%] ..... [ 82%] tests/layout/test_inline_block.py .. [ 83%] tests/layout/test_list.py .......x.. [ 83%] tests/layout/test_page.py .................................x............ [ 85%] ......................................................... [ 88%] tests/layout/test_position.py ................ [ 89%] tests/layout/test_shrink_to_fit.py ..................................... [ 91%] ................................................... [ 94%] tests/layout/test_table.py ............................................. [ 96%] ...........x........................................................ [100%] =================================== FAILURES =================================== ____________________________ test_page_size_zoom[1] ____________________________ zoom = 1 @assert_no_logs @pytest.mark.parametrize('zoom', (1, 1.5, 0.5)) def test_page_size_zoom(zoom): pdf = FakeHTML(string='

Hello, World

a

''', base_url=resource_filename('')).write_pdf() uris = re.findall(b'/URI \\((.*)\\)', pdf) types = re.findall(b'/S (.*)', pdf) subtypes = re.findall(b'/Subtype (.*)', pdf) rects = [ [float(number) for number in match.split()] for match in re.findall( b'/Rect \\[ ([\\d\\.]+ [\\d\\.]+ [\\d\\.]+ [\\d\\.]+) \\]', pdf)] # 30pt wide (like the image), 20pt high (like line-height) assert uris.pop(0) == b'https://weasyprint.org' > assert subtypes.pop(0) == b'/Link' E AssertionError: assert b'/Link/Rect ...rint.org)>>>>' == b'/Link' E Use -v to get more diff /builddir/build/BUILD/weasyprint-58.1/tests/test_pdf.py:338: AssertionError ------------------------------ Captured log call ------------------------------- INFO weasyprint.progress:__init__.py:88 Step 1 - Fetching and parsing HTML - HTML string INFO weasyprint.progress:__init__.py:231 Step 2 - Fetching and parsing CSS - CSS string INFO weasyprint.progress:__init__.py:62 Step 3 - Applying CSS INFO weasyprint.progress:document.py:197 Step 4 - Creating formatting structure INFO weasyprint.progress:page.py:846 Step 5 - Creating layout - Page 1 INFO weasyprint.progress:page.py:846 Step 5 - Creating layout - Page 2 INFO weasyprint.progress:__init__.py:108 Step 6 - Creating PDF INFO weasyprint.progress:__init__.py:207 Step 7 - Adding PDF metadata ________________________ test_relative_links_no_height _________________________ @assert_no_logs def test_relative_links_no_height(): # 100% wide (block), 0pt high pdf = FakeHTML( string='a', base_url='https://weasyprint.org/foo/bar/').write_pdf() assert b'/S /URI\n/URI (https://weasyprint.org/foo/lipsum)' > assert f'/Rect [ 0 {TOP} {RIGHT} {TOP} ]'.encode() in pdf E AssertionError: assert b'/Rect [ 0 841.889764 595.275591 841.889764 ]' in b'%PDF-1.7\n%\xf0\x9f\x96\xa4\n1 0 obj\n<>\nendobj\n2 0 obj\n<>\nstartxref\n2719\n%%EOF\n' E + where b'/Rect [ 0 841.889764 595.275591 841.889764 ]' = () E + where = '/Rect [ 0 841.889764 595.275591 841.889764 ]'.encode /builddir/build/BUILD/weasyprint-58.1/tests/test_pdf.py:390: AssertionError ------------------------------ Captured log call ------------------------------- INFO weasyprint.progress:__init__.py:88 Step 1 - Fetching and parsing HTML - HTML string INFO weasyprint.progress:__init__.py:62 Step 3 - Applying CSS INFO weasyprint.progress:document.py:197 Step 4 - Creating formatting structure INFO weasyprint.progress:page.py:846 Step 5 - Creating layout - Page 1 INFO weasyprint.progress:__init__.py:108 Step 6 - Creating PDF INFO weasyprint.progress:__init__.py:207 Step 7 - Adding PDF metadata _______________________ test_relative_links_missing_base _______________________ @assert_no_logs def test_relative_links_missing_base(): # Relative URI reference without a base URI pdf = FakeHTML( string='a', base_url=None).write_pdf() assert b'/S /URI\n/URI (../lipsum)' > assert f'/Rect [ 0 {TOP} {RIGHT} {TOP} ]'.encode() in pdf E AssertionError: assert b'/Rect [ 0 841.889764 595.275591 841.889764 ]' in b'%PDF-1.7\n%\xf0\x9f\x96\xa4\n1 0 obj\n<>\nendobj\n2 0 obj\n<>\nstartxref\n2699\n%%EOF\n' E + where b'/Rect [ 0 841.889764 595.275591 841.889764 ]' = () E + where = '/Rect [ 0 841.889764 595.275591 841.889764 ]'.encode /builddir/build/BUILD/weasyprint-58.1/tests/test_pdf.py:400: AssertionError ------------------------------ Captured log call ------------------------------- INFO weasyprint.progress:__init__.py:88 Step 1 - Fetching and parsing HTML - HTML string INFO weasyprint.progress:__init__.py:62 Step 3 - Applying CSS INFO weasyprint.progress:document.py:197 Step 4 - Creating formatting structure INFO weasyprint.progress:page.py:846 Step 5 - Creating layout - Page 1 INFO weasyprint.progress:__init__.py:108 Step 6 - Creating PDF INFO weasyprint.progress:__init__.py:207 Step 7 - Adding PDF metadata _________________________ test_relative_links_internal _________________________ @assert_no_logs def test_relative_links_internal(): # Internal URI reference without a base URI: OK pdf = FakeHTML( string='a', base_url=None).write_pdf() assert b'/Dest (lipsum)' in pdf link = re.search( b'\\(lipsum\\) \\[ \\d+ 0 R /XYZ ([\\d\\.]+ [\\d\\.]+ [\\d\\.]+) ]', > pdf).group(1) E AttributeError: 'NoneType' object has no attribute 'group' /builddir/build/BUILD/weasyprint-58.1/tests/test_pdf.py:425: AttributeError ------------------------------ Captured log call ------------------------------- INFO weasyprint.progress:__init__.py:88 Step 1 - Fetching and parsing HTML - HTML string INFO weasyprint.progress:__init__.py:62 Step 3 - Applying CSS INFO weasyprint.progress:document.py:197 Step 4 - Creating formatting structure INFO weasyprint.progress:page.py:846 Step 5 - Creating layout - Page 1 INFO weasyprint.progress:__init__.py:108 Step 6 - Creating PDF INFO weasyprint.progress:__init__.py:207 Step 7 - Adding PDF metadata _________________________ test_relative_links_anchors __________________________ @assert_no_logs def test_relative_links_anchors(): pdf = FakeHTML( string='
a', base_url=None).write_pdf() assert b'/Dest (lipsum)' in pdf link = re.search( b'\\(lipsum\\) \\[ \\d+ 0 R /XYZ ([\\d\\.]+ [\\d\\.]+ [\\d\\.]+) ]', > pdf).group(1) E AttributeError: 'NoneType' object has no attribute 'group' /builddir/build/BUILD/weasyprint-58.1/tests/test_pdf.py:441: AttributeError ------------------------------ Captured log call ------------------------------- INFO weasyprint.progress:__init__.py:88 Step 1 - Fetching and parsing HTML - HTML string INFO weasyprint.progress:__init__.py:62 Step 3 - Applying CSS INFO weasyprint.progress:document.py:197 Step 4 - Creating formatting structure INFO weasyprint.progress:page.py:846 Step 5 - Creating layout - Page 1 INFO weasyprint.progress:__init__.py:108 Step 6 - Creating PDF INFO weasyprint.progress:__init__.py:207 Step 7 - Adding PDF metadata ______________________________ test_missing_links ______________________________ @assert_no_logs def test_missing_links(): with capture_logs() as logs: pdf = FakeHTML(string=''' a ''', base_url=None).write_pdf() assert b'/Dest (lipsum)' in pdf assert len(logs) == 1 link = re.search( b'\\(lipsum\\) \\[ \\d+ 0 R /XYZ ([\\d\\.]+ [\\d\\.]+ [\\d\\.]+) ]', > pdf).group(1) E AttributeError: 'NoneType' object has no attribute 'group' /builddir/build/BUILD/weasyprint-58.1/tests/test_pdf.py:478: AttributeError ------------------------------ Captured log call ------------------------------- INFO weasyprint.progress:__init__.py:88 Step 1 - Fetching and parsing HTML - HTML string INFO weasyprint.progress:__init__.py:231 Step 2 - Fetching and parsing CSS - CSS string INFO weasyprint.progress:__init__.py:62 Step 3 - Applying CSS INFO weasyprint.progress:document.py:197 Step 4 - Creating formatting structure INFO weasyprint.progress:page.py:846 Step 5 - Creating layout - Page 1 INFO weasyprint.progress:__init__.py:108 Step 6 - Creating PDF ERROR weasyprint:anchors.py:335 No anchor #missing for internal URI reference INFO weasyprint.progress:__init__.py:207 Step 7 - Adding PDF metadata __________________________ test_anchor_multiple_pages __________________________ @assert_no_logs def test_anchor_multiple_pages(): pdf = FakeHTML(string='''
''', base_url=None).write_pdf() > first_page, = re.findall(b'/Kids \\[ (\\d+) 0 R', pdf) E ValueError: not enough values to unpack (expected 1, got 0) /builddir/build/BUILD/weasyprint-58.1/tests/test_pdf.py:498: ValueError ------------------------------ Captured log call ------------------------------- INFO weasyprint.progress:__init__.py:88 Step 1 - Fetching and parsing HTML - HTML string INFO weasyprint.progress:__init__.py:231 Step 2 - Fetching and parsing CSS - CSS string INFO weasyprint.progress:__init__.py:62 Step 3 - Applying CSS INFO weasyprint.progress:document.py:197 Step 4 - Creating formatting structure INFO weasyprint.progress:page.py:846 Step 5 - Creating layout - Page 1 INFO weasyprint.progress:page.py:846 Step 5 - Creating layout - Page 2 INFO weasyprint.progress:page.py:846 Step 5 - Creating layout - Page 3 INFO weasyprint.progress:__init__.py:108 Step 6 - Creating PDF INFO weasyprint.progress:__init__.py:207 Step 7 - Adding PDF metadata ___________ test_bleed[bleed: 30pt; size: 10pt-media0-bleed0-trim0] ____________ style = 'bleed: 30pt; size: 10pt', media = [-30, -30, 40, 40] bleed = [-10, -10, 20, 20], trim = [0, 0, 10, 10] @pytest.mark.parametrize('style, media, bleed, trim', ( ('bleed: 30pt; size: 10pt', [-30, -30, 40, 40], [-10, -10, 20, 20], [0, 0, 10, 10]), ('bleed: 15pt 3pt 6pt 18pt; size: 12pt 15pt', [-18, -15, 15, 21], [-10, -10, 15, 21], [0, 0, 12, 15]), )) @assert_no_logs def test_bleed(style, media, bleed, trim): pdf = FakeHTML(string=''' Test document test ''' % style).write_pdf() > assert '/MediaBox [ {} {} {} {} ]'.format(*media).encode() in pdf E AssertionError: assert b'/MediaBox [ -30 -30 40 40 ]' in b'%PDF-1.7\n%\xf0\x9f\x96\xa4\n1 0 obj\n<>\nendobj\n2 0 obj\n<>\nstartxref\n2755\n%%EOF\n' E + where b'/MediaBox [ -30 -30 40 40 ]' = () E + where = '/MediaBox [ -30 -30 40 40 ]'.encode E + where '/MediaBox [ -30 -30 40 40 ]' = (*[-30, -30, 40, 40]) E + where = '/MediaBox [ {} {} {} {} ]'.format /builddir/build/BUILD/weasyprint-58.1/tests/test_pdf.py:720: AssertionError ------------------------------ Captured log call ------------------------------- INFO weasyprint.progress:__init__.py:88 Step 1 - Fetching and parsing HTML - HTML string INFO weasyprint.progress:__init__.py:231 Step 2 - Fetching and parsing CSS - CSS string INFO weasyprint.progress:__init__.py:62 Step 3 - Applying CSS INFO weasyprint.progress:document.py:197 Step 4 - Creating formatting structure INFO weasyprint.progress:page.py:846 Step 5 - Creating layout - Page 1 INFO weasyprint.progress:__init__.py:108 Step 6 - Creating PDF INFO weasyprint.progress:__init__.py:207 Step 7 - Adding PDF metadata __ test_bleed[bleed: 15pt 3pt 6pt 18pt; size: 12pt 15pt-media1-bleed1-trim1] ___ style = 'bleed: 15pt 3pt 6pt 18pt; size: 12pt 15pt', media = [-18, -15, 15, 21] bleed = [-10, -10, 15, 21], trim = [0, 0, 12, 15] @pytest.mark.parametrize('style, media, bleed, trim', ( ('bleed: 30pt; size: 10pt', [-30, -30, 40, 40], [-10, -10, 20, 20], [0, 0, 10, 10]), ('bleed: 15pt 3pt 6pt 18pt; size: 12pt 15pt', [-18, -15, 15, 21], [-10, -10, 15, 21], [0, 0, 12, 15]), )) @assert_no_logs def test_bleed(style, media, bleed, trim): pdf = FakeHTML(string=''' Test document test ''' % style).write_pdf() > assert '/MediaBox [ {} {} {} {} ]'.format(*media).encode() in pdf E AssertionError: assert b'/MediaBox [ -18 -15 15 21 ]' in b'%PDF-1.7\n%\xf0\x9f\x96\xa4\n1 0 obj\n<>\nendobj\n2 0 obj\n<>\nstartxref\n2753\n%%EOF\n' E + where b'/MediaBox [ -18 -15 15 21 ]' = () E + where = '/MediaBox [ -18 -15 15 21 ]'.encode E + where '/MediaBox [ -18 -15 15 21 ]' = (*[-18, -15, 15, 21]) E + where = '/MediaBox [ {} {} {} {} ]'.format /builddir/build/BUILD/weasyprint-58.1/tests/test_pdf.py:720: AssertionError ------------------------------ Captured log call ------------------------------- INFO weasyprint.progress:__init__.py:88 Step 1 - Fetching and parsing HTML - HTML string INFO weasyprint.progress:__init__.py:231 Step 2 - Fetching and parsing CSS - CSS string INFO weasyprint.progress:__init__.py:62 Step 3 - Applying CSS INFO weasyprint.progress:document.py:197 Step 4 - Creating formatting structure INFO weasyprint.progress:page.py:846 Step 5 - Creating layout - Page 1 INFO weasyprint.progress:__init__.py:108 Step 6 - Creating PDF INFO weasyprint.progress:__init__.py:207 Step 7 - Adding PDF metadata =========================== short test summary info ============================ FAILED tests/test_pdf.py::test_page_size_zoom[1] - AssertionError: assert b'/... FAILED tests/test_pdf.py::test_page_size_zoom[1.5] - AssertionError: assert b... FAILED tests/test_pdf.py::test_page_size_zoom[0.5] - AssertionError: assert b... FAILED tests/test_pdf.py::test_bookmarks_3 - AssertionError: assert [b'feff00... FAILED tests/test_pdf.py::test_links - AssertionError: assert b'/Link/Rect ..... FAILED tests/test_pdf.py::test_relative_links_no_height - AssertionError: ass... FAILED tests/test_pdf.py::test_relative_links_missing_base - AssertionError: ... FAILED tests/test_pdf.py::test_relative_links_internal - AttributeError: 'Non... FAILED tests/test_pdf.py::test_relative_links_anchors - AttributeError: 'None... FAILED tests/test_pdf.py::test_missing_links - AttributeError: 'NoneType' obj... FAILED tests/test_pdf.py::test_anchor_multiple_pages - ValueError: not enough... FAILED tests/test_pdf.py::test_bleed[bleed: 30pt; size: 10pt-media0-bleed0-trim0] FAILED tests/test_pdf.py::test_bleed[bleed: 15pt 3pt 6pt 18pt; size: 12pt 15pt-media1-bleed1-trim1] ===== 13 failed, 1892 passed, 37 xfailed, 1 xpassed in 2141.71s (0:35:41) ====== error: Bad exit status from /var/tmp/rpm-tmp.QSXXLi (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QSXXLi (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/weasyprint.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/weasyprint.spec