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/pandoc-cli.spec'], chrootPath='/var/lib/mock/f41-build-835305-158436/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/pandoc-cli.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=1722384000 Wrote: /builddir/build/SRPMS/pandoc-cli-3.1.11.1-32.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pandoc-cli.spec'], chrootPath='/var/lib/mock/f41-build-835305-158436/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/pandoc-cli.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=1722384000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.JvHSeU + umask 022 + cd /builddir/build/BUILD/pandoc-cli-3.1.11.1-build + test -d /builddir/build/BUILD/pandoc-cli-3.1.11.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/pandoc-cli-3.1.11.1-build + /usr/bin/rm -rf /builddir/build/BUILD/pandoc-cli-3.1.11.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/pandoc-cli-3.1.11.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/pandoc-cli-3.1.11.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sFKEu5 + umask 022 + cd /builddir/build/BUILD/pandoc-cli-3.1.11.1-build + cd /builddir/build/BUILD/pandoc-cli-3.1.11.1-build + rm -rf pandoc-cli-3.1.11.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pandoc-cli-3.1.11.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pandoc-cli-3.1.11.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hslua-cli-1.4.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hslua-list-1.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hslua-module-doclayout-1.1.1.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hslua-module-path-1.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hslua-module-system-1.1.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hslua-module-version-1.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hslua-module-zip-1.1.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hslua-repl-0.1.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lpeg-1.0.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pandoc-lua-engine-0.2.1.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pandoc-lua-marshal-0.2.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cabal-tweak-flag server False + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cDvCZc + umask 022 + cd /builddir/build/BUILD/pandoc-cli-3.1.11.1-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 -fno-omit-frame-pointer -mno-omit-leaf-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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + 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 pandoc-cli-3.1.11.1 + HOME=/builddir/build/BUILD/pandoc-cli-3.1.11.1-build/pandoc-cli-3.1.11.1 + for i in hslua-list-1.1.1 hslua-module-doclayout-1.1.1.2 hslua-module-path-1.1.1 hslua-module-system-1.1.2 hslua-module-version-1.1.1 hslua-module-zip-1.1.3 hslua-repl-0.1.2 hslua-cli-1.4.3 lpeg-1.0.4 pandoc-lua-marshal-0.2.7.1 pandoc-lua-engine-0.2.1.2 ++ echo hslua-list-1.1.1 ++ sed -e 's/\(.*\)-.*/\1/' + name=hslua-list ++ echo hslua-list-1.1.1 ++ sed -e 's/.*-\(.*\)/\1/' + ver=1.1.1 + cd hslua-list-1.1.1 + 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\)') ==== Build hslua-list-1.1.1 ==== + '[' -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 ']' + echo -e '\n==== Build hslua-list-1.1.1 ====' + '[' -f Setup.hs -o -f Setup.lhs ']' + cp /usr/share/ghc-rpm-macros/Setup.hs . + '[' -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 ++ 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 -fno-omit-frame-pointer -mno-omit-leaf-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/pandoc-cli '--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,-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-fno-omit-frame-pointer -optc-mno-omit-leaf-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' --enable-library-profiling --enable-shared --docdir=/usr/share/licenses/ghc-hslua-list --htmldir=/usr/share/doc/ghc/html/libraries/hslua-list-1.1.1 --user Configuring hslua-list-1.1.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for hslua-list-1.1.1.. Building library for hslua-list-1.1.1.. [1 of 1] Compiling HsLua.List [1 of 1] Compiling HsLua.List cbits/listmod.c: In function ‘copyfromtablelib’: cbits/listmod.c:332:63: error: warning: value computed is not used [-Wunused-value] 332 | for (const char **name = tablelib_functions; *name != NULL; *name++) { | ^~~~~~~ | 332 | for (const char **name = tablelib_functions; *name != NULL; *name++) { | ^ cbits/listmod.c: In function ‘copyfromtablelib’: cbits/listmod.c:332:63: error: warning: value computed is not used [-Wunused-value] 332 | for (const char **name = tablelib_functions; *name != NULL; *name++) { | ^~~~~~~ | 332 | for (const char **name = tablelib_functions; *name != NULL; *name++) { | ^ cbits/listmod.c: In function ‘copyfromtablelib’: cbits/listmod.c:332:63: error: warning: value computed is not used [-Wunused-value] 332 | for (const char **name = tablelib_functions; *name != NULL; *name++) { | ^~~~~~~ | 332 | for (const char **name = tablelib_functions; *name != NULL; *name++) { | ^ + '[' -n dist/build/libHShslua-list-1.1.1-9l63Ku7u96Z6i2wKz0R57A-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for hslua-list-1.1.1.. Running Haddock on library for hslua-list-1.1.1.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.4.0, base-4.17.1.0, binary-0.8.9.1, bytestring-0.11.4.0, containers-0.6.7, deepseq-1.4.8.0, exceptions-0.10.5, ghc-bignum-1.3, ghc-boot-th-9.4.5, ghc-prim-0.9.0, hslua-core-2.3.1, lua-2.3.1, mtl-2.2.2, pretty-1.1.3.6, stm-2.5.1.0, template-haskell-2.19.0.0, text-2.0.2, transformers-0.5.6.2 Warning: --source-* options are ignored when --hyperlinked-source is enabled. 100% ( 4 / 4) in 'HsLua.List' Warning: HsLua.List: could not find link destinations for: - Lua.Types.CFunction - HsLua.Core.Error.LuaError - HsLua.Core.Types.LuaE - HsLua.Core.Types.Name Documentation created: dist/doc/html/hslua-list/index.html, dist/doc/html/hslua-list/hslua-list.txt + ./Setup register --inplace Registering library for hslua-list-1.1.1.. + cd .. + for i in hslua-list-1.1.1 hslua-module-doclayout-1.1.1.2 hslua-module-path-1.1.1 hslua-module-system-1.1.2 hslua-module-version-1.1.1 hslua-module-zip-1.1.3 hslua-repl-0.1.2 hslua-cli-1.4.3 lpeg-1.0.4 pandoc-lua-marshal-0.2.7.1 pandoc-lua-engine-0.2.1.2 ++ echo hslua-module-doclayout-1.1.1.2 ++ sed -e 's/\(.*\)-.*/\1/' + name=hslua-module-doclayout ++ echo hslua-module-doclayout-1.1.1.2 ++ sed -e 's/.*-\(.*\)/\1/' + ver=1.1.1.2 + cd hslua-module-doclayout-1.1.1.2 + 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 ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' + echo -e '\n==== Build hslua-module-doclayout-1.1.1.2 ====' ==== Build hslua-module-doclayout-1.1.1.2 ==== + '[' -f Setup.hs -o -f Setup.lhs ']' + cp /usr/share/ghc-rpm-macros/Setup.hs . + '[' -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 ++ 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 -fno-omit-frame-pointer -mno-omit-leaf-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/pandoc-cli '--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,-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-fno-omit-frame-pointer -optc-mno-omit-leaf-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' --enable-library-profiling --enable-shared --docdir=/usr/share/licenses/ghc-hslua-module-doclayout --htmldir=/usr/share/doc/ghc/html/libraries/hslua-module-doclayout-1.1.1.2 --user Configuring hslua-module-doclayout-1.1.1.2... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for hslua-module-doclayout-1.1.1.2.. Building library for hslua-module-doclayout-1.1.1.2.. [1 of 1] Compiling HsLua.Module.DocLayout PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0. Program arguments: opt-14 -O1 -globalopt -enable-tbaa -tbaa -relocation-model=pic /tmp/ghc51700_0/ghc_6.ll -o /tmp/ghc51700_0/ghc_8.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/llvm14/lib/libLLVM-14.so(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamEi+0x42) [0x3f8cc2e080] /usr/lib64/llvm14/lib/libLLVM-14.so(_ZN4llvm3sys17RunSignalHandlersEv+0x5a) [0x3f8cc2c3f8] /usr/lib64/llvm14/lib/libLLVM-14.so(+0xc2e52a) [0x3f8cc2e52a] linux-vdso.so.1(__vdso_rt_sigreturn+0x0) [0x3f91953800] /usr/lib64/llvm14/lib/libLLVM-14.so(_ZN4llvm15ValueHandleBase17RemoveFromUseListEv+0xe) [0x3f8cd6cf9c] /usr/lib64/llvm14/lib/libLLVM-14.so(+0x19daf46) [0x3f8d9daf46] /usr/lib64/llvm14/lib/libLLVM-14.so(_ZN4llvm18BlockFrequencyInfoD1Ev+0x16) [0x3f8d9d9232] /usr/lib64/llvm14/lib/libLLVM-14.so(+0x2d568e0) [0x3f8ed568e0] /usr/lib64/llvm14/lib/libLLVM-14.so(+0xd529c6) [0x3f8cd529c6] /usr/lib64/llvm14/lib/libLLVM-14.so(+0x182fc14) [0x3f8d82fc14] opt-14() [0x31f90] opt-14(_ZN4llvm15runPassPipelineENS_9StringRefERNS_6ModuleEPNS_13TargetMachineEPNS_21TargetLibraryInfoImplEPNS_14ToolOutputFileES8_S8_S0_NS_8ArrayRefIS0_EENS_8opt_tool10OutputKindENSB_12VerifierKindEbbbbb+0x26fa) [0x30fac] opt-14(main+0x1f70) [0x3d502] /lib64/lp64d/libc.so.6(+0x177e) [0x3f917c877e] /lib64/lp64d/libc.so.6(__libc_start_main+0x78) [0x3f917c882a] opt-14(_start+0x20) [0x2d774] : error: `opt-14' failed in phase `LLVM Optimiser'. (Exit code: -11) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.cDvCZc (%build) Bad exit status from /var/tmp/rpm-tmp.cDvCZc (%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/pandoc-cli.spec