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/hgview.spec'], chrootPath='/var/lib/mock/f40-build-2003911-44880/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffffa4cb3f90>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/hgview.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N)
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1689811200
Wrote: /builddir/build/SRPMS/hgview-1.14.0-12.fc40.src.rpm
RPM build warnings:
    %patchN is deprecated (1 usages found), use %patch N (or %patch -P N)
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/hgview.spec'], chrootPath='/var/lib/mock/f40-build-2003911-44880/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffffa4cb3f90>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/hgview.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N)
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1689811200
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DqEg4I
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf hgview-1.14.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hgview-1.14.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hgview-1.14.0
+ rm -rf /builddir/build/BUILD/hgview-1.14.0-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/hgview-1.14.0-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (hgview-man-path.patch):'
Patch #1 (hgview-man-path.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0
patching file doc/Makefile
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.amxroc
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -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 -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -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 -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 hgview-1.14.0
+ /usr/bin/python3 setup.py build
make: Entering directory '/builddir/build/BUILD/hgview-1.14.0/build/doc'
asciidoc -d manpage -b docbook -o hgview.1.xml ../../doc/hgview.1.txt
xmlto man hgview.1.xml
Note: Writing hgview.1
asciidoc -b html4 -o hgview.1.html ../../doc/hgview.1.txt || asciidoc -b html -o hgview.1.html ../../doc/hgview.1.txt
rm hgview.1.xml
make: Leaving directory '/builddir/build/BUILD/hgview-1.14.0/build/doc'
compiling hgviewlib/qt5/hgqv.qrc -> build/lib/hgviewlib/qt5/hgqv_rc.py
compiling hgviewlib/qt5/fileviewer.ui -> build/lib/hgviewlib/qt5/fileviewer_ui.py
compiling hgviewlib/qt5/helpviewer.ui -> build/lib/hgviewlib/qt5/helpviewer_ui.py
compiling hgviewlib/qt5/filediffviewer.ui -> build/lib/hgviewlib/qt5/filediffviewer_ui.py
compiling hgviewlib/qt5/manifestviewer.ui -> build/lib/hgviewlib/qt5/manifestviewer_ui.py
compiling hgviewlib/qt5/hgqv.ui -> build/lib/hgviewlib/qt5/hgqv_ui.py
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZuG54M
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch
++ dirname /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -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 -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -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 -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 hgview-1.14.0
+ /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch
make: Entering directory '/builddir/build/BUILD/hgview-1.14.0/build/doc'
for i in hgview.1 ; do \
  subdir=`echo $i | sed -n 's/..*\.\([0-9]\)$/man\1/p'` ; \
  install -c -d /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/share/man/$subdir && \
  install -c -m 644 $i /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/share/man/$subdir ; \
done
make: Leaving directory '/builddir/build/BUILD/hgview-1.14.0/build/doc'
+ mv /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/lib/python3.12/site-packages/hgext3rd/hgview /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/lib/python3.12/site-packages/hgviewlib/
+ rm /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/lib/python3.12/site-packages/hgext3rd/__init__.py
+ rm /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/lib/python3.12/site-packages/hgext3rd/__pycache__/__init__.cpython-312.opt-1.pyc /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/lib/python3.12/site-packages/hgext3rd/__pycache__/__init__.cpython-312.pyc
+ rmdir /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/lib/python3.12/site-packages/hgext3rd/__pycache__
+ mkdir -p /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/etc/mercurial/hgrc.d/
+ cat
+ cat
+ desktop-file-install --dir=/builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/share/applications hgview.desktop
+ install -m 644 -D -p /builddir/build/SOURCES/hgview.png /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/share/pixmaps/hgview.png
+ mkdir -p /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/share/appdata
+ cat
+ rm /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/share/doc/hgview/examples/description.css
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.14.0-12.fc40 --unique-debug-suffix -1.14.0-12.fc40.noarch --unique-debug-src-base hgview-1.14.0-12.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/hgview-1.14.0
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/hgview-1.14.0-12.fc40.noarch/usr/lib/python3.12 using python3.12
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: hgview-1.14.0-12.fc40.noarch
Provides: application() application(hgview.desktop) hgview = 1.14.0-12.fc40 metainfo() metainfo(hgview.appdata.xml)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: python(abi) = 3.12
Processing files: hgview-curses-1.14.0-12.fc40.noarch
Provides: hgview-curses = 1.14.0-12.fc40
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: python(abi) = 3.12
Processing files: hgview-common-1.14.0-12.fc40.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.h3cHk9
+ umask 022
+ cd /builddir/build/BUILD
+ cd hgview-1.14.0
+ DOCDIR=/builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/share/doc/hgview-common
+ export LC_ALL=
+ LC_ALL=
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/share/doc/hgview-common
+ cp -pr /builddir/build/BUILD/hgview-1.14.0/COPYING /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/share/doc/hgview-common
+ cp -pr /builddir/build/BUILD/hgview-1.14.0/README.rst /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch/usr/share/doc/hgview-common
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: config(hgview-common) = 1.14.0-12.fc40 hgview-common = 1.14.0-12.fc40 python3.12dist(hgview) = 1.14 python3dist(hgview) = 1.14
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/python3 python(abi) = 3.12
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hgview-1.14.0-12.fc40.noarch
Wrote: /builddir/build/RPMS/hgview-curses-1.14.0-12.fc40.noarch.rpm
Wrote: /builddir/build/RPMS/hgview-common-1.14.0-12.fc40.noarch.rpm
Wrote: /builddir/build/RPMS/hgview-1.14.0-12.fc40.noarch.rpm
RPM build warnings:
    %patchN is deprecated (1 usages found), use %patch N (or %patch -P N)
Child return code was: 0