ni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[Pixel]’ not matched: [] [_] (_:_:_:_) | 119 | withColors d [fc, bc] $ \[fc', bc'] -> do | ^^^^^^^^^^^^^^^^^... [74 of 98] Compiling Xmobar.Plugins.EWMH [75 of 98] Compiling Xmobar.Run.Runnable[boot] [76 of 98] Compiling Xmobar.Run.Types [77 of 98] Compiling Xmobar.Run.Runnable [78 of 98] Compiling Xmobar.Run.Template src/Xmobar/Run/Template.hs:80:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Char]’ not matched: [] [_] (_:_:_:_) | 80 | where [l, r] = if length alignSep == 2 then alignSep else defaultAlign | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [79 of 98] Compiling Xmobar.Config.Types [80 of 98] Compiling Xmobar.Run.Loop [81 of 98] Compiling Xmobar.Draw.Types [82 of 98] Compiling Xmobar.Draw.Boxes src/Xmobar/Draw/Boxes.hs:46:5: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Double]’ not matched: [] [_] [_, _] [_, _, _] ... | 46 | [mt, mr, mb, ml] = map fromIntegral [top, right, bot, left] [83 of 98] Compiling Xmobar.Config.Template | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [84 of 98] Compiling Xmobar.Config.Parse [85 of 98] Compiling Xmobar.Text.Swaybar [86 of 98] Compiling Xmobar.Text.Output [87 of 98] Compiling Xmobar.Text.Loop [88 of 98] Compiling Xmobar.Draw.Cairo src/Xmobar/Draw/Cairo.hs:172:7: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[[C.Segment]]’ not matched: [] [_] [_, _] (_:_:_:_:_) | 172 | let [left, center, right] = take 3 $ T.dcSegments dctx ++ repeat [] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [89 of 98] Compiling Xmobar.App.Opts [90 of 98] Compiling Xmobar.App.Config [91 of 98] Compiling Xmobar.X11.Text [92 of 98] Compiling Xmobar.X11.Types [93 of 98] Compiling Xmobar.X11.Window [94 of 98] Compiling Xmobar.X11.XRender [95 of 98] Compiling Xmobar.X11.Draw [96 of 98] Compiling Xmobar.X11.Loop src/Xmobar/Draw/Cairo.hs:186:7: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Double]’ not matched: [] [_] (_:_:_:_) | 186 | let [rw, cw] = map sWidth [rlyts, clyts] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Xmobar/X11/Loop.hs:151:7: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[String]’ not matched: [] [_] [_, _] | 151 | let l:c:r:_ = s ++ repeat "" | ^^^^^^^^^^^^^^^^^^^^^^^^ [97 of 98] Compiling Xmobar.App.Main [98 of 98] Compiling Xmobar [ 1 of 98] Compiling Paths_xmobar /var/tmp/rpm-tmp.3Scwkv: line 166: 46800 Segmentation fault (core dumped) ./Setup build -j${RPM_BUILD_NCPUS} error: Bad exit status from /var/tmp/rpm-tmp.3Scwkv (%build) Bad exit status from /var/tmp/rpm-tmp.3Scwkv (%build) RPM build errors: 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/xmobar.spec