Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/brainfuck.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-836551-28395/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/brainfuck.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=1676505600 Wrote: /builddir/build/SRPMS/brainfuck-0.1.0.3-24.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/brainfuck.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-836551-28395/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/brainfuck.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=1676505600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v54aP8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf brainfuck-0.1.0.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/brainfuck-0.1.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd brainfuck-0.1.0.3 + /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.FCoSSU + 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 brainfuck-0.1.0.3 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' ++ 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 ++ sed -e 's/ / -optc/g' ++ 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 ++ 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/brainfuck '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.2.6/lib --global '--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/brainfuck-0.1.0.3 --global Warning: brainfuck.cabal:29:34: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. Warning: brainfuck.cabal:24:34: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. Configuring brainfuck-0.1.0.3... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for brainfuck-0.1.0.3.. Building library for brainfuck-0.1.0.3.. [1 of 2] Compiling Language.Brainfuck Language/Brainfuck.hs:71:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: coreSize :: Int | 71 | coreSize = 30000 | ^^^^^^^^ Language/Brainfuck.hs:112:33: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 112 | doCommand' Ignored _ (BF c cp ip) = {-# SCC "Ignored" #-} do | ^^ Language/Brainfuck.hs:115:23: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 115 | doCommand' IncPtr _ bf@(BF c cp ip) = {-# SCC "IncPtr" #-} do | ^^ Language/Brainfuck.hs:115:35: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 115 | doCommand' IncPtr _ bf@(BF c cp ip) = {-# SCC "IncPtr" #-} do | ^^ Language/Brainfuck.hs:118:23: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 118 | doCommand' DecPtr _ bf@(BF c cp ip) = {-# SCC "DecPtr" #-} do | ^^ Language/Brainfuck.hs:118:35: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 118 | doCommand' DecPtr _ bf@(BF c cp ip) = {-# SCC "DecPtr" #-} do | ^^ Language/Brainfuck.hs:121:29: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 121 | doCommand' (IncPtrBy n) _ bf@(BF c cp ip) = {-# SCC "IncPtrBy" #-} do | ^^ Language/Brainfuck.hs:121:41: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 121 | doCommand' (IncPtrBy n) _ bf@(BF c cp ip) = {-# SCC "IncPtrBy" #-} do | ^^ Language/Brainfuck.hs:124:24: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 124 | doCommand' IncByte _ bf = {-# SCC "IncByte" #-} do | ^^ Language/Brainfuck.hs:127:24: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 127 | doCommand' DecByte _ bf = {-# SCC "DecByte" #-} do | ^^ Language/Brainfuck.hs:130:30: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 130 | doCommand' (IncByteBy n) _ bf = {-# SCC "IncByteBy" #-} do | ^^ Language/Brainfuck.hs:133:27: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 133 | doCommand' OutputByte _ bf@(BF c cp ip) = {-# SCC "OutputByte" #-} do | ^^ Language/Brainfuck.hs:133:39: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 133 | doCommand' OutputByte _ bf@(BF c cp ip) = {-# SCC "OutputByte" #-} do | ^^ Language/Brainfuck.hs:148:29: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:108:11 | 148 | doCommand' (JmpForward n) cmds bf@(BF c cp ip) = {-# SCC "JmpForw" #-} do | ^^^^ Language/Brainfuck.hs:148:34: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 148 | doCommand' (JmpForward n) cmds bf@(BF c cp ip) = {-# SCC "JmpForw" #-} do | ^^ Language/Brainfuck.hs:148:46: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 148 | doCommand' (JmpForward n) cmds bf@(BF c cp ip) = {-# SCC "JmpForw" #-} do | ^^ Language/Brainfuck.hs:162:30: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:108:11 | 162 | doCommand' (JmpBackward n) cmds bf@(BF c cp ip) = {-# SCC "JmpBack" #-} do | ^^^^ Language/Brainfuck.hs:162:35: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 162 | doCommand' (JmpBackward n) cmds bf@(BF c cp ip) = {-# SCC "JmpBack" #-} do | ^^ Language/Brainfuck.hs:162:47: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 162 | doCommand' (JmpBackward n) cmds bf@(BF c cp ip) = {-# SCC "JmpBack" #-} do | ^^ Language/Brainfuck.hs:171:28: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 171 | doCommand' (SetIpTo i) _ bf@(BF c cp ip) = {-# SCC "SetIPTo" #-} do | ^^ Language/Brainfuck.hs:171:40: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 171 | doCommand' (SetIpTo i) _ bf@(BF c cp ip) = {-# SCC "SetIPTo" #-} do | ^^ Language/Brainfuck.hs:200:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: updateByte :: MArray IOUArray Word8 m => BF -> (Word8 -> Word8) -> m BF | 200 | updateByte (BF c cp ip) f = do | ^^^^^^^^^^ Language/Brainfuck.hs:213:3: warning: [-Wunused-local-binds] Defined but not used: ‘n’ | 213 | n = length cs -- strictness | ^ Language/Brainfuck.hs:227:12: warning: [-Wname-shadowing] This binding for ‘cs’ shadows the existing binding bound at Language/Brainfuck.hs:224:10 | 227 | reduce cs | ^^ Language/Brainfuck.hs:235:10: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:216:10 | 235 | phase3 cmds = updates (updates cmds jmpBs) jmpFs | ^^^^ Language/Brainfuck.hs:253:15: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:235:10 | 253 | calcJmpBs cmds = catMaybes $ map newCmd (filter (isJmpB . snd) cmds) | ^^^^ Language/Brainfuck.hs:257:15: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:235:10 | 257 | calcJmpFs cmds = catMaybes $ map newCmd (filter (isJmpF . snd) cmds) | ^^^^ Language/Brainfuck.hs:270:18: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:235:10 | 270 | findPrevJmpF cmds i n = case (cmds !! i) of | ^^^^ Language/Brainfuck.hs:278:18: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:235:10 | 278 | findNextJmpB cmds i _ | i >= length cmds = Nothing | ^^^^ Language/Brainfuck.hs:279:18: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:235:10 | 279 | findNextJmpB cmds i n = case (cmds !! i) of | ^^^^ Language/Brainfuck.hs:289:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: halt :: IO () | 289 | halt = if debug | ^^^^ [2 of 2] Compiling Language.Brainfuck.Examples [1 of 2] Compiling Language.Brainfuck Language/Brainfuck.hs:71:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: coreSize :: Int | 71 | coreSize = 30000 | ^^^^^^^^ Language/Brainfuck.hs:112:33: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 112 | doCommand' Ignored _ (BF c cp ip) = {-# SCC "Ignored" #-} do | ^^ Language/Brainfuck.hs:115:23: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 115 | doCommand' IncPtr _ bf@(BF c cp ip) = {-# SCC "IncPtr" #-} do | ^^ Language/Brainfuck.hs:115:35: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 115 | doCommand' IncPtr _ bf@(BF c cp ip) = {-# SCC "IncPtr" #-} do | ^^ Language/Brainfuck.hs:118:23: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 118 | doCommand' DecPtr _ bf@(BF c cp ip) = {-# SCC "DecPtr" #-} do | ^^ Language/Brainfuck.hs:118:35: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 118 | doCommand' DecPtr _ bf@(BF c cp ip) = {-# SCC "DecPtr" #-} do | ^^ Language/Brainfuck.hs:121:29: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 121 | doCommand' (IncPtrBy n) _ bf@(BF c cp ip) = {-# SCC "IncPtrBy" #-} do | ^^ Language/Brainfuck.hs:121:41: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 121 | doCommand' (IncPtrBy n) _ bf@(BF c cp ip) = {-# SCC "IncPtrBy" #-} do | ^^ Language/Brainfuck.hs:124:24: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 124 | doCommand' IncByte _ bf = {-# SCC "IncByte" #-} do | ^^ Language/Brainfuck.hs:127:24: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 127 | doCommand' DecByte _ bf = {-# SCC "DecByte" #-} do | ^^ Language/Brainfuck.hs:130:30: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 130 | doCommand' (IncByteBy n) _ bf = {-# SCC "IncByteBy" #-} do | ^^ Language/Brainfuck.hs:133:27: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 133 | doCommand' OutputByte _ bf@(BF c cp ip) = {-# SCC "OutputByte" #-} do | ^^ Language/Brainfuck.hs:133:39: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 133 | doCommand' OutputByte _ bf@(BF c cp ip) = {-# SCC "OutputByte" #-} do | ^^ Language/Brainfuck.hs:148:29: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:108:11 | 148 | doCommand' (JmpForward n) cmds bf@(BF c cp ip) = {-# SCC "JmpForw" #-} do | ^^^^ Language/Brainfuck.hs:148:34: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 148 | doCommand' (JmpForward n) cmds bf@(BF c cp ip) = {-# SCC "JmpForw" #-} do | ^^ Language/Brainfuck.hs:148:46: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 148 | doCommand' (JmpForward n) cmds bf@(BF c cp ip) = {-# SCC "JmpForw" #-} do | ^^ Language/Brainfuck.hs:162:30: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:108:11 | 162 | doCommand' (JmpBackward n) cmds bf@(BF c cp ip) = {-# SCC "JmpBack" #-} do | ^^^^ Language/Brainfuck.hs:162:35: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 162 | doCommand' (JmpBackward n) cmds bf@(BF c cp ip) = {-# SCC "JmpBack" #-} do | ^^ Language/Brainfuck.hs:162:47: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 162 | doCommand' (JmpBackward n) cmds bf@(BF c cp ip) = {-# SCC "JmpBack" #-} do | ^^ Language/Brainfuck.hs:171:28: warning: [-Wname-shadowing] This binding for ‘bf’ shadows the existing binding bound at Language/Brainfuck.hs:108:16 | 171 | doCommand' (SetIpTo i) _ bf@(BF c cp ip) = {-# SCC "SetIPTo" #-} do | ^^ Language/Brainfuck.hs:171:40: warning: [-Wname-shadowing] This binding for ‘ip’ shadows the existing binding bound at Language/Brainfuck.hs:108:27 | 171 | doCommand' (SetIpTo i) _ bf@(BF c cp ip) = {-# SCC "SetIPTo" #-} do | ^^ Language/Brainfuck.hs:200:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: updateByte :: MArray IOUArray Word8 m => BF -> (Word8 -> Word8) -> m BF | 200 | updateByte (BF c cp ip) f = do | ^^^^^^^^^^ Language/Brainfuck.hs:213:3: warning: [-Wunused-local-binds] Defined but not used: ‘n’ | 213 | n = length cs -- strictness | ^ Language/Brainfuck.hs:227:12: warning: [-Wname-shadowing] This binding for ‘cs’ shadows the existing binding bound at Language/Brainfuck.hs:224:10 | 227 | reduce cs | ^^ Language/Brainfuck.hs:235:10: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:216:10 | 235 | phase3 cmds = updates (updates cmds jmpBs) jmpFs | ^^^^ Language/Brainfuck.hs:253:15: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:235:10 | 253 | calcJmpBs cmds = catMaybes $ map newCmd (filter (isJmpB . snd) cmds) | ^^^^ Language/Brainfuck.hs:257:15: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:235:10 | 257 | calcJmpFs cmds = catMaybes $ map newCmd (filter (isJmpF . snd) cmds) | ^^^^ Language/Brainfuck.hs:270:18: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:235:10 | 270 | findPrevJmpF cmds i n = case (cmds !! i) of | ^^^^ Language/Brainfuck.hs:278:18: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:235:10 | 278 | findNextJmpB cmds i _ | i >= length cmds = Nothing | ^^^^ Language/Brainfuck.hs:279:18: warning: [-Wname-shadowing] This binding for ‘cmds’ shadows the existing binding bound at Language/Brainfuck.hs:235:10 | 279 | findNextJmpB cmds i n = case (cmds !! i) of | ^^^^ Language/Brainfuck.hs:289:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: halt :: IO () | 289 | halt = if debug | ^^^^ [2 of 2] Compiling Language.Brainfuck.Examples Preprocessing executable 'bf' for brainfuck-0.1.0.3.. Building executable 'bf' for brainfuck-0.1.0.3.. : warning: [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules: Language.Brainfuck Language.Brainfuck.Examples [1 of 3] Compiling Language.Brainfuck [2 of 3] Compiling Language.Brainfuck.Examples [3 of 3] Compiling Main : warning: [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules: Language.Brainfuck Language.Brainfuck.Examples Linking dist/build/bf/bf ... + '[' -n dist/build/libHSbrainfuck-0.1.0.3-K30kQPkHCtCA2gCEUvoGKc-ghc9.2.6.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock -j8 --html --hyperlink-source --hoogle unrecognized 'haddock' option `-j8' RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.FCoSSU (%build) Bad exit status from /var/tmp/rpm-tmp.FCoSSU (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/brainfuck.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, 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 riscv64 --nodeps /builddir/build/SPECS/brainfuck.spec