>>> happy: Building community/happy 1.21.0-r1 (using abuild 3.13.0-r3) started Fri, 26 Apr 2024 19:53:10 +0000 >>> happy: Checking sanity of /home/buildozer/aports/community/happy/APKBUILD... >>> happy: Analyzing dependencies... >>> happy: Installing for build: build-base ghc libffi-dev (1/16) Installing libgmpxx (6.3.0-r0) (2/16) Installing gmp-dev (6.3.0-r0) (3/16) Installing linux-headers (6.6-r0) (4/16) Installing libffi (3.4.6-r0) (5/16) Installing libffi-dev (3.4.6-r0) (6/16) Installing libbz2 (1.0.8-r6) (7/16) Installing perl (5.38.2-r0) (8/16) Installing xz-libs (5.6.1-r3) (9/16) Installing libxml2 (2.12.6-r2) (10/16) Installing llvm15-libs (15.0.7-r13) (11/16) Installing llvm15 (15.0.7-r13) (12/16) Installing ghc (9.8.2-r1) Executing ghc-9.8.2-r1.post-install (13/16) Installing .makedepends-happy (20240426.195319) (14/16) Installing perl-error (0.17029-r2) (15/16) Installing perl-git (2.44.0-r2) (16/16) Installing git-perl (2.44.0-r2) Executing busybox-1.36.1-r26.trigger OK: 1850 MiB in 123 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/happy-1.21.0.tar.gz.part' happy-1.21.0.tar.gz. 97856 --:--:-- ETA happy-1.21.0.tar.gz. 100% |********************************| 169k 0:00:00 ETA '/var/cache/distfiles/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/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 >>> 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-aarch64.so.1 so:libffi.so.8 so:libgmp.so.10 >>> happy*: Package size: 3.3 MB >>> happy*: Compressing data... >>> happy*: Create checksum... >>> happy*: Create happy-1.21.0-r1.apk >>> happy: Build complete at Fri, 26 Apr 2024 19:53:39 +0000 elapsed time 0h 0m 29s >>> happy: Cleaning up srcdir >>> happy: Cleaning up pkgdir >>> happy: Uninstalling dependencies... (1/16) Purging .makedepends-happy (20240426.195319) (2/16) Purging ghc (9.8.2-r1) (3/16) Purging gmp-dev (6.3.0-r0) (4/16) Purging libgmpxx (6.3.0-r0) (5/16) Purging llvm15 (15.0.7-r13) (6/16) Purging libffi-dev (3.4.6-r0) (7/16) Purging linux-headers (6.6-r0) (8/16) Purging git-perl (2.44.0-r2) (9/16) Purging perl-git (2.44.0-r2) (10/16) Purging perl-error (0.17029-r2) (11/16) Purging perl (5.38.2-r0) (12/16) Purging libbz2 (1.0.8-r6) (13/16) Purging llvm15-libs (15.0.7-r13) (14/16) Purging libffi (3.4.6-r0) (15/16) Purging libxml2 (2.12.6-r2) (16/16) Purging xz-libs (5.6.1-r3) Executing busybox-1.36.1-r26.trigger OK: 473 MiB in 107 packages >>> happy: Updating the community/aarch64 repository index... >>> happy: Signing the index...