>>> happy: Building community/happy 1.21.0-r2 (using abuild 3.13.0-r5) started Fri, 04 Oct 2024 07:07:45 +0000 >>> happy: Checking sanity of /home/buildozer/aports/community/happy/APKBUILD... >>> happy: Analyzing dependencies... >>> happy: Installing for build: build-base ghc libffi-dev (1/14) Installing libgmpxx (6.3.0-r2) (2/14) Installing gmp-dev (6.3.0-r2) (3/14) Installing linux-headers (6.6-r0) (4/14) Installing libffi (3.4.6-r0) (5/14) Installing libffi-dev (3.4.6-r0) (6/14) Installing perl (5.40.0-r2) (7/14) Installing libxml2 (2.12.8-r0) (8/14) Installing llvm15-libs (15.0.7-r13) (9/14) Installing llvm15 (15.0.7-r13) (10/14) Installing ghc (9.8.2-r1) Executing ghc-9.8.2-r1.post-install (11/14) Installing .makedepends-happy (20241004.070746) (12/14) Installing perl-error (0.17029-r2) (13/14) Installing perl-git (2.46.2-r0) (14/14) Installing git-perl (2.46.2-r0) Executing busybox-1.36.1-r32.trigger OK: 1632 MiB in 127 packages >>> happy: Cleaning up srcdir >>> happy: Cleaning up pkgdir >>> happy: Cleaning up tmpdir >>> happy: Fetching https://distfiles.alpinelinux.org/distfiles/edge/happy-1.21.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> happy: Fetching https://hackage.haskell.org/package/happy-1.21.0/happy-1.21.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 169k 100 169k 0 0 2259k 0 --:--:-- --:--:-- --:--:-- 2289k >>> happy: Fetching https://distfiles.alpinelinux.org/distfiles/edge/happy-1.21.0.tar.gz >>> happy: Checking sha512sums... happy-1.21.0.tar.gz: OK >>> happy: Unpacking /var/cache/distfiles/edge/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-doc*: Running split function doc... >>> happy-doc*: Preparing subpackage happy-doc... >>> happy-doc*: Running postcheck for happy-doc >>> happy*: Running postcheck for happy >>> happy*: Preparing package happy... >>> happy*: Stripping binaries >>> happy-doc*: Scanning shared objects >>> happy*: Scanning shared objects >>> happy-doc*: Tracing dependencies... >>> happy-doc*: Package size: 24.0 KB >>> happy-doc*: Compressing data... >>> happy-doc*: Create checksum... >>> happy-doc*: Create happy-doc-1.21.0-r2.apk >>> 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-r2.apk >>> happy: Build complete at Fri, 04 Oct 2024 07:12:59 +0000 elapsed time 0h 5m 14s >>> happy: Cleaning up srcdir >>> happy: Cleaning up pkgdir >>> happy: Uninstalling dependencies... (1/14) Purging .makedepends-happy (20241004.070746) (2/14) Purging ghc (9.8.2-r1) (3/14) Purging gmp-dev (6.3.0-r2) (4/14) Purging libgmpxx (6.3.0-r2) (5/14) Purging llvm15 (15.0.7-r13) (6/14) Purging libffi-dev (3.4.6-r0) (7/14) Purging linux-headers (6.6-r0) (8/14) Purging git-perl (2.46.2-r0) (9/14) Purging perl-git (2.46.2-r0) (10/14) Purging perl-error (0.17029-r2) (11/14) Purging perl (5.40.0-r2) (12/14) Purging llvm15-libs (15.0.7-r13) (13/14) Purging libffi (3.4.6-r0) (14/14) Purging libxml2 (2.12.8-r0) Executing busybox-1.36.1-r32.trigger OK: 410 MiB in 113 packages >>> happy: Updating the community/x86_64 repository index... >>> happy: Signing the index...