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/ghc-warp.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-223876-81045/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/ghc-warp.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/ghc-warp-3.3.25-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/ghc-warp.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-223876-81045/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/ghc-warp.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.diZem8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf warp-3.3.25 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/warp-3.3.25.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd warp-3.3.25 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/recv-0.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cabal-tweak-drop-dep bytestring-builder + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3yfUG6 + 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 warp-3.3.25 + HOME=/builddir/build/BUILD/warp-3.3.25 + for i in recv-0.1.0 ++ echo recv-0.1.0 ++ sed -e 's/\(.*\)-.*/\1/' + name=recv ++ echo recv-0.1.0 ++ sed -e 's/.*-\(.*\)/\1/' + ver=0.1.0 + cd recv-0.1.0 + case $name in ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|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 -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 ']' + cp /usr/share/ghc-rpm-macros/Setup.hs . + '[' -d /usr/lib64/ghc-9.8.4/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.10.3.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/ghc-warp '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.8.4/lib --enable-tests --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-recv --htmldir=/usr/share/doc/ghc/html/libraries/recv-0.1.0 --user Configuring recv-0.1.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for recv-0.1.0.. Building library for recv-0.1.0.. [1 of 5] Compiling Network.Socket.BufferPool.Types [2 of 5] Compiling Network.Socket.BufferPool.Buffer Network/Socket/BufferPool/Buffer.hs:62:5: warning: [GHC-68441] [-Wdeprecations] In the use of ‘memcpy’ (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type): Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead" | 62 | memcpy ptr (p `plusPtr` o) (fromIntegral l) | ^^^^^^ [3 of 5] Compiling Network.Socket.BufferPool.Recv [4 of 5] Compiling Network.Socket.BufferPool [5 of 5] Compiling Network.Socket.BufferPool.Windows Preprocessing test suite 'spec' for recv-0.1.0.. Building test suite 'spec' for recv-0.1.0.. [1 of 7] Compiling Network.Socket.BufferPool.Types [2 of 7] Compiling Network.Socket.BufferPool.Buffer Network/Socket/BufferPool/Buffer.hs:62:5: warning: [GHC-68441] [-Wdeprecations] In the use of ‘memcpy’ (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type): Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead" | 62 | memcpy ptr (p `plusPtr` o) (fromIntegral l) | ^^^^^^ [3 of 7] Compiling Network.Socket.BufferPool.Recv [4 of 7] Compiling Network.Socket.BufferPool [5 of 7] Compiling BufferPoolSpec [6 of 7] Compiling Main [7 of 7] Compiling Network.Socket.BufferPool.Windows [8 of 8] Linking dist/build/spec/spec + '[' -n dist/build/libHSrecv-0.1.0-LfHFDBxRc8dLnoyFvVqShJ-ghc9.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for recv-0.1.0.. Running Haddock on library for recv-0.1.0.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.8.0, base-4.19.2.0, bytestring-0.12.1.0, deepseq-1.5.1.0, directory-1.3.8.5, exceptions-0.10.7, filepath-1.4.301.0, ghc-bignum-1.3, ghc-boot-th-9.8.4, ghc-prim-0.11.0, mtl-2.3.1, network-3.1.4.0, pretty-1.1.3.6, stm-2.5.3.1, template-haskell-2.21.0.0, time-1.12.2, transformers-0.6.1.0, unix-2.8.6.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 5] Compiling Network.Socket.BufferPool.Types ( Network/Socket/BufferPool/Types.hs, nothing ) [2 of 5] Compiling Network.Socket.BufferPool.Buffer ( Network/Socket/BufferPool/Buffer.hs, nothing ) Network/Socket/BufferPool/Buffer.hs:62:5: warning: [GHC-68441] [-Wdeprecations] In the use of ‘memcpy’ (imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type): Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead" | 62 | memcpy ptr (p `plusPtr` o) (fromIntegral l) | ^^^^^^ [3 of 5] Compiling Network.Socket.BufferPool.Recv ( Network/Socket/BufferPool/Recv.hs, nothing ) [4 of 5] Compiling Network.Socket.BufferPool ( Network/Socket/BufferPool.hs, nothing ) [5 of 5] Compiling Network.Socket.BufferPool.Windows ( Network/Socket/BufferPool/Windows.hs, nothing ) Haddock coverage: Warning: 'createAndTrim' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'recv' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 16 / 16) in 'Network.Socket.BufferPool' Warning: Network.Socket.BufferPool: could not find link destinations for: - GHC.Types.Int - GHC.Types.IO - GHC.Word.Word8 - GHC.Ptr.Ptr - Data.ByteString.Internal.Type.ByteString - Network.Socket.Types.Socket Documentation created: dist/doc/html/recv/, dist/doc/html/recv/recv.txt Preprocessing test suite 'spec' for recv-0.1.0.. + ./Setup register --inplace Registering library for recv-0.1.0.. + cd .. ++ 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 ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.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.8.4/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.lhs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 + ./Setup --version Cabal library version 3.10.3.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/ghc-warp '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.8.4/lib --enable-tests --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 --htmldir=/usr/share/doc/ghc/html/libraries/warp-3.3.25 --user Configuring warp-3.3.25... Error: Setup: Encountered missing or private dependencies: auto-update >=0.1.3 && <0.2, http2 >=3.0 && <5 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.3yfUG6 (%build) Bad exit status from /var/tmp/rpm-tmp.3yfUG6 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-warp.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-warp.spec