>>> happy: Building community/happy 1.21.0-r1 (using abuild 3.13.0-r3) started Mon, 13 May 2024 06:25:07 +0000 >>> happy: Checking sanity of /home/buildozer/aports/community/happy/APKBUILD... >>> happy: Analyzing dependencies... >>> happy: Installing for build: build-base ghc libffi-dev (1/1) Installing .makedepends-happy (20240513.062523) OK: 1693 MiB in 124 packages >>> happy: Cleaning up srcdir >>> happy: Cleaning up pkgdir >>> happy: Cleaning up tmpdir >>> happy: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/happy-1.21.0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> happy: Fetching https://hackage.haskell.org/package/happy-1.21.0/happy-1.21.0.tar.gz Connecting to hackage.haskell.org (151.101.0.68:443) saving to '/var/cache/distfiles/v3.20/happy-1.21.0.tar.gz.part' happy-1.21.0.tar.gz. 100% |********************************| 169k 0:00:00 ETA '/var/cache/distfiles/v3.20/happy-1.21.0.tar.gz.part' saved >>> happy: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/happy-1.21.0.tar.gz >>> happy: Checking sha512sums... happy-1.21.0.tar.gz: OK >>> happy: Unpacking /var/cache/distfiles/v3.20/happy-1.21.0.tar.gz... Configuring happy-1.21.0... Preprocessing executable 'happy' for happy-1.21.0.. Building executable 'happy' for happy-1.21.0.. [ 1 of 22] Compiling AbsSyn ( src/AbsSyn.lhs, dist/build/happy/happy-tmp/AbsSyn.o ) [ 2 of 22] Compiling GenUtils ( src/GenUtils.lhs, dist/build/happy/happy-tmp/GenUtils.o ) [ 3 of 22] Compiling NameSet ( src/NameSet.hs, dist/build/happy/happy-tmp/NameSet.o ) [ 4 of 22] Compiling ParamRules ( src/ParamRules.hs, dist/build/happy/happy-tmp/ParamRules.o ) [ 5 of 22] Compiling Grammar ( src/Grammar.lhs, dist/build/happy/happy-tmp/Grammar.o ) src/Grammar.lhs:35:3: warning: [GHC-66111] [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 35 | > import Control.Monad ( when ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Grammar.lhs:38:3: warning: [GHC-38856] [-Wunused-imports] The import of ‘findIndices, groupBy, intersperse, nub, sortBy’ from module ‘Data.List’ is redundant | 38 | > import Data.List ( findIndices, groupBy, intersperse, nub, sortBy, zip4 ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 6 of 22] Compiling LALR ( src/LALR.lhs, dist/build/happy/happy-tmp/LALR.o ) src/LALR.lhs:248:9: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘(Int, [[(Name, Int)]], [Set Lr0Item])’ not matched: (_, [], _) (_, ((_:_):_), _) | 248 | > (_, ([]:intgotos), newNewSets) = | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/LALR.lhs:396:12: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ‘[((Int, Lr0Item), NameSet.IntSet)]’ not matched: [] | 396 | > map (\cs@(((a,b),_):_) -> (a,b,NameSet.unions $ map snd cs)) . | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/LALR.lhs:467:21: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 467 | > term_lim = (head terms,last terms) | ^^^^ [ 7 of 22] Compiling First ( src/First.lhs, dist/build/happy/happy-tmp/First.o ) [ 8 of 22] Compiling ParseMonad.Class ( src/ParseMonad/Class.hs, dist/build/happy/happy-tmp/ParseMonad/Class.o ) [ 9 of 22] Compiling Lexer ( src/Lexer.lhs, dist/build/happy/happy-tmp/Lexer.o ) [10 of 22] Compiling AttrGrammar ( src/AttrGrammar.lhs, dist/build/happy/happy-tmp/AttrGrammar.o ) [11 of 22] Compiling ParseMonad.Oracle ( src/ParseMonad/Oracle.hs, dist/build/happy/happy-tmp/ParseMonad/Oracle.o ) [12 of 22] Compiling ParseMonad ( src/ParseMonad.hs, dist/build/happy/happy-tmp/ParseMonad.o ) [13 of 22] Compiling Parser.Oracle ( src/Parser/Oracle.hs, dist/build/happy/happy-tmp/Parser/Oracle.o ) [14 of 22] Compiling Parser ( src/Parser.hs, dist/build/happy/happy-tmp/Parser.o ) [15 of 22] Compiling Paths_happy ( dist/build/happy/autogen/Paths_happy.hs, dist/build/happy/happy-tmp/Paths_happy.o ) [16 of 22] Compiling Info ( src/Info.lhs, dist/build/happy/happy-tmp/Info.o ) [17 of 22] Compiling PrettyGrammar ( src/PrettyGrammar.hs, dist/build/happy/happy-tmp/PrettyGrammar.o ) [18 of 22] Compiling ProduceGLRCode ( src/ProduceGLRCode.lhs, dist/build/happy/happy-tmp/ProduceGLRCode.o ) src/ProduceGLRCode.lhs:229:12: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘([String], [String])’ not matched: (_, []) | 229 | > = let (pre,_drop_me : post) = break (== "fakeimport DATA") $ lines lib_text | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/ProduceGLRCode.lhs:251:51: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 251 | > start_prod = token_names g ! (let (_,_,i,_) = head $ starts g in i) | ^^^^ src/ProduceGLRCode.lhs:357:26: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 357 | > mkReds rs = "[" ++ tail (concat [ "," ++ mkRed r | LR'Reduce r _ <- rs ]) ++ "]" | ^^^^ [19 of 22] Compiling Tabular ( src/Tabular.lhs, dist/build/happy/happy-tmp/Tabular.o ) [20 of 22] Compiling Target ( src/Target.lhs, dist/build/happy/happy-tmp/Target.o ) [21 of 22] Compiling ProduceCode ( src/ProduceCode.lhs, dist/build/happy/happy-tmp/ProduceCode.o ) src/ProduceCode.lhs:969:28: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 969 | > defaultAttr = fst (head attributes') | ^^^^ src/ProduceCode.lhs:1154:56: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1154 | > else fst (last acts'') - fst (head acts''), | ^^^^ src/ProduceCode.lhs:1158:24: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[(Int, LRAction)]’ not matched: [] [_] | 1158 | > let (err:_dummy:vec) = assocs acts | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/ProduceCode.lhs:1186:59: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 1186 | > else fst (last goto_vals) - fst (head goto_vals), | ^^^^ [22 of 22] Compiling Main ( src/Main.lhs, dist/build/happy/happy-tmp/Main.o ) src/Main.lhs:249:47: warning: [GHC-63394] [-Wx-partial] In the use of ‘head’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 249 | > big_name = toUpper (head name') : tail name' | ^^^^ src/Main.lhs:249:61: warning: [GHC-63394] [-Wx-partial] In the use of ‘tail’ (imported from Prelude, but defined in GHC.List): "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty." | 249 | > big_name = toUpper (head name') : tail name' | ^^^^ [23 of 23] Linking dist/build/happy/happy Preprocessing test suite 'tests' for happy-1.21.0.. Building test suite 'tests' for happy-1.21.0.. [1 of 1] Compiling Main ( test.hs, dist/build/tests/tests-tmp/Main.o ) [2 of 2] Linking dist/build/tests/tests Running 1 test suites... Test suite tests: RUNNING... Test suite tests: PASS Test suite logged to: dist/test/happy-1.21.0-tests.log 1 of 1 test suites (1 of 1 test cases) passed. >>> happy: Entering fakeroot... Installing executable happy in /home/buildozer/aports/community/happy/pkg/happy/usr/bin Warning: The directory /home/buildozer/aports/community/happy/pkg/happy/usr/bin is not in the system search path. >>> happy*: Running postcheck for happy >>> WARNING: happy*: Found /usr/share/doc but package name doesn't end with -doc >>> happy*: Preparing package happy... >>> happy*: Stripping binaries >>> happy*: Scanning shared objects >>> happy*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libffi.so.8 so:libgmp.so.10 >>> happy*: Package size: 3.1 MB >>> happy*: Compressing data... >>> happy*: Create checksum... >>> happy*: Create happy-1.21.0-r1.apk >>> happy: Build complete at Mon, 13 May 2024 06:32:06 +0000 elapsed time 0h 6m 59s >>> happy: Cleaning up srcdir >>> happy: Cleaning up pkgdir >>> happy: Uninstalling dependencies... (1/1) Purging .makedepends-happy (20240513.062523) OK: 1693 MiB in 123 packages >>> happy: Updating the community/x86_64 repository index... >>> happy: Signing the index...