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 aarch64 --nodeps /builddir/build/SPECS/cabal-install.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-177680-80076/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=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/cabal-install.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/cabal-install-3.8.1.0-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/cabal-install.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-177680-80076/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=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/cabal-install.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oz9s7j + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cabal-install-3.8.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cabal-install-3.8.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cabal-install-3.8.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cabal-install-solver-3.8.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + dos2unix -k -n /builddir/build/SOURCES/cabal-install-3.8.1.0.cabal cabal-install.cabal dos2unix: converting file /builddir/build/SOURCES/cabal-install-3.8.1.0.cabal to file cabal-install.cabal in Unix format... + cabal-tweak-dep-ver resolv 0.2 0.3 + cd cabal-install-solver-3.8.1.0 + cabal-tweak-dep-ver base 4.17 4.18 + echo 'Patch #0 (cabal-install-solver-pkgconfig-modversion.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .orig --fuzz=0 Patch #0 (cabal-install-solver-pkgconfig-modversion.patch): patching file cabal-install-solver-3.8.1.0/src/Distribution/Solver/Types/PkgConfigDb.hs Patch #1 (8358.patch): + echo 'Patch #1 (8358.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 -b --suffix .orig --fuzz=0 patching file src/Distribution/Client/CmdOutdated.hs patching file src/Distribution/Client/ProjectConfig/Legacy.hs patching file src/Distribution/Client/ProjectPlanning.hs patching file src/Distribution/Client/ScriptUtils.hs patching file src/Distribution/Client/CmdSdist.hs + echo 'Patch #2 (8627.patch):' Patch #2 (8627.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p2 -b --suffix .orig --fuzz=0 patching file src/Distribution/Client/ProjectPlanning.hs Hunk #1 succeeded at 330 (offset -2 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X9UOp7 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 cabal-install-3.8.1.0 + HOME=/builddir/build/BUILD/cabal-install-3.8.1.0 + for i in cabal-install-solver-3.8.1.0 ++ sed -e 's/\(.*\)-.*/\1/' ++ echo cabal-install-solver-3.8.1.0 + name=cabal-install-solver ++ echo cabal-install-solver-3.8.1.0 ++ sed -e 's/.*-\(.*\)/\1/' + ver=3.8.1.0 + cd cabal-install-solver-3.8.1.0 + case $name in ++ 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.md -a -x ChangeLog.md ']' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 2] Compiling Main ( Setup.hs, Setup.o ) [2 of 2] 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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/cabal-install '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --user '--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-mbranch-protection=standard -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-Wl,--build-id=sha1 -fhide-source-paths' --enable-shared --docdir=/usr/share/licenses/ghc-cabal-install-solver --htmldir=/usr/share/doc/ghc/html/libraries/cabal-install-solver-3.8.1.0 --user Configuring cabal-install-solver-3.8.1.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for cabal-install-solver-3.8.1.0.. Building library for cabal-install-solver-3.8.1.0.. [ 1 of 50] Compiling Distribution.Client.Utils.Assertion [ 2 of 50] Compiling Distribution.Solver.Compat.Prelude [ 3 of 50] Compiling Distribution.Solver.Modular.LabeledGraph [ 4 of 50] Compiling Distribution.Solver.Modular.MessageUtils [ 5 of 50] Compiling Distribution.Solver.Modular.PSQ [ 6 of 50] Compiling Distribution.Solver.Modular.Version [ 7 of 50] Compiling Distribution.Solver.Modular.WeightedPSQ [ 8 of 50] Compiling Distribution.Solver.Types.ComponentDeps