Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-sh.spec'], chrootPath='/var/lib/mock/f40-build-2229695-53147/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/python-sh.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=1705017600 Wrote: /builddir/build/SRPMS/python-sh-2.0.6-1.fc40.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/python-sh.spec'], chrootPath='/var/lib/mock/f40-build-2229695-53147/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/python-sh.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=1705017600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.O4ecpG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sh-2.0.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sh-2.0.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sh-2.0.6 + rm -rf /builddir/build/BUILD/sh-2.0.6-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/sh-2.0.6-SPECPARTS + /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.8vh2sd + umask 022 + cd /builddir/build/BUILD + cd sh-2.0.6 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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-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(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/sh-2.0.6/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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/sh-2.0.6/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/sh-2.0.6/pyproject-wheeldir --output /builddir/build/BUILD/python-sh-2.0.6-1.fc40.noarch-pyproject-buildrequires Handling poetry-core>=1.0.0a5 from build-system.requires Requirement not satisfied: poetry-core>=1.0.0a5 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-sh-2.0.6-1.fc40.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-sh-2.0.6-1.fc40.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/python-sh.spec'], chrootPath='/var/lib/mock/f40-build-2229695-53147/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/python-sh.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=1705017600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.34RBhl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sh-2.0.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sh-2.0.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sh-2.0.6 + rm -rf /builddir/build/BUILD/sh-2.0.6-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/sh-2.0.6-SPECPARTS + /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.eL8NXM + umask 022 + cd /builddir/build/BUILD + cd sh-2.0.6 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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-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(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/sh-2.0.6/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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/sh-2.0.6/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/sh-2.0.6/pyproject-wheeldir --output /builddir/build/BUILD/python-sh-2.0.6-1.fc40.noarch-pyproject-buildrequires Handling poetry-core>=1.0.0a5 from build-system.requires Requirement satisfied: poetry-core>=1.0.0a5 (installed: poetry-core 1.7.0) + cat /builddir/build/BUILD/python-sh-2.0.6-1.fc40.noarch-pyproject-buildrequires + rm -rfv sh-2.0.6.dist-info/ removed 'sh-2.0.6.dist-info/LICENSE.txt' removed 'sh-2.0.6.dist-info/WHEEL' removed 'sh-2.0.6.dist-info/METADATA' removed directory 'sh-2.0.6.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-sh-2.0.6-1.fc40.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/python-sh.spec'], chrootPath='/var/lib/mock/f40-build-2229695-53147/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/python-sh.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=1705017600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.12xg6p + umask 022 + cd /builddir/build/BUILD + cd sh-2.0.6 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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-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(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/sh-2.0.6/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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/sh-2.0.6/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/sh-2.0.6/pyproject-wheeldir --output /builddir/build/BUILD/python-sh-2.0.6-1.fc40.noarch-pyproject-buildrequires Handling poetry-core>=1.0.0a5 from build-system.requires Requirement satisfied: poetry-core>=1.0.0a5 (installed: poetry-core 1.7.0) + cat /builddir/build/BUILD/python-sh-2.0.6-1.fc40.noarch-pyproject-buildrequires + rm -rfv sh-2.0.6.dist-info/ removed 'sh-2.0.6.dist-info/LICENSE.txt' removed 'sh-2.0.6.dist-info/WHEEL' removed 'sh-2.0.6.dist-info/METADATA' removed directory 'sh-2.0.6.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rt11ha + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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-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 sh-2.0.6 + mkdir -p /builddir/build/BUILD/sh-2.0.6/.pyproject-builddir + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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/sh-2.0.6/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/sh-2.0.6/pyproject-wheeldir Processing /builddir/build/BUILD/sh-2.0.6 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: sh Building wheel for sh (pyproject.toml): started Running command Building wheel for sh (pyproject.toml) Building wheel for sh (pyproject.toml): finished with status 'done' Created wheel for sh: filename=sh-2.0.6-py3-none-any.whl size=38118 sha256=164a7bde1f31bbc11b6097c620e4cdbf78b0be918a5e23266c7c130ff84abfe8 Stored in directory: /builddir/.cache/pip/wheels/0c/5b/51/6eb0b44fa2f8d2a1a1456c5d8d2df4f6bb7bf0550fab1c669f Successfully built sh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vKatV4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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-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 sh-2.0.6 ++ ls /builddir/build/BUILD/sh-2.0.6/pyproject-wheeldir/sh-2.0.6-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=sh==2.0.6 + '[' -z sh==2.0.6 ']' + TMPDIR=/builddir/build/BUILD/sh-2.0.6/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.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/sh-2.0.6/pyproject-wheeldir sh==2.0.6 Using pip 23.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/sh-2.0.6/pyproject-wheeldir Processing ./pyproject-wheeldir/sh-2.0.6-py3-none-any.whl Installing collected packages: sh Successfully installed sh-2.0.6 + '[' -d /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/python-sh-2.0.6-1.fc40.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/sh-2.0.6.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch/usr/lib/python3.12/site-packages/sh-2.0.6.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch --record /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch/usr/lib/python3.12/site-packages/sh-2.0.6.dist-info/RECORD --output /builddir/build/BUILD/python-sh-2.0.6-1.fc40.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch/usr/lib/python3.12/site-packages/sh-2.0.6.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch/usr/lib/python3.12/site-packages/sh-2.0.6.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch/usr/lib/python3.12/site-packages/sh-2.0.6.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch/usr/lib/python3.12/site-packages/sh-2.0.6.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-sh-2.0.6-1.fc40.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-sh-2.0.6-1.fc40.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-sh-2.0.6-1.fc40.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-sh-2.0.6-1.fc40.noarch --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-sh-2.0.6-1.fc40.noarch-pyproject-record --prefix /usr sh + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.0.6-1.fc40 --unique-debug-suffix -2.0.6-1.fc40.noarch --unique-debug-src-base python-sh-2.0.6-1.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sh-2.0.6 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /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/python-sh-2.0.6-1.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.adGOlM + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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-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 sh-2.0.6 + mv tests/sh_test.py . + export SH_TESTS_RUNNING=1 + SH_TESTS_RUNNING=1 + SH_TESTS_USE_SELECT=0 + /usr/bin/python3 sh_test.py test_bool_values (__main__.ArgTests.test_bool_values) ... ok test_space_sep (__main__.ArgTests.test_space_sep) ... ok test_list_args (__main__.ArgTests.test_list_args) ... ok test_no_interfere1 (__main__.ExecutionContextTests.test_no_interfere1) ... ok test_no_interfere2 (__main__.ExecutionContextTests.test_no_interfere2) ... ok test_multiline_defaults (__main__.ExecutionContextTests.test_multiline_defaults) ... ok test_basic (__main__.ExecutionContextTests.test_basic) ... ok test_set_in_parent_function (__main__.ExecutionContextTests.test_set_in_parent_function) ... ok test_command_with_baked_call_args (__main__.ExecutionContextTests.test_command_with_baked_call_args) ... ok test_tty_input (__main__.FunctionalTests.test_tty_input) ... ok test_grandchild_no_sighup (__main__.FunctionalTests.test_grandchild_no_sighup) ... ERROR test_raw_args (__main__.FunctionalTests.test_raw_args) ... ok test_err_to_out (__main__.FunctionalTests.test_err_to_out) ... ok test_generator_and_callback (__main__.FunctionalTests.test_generator_and_callback) ... ok test_command_wrapper_equivalence (__main__.FunctionalTests.test_command_wrapper_equivalence) ... ok test_tty_stdin (__main__.FunctionalTests.test_tty_stdin) ... ok test_no_out_iter_err (__main__.FunctionalTests.test_no_out_iter_err) ... ok test_failure_with_large_output (__main__.FunctionalTests.test_failure_with_large_output) ... ok test_fg_alternative (__main__.FunctionalTests.test_fg_alternative) ... ok test_non_existant_cwd (__main__.FunctionalTests.test_non_existant_cwd) ... ok test_stdout_callback_no_wait (__main__.FunctionalTests.test_stdout_callback_no_wait) ... ok test_long_bool_option (__main__.FunctionalTests.test_long_bool_option) ... ok test_unchecked_producer_failure (__main__.FunctionalTests.test_unchecked_producer_failure) ... ok test_signal_group (__main__.FunctionalTests.test_signal_group) ... ok test_done_cb_exc (__main__.FunctionalTests.test_done_cb_exc) ... ok test_binary_pipe (__main__.FunctionalTests.test_binary_pipe) ... ok test_stdout_callback_terminate (__main__.FunctionalTests.test_stdout_callback_terminate) ... ok test_timeout_wait_negative (__main__.FunctionalTests.test_timeout_wait_negative) ... ok test_pushd_cd (__main__.FunctionalTests.test_pushd_cd) test that pushd works like pushd/popd ... ok test_none_arg (__main__.FunctionalTests.test_none_arg) ... ok test_iter_generator (__main__.FunctionalTests.test_iter_generator) ... ok test_internal_bufsize (__main__.FunctionalTests.test_internal_bufsize) ... ok test_decode_error_handling (__main__.FunctionalTests.test_decode_error_handling) ... te漢字stok test_fork_exc (__main__.FunctionalTests.test_fork_exc) ... ok test_timeout (__main__.FunctionalTests.test_timeout) ... FAIL test_short_bool_option (__main__.FunctionalTests.test_short_bool_option) ... ok test_stdout_callback_buffered (__main__.FunctionalTests.test_stdout_callback_buffered) ... ok test_close_fds (__main__.FunctionalTests.test_close_fds) ... ok test_which_paths (__main__.FunctionalTests.test_which_paths) ... ok test_ok_code_exception (__main__.FunctionalTests.test_ok_code_exception) ... ok test_background_exception (__main__.FunctionalTests.test_background_exception) ... ok test_shadowed_subcommand (__main__.FunctionalTests.test_shadowed_subcommand) ... ok test_exit_code_with_hasattr (__main__.FunctionalTests.test_exit_code_with_hasattr) ... ok test_stdout_pipe (__main__.FunctionalTests.test_stdout_pipe) ... ok test_no_pipe (__main__.FunctionalTests.test_no_pipe) ... ok test_out_filename (__main__.FunctionalTests.test_out_filename) ... ok test_arg_preprocessor (__main__.FunctionalTests.test_arg_preprocessor) ... ok test_incompatible_special_args (__main__.FunctionalTests.test_incompatible_special_args) ... ok test_callable_interact (__main__.FunctionalTests.test_callable_interact) ... ok test_custom_separator_space (__main__.FunctionalTests.test_custom_separator_space) ... ok test_stdout_callback_line_buffered (__main__.FunctionalTests.test_stdout_callback_line_buffered) ... ok test_pushd (__main__.FunctionalTests.test_pushd) test basic pushd functionality ... ok test_out_and_err_redirection (__main__.FunctionalTests.test_out_and_err_redirection) ... ok test_short_option (__main__.FunctionalTests.test_short_option) ... ok test_incremental_composition (__main__.FunctionalTests.test_incremental_composition) ... ok test_manual_stdin_queue (__main__.FunctionalTests.test_manual_stdin_queue) ... ok test_exception (__main__.FunctionalTests.test_exception) ... ok test_huge_piped_data (__main__.FunctionalTests.test_huge_piped_data) ... ok test_no_proc_no_attr (__main__.FunctionalTests.test_no_proc_no_attr) ... ok test_iter_unicode (__main__.FunctionalTests.test_iter_unicode) ... ok test_stdout_callback (__main__.FunctionalTests.test_stdout_callback) ... ok test_out_redirection (__main__.FunctionalTests.test_out_redirection) ... ok test_done_callback_no_deadlock (__main__.FunctionalTests.test_done_callback_no_deadlock) ... ERROR test_async_exc (__main__.FunctionalTests.test_async_exc) ... ok test_multiple_args_long_option (__main__.FunctionalTests.test_multiple_args_long_option) ... ok test_custom_timeout_signal (__main__.FunctionalTests.test_custom_timeout_signal) ... ok test_piped_generator (__main__.FunctionalTests.test_piped_generator) ... ok test_custom_separator (__main__.FunctionalTests.test_custom_separator) ... ok test_fg (__main__.FunctionalTests.test_fg) ... ok test_trunc_exc (__main__.FunctionalTests.test_trunc_exc) ... ok test_callable_stdin (__main__.FunctionalTests.test_callable_stdin) ... ok test_print_command (__main__.FunctionalTests.test_print_command) ... ok test_append_stdout (__main__.FunctionalTests.test_append_stdout) ... ok test_baked_command_can_be_printed (__main__.FunctionalTests.test_baked_command_can_be_printed) ... ok test_async_iter_exc (__main__.FunctionalTests.test_async_iter_exc) ... ok test_stringio_output (__main__.FunctionalTests.test_stringio_output) ... ok test_bake_args_come_first (__main__.FunctionalTests.test_bake_args_come_first) ... ok test_subcommand_and_bake (__main__.FunctionalTests.test_subcommand_and_bake) ... ok test_sigpipe (__main__.FunctionalTests.test_sigpipe) ... ok test_invalid_env (__main__.FunctionalTests.test_invalid_env) ... ok test_fg_true (__main__.FunctionalTests.test_fg_true) https://github.com/amoffat/sh/issues/520 ... ok test_fg_false (__main__.FunctionalTests.test_fg_false) https://github.com/amoffat/sh/issues/520 ... ok test_no_err (__main__.FunctionalTests.test_no_err) ... ok test_with_context_args (__main__.FunctionalTests.test_with_context_args) ... ok test_piped_exception2 (__main__.FunctionalTests.test_piped_exception2) ... ok test_arg_string_coercion (__main__.FunctionalTests.test_arg_string_coercion) ... ok test_command_not_found (__main__.FunctionalTests.test_command_not_found) ... ok test_exit_code_from_exception (__main__.FunctionalTests.test_exit_code_from_exception) ... ok test_change_stdout_buffering (__main__.FunctionalTests.test_change_stdout_buffering) ... ok test_manual_stdin_string (__main__.FunctionalTests.test_manual_stdin_string) ... ok test_custom_long_prefix (__main__.FunctionalTests.test_custom_long_prefix) ... ok test_background (__main__.FunctionalTests.test_background) ... FAIL test_pass_fds (__main__.FunctionalTests.test_pass_fds) ... ok test_bg_exit_code (__main__.FunctionalTests.test_bg_exit_code) ... ok test_done_callback (__main__.FunctionalTests.test_done_callback) ... FAIL test_cwd (__main__.FunctionalTests.test_cwd) ... ok test_general_signal (__main__.FunctionalTests.test_general_signal) ... ok test_no_arg (__main__.FunctionalTests.test_no_arg) ... ok test_doesnt_execute_directories (__main__.FunctionalTests.test_doesnt_execute_directories) ... ok test_stdin_newline_bufsize (__main__.FunctionalTests.test_stdin_newline_bufsize) ... FAIL test_cmd_eq (__main__.FunctionalTests.test_cmd_eq) ... ok test_cwd_fg (__main__.FunctionalTests.test_cwd_fg) ... ok test_signal_exception (__main__.FunctionalTests.test_signal_exception) ... ok test_stdout_callback_exit (__main__.FunctionalTests.test_stdout_callback_exit) ... ok test_err_redirection (__main__.FunctionalTests.test_err_redirection) ... ok test_tty_output (__main__.FunctionalTests.test_tty_output) ... ok test_partially_applied_callback (__main__.FunctionalTests.test_partially_applied_callback) ... ok test_command_wrapper (__main__.FunctionalTests.test_command_wrapper) ... ok test_stdout_callback_line_unbuffered (__main__.FunctionalTests.test_stdout_callback_line_unbuffered) ... ok test_tty_tee (__main__.FunctionalTests.test_tty_tee) ... ok test_async_iter (__main__.FunctionalTests.test_async_iter) ... ok test_which (__main__.FunctionalTests.test_which) ... ok test_false_bool_ignore (__main__.FunctionalTests.test_false_bool_ignore) ... ok test_unicode_exception (__main__.FunctionalTests.test_unicode_exception) ... ok test_stdin_from_string (__main__.FunctionalTests.test_stdin_from_string) ... ok test_environment (__main__.FunctionalTests.test_environment) tests that environments variables that we pass into sh commands ... ok test_for_generator_to_err (__main__.FunctionalTests.test_for_generator_to_err) ... ok test_stdout_callback_kill (__main__.FunctionalTests.test_stdout_callback_kill) ... ok test_pipe_fd (__main__.FunctionalTests.test_pipe_fd) ... ok test_output_equivalence (__main__.FunctionalTests.test_output_equivalence) ... ok test_patched_glob (__main__.FunctionalTests.test_patched_glob) ... ok test_stdin_unbuffered_bufsize (__main__.FunctionalTests.test_stdin_unbuffered_bufsize) ... FAIL test_multiple_args_short_option (__main__.FunctionalTests.test_multiple_args_short_option) ... ok test_non_ascii_error (__main__.FunctionalTests.test_non_ascii_error) ... ok test_ok_code_none (__main__.FunctionalTests.test_ok_code_none) ... ok test_err_redirection_actual_file (__main__.FunctionalTests.test_err_redirection_actual_file) ... ok test_fg_exc (__main__.FunctionalTests.test_fg_exc) ... ok test_ok_code (__main__.FunctionalTests.test_ok_code) ... ok test_quote_escaping (__main__.FunctionalTests.test_quote_escaping) ... ok test_composition (__main__.FunctionalTests.test_composition) ... ok test_multiple_bakes (__main__.FunctionalTests.test_multiple_bakes) ... ok test_timeout_wait_overstep (__main__.FunctionalTests.test_timeout_wait_overstep) ... ok test_empty_stdin_no_hang (__main__.FunctionalTests.test_empty_stdin_no_hang) ... ERROR test_timeout_wait (__main__.FunctionalTests.test_timeout_wait) ... ok test_stdout_callback_with_input (__main__.FunctionalTests.test_stdout_callback_with_input) ... ok test_err_to_out_and_sys_stdout (__main__.FunctionalTests.test_err_to_out_and_sys_stdout) ... ok test_with_context (__main__.FunctionalTests.test_with_context) ... ok test_multiple_pipes (__main__.FunctionalTests.test_multiple_pipes) ... ok test_encoding (__main__.FunctionalTests.test_encoding) ... skipped "what's the best way to test a different '_encoding' special keywordargument?" test_new_session_new_group (__main__.FunctionalTests.test_new_session_new_group) ... ok test_number_arg (__main__.FunctionalTests.test_number_arg) ... ok test_no_close_fds (__main__.FunctionalTests.test_no_close_fds) ... ok test_timeout_overstep (__main__.FunctionalTests.test_timeout_overstep) ... FAIL test_no_out (__main__.FunctionalTests.test_no_out) ... ok test_out_pathlike (__main__.FunctionalTests.test_out_pathlike) ... ok test_long_option (__main__.FunctionalTests.test_long_option) ... ok test_async (__main__.FunctionalTests.test_async) ... ok test_handle_both_out_and_err (__main__.FunctionalTests.test_handle_both_out_and_err) ... ok test_err_piped (__main__.FunctionalTests.test_err_piped) ... ok test_unicode_arg (__main__.FunctionalTests.test_unicode_arg) ... ok test_cast_bg (__main__.FunctionalTests.test_cast_bg) ... ok test_with_context_nested (__main__.FunctionalTests.test_with_context_nested) ... ok test_unchecked_pipeline_failure (__main__.FunctionalTests.test_unchecked_pipeline_failure) ... ok test_fg_env (__main__.FunctionalTests.test_fg_env) ... ok test_nonblocking_iter (__main__.FunctionalTests.test_nonblocking_iter) ... ok test_stringio_input (__main__.FunctionalTests.test_stringio_input) ... ok test_manual_stdin_file (__main__.FunctionalTests.test_manual_stdin_file) ... ok test_binary_input (__main__.FunctionalTests.test_binary_input) ... ok test_piped_exception1 (__main__.FunctionalTests.test_piped_exception1) ... ok test_exit_code (__main__.FunctionalTests.test_exit_code) ... ok test_manual_stdin_iterable (__main__.FunctionalTests.test_manual_stdin_iterable) ... ok test_unicode_path (__main__.MiscTests.test_unicode_path) ... ok test_percent_doesnt_fail_logging (__main__.MiscTests.test_percent_doesnt_fail_logging) test that a command name doesn't interfere with string formatting in ... ok test_pushd_thread_safety (__main__.MiscTests.test_pushd_thread_safety) ... ok test_change_log_message (__main__.MiscTests.test_change_log_message) ... ok test_threaded_with_contexts (__main__.MiscTests.test_threaded_with_contexts) ... ok test_args_deprecated (__main__.MiscTests.test_args_deprecated) ... ok test_wraps (__main__.MiscTests.test_wraps) ... ok test_signal_exception_aliases (__main__.MiscTests.test_signal_exception_aliases) proves that signal exceptions with numbers and names are equivalent ... ok test_pickling (__main__.MiscTests.test_pickling) ... ok test_stdin_nohang (__main__.MiscTests.test_stdin_nohang) ... ok test_stop_iteration_doesnt_block (__main__.MiscTests.test_stop_iteration_doesnt_block) proves that calling calling next() on a stopped iterator doesn't ... ok test_eintr (__main__.MiscTests.test_eintr) ... ok test_fd_over_1024 (__main__.MiscTests.test_fd_over_1024) ... ok test_patch_command (__main__.MockTests.test_patch_command) ... ok test_patch_command_cls (__main__.MockTests.test_patch_command_cls) ... ok test_unbuffered (__main__.StreamBuffererTests.test_unbuffered) ... ok test_newline_buffered (__main__.StreamBuffererTests.test_newline_buffered) ... ok test_chunk_buffered (__main__.StreamBuffererTests.test_chunk_buffered) ... ok ====================================================================== ERROR: test_grandchild_no_sighup (__main__.FunctionalTests.test_grandchild_no_sighup) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sh-2.0.6/sh_test.py", line 3047, in test_grandchild_no_sighup out = output_file.readlines()[0] ~~~~~~~~~~~~~~~~~~~~~~~^^^ IndexError: list index out of range ====================================================================== ERROR: test_done_callback_no_deadlock (__main__.FunctionalTests.test_done_callback_no_deadlock) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sh-2.0.6/sh_test.py", line 2703, in test_done_callback_no_deadlock p.wait() File "/builddir/build/BUILD/sh-2.0.6/sh.py", line 796, in wait raise TimeoutException(-exit_code, self.ran) sh.TimeoutException ====================================================================== ERROR: test_empty_stdin_no_hang (__main__.FunctionalTests.test_empty_stdin_no_hang) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sh-2.0.6/sh_test.py", line 283, in test_empty_stdin_no_hang out = pythons(py.name, _in="", _timeout=2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/sh-2.0.6/sh.py", line 1508, in __call__ rc = self.__class__.RunningCommandCls(cmd, call_args, stdin, stdout, stderr) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/sh-2.0.6/sh.py", line 737, in __init__ self.wait() File "/builddir/build/BUILD/sh-2.0.6/sh.py", line 796, in wait raise TimeoutException(-exit_code, self.ran) sh.TimeoutException ====================================================================== FAIL: test_timeout (__main__.FunctionalTests.test_timeout) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sh-2.0.6/sh_test.py", line 2343, in test_timeout self.assertLess(abs(elapsed - timeout), 0.5) AssertionError: 0.998206615447998 not less than 0.5 ====================================================================== FAIL: test_background (__main__.FunctionalTests.test_background) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sh-2.0.6/sh_test.py", line 1043, in test_background self.assertLess(now - start, sleep_time) AssertionError: 1.3127853870391846 not less than 0.5 ====================================================================== FAIL: test_done_callback (__main__.FunctionalTests.test_done_callback) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sh-2.0.6/sh_test.py", line 2679, in test_done_callback self.assertLess(abs(wait_elapsed - 1.0), 1.0) AssertionError: 4.44599175453186 not less than 1.0 ====================================================================== FAIL: test_stdin_newline_bufsize (__main__.FunctionalTests.test_stdin_newline_bufsize) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sh-2.0.6/sh_test.py", line 2924, in test_stdin_newline_bufsize self.assertLess(abs(1 - time1), 0.5) AssertionError: 0.9953417778015137 not less than 0.5 ====================================================================== FAIL: test_stdin_unbuffered_bufsize (__main__.FunctionalTests.test_stdin_unbuffered_bufsize) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sh-2.0.6/sh_test.py", line 2878, in test_stdin_unbuffered_bufsize self.assertLess(abs(1 - time1), 0.5) AssertionError: 0.9953367710113525 not less than 0.5 ====================================================================== FAIL: test_timeout_overstep (__main__.FunctionalTests.test_timeout_overstep) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sh-2.0.6/sh_test.py", line 2349, in test_timeout_overstep self.assertLess(abs(elapsed - 1), 0.5) AssertionError: 1.7698159217834473 not less than 0.5 ---------------------------------------------------------------------- Ran 179 tests in 1203.883s FAILED (failures=6, errors=3, skipped=1) error: Bad exit status from /var/tmp/rpm-tmp.adGOlM (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.adGOlM (%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/python-sh.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 597, 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/python-sh.spec