Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/wavextract.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-143870-9081/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 --target noarch --nodeps /builddir/build/SPECS/wavextract.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=1658534400 Wrote: /builddir/build/SRPMS/wavextract-1.0.0-29.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/wavextract.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-143870-9081/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 -bb --target noarch --nodeps /builddir/build/SPECS/wavextract.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=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hAQYWN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wavextract + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/wavextract-1.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wavextract + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (wavextract-1.0.0-pillow.patch):' Patch #0 (wavextract-1.0.0-pillow.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file wavextract + pathfix.py -pni '/usr/bin/python3 -sP' ./wavextract ./wavextract: updating + 2to3 -w wavextract /usr/bin/2to3:3: DeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+ from lib2to3.main import main RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored wavextract RefactoringTool: Files that were modified: RefactoringTool: wavextract --- wavextract (original) +++ wavextract (refactored) @@ -98,15 +98,15 @@ try: savefile(extreplace(arg, ".wav"), wavextract(arg)) run_status = 0 - except Error, e: - print e + except Error as e: + print(e) run_status = 1 - except CriticalError, e: - print e + except CriticalError as e: + print(e) sys.exit(1) else: - print "wavextract - program for extracting embedded audio data from JPEG images" - print "Usage: %s image1.jpg image2.jpg ..." % sys.argv[0] + print("wavextract - program for extracting embedded audio data from JPEG images") + print("Usage: %s image1.jpg image2.jpg ..." % sys.argv[0]) sys.exit(0) sys.exit(run_status) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AOkH0W + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd wavextract + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7dbmy1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/wavextract-1.0.0-29.fc37.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/wavextract-1.0.0-29.fc37.noarch ++ dirname /builddir/build/BUILDROOT/wavextract-1.0.0-29.fc37.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/wavextract-1.0.0-29.fc37.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd wavextract + mkdir -p /builddir/build/BUILDROOT/wavextract-1.0.0-29.fc37.noarch/usr/bin + cp wavextract /builddir/build/BUILDROOT/wavextract-1.0.0-29.fc37.noarch/usr/bin/wavextract + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.0.0-29.fc37 --unique-debug-suffix -1.0.0-29.fc37.noarch --unique-debug-src-base wavextract-1.0.0-29.fc37.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/wavextract + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: wavextract-1.0.0-29.fc37.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gTQShA + umask 022 + cd /builddir/build/BUILD + cd wavextract + DOCDIR=/builddir/build/BUILDROOT/wavextract-1.0.0-29.fc37.noarch/usr/share/doc/wavextract + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wavextract-1.0.0-29.fc37.noarch/usr/share/doc/wavextract + cp -pr README /builddir/build/BUILDROOT/wavextract-1.0.0-29.fc37.noarch/usr/share/doc/wavextract + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0GPMsW + umask 022 + cd /builddir/build/BUILD + cd wavextract + LICENSEDIR=/builddir/build/BUILDROOT/wavextract-1.0.0-29.fc37.noarch/usr/share/licenses/wavextract + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wavextract-1.0.0-29.fc37.noarch/usr/share/licenses/wavextract + cp -pr COPYING /builddir/build/BUILDROOT/wavextract-1.0.0-29.fc37.noarch/usr/share/licenses/wavextract + RPM_EC=0 ++ jobs -p + exit 0 Provides: wavextract = 1.0.0-29.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/wavextract-1.0.0-29.fc37.noarch Wrote: /builddir/build/RPMS/wavextract-1.0.0-29.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BelJxY + umask 022 + cd /builddir/build/BUILD + cd wavextract + /usr/bin/rm -rf /builddir/build/BUILDROOT/wavextract-1.0.0-29.fc37.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.HyHFsa + umask 022 + cd /builddir/build/BUILD + rm -rf wavextract wavextract.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0