Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-snap-server.spec'], chrootPath='/var/lib/mock/f38-build-726875-100424/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-snap-server.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1687651200 Wrote: /builddir/build/SRPMS/ghc-snap-server-1.1.2.0-21.rvre0.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-snap-server.spec'], chrootPath='/var/lib/mock/f38-build-726875-100424/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-snap-server.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1687651200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6PxpHj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf snap-server-1.1.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/snap-server-1.1.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd snap-server-1.1.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/io-streams-haproxy-1.0.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/snap-server-1.1.2.0.cabal snap-server.cabal dos2unix: converting file /builddir/build/SOURCES/snap-server-1.1.2.0.cabal to file snap-server.cabal in Unix format... + cabal-tweak-drop-dep bytestring-builder + cd io-streams-haproxy-1.0.1.0 + cabal-tweak-dep-ver attoparsec '< 0.14' '< 0.15' + cabal-tweak-dep-ver base '< 4.13' '< 4.17' + cabal-tweak-dep-ver bytestring '< 0.11' '< 0.12' + cabal-tweak-dep-ver network '< 3.1' '< 3.2' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ixj9Kt + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 snap-server-1.1.2.0 + HOME=/builddir/build/BUILD/snap-server-1.1.2.0 + for i in io-streams-haproxy-1.0.1.0 ++ echo io-streams-haproxy-1.0.1.0 ++ sed -e 's/\(.*\)-.*/\1/' + name=io-streams-haproxy ++ echo io-streams-haproxy-1.0.1.0 ++ sed -e 's/.*-\(.*\)/\1/' + ver=1.0.1.0 + cd io-streams-haproxy-1.0.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 CONTRIBUTORS -a -x CONTRIBUTORS ']' ++ echo -O2 -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 -fstack-clash-protection -fno-omit-frame-pointer ++ sed -e 's/-Wall //' -e 's/-Werror=format-security //' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -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 -fstack-clash-protection -fno-omit-frame-pointer' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.2.6/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 3.6.3.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -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 -fstack-clash-protection -fno-omit-frame-pointer ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-snap-server '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.2.6/lib --user '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fno-omit-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/snap-server-1.1.2.0 --docdir=/usr/share/licenses/ghc-io-streams-haproxy --htmldir=/usr/share/doc/ghc/html/libraries/io-streams-haproxy-1.0.1.0 --user Configuring io-streams-haproxy-1.0.1.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for io-streams-haproxy-1.0.1.0.. Building library for io-streams-haproxy-1.0.1.0.. [1 of 2] Compiling System.IO.Streams.Network.Internal.Address [2 of 2] Compiling System.IO.Streams.Network.HAProxy src/System/IO/Streams/Network/HAProxy.hs:373:18: warning: [-Woverlapping-patterns] Pattern match is redundant In a case alternative: _ -> ... | 373 | _ -> error "unknown family" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [1 of 2] Compiling System.IO.Streams.Network.Internal.Address [2 of 2] Compiling System.IO.Streams.Network.HAProxy src/System/IO/Streams/Network/HAProxy.hs:373:18: warning: [-Woverlapping-patterns] Pattern match is redundant In a case alternative: _ -> ... | 373 | _ -> error "unknown family" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + '[' -n dist/build/libHSio-streams-haproxy-1.0.1.0-7vqW8HKndlfLM5udWYcB9D-ghc9.2.6.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for io-streams-haproxy-1.0.1.0.. Running Haddock on library for io-streams-haproxy-1.0.1.0.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.4.0, attoparsec-0.14.4, attoparsec-0.14.4, base-4.16.4.0, binary-0.8.9.0, bytestring-0.11.4.0, containers-0.6.5.1, data-array-byte-0.1.0.1, deepseq-1.4.6.1, directory-1.3.6.2, filepath-1.4.2.2, ghc-bignum-1.2, ghc-boot-th-9.2.6, ghc-prim-0.8.0, hashable-1.4.2.0, integer-logarithms-1.0.3.1, io-streams-1.5.2.2, network-3.1.2.7, pretty-1.1.3.6, primitive-0.7.3.0, process-1.6.16.0, scientific-0.3.7.0, template-haskell-2.18.0.0, text-1.2.5.0, time-1.11.1.1, transformers-0.5.6.2, unix-2.7.2.2, vector-0.12.3.1, zlib-0.6.3.0, zlib-bindings-0.1.1.5 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Warning: 'Socket' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 92% ( 12 / 13) in 'System.IO.Streams.Network.HAProxy' Missing documentation for: decodeHAProxyHeaders (src/System/IO/Streams/Network/HAProxy.hs:129) Warning: System.IO.Streams.Network.HAProxy: could not find link destinations for: - Network.Socket.Types.Socket - Network.Socket.Types.SockAddr - System.IO.Streams.Internal.InputStream - Data.ByteString.Internal.Type.ByteString - System.IO.Streams.Internal.OutputStream - GHC.Types.IO - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - Network.Socket.Types.Family - Network.Socket.Types.SocketType Documentation created: dist/doc/html/io-streams-haproxy/index.html, dist/doc/html/io-streams-haproxy/io-streams-haproxy.txt + ./Setup register --inplace Registering library for io-streams-haproxy-1.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 CONTRIBUTORS -a -x CONTRIBUTORS ']' + chmod a-x CONTRIBUTORS + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.SNAP.md -a -x README.SNAP.md ']' + chmod a-x README.SNAP.md + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' + chmod a-x README.md ++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -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 -fstack-clash-protection -fno-omit-frame-pointer ++ sed -e 's/-Wall //' -e 's/-Werror=format-security //' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -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 -fstack-clash-protection -fno-omit-frame-pointer' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + '[' -f Setup.hs -o -f Setup.lhs ']' + cp /usr/share/ghc-rpm-macros/Setup.hs . + '[' -d /usr/lib64/ghc-9.2.6/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 3.6.3.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -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 -fstack-clash-protection -fno-omit-frame-pointer ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-snap-server '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.2.6/lib --user '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fno-omit-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/snap-server-1.1.2.0 --user Configuring snap-server-1.1.2.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for snap-server-1.1.2.0.. Building library for snap-server-1.1.2.0.. [ 1 of 20] Compiling Control.Concurrent.Extended [ 2 of 20] Compiling Paths_snap_server [ 3 of 20] Compiling Snap.Internal.Http.Server.Address src/Snap/Internal/Http/Server/Address.hs:70:5: warning: [-Woverlapping-patterns] Pattern match is redundant In a case alternative: _ -> ... | 70 | _ -> fail "Unsupported address type" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 4 of 20] Compiling Snap.Internal.Http.Server.Clock [ 5 of 20] Compiling Snap.Internal.Http.Server.Common [ 6 of 20] Compiling Snap.Internal.Http.Server.Config [ 7 of 20] Compiling Snap.Http.Server.Config [ 8 of 20] Compiling Snap.Internal.Http.Server.Date [ 9 of 20] Compiling Snap.Internal.Http.Server.Parser [10 of 20] Compiling Snap.Internal.Http.Server.Thread [11 of 20] Compiling Snap.Internal.Http.Server.TimeoutManager [12 of 20] Compiling Snap.Internal.Http.Server.Types [13 of 20] Compiling Snap.Internal.Http.Server.TLS [14 of 20] Compiling Snap.Internal.Http.Server.Session src/Snap/Internal/Http/Server/Session.hs:38:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 38 | import Data.Monoid ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [15 of 20] Compiling Snap.Http.Server.Types [16 of 20] Compiling System.FastLogger [17 of 20] Compiling System.SendFile.Linux [18 of 20] Compiling System.SendFile [19 of 20] Compiling Snap.Internal.Http.Server.Socket src/Snap/Internal/Http/Server/Socket.hs:178:40: warning: [-Wdeprecations] In the use of ‘fdSocket’ (imported from Network.Socket, but defined in network-3.1.2.7-18AvxGLVZvWJNGR6boJDQO:Network.Socket.Types): Deprecated: "Use withFdSocket or unsafeFdSocket instead" | 178 | go fileFd = do sockFd <- Fd `fmap` fdSocket sock | ^^^^^^^^ [20 of 20] Compiling Snap.Http.Server [ 1 of 20] Compiling Control.Concurrent.Extended [ 2 of 20] Compiling Paths_snap_server [ 3 of 20] Compiling Snap.Internal.Http.Server.Address src/Snap/Internal/Http/Server/Address.hs:70:5: warning: [-Woverlapping-patterns] Pattern match is redundant In a case alternative: _ -> ... | 70 | _ -> fail "Unsupported address type" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 4 of 20] Compiling Snap.Internal.Http.Server.Clock [ 5 of 20] Compiling Snap.Internal.Http.Server.Common [ 6 of 20] Compiling Snap.Internal.Http.Server.Config [ 7 of 20] Compiling Snap.Http.Server.Config [ 8 of 20] Compiling Snap.Internal.Http.Server.Date [ 9 of 20] Compiling Snap.Internal.Http.Server.Parser [10 of 20] Compiling Snap.Internal.Http.Server.Thread [11 of 20] Compiling Snap.Internal.Http.Server.TimeoutManager [12 of 20] Compiling Snap.Internal.Http.Server.Types [13 of 20] Compiling Snap.Internal.Http.Server.TLS [14 of 20] Compiling Snap.Internal.Http.Server.Session src/Snap/Internal/Http/Server/Session.hs:38:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 38 | import Data.Monoid ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [15 of 20] Compiling Snap.Http.Server.Types [16 of 20] Compiling System.FastLogger [17 of 20] Compiling System.SendFile.Linux [18 of 20] Compiling System.SendFile [19 of 20] Compiling Snap.Internal.Http.Server.Socket src/Snap/Internal/Http/Server/Socket.hs:178:40: warning: [-Wdeprecations] In the use of ‘fdSocket’ (imported from Network.Socket, but defined in network-3.1.2.7-18AvxGLVZvWJNGR6boJDQO:Network.Socket.Types): Deprecated: "Use withFdSocket or unsafeFdSocket instead" | 178 | go fileFd = do sockFd <- Fd `fmap` fdSocket sock | ^^^^^^^^ [20 of 20] Compiling Snap.Http.Server double free or corruption (out) PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace. Stack dump: 0. Program arguments: opt-13 -O1 -globalopt -enable-tbaa -tbaa -relocation-model=static /tmp/ghc20310_0/ghc_243.ll -o /tmp/ghc20310_0/ghc_248.bc Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): /usr/lib64/llvm13/lib/libLLVM-13.so(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamEi+0x42)[0x3f88901724] /usr/lib64/llvm13/lib/libLLVM-13.so(_ZN4llvm3sys17RunSignalHandlersEv+0x62)[0x3f888ffa7c] /usr/lib64/llvm13/lib/libLLVM-13.so(+0xb01bc4)[0x3f88901bc4] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0x3f8d01a800] /lib64/lp64d/libc.so.6(+0x74cbe)[0x3f8cf10cbe] /lib64/lp64d/libc.so.6(gsignal+0x16)[0x3f8ced79c8] /lib64/lp64d/libc.so.6(abort+0xba)[0x3f8cec61f6] /lib64/lp64d/libc.so.6(+0x6b3ae)[0x3f8cf073ae] /lib64/lp64d/libc.so.6(+0x7d41c)[0x3f8cf1941c] /lib64/lp64d/libc.so.6(+0x7f0de)[0x3f8cf1b0de] /lib64/lp64d/libc.so.6(__libc_free+0x64)[0x3f8cf1d170] /usr/lib64/llvm13/lib/libLLVM-13.so(_ZN4llvm15ScalarEvolutionD1Ev+0x2f8)[0x3f8978d518] /usr/lib64/llvm13/lib/libLLVM-13.so(+0x2a6639e)[0x3f8a86639e] /usr/lib64/llvm13/lib/libLLVM-13.so(+0xc24ebe)[0x3f88a24ebe] /usr/lib64/llvm13/lib/libLLVM-13.so(+0x169db3c)[0x3f8949db3c] opt-13[0x33614] opt-13(_ZN4llvm15runPassPipelineENS_9StringRefERNS_6ModuleEPNS_13TargetMachineEPNS_21TargetLibraryInfoImplEPNS_14ToolOutputFileES8_S8_S0_NS_8ArrayRefIS0_EENS_8opt_tool10OutputKindENSB_12VerifierKindEbbbbb+0x2ade)[0x32514] opt-13(main+0x20ca)[0x3ea5c] /lib64/lp64d/libc.so.6(+0x2a3c8)[0x3f8cec63c8] /lib64/lp64d/libc.so.6(__libc_start_main+0x78)[0x3f8cec6474] opt-13(_start+0x20)[0x2e8ec] `opt-13' failed in phase `LLVM Optimiser'. (Exit code: -6) error: Bad exit status from /var/tmp/rpm-tmp.ixj9Kt (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ixj9Kt (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 --target riscv64 --nodeps /builddir/build/SPECS/ghc-snap-server.spec