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/ghc-streaming-commons.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-222081-80993/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 x86_64 --nodeps /builddir/build/SPECS/ghc-streaming-commons.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/ghc-streaming-commons-0.2.3.0-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 /builddir/build/SPECS/ghc-streaming-commons.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-222081-80993/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 x86_64 --nodeps /builddir/build/SPECS/ghc-streaming-commons.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.StZdqg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf streaming-commons-0.2.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/streaming-commons-0.2.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd streaming-commons-0.2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ItbCfx + 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 streaming-commons-0.2.3.0 ++ 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 -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.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 -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/ghc-streaming-commons '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.8.4/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' --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/streaming-commons-0.2.3.0 --global Configuring streaming-commons-0.2.3.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j32 Preprocessing library for streaming-commons-0.2.3.0.. Building library for streaming-commons-0.2.3.0.. [ 1 of 11] Compiling Data.Streaming.ByteString.Builder.Buffer [ 2 of 11] Compiling Data.Streaming.ByteString.Builder [ 3 of 11] Compiling Data.Streaming.FileRead [ 4 of 11] Compiling Data.Streaming.Filesystem [ 5 of 11] Compiling Data.Streaming.Network.Internal [ 6 of 11] Compiling Data.Streaming.Network [ 7 of 11] Compiling Data.Streaming.Process.Internal [ 8 of 11] Compiling Data.Streaming.Process [ 9 of 11] Compiling Data.Streaming.Text [10 of 11] Compiling Data.Streaming.Zlib.Lowlevel Data/Streaming/Zlib/Lowlevel.hs:105:1: warning: [GHC-53633] [-Woverlapping-patterns] Pattern match is redundant In[11 of 11] Compiling Data.Streaming.Zlib an equation for ‘wbToInt’: wbToInt _ = ... | 105 | wbToInt _ = 15 | ^^^^^^^^^^^^^^ + '[' -n dist/build/libHSstreaming-commons-0.2.3.0-J16L3YnPdlwFGEGIiPx3Qb-ghc9.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for streaming-commons-0.2.3.0.. Running Haddock on library for streaming-commons-0.2.3.0.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.8.0, async-2.2.5, base-4.19.2.0, binary-0.8.9.1, bytestring-0.12.1.0, containers-0.6.8, 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, hashable-1.4.7.0, mtl-2.3.1, network-3.1.4.0, os-string-2.0.7, pretty-1.1.3.6, process-1.6.25.0, random-1.2.1.3, splitmix-0.1.1, stm-2.5.3.1, template-haskell-2.21.0.0, text-2.1.1, time-1.12.2, transformers-0.6.1.0, unix-2.8.6.0, zlib-0.7.1.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. [ 1 of 11] Compiling Data.Streaming.ByteString.Builder.Buffer ( Data/Streaming/ByteString/Builder/Buffer.hs, nothing ) [ 2 of 11] Compiling Data.Streaming.ByteString.Builder ( Data/Streaming/ByteString/Builder.hs, nothing ) [ 3 of 11] Compiling Data.Streaming.FileRead ( Data/Streaming/FileRead.hs, nothing ) [ 4 of 11] Compiling Data.Streaming.Filesystem ( Data/Streaming/Filesystem.hs, nothing ) [ 5 of 11] Compiling Data.Streaming.Network.Internal ( Data/Streaming/Network/Internal.hs, nothing ) [ 6 of 11] Compiling Data.Streaming.Network ( Data/Streaming/Network.hs, nothing ) [ 7 of 11] Compiling Data.Streaming.Process.Internal ( Data/Streaming/Process/Internal.hs, nothing ) [ 8 of 11] Compiling Data.Streaming.Process ( Data/Streaming/Process.hs, nothing ) [ 9 of 11] Compiling Data.Streaming.Text ( Data/Streaming/Text.hs, nothing ) [10 of 11] Compiling Data.Streaming.Zlib.Lowlevel ( Data/Streaming/Zlib/Lowlevel.hs, nothing ) [11 of 11] Compiling Data.Streaming.Zlib ( Data/Streaming/Zlib.hs, nothing ) Haddock coverage: Warning: 'Builder' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 95% ( 19 / 20) in 'Data.Streaming.ByteString.Builder.Buffer' Missing documentation for: defaultStrategy (Data/Streaming/ByteString/Builder/Buffer.hs:199) Warning: 'toLazyByteStringWith' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 82% ( 23 / 28) in 'Data.Streaming.ByteString.Builder' Missing documentation for: BuilderRecv (Data/Streaming/ByteString/Builder.hs:75) BuilderFinish (Data/Streaming/ByteString/Builder.hs:77) newBuilderRecv (Data/Streaming/ByteString/Builder.hs:80) newByteStringBuilderRecv (Data/Streaming/ByteString/Builder.hs:84) defaultStrategy (Data/Streaming/ByteString/Builder/Buffer.hs:199) 20% ( 1 / 5) in 'Data.Streaming.FileRead' Missing documentation for: ReadHandle (Data/Streaming/FileRead.hs:26) openFile (Data/Streaming/FileRead.hs:29) closeFile (Data/Streaming/FileRead.hs:32) readChunk (Data/Streaming/FileRead.hs:35) Warning: Data.Streaming.Filesystem: Couldn't find .haddock for export DirStream Warning: Data.Streaming.Filesystem: Couldn't find .haddock for export openDirStream Warning: Data.Streaming.Filesystem: Couldn't find .haddock for export closeDirStream 14% ( 1 / 7) in 'Data.Streaming.Filesystem' Missing documentation for: DirStream openDirStream readDirStream (Data/Streaming/Filesystem.hs:67) closeDirStream FileType (Data/Streaming/Filesystem.hs:94) getFileType (Data/Streaming/Filesystem.hs:76) 88% ( 8 / 9) in 'Data.Streaming.Network.Internal' Missing documentation for: Module header Warning: 'maxListenQueue' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 68% ( 52 / 76) in 'Data.Streaming.Network' Missing documentation for: Module header message (Data/Streaming/Network.hs:451) HasPort (Data/Streaming/Network.hs:453) HasAfterBind (Data/Streaming/Network.hs:503) HasReadWrite (Data/Streaming/Network.hs:617) HasPath (Data/Streaming/Network.hs:484) setPort (Data/Streaming/Network.hs:464) setHost (Data/Streaming/Network.hs:467) setAfterBind (Data/Streaming/Network.hs:514) setNeedLocalAddr (Data/Streaming/Network.hs:498) setPath (Data/Streaming/Network.hs:495) getPort (Data/Streaming/Network.hs:461) getHost (Data/Streaming/Network.hs:470) getAfterBind (Data/Streaming/Network.hs:511) getNeedLocalAddr (Data/Streaming/Network.hs:501) getPath (Data/Streaming/Network.hs:492) appRead (Data/Streaming/Network.hs:628) appWrite (Data/Streaming/Network.hs:631) appSockAddr (Data/Streaming/Network.hs:602) appLocalAddr (Data/Streaming/Network.hs:599) unassignedPorts (Data/Streaming/Network.hs:211) safeRecv (Data/Streaming/Network.hs:317) ConnectionHandle (Data/Streaming/Network.hs:544) runTCPServerWithHandle (Data/Streaming/Network.hs:547) 75% ( 3 / 4) in 'Data.Streaming.Process.Internal' Missing documentation for: Module header Warning: 'UseProvidedHandle' is ambiguous. It is defined * at Data/Streaming/Process.hs:73:26 * at Data/Streaming/Process.hs:73:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at Data/Streaming/Process.hs:73:1 Warning: 'ProcessExitedUnsuccessfully' is ambiguous. It is defined * at Data/Streaming/Process.hs:196:36 * at Data/Streaming/Process.hs:196:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at Data/Streaming/Process.hs:196:1 Warning: Data.Streaming.Process: Could not find documentation for exported module: System.Process Warning: Data.Streaming.Process: Couldn't find .haddock for export proc Warning: Data.Streaming.Process: Couldn't find .haddock for export ProcessHandle Warning: Data.Streaming.Process: Couldn't find .haddock for export StdStream Warning: Data.Streaming.Process: Couldn't find .haddock for export CreateProcess Warning: Data.Streaming.Process: Couldn't find .haddock for export CmdSpec Warning: Data.Streaming.Process: Couldn't find .haddock for export createPipe Warning: Data.Streaming.Process: Couldn't find .haddock for export createPipeFd Warning: Data.Streaming.Process: Couldn't find .haddock for export createProcess_ Warning: Data.Streaming.Process: Couldn't find .haddock for export interruptProcessGroupOf Warning: Data.Streaming.Process: Couldn't find .haddock for export terminateProcess Warning: Data.Streaming.Process: Couldn't find .haddock for export getProcessExitCode Warning: Data.Streaming.Process: Couldn't find .haddock for export callCommand Warning: Data.Streaming.Process: Couldn't find .haddock for export callProcess Warning: Data.Streaming.Process: Couldn't find .haddock for export cleanupProcess Warning: Data.Streaming.Process: Couldn't find .haddock for export createProcess Warning: Data.Streaming.Process: Couldn't find .haddock for export getCurrentPid Warning: Data.Streaming.Process: Couldn't find .haddock for export getPid Warning: Data.Streaming.Process: Couldn't find .haddock for export rawSystem Warning: Data.Streaming.Process: Couldn't find .haddock for export readCreateProcess Warning: Data.Streaming.Process: Couldn't find .haddock for export readCreateProcessWithExitCode Warning: Data.Streaming.Process: Couldn't find .haddock for export readProcess Warning: Data.Streaming.Process: Couldn't find .haddock for export readProcessWithExitCode Warning: Data.Streaming.Process: Couldn't find .haddock for export runCommand Warning: Data.Streaming.Process: Couldn't find .haddock for export runInteractiveCommand Warning: Data.Streaming.Process: Couldn't find .haddock for export runInteractiveProcess Warning: Data.Streaming.Process: Couldn't find .haddock for export runProcess Warning: Data.Streaming.Process: Couldn't find .haddock for export shell Warning: Data.Streaming.Process: Couldn't find .haddock for export showCommandForUser Warning: Data.Streaming.Process: Couldn't find .haddock for export spawnCommand Warning: Data.Streaming.Process: Couldn't find .haddock for export spawnProcess Warning: Data.Streaming.Process: Couldn't find .haddock for export system Warning: Data.Streaming.Process: Couldn't find .haddock for export waitForProcess Warning: Data.Streaming.Process: Couldn't find .haddock for export withCreateProcess Warning: Data.Streaming.Process: Couldn't find .haddock for export Pid 40% ( 23 / 57) in 'Data.Streaming.Process' Missing documentation for: proc ProcessHandle StdStream CreateProcess CmdSpec createPipe createPipeFd createProcess_ interruptProcessGroupOf terminateProcess getProcessExitCode callCommand callProcess cleanupProcess createProcess getCurrentPid getPid rawSystem readCreateProcess readCreateProcessWithExitCode readProcess readProcessWithExitCode runCommand runInteractiveCommand runInteractiveProcess runProcess shell showCommandForUser spawnCommand spawnProcess system waitForProcess withCreateProcess Pid 90% ( 9 / 10) in 'Data.Streaming.Text' Missing documentation for: DecodeResult (Data/Streaming/Text.hs:91) 0% ( 0 / 21) in 'Data.Streaming.Zlib.Lowlevel' Missing documentation for: Module header ZStreamStruct (Data/Streaming/Zlib/Lowlevel.hs:31) ZStream' (Data/Streaming/Zlib/Lowlevel.hs:32) zstreamNew (Data/Streaming/Zlib/Lowlevel.hs:42) Strategy (Data/Streaming/Zlib/Lowlevel.hs:34) deflateInit2 (Data/Streaming/Zlib/Lowlevel.hs:50) inflateInit2 (Data/Streaming/Zlib/Lowlevel.hs:59) c_free_z_stream_inflate (Data/Streaming/Zlib/Lowlevel.hs:61) c_free_z_stream_deflate (Data/Streaming/Zlib/Lowlevel.hs:64) c_set_avail_in (Data/Streaming/Zlib/Lowlevel.hs:67) c_set_avail_out (Data/Streaming/Zlib/Lowlevel.hs:70) c_get_avail_out (Data/Streaming/Zlib/Lowlevel.hs:73) c_get_avail_in (Data/Streaming/Zlib/Lowlevel.hs:76) c_get_next_in (Data/Streaming/Zlib/Lowlevel.hs:79) c_call_inflate_noflush (Data/Streaming/Zlib/Lowlevel.hs:82) c_call_deflate_noflush (Data/Streaming/Zlib/Lowlevel.hs:85) c_call_deflate_finish (Data/Streaming/Zlib/Lowlevel.hs:88) c_call_deflate_flush (Data/Streaming/Zlib/Lowlevel.hs:91) c_call_deflate_full_flush (Data/Streaming/Zlib/Lowlevel.hs:94) c_call_deflate_set_dictionary (Data/Streaming/Zlib/Lowlevel.hs:97) c_call_inflate_set_dictionary (Data/Streaming/Zlib/Lowlevel.hs:100) Warning: 'WindowBits' is ambiguous. It is defined * in ‘Codec.Compression.Zlib.Stream’ * in ‘Codec.Compression.Zlib.Stream’ You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined in ‘Codec.Compression.Zlib.Stream’ Warning: 'Inflate' is ambiguous. It is defined * at Data/Streaming/Zlib.hs:64:16 * at Data/Streaming/Zlib.hs:64:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at Data/Streaming/Zlib.hs:64:1 Warning: 'Deflate' is ambiguous. It is defined * at Data/Streaming/Zlib.hs:72:19 * at Data/Streaming/Zlib.hs:72:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at Data/Streaming/Zlib.hs:72:1 Warning: Data.Streaming.Zlib: Couldn't find .haddock for export WindowBits Warning: Data.Streaming.Zlib: Couldn't find .haddock for export defaultWindowBits 87% ( 21 / 24) in 'Data.Streaming.Zlib' Missing documentation for: WindowBits defaultWindowBits PopperRes (Data/Streaming/Zlib.hs:218) Warning: Data.Streaming.ByteString.Builder.Buffer: could not find link destinations for: - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Word.Word8 - GHC.Ptr.Ptr - Data.ByteString.Internal.Type.ByteString - GHC.ForeignPtr.ForeignPtr Warning: Data.Streaming.ByteString.Builder: could not find link destinations for: - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Word.Word8 - Data.ByteString.Lazy.Internal.defaultChunkSize - Data.ByteString.Internal.Type.ByteString - GHC.ForeignPtr.ForeignPtr - Data.ByteString.Builder.Internal.Builder Warning: Data.Streaming.FileRead: could not find link destinations for: - GHC.Types.IO - GHC.IO.FilePath - Data.ByteString.Internal.Type.ByteString Warning: Data.Streaming.Filesystem: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Classes.Eq - GHC.Classes.Ord - GHC.Read.Read - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.IO - GHC.IO.FilePath - GHC.Read.readList - GHC.Read.readsPrec - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - Text.ParserCombinators.ReadP.ReadS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - Text.ParserCombinators.ReadPrec.ReadPrec - GHC.Read.readPrec - GHC.Read.readListPrec Warning: Data.Streaming.Network.Internal: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - Data.String.fromString - GHC.Classes.Eq - GHC.Base.Functor - GHC.Classes.Ord - GHC.Read.Read - GHC.Show.Show - Data.String.IsString - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.IO - GHC.IO.FilePath - GHC.Read.readList - GHC.Read.readsPrec - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - Text.ParserCombinators.ReadP.ReadS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - Data.ByteString.Internal.Type.ByteString - Text.ParserCombinators.ReadPrec.ReadPrec - GHC.Read.readPrec - GHC.Read.readListPrec - Network.Socket.Types.Family - Network.Socket.Types.SockAddr - Network.Socket.Types.Socket Warning: Data.Streaming.Network: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - Data.String.fromString - GHC.Classes.Eq - GHC.Base.Functor - GHC.Classes.Ord - GHC.Read.Read - GHC.Show.Show - Data.String.IsString - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.IO - GHC.IO.FilePath - GHC.Read.readList - GHC.Read.readsPrec - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - Text.ParserCombinators.ReadP.ReadS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - Data.ByteString.Internal.Type.ByteString - Text.ParserCombinators.ReadPrec.ReadPrec - GHC.Read.readPrec - GHC.Read.readListPrec - Network.Socket.Info.AddrInfo - Network.Socket.Options.SocketOption - Network.Socket.Types.Family - Network.Socket.Types.SockAddr - Network.Socket.Types.Socket - Network.Socket.Types.SocketType - Data.Array.Base.UArray Warning: Data.Streaming.Process.Internal: could not find link destinations for: - GHC.Maybe.Maybe - GHC.Types.IO - GHC.IO.Handle.Types.Handle - GHC.IO.Exception.ExitCode - Control.Concurrent.STM.TMVar.TMVar Warning: Data.Streaming.Process: could not find link destinations for: - GHC.Classes.== - Data.String.fromString - GHC.Classes.Eq - GHC.Show.Show - Data.String.IsString - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - GHC.IO.FilePath - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.IO.Handle.Types.Handle - GHC.Exception.Type.SomeException - GHC.Exception.Type.Exception - GHC.Exception.Type.fromException - GHC.Exception.Type.toException - System.Posix.Types.UserID - System.Posix.Types.GroupID - GHC.Exception.Type.displayException - GHC.IO.Exception.ExitCode - GHC.Conc.Sync.STM - Control.Monad.IO.Class.MonadIO - Control.Concurrent.STM.TMVar.TMVar - System.Posix.Types.CPid - System.Posix.Internals.FD Warning: Data.Streaming.Text: could not find link destinations for: - Data.ByteString.Internal.Type.ByteString - Data.Text.Internal.Text Warning: Data.Streaming.Zlib.Lowlevel: could not find link destinations for: - GHC.Enum.enumFrom - GHC.Enum.enumFromThen - GHC.Enum.enumFromTo - GHC.Enum.enumFromThenTo - GHC.Classes.== - GHC.Classes.>= - GHC.Enum.Enum - GHC.Classes.Eq - GHC.Classes.Ord - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Types.Ordering - GHC.Types.IO - GHC.Ptr.Ptr - GHC.Ptr.FunPtr - GHC.Enum.fromEnum - GHC.Enum.pred - GHC.Enum.succ - GHC.Enum.toEnum - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - Foreign.C.Types.CChar - Foreign.C.Types.CInt - Foreign.C.Types.CUInt Warning: Data.Streaming.Zlib: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Classes.Eq - GHC.Classes.Ord - GHC.Show.Show - GHC.Generics.Generic - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.Ordering - GHC.Types.IO - GHC.Generics.Rec0 - GHC.Generics.D1 - GHC.Generics.C1 - GHC.Generics.S1 - GHC.Generics.Rep - GHC.Types.Symbol - GHC.Types.False - GHC.Maybe.Nothing - GHC.Types.True - GHC.Generics.PrefixI - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.MetaData - GHC.Generics.MetaCons - GHC.Generics.MetaSel - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min - Data.ByteString.Lazy.Internal.defaultChunkSize - Data.ByteString.Internal.Type.ByteString - GHC.Exception.Type.SomeException - GHC.Exception.Type.Exception - GHC.Exception.Type.fromException - GHC.Exception.Type.toException - GHC.Exception.Type.displayException - GHC.Generics.to - GHC.Generics.from - Codec.Compression.Zlib.Stream.Rep_WindowBits Documentation created: dist/doc/html/streaming-commons/, dist/doc/html/streaming-commons/streaming-commons.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ms3uUu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64 + cd streaming-commons-0.2.3.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64 Installing library in /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/streaming-commons-0.2.3.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' -d streaming-commons-0.2.3.0.conf ']' + install -D --mode=0644 streaming-commons-0.2.3.0.conf /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/streaming-commons-0.2.3.0.conf + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/streaming-commons-0.2.3.0.conf ']' + rm -f ghc-streaming-commons.files ghc-streaming-commons-doc.files + touch ghc-streaming-commons.files ghc-streaming-commons-doc.files + for i in /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4${subsubdir}/libHSstreaming-commons-0.2.3.0-*ghc9.8.4.so + '[' -x /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSstreaming-commons-0.2.3.0-J16L3YnPdlwFGEGIiPx3Qb-ghc9.8.4.so ']' + echo /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSstreaming-commons-0.2.3.0-J16L3YnPdlwFGEGIiPx3Qb-ghc9.8.4.so + pkgdir=/builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/streaming-commons-0.2.3.0 + '[' '!' -d /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/streaming-commons-0.2.3.0 ']' + '[' -d /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/streaming-commons-0.2.3.0 ']' + find /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/streaming-commons-0.2.3.0 -type d -fprintf ghc-streaming-commons-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-streaming-commons-prof.files -o -fprint ghc-streaming-commons-devel.files + ls /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/streaming-commons-0.2.3.0.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/streaming-commons-0.2.3.0 + '[' -d /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/share/doc/ghc/html/libraries/streaming-commons-0.2.3.0 ']' + echo /usr/share/doc/ghc/html/libraries/streaming-commons-0.2.3.0 + for i in ghc-streaming-commons.files ghc-streaming-commons-devel.files ghc-streaming-commons-doc.files ghc-streaming-commons-prof.files + '[' -f ghc-streaming-commons.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64!!g' ghc-streaming-commons.files + for i in ghc-streaming-commons.files ghc-streaming-commons-devel.files ghc-streaming-commons-doc.files ghc-streaming-commons-prof.files + '[' -f ghc-streaming-commons-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64!!g' ghc-streaming-commons-devel.files + for i in ghc-streaming-commons.files ghc-streaming-commons-devel.files ghc-streaming-commons-doc.files ghc-streaming-commons-prof.files + '[' -f ghc-streaming-commons-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64!!g' ghc-streaming-commons-doc.files + for i in ghc-streaming-commons.files ghc-streaming-commons-devel.files ghc-streaming-commons-doc.files ghc-streaming-commons-prof.files + '[' -f ghc-streaming-commons-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64!!g' ghc-streaming-commons-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSstreaming-commons-0.2.3.0-J16L3YnPdlwFGEGIiPx3Qb-ghc9.8.4.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSstreaming-commons-0.2.3.0-J16L3YnPdlwFGEGIiPx3Qb-ghc9.8.4.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-streaming-commons-0.2.3.0-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSstreaming-commons-0.2.3.0-J16L3YnPdlwFGEGIiPx3Qb-ghc9.8.4.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4:/usr/lib64/ghc-9.8.4/lib:/usr/lib64 + case "$rpath" in + /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 ******************************************************************************* * * WARNING: 'check-rpaths' detected a broken RPATH OR RUNPATH and will cause * 'rpmbuild' to fail. To ignore these errors, you can set the * '$QA_RPATHS' environment variable which is a bitmask allowing the * values below. The current value of QA_RPATHS is 0x0000. * * 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor * issue but are introducing redundant searchpaths without * providing a benefit. They can also cause errors in multilib * environments. * 0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute * nor relative filenames and can therefore be a SECURITY risk * 0x0004 ... insecure RPATHs; these are relative RPATHs which are a * SECURITY risk * 0x0008 ... the special '$ORIGIN' RPATHs are appearing after other * RPATHs; this is just a minor issue but usually unwanted * 0x0010 ... the RPATH is empty; there is no reason for such RPATHs * and they cause unneeded work while loading libraries * 0x0020 ... an RPATH references '..' of an absolute path; this will break * the functionality when the path before '..' is a symlink * * * Examples: * - to ignore standard and empty RPATHs, execute 'rpmbuild' like * $ QA_RPATHS=$(( 0x0001|0x0010 )) rpmbuild my-package.src.rpm * - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like * $ RPM_BUILD_ROOT= /usr/lib/rpm/check-rpaths * ******************************************************************************* ERROR 0001: file '/usr/lib64/ghc-9.8.4/lib/libHSstreaming-commons-0.2.3.0-J16L3YnPdlwFGEGIiPx3Qb-ghc9.8.4.so' contains a standard runpath '/usr/lib64' in [/usr/lib64/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4:/usr/lib64/ghc-9.8.4/lib:/usr/lib64] error: Bad exit status from /var/tmp/rpm-tmp.ms3uUu (%install) Bad exit status from /var/tmp/rpm-tmp.ms3uUu (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-streaming-commons.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 x86_64 --nodeps /builddir/build/SPECS/ghc-streaming-commons.spec