Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/git-repair.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-91995-59263/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/git-repair.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/git-repair-1.20220404-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/git-repair.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-91995-59263/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/git-repair.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3jeNTE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf git-repair-1.20220404 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/git-repair-1.20220404.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd git-repair-1.20220404 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/git-repair-unix-compat.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kQl4v6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd git-repair-1.20220404 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f CHANGELOG -a -x CHANGELOG ']' + chmod a-x CHANGELOG + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f TODO -a -x TODO ']' + chmod a-x TODO + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [ 1 of 21] Compiling Utility.Applicative ( Utility/Applicative.hs, Utility/Applicative.o ) [ 2 of 21] Compiling Utility.Data ( Utility/Data.hs, Utility/Data.o ) [ 3 of 21] Compiling Utility.Exception ( Utility/Exception.hs, Utility/Exception.o ) [ 4 of 21] Compiling Utility.FileSystemEncoding ( Utility/FileSystemEncoding.hs, Utility/FileSystemEncoding.o ) [ 5 of 21] Compiling Utility.Debug ( Utility/Debug.hs, Utility/Debug.o ) [ 6 of 21] Compiling Utility.Misc ( Utility/Misc.hs, Utility/Misc.o ) [ 7 of 21] Compiling Utility.Monad ( Utility/Monad.hs, Utility/Monad.o ) [ 8 of 21] Compiling Utility.Process.Shim ( Utility/Process/Shim.hs, Utility/Process/Shim.o ) [ 9 of 21] Compiling Utility.Process ( Utility/Process.hs, Utility/Process.o ) [10 of 21] Compiling Utility.SafeCommand ( Utility/SafeCommand.hs, Utility/SafeCommand.o ) [11 of 21] Compiling Utility.Split ( Utility/Split.hs, Utility/Split.o ) [12 of 21] Compiling Utility.DottedVersion ( Utility/DottedVersion.hs, Utility/DottedVersion.o ) [13 of 21] Compiling Git.Version ( Git/Version.hs, Git/Version.o ) [14 of 21] Compiling Utility.SystemDirectory ( Utility/SystemDirectory.hs, Utility/SystemDirectory.o ) [15 of 21] Compiling Utility.Path ( Utility/Path.hs, Utility/Path.o ) [16 of 21] Compiling Utility.Directory ( Utility/Directory.hs, Utility/Directory.o ) [17 of 21] Compiling Build.Version ( Build/Version.hs, Build/Version.o ) [18 of 21] Compiling Build.TestConfig ( Build/TestConfig.hs, Build/TestConfig.o ) [19 of 21] Compiling Build.Configure ( Build/Configure.hs, Build/Configure.o ) [20 of 21] Compiling Main ( Setup.hs, Setup.o ) [21 of 21] Linking Setup + LANG=C.utf8 + ./Setup --version Cabal library version 3.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/git-repair '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-D_FORTIFY_SOURCE=2 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -optc-fstack-protector-strong -optc-m64 -optc-march=x86-64-v2 -optc-mtune=generic -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fcf-protection -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-Wl,--build-id=sha1 -fhide-source-paths' checking version...fatal: not a git repository (or any of the parent directories): .git 1.20220404 checking git... yes checking git version... 2.41.1 Configuring git-repair-1.20220404... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j32 Preprocessing executable 'git-repair' for git-repair-1.20220404.. Building executable 'git-repair' for git-repair-1.20220404.. [ 1 of 78] Compiling BuildInfo [ 2 of 78] Compiling Utility.Applicative [ 3 of 78] Compiling Utility.Attoparsec [ 4 of 78] Compiling Utility.Data [ 5 of 78] Compiling Utility.Env [ 6 of 78] Compiling Utility.Env.Set [ 7 of 78] Compiling Utility.Exception [ 8 of 78] Compiling Utility.Env.Basic [ 9 of 78] Compiling Utility.FileSystemEncoding [10 of 78] Compiling Utility.Debug [11 of 78] Compiling Utility.HumanNumber [12 of 78] Compiling Utility.DataUnits [13 of 78] Compiling Utility.Misc [14 of 78] Compiling Utility.Monad [15 of 78] Compiling Utility.PartialPrelude [16 of 78] Compiling Utility.Format [17 of 78] Compiling Utility.Percentage [18 of 78] Compiling Utility.Process.Shim [19 of 78] Compiling Utility.Process [20 of 78] Compiling Utility.QuickCheck [21 of 78] Compiling Utility.HumanTime [22 of 78] Compiling Utility.RawFilePath [23 of 78] Compiling Utility.FileSize [24 of 78] Compiling Utility.FileMode [25 of 78] Compiling Utility.SafeCommand [26 of 78] Compiling Git.Types [27 of 78] Compiling Utility.Split [28 of 78] Compiling Utility.DottedVersion [29 of 78] Compiling Git.Version [30 of 78] Compiling Git.BuildVersion [31 of 78] Compiling Utility.SystemDirectory [32 of 78] Compiling Utility.Path [33 of 78] Compiling Utility.Directory [34 of 78] Compiling Build.Version [35 of 78] Compiling Build.TestConfig [36 of 78] Compiling Build.Configure [37 of 78] Compiling Utility.ThreadScheduler [38 of 78] Compiling Utility.TimeStamp [39 of 78] Compiling Utility.Tmp [40 of 78] Compiling Utility.MoveFile [41 of 78] Compiling Utility.Tmp.Dir [42 of 78] Compiling Utility.Tuple [43 of 78] Compiling Utility.UserInfo Utility/UserInfo.hs:24:1: warning: [-Wunused-imports] The import of ‘System.PosixCompat’ is redundant except perhaps to import instances from ‘System.PosixCompat’ To import instances alone, use: import System.PosixCompat() | 24 | import System.PosixCompat | ^^^^^^^^^^^^^^^^^^^^^^^^^ [44 of 78] Compiling Utility.Path.AbsRel [45 of 78] Compiling Utility.Directory.Create [46 of 78] Compiling Common [47 of 78] Compiling Utility.SimpleProtocol [48 of 78] Compiling Utility.Metered [49 of 78] Compiling Utility.Rsync [50 of 78] Compiling Utility.InodeCache [51 of 78] Compiling Utility.CoProcess [52 of 78] Compiling Utility.Batch [53 of 78] Compiling Git.Url [54 of 78] Compiling Git.Sha [55 of 78] Compiling Git.Filename [56 of 78] Compiling Git [57 of 78] Compiling Git.Remote [58 of 78] Compiling Git.Objects [59 of 78] Compiling Git.Index [60 of 78] Compiling Git.FilePath [61 of 78] Compiling Git.DiffTreeItem [62 of 78] Compiling Git.Env [63 of 78] Compiling Git.Destroyer [64 of 78] Compiling Git.Command [65 of 78] Compiling Git.UpdateIndex [66 of 78] Compiling Git.RefLog [67 of 78] Compiling Git.Ref [68 of 78] Compiling Git.LsTree [69 of 78] Compiling Git.LsFiles [70 of 78] Compiling Git.HashObject [71 of 78] Compiling Git.Fsck [72 of 78] Compiling Git.CatFile [73 of 78] Compiling Git.Construct [74 of 78] Compiling Git.Config Git/Construct.hs:260:41: warning: [-Wincomplete-record-updates] Pattern match(es) are non-exhaustive In a record-update construct: Patterns of type ‘RepoLocation’ not matched: LocalUnknown _ Url _ UnparseableUrl _ Unknown | 260 | return $ Just $ loc | ^^^... Git/Config.hs:145:34: warning: [-Wincomplete-record-updates] Pattern match(es) are non-exhaustive In a record-update construct: Patterns of type ‘RepoLocation’ not matched: LocalUnknown _ [75 of 78] Compiling Git.CurrentRepo [76 of 78] Compiling Git.Branch Url _ UnparseableUrl _ Unknown | 145 | return $ l { worktree = Just p } | ^^^^^^^^^^^^^^^^^^^^^^^ Git/CurrentRepo.hs:84:45: warning: [-Wincomplete-record-updates] Pattern match(es) are non-exhaustive In a record-update construct: Patterns of type ‘RepoLocation’ not matched: LocalUnknown _ Url _ UnparseableUrl _ Unknown | 84 | then r { location = (location r) { worktree = Nothing } } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [77 of 78] Compiling Git.Repair [78 of 78] Compiling Main [79 of 79] Linking dist/build/git-repair/git-repair + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.l5ZZoT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64 + cd git-repair-1.20220404 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64 Installing executable git-repair in /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/bin Warning: Executable installed in /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/bin running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/bin/git-repair ']' ++ chrpath /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/bin/git-repair ++ sed -e 's@^/builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/bin/git-repair: R.*PATH=@@' + rpath='/builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/bin/git-repair: no rpath or runpath tag found.' + case "$rpath" in + mkdir -p /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/share/bash-completion/completions/ + /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/bin/git-repair --bash-completion-script git-repair + sed s/filenames/default/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: git-repair-1.20220404-1.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4SKKQm + umask 022 + cd /builddir/build/BUILD + cd git-repair-1.20220404 + DOCDIR=/builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/share/doc/git-repair + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/share/doc/git-repair + cp -pr CHANGELOG /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/share/doc/git-repair + cp -pr TODO /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/share/doc/git-repair + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1iumO4 + umask 022 + cd /builddir/build/BUILD + cd git-repair-1.20220404 + LICENSEDIR=/builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/share/licenses/git-repair + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/share/licenses/git-repair + cp -pr COPYRIGHT /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64/usr/share/licenses/git-repair + RPM_EC=0 ++ jobs -p + exit 0 Provides: git-repair = 1.20220404-1.oc9 git-repair(x86-64) = 1.20220404-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libffi.so.8()(64bit) libffi.so.8(LIBFFI_BASE_8.0)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/git-repair-1.20220404-1.oc9.x86_64 Wrote: /builddir/build/RPMS/git-repair-1.20220404-1.oc9.x86_64.rpm Child return code was: 0