^^^ [ 7 of 18] Compiling Text.ParserCombinators.Poly [ 8 of 18] Compiling Text.Parse src/Text/Parse.hs:4:15: warning: [-Wtabs] Tab character found here, and in 12 further locations. Suggested fix: Please use spaces instead. | 4 | TextParser -- synonym for Parser Char, i.e. string input, no state | ^^ src/Text/Parse.hs:255:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘%’ would denote a multiplicity annotation were the LinearTypes extension enabled. Suggested fix: Add whitespace after the ‘%’. | 255 | . (%1) . (\ (Right x)->x) . fst | ^ [ 9 of 18] Compiling Text.ParserCombinators.Poly.Lex src/Text/ParserCombinators/Poly/Lex.hs:96:18: warning: [-Wtabs] Tab character found here. Suggested fix: Please use spaces instead. | 96 | infixl 6 `onFail` -- not sure about precedence 6? | ^^^^^^^ [10 of 18] Compiling Text.ParserCombinators.Poly.Lazy src/Text/ParserCombinators/Poly/Lazy.hs:4:14: warning: [-Wtabs] Tab character found here, and in 8 further locations. Suggested fix: Please use spaces instead. | 4 | Parser(P) -- datatype, instance of: Functor, Monad, PolyParse | ^^^ [11 of 18] Compiling Text.ParserCombinators.Poly.ByteStringChar [12 of 18] Compiling Text.Parse.ByteString src/Text/Parse/ByteString.hs:5:15: warning: [-Wtabs] Tab character found here, and in 13 further locations. Suggested fix: Please use spaces instead. | 5 | TextParser -- synonym for Text.ParserCombinators.Poly.ByteString | ^^ src/Text/Parse/ByteString.hs:304:22: warning: [-Woperator-whitespace-ext-conflict] The prefix use of a ‘%’ would denote a multiplicity annotation were the LinearTypes extension enabled. Suggested fix: Add whitespace after the ‘%’. | 304 | . (%1) . (\ (Right x)->x) . fst | ^ [13 of 18] Compiling Text.ParserCombinators.Poly.ByteString [14 of 18] Compiling Text.ParserCombinators.Poly.StateParser src/Text/ParserCombinators/Poly/StateParser.hs:7:14: warning: [-Wtabs] Tab character found here, and in 7 further locations. Suggested fix: Please use spaces instead. | 7 | Parser(P) -- datatype, instance of: Functor, Monad, PolyParse | ^^^ [15 of 18] Compiling Text.ParserCombinators.Poly.StateLazy [16 of 18] Compiling Text.ParserCombinators.Poly.State src/Text/ParserCombinators/Poly/StateLazy.hs:4:14: warning: [-Wtabs] Tab character found here, and in 8 further locations. Suggested fix: Please use spaces instead. | 4 | Parser(P) -- datatype, instance of: Functor, Monad, PolyParse | ^^^ src/Text/ParserCombinators/Poly/State.hs:3:14: warning: [-Wtabs] Tab character found here, and in 8 further locations. Suggested fix: Please use spaces instead. | 3 | Parser(P) -- datatype, instance of: Functor, Monad, PolyParse | ^^^ [17 of 18] Compiling Text.ParserCombinators.Poly.StateText [18 of 18] Compiling Text.ParserCombinators.Poly.Text [ 1 of 18] Compiling Text.ParserCombinators.HuttonMeijer /var/tmp/rpm-tmp.DVAoni: line 79: 238750 Segmentation fault (core dumped) ./Setup build -j${RPM_BUILD_NCPUS} error: Bad exit status from /var/tmp/rpm-tmp.DVAoni (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.DVAoni (%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-polyparse.spec