>>> Building on exopi-3 under devel/happy BDEPENDS = [devel/gmake;lang/ghc;converters/libiconv;devel/cabal-install;devel/gmp;devel/libffi] DIST = [devel/happy:hackage/happy-2.1.7.tar.gz;devel/happy:hackage/happy-lib-2.1.7.tar.gz] FULLPKGNAME = happy-2.1.7 RDEPENDS = [devel/libffi;devel/gmp;converters/libiconv] (Junk lock obtained for exopi-3 at 1767957197.80) >>> Running depends in devel/happy at 1767957197.84 last junk was in textproc/py-yaml /usr/sbin/pkg_add -aI -Drepair cabal-install-3.14.1.1 ghc-9.8.3p1 gmp-6.3.0p0 libffi-3.5.2 libiconv-1.17 was: /usr/sbin/pkg_add -aI -Drepair cabal-install-3.14.1.1 ghc-9.8.3p1 gmake-4.4.1p0 gmp-6.3.0p0 libffi-3.5.2 libiconv-1.17 /usr/sbin/pkg_add -aI -Drepair cabal-install-3.14.1.1 ghc-9.8.3p1 gmp-6.3.0p0 libffi-3.5.2 libiconv-1.17 >>> Running show-prepare-results in devel/happy at 1767957247.19 ===> devel/happy ===> Building from scratch happy-2.1.7 ===> happy-2.1.7 depends on: cabal-install->=3.12.0.0 -> cabal-install-3.14.1.1 ===> happy-2.1.7 depends on: ghc->=9.8.3 -> ghc-9.8.3p1 ===> happy-2.1.7 depends on: gmake-* -> gmake-4.4.1p0 ===> happy-2.1.7 depends on: libiconv-* -> libiconv-1.17 ===> happy-2.1.7 depends on: gmp-* -> gmp-6.3.0p0 ===> happy-2.1.7 depends on: libffi-* -> libffi-3.5.2 ===> Verifying specs: c ffi gmp iconv m pthread ===> found c.102.2 ffi.2.4 gmp.11.1 iconv.7.1 m.10.1 pthread.28.1 cabal-install-3.14.1.1 ghc-9.8.3p1 gmake-4.4.1p0 gmp-6.3.0p0 libffi-3.5.2 libiconv-1.17 Don't run junk because nojunk in graphics/py-pivy (Junk lock released for exopi-3 at 1767957248.93) distfiles size=156250 >>> Running build in devel/happy at 1767957248.96 ===> devel/happy ===> Checking files for happy-2.1.7 `/exopi-cvs/ports/distfiles/hackage/happy-2.1.7.tar.gz' is up to date. `/exopi-cvs/ports/distfiles/hackage/happy-lib-2.1.7.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for happy-2.1.7 ===> Patching for happy-2.1.7 ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for happy-2.1.7 ===> Configuring for happy-2.1.7 ===> Building for happy-2.1.7 Configuration is affected by the following files: - cabal.project.local Warning: No remote package servers have been specified. Usually you would have one specified in the config file. Resolving dependencies... Build profile: -w ghc-9.8.3 -O1 In order, the following will be built (use -v for more details): - happy-lib-2.1.7 (lib:grammar) (first run) - happy-lib-2.1.7 (lib:tabular) (first run) - happy-lib-2.1.7 (lib:frontend) (first run) - happy-lib-2.1.7 (lib:backend-lalr) (first run) - happy-lib-2.1.7 (lib:backend-glr) (first run) - happy-lib-2.1.7 (lib) (first run) - happy-2.1.7 (exe:happy) (first run) Configuring library 'grammar' for happy-lib-2.1.7... Preprocessing library 'grammar' for happy-lib-2.1.7... Building library 'grammar' for happy-lib-2.1.7... [1 of 2] Compiling Happy.Grammar.ExpressionWithHole ( grammar/src/Happy/Grammar/ExpressionWithHole.hs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/grammar/build/grammar/Happy/Grammar/ExpressionWithHole.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/grammar/build/grammar/Happy/Grammar/ExpressionWithHole.dyn_o ) [2 of 2] Compiling Happy.Grammar ( grammar/src/Happy/Grammar.lhs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/grammar/build/grammar/Happy/Grammar.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/grammar/build/grammar/Happy/Grammar.dyn_o ) Configuring library 'tabular' for happy-lib-2.1.7... Preprocessing library 'tabular' for happy-lib-2.1.7... Building library 'tabular' for happy-lib-2.1.7... [1 of 6] Compiling Happy.Tabular.NameSet ( tabular/src/Happy/Tabular/NameSet.hs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/tabular/build/tabular/Happy/Tabular/NameSet.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/tabular/build/tabular/Happy/Tabular/NameSet.dyn_o ) [2 of 6] Compiling Happy.Tabular.First ( tabular/src/Happy/Tabular/First.lhs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/tabular/build/tabular/Happy/Tabular/First.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/tabular/build/tabular/Happy/Tabular/First.dyn_o ) [3 of 6] Compiling Happy.Tabular.LALR ( tabular/src/Happy/Tabular/LALR.lhs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/tabular/build/tabular/Happy/Tabular/LALR.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/tabular/build/tabular/Happy/Tabular/LALR.dyn_o ) tabular/src/Happy/Tabular/LALR.lhs:517: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." | 517 | > term_lim = (head terms,last terms) | ^^^^ [4 of 6] Compiling Happy.Tabular.Info ( tabular/src/Happy/Tabular/Info.lhs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/tabular/build/tabular/Happy/Tabular/Info.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/tabular/build/tabular/Happy/Tabular/Info.dyn_o ) [5 of 6] Compiling Happy.Tabular ( tabular/src/Happy/Tabular.lhs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/tabular/build/tabular/Happy/Tabular.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/tabular/build/tabular/Happy/Tabular.dyn_o ) [6 of 6] Compiling Paths_happy_lib ( /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/tabular/build/tabular/autogen/Paths_happy_lib.hs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/tabular/build/tabular/Paths_happy_lib.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/tabular/build/tabular/Paths_happy_lib.dyn_o ) Configuring library 'frontend' for happy-lib-2.1.7... Preprocessing library 'frontend' for happy-lib-2.1.7... Building library 'frontend' for happy-lib-2.1.7... [ 1 of 13] Compiling Happy.Frontend.AbsSyn ( frontend/src/Happy/Frontend/AbsSyn.lhs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/AbsSyn.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/AbsSyn.dyn_o ) [ 2 of 13] Compiling Happy.Frontend.Mangler.Monad ( frontend/src/Happy/Frontend/Mangler/Monad.lhs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/Mangler/Monad.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/Mangler/Monad.dyn_o ) [ 3 of 13] Compiling Happy.Frontend.ParamRules ( frontend/src/Happy/Frontend/ParamRules.hs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/ParamRules.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/ParamRules.dyn_o ) [ 4 of 13] Compiling Happy.Frontend.ParseMonad.Class ( frontend/src/Happy/Frontend/ParseMonad/Class.hs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/ParseMonad/Class.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/ParseMonad/Class.dyn_o ) [ 5 of 13] Compiling Happy.Frontend.ParseMonad ( frontend/src/Happy/Frontend/ParseMonad.hs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/ParseMonad.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/ParseMonad.dyn_o ) [ 6 of 13] Compiling Happy.Frontend.Lexer ( frontend/src/Happy/Frontend/Lexer.lhs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/Lexer.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/Lexer.dyn_o ) [ 7 of 13] Compiling Happy.Frontend.AttrGrammar ( frontend/src/Happy/Frontend/AttrGrammar.lhs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/AttrGrammar.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/AttrGrammar.dyn_o ) [ 8 of 13] Compiling Happy.Frontend.AttrGrammar.Parser ( frontend/src/Happy/Frontend/AttrGrammar/Parser.hs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/AttrGrammar/Parser.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/AttrGrammar/Parser.dyn_o ) [ 9 of 13] Compiling Happy.Frontend.AttrGrammar.Mangler ( frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/AttrGrammar/Mangler.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/AttrGrammar/Mangler.dyn_o ) frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:42:32: 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." | 42 | > defaultAttr = head attrNames | ^^^^ frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:106:54: 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." | 106 | > (fst $ head l,[snd $ head l]) | ^^^^ frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:106:68: 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." | 106 | > (fst $ head l,[snd $ head l]) | ^^^^ frontend/src/Happy/Frontend/AttrGrammar/Mangler.lhs:107:48: 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." | 107 | > (tail l) ) . | ^^^^ [10 of 13] Compiling Happy.Frontend.Mangler ( frontend/src/Happy/Frontend/Mangler.lhs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/Mangler.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/Mangler.dyn_o ) [11 of 13] Compiling Happy.Frontend.Parser ( frontend/src/Happy/Frontend/Parser.hs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/Parser.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/Parser.dyn_o ) [12 of 13] Compiling Happy.Frontend ( frontend/src/Happy/Frontend.hs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend.dyn_o ) [13 of 13] Compiling Happy.Frontend.PrettyGrammar ( frontend/src/Happy/Frontend/PrettyGrammar.hs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/PrettyGrammar.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/frontend/build/frontend/Happy/Frontend/PrettyGrammar.dyn_o ) Configuring library 'backend-lalr' for happy-lib-2.1.7... Preprocessing library 'backend-lalr' for happy-lib-2.1.7... Building library 'backend-lalr' for happy-lib-2.1.7... [1 of 2] Compiling Happy.Backend.LALR ( backend-lalr/src/Happy/Backend/LALR.hs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/backend-lalr/build/backend-lalr/Happy/Backend/LALR.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/backend-lalr/build/backend-lalr/Happy/Backend/LALR.dyn_o ) backend-lalr/src/Happy/Backend/LALR.hs:14:29: 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." | 14 | big_name = toUpper (head name') : tail name' | ^^^^ backend-lalr/src/Happy/Backend/LALR.hs:14:43: 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." | 14 | big_name = toUpper (head name') : tail name' | ^^^^ [2 of 2] Compiling Happy.Backend.LALR.ProduceCode ( backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/backend-lalr/build/backend-lalr/Happy/Backend/LALR/ProduceCode.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/backend-lalr/build/backend-lalr/Happy/Backend/LALR/ProduceCode.dyn_o ) backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs:779: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." | 779 | > defaultAttr = fst (head $ attributes ag) | ^^^^ backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs:973: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." | 973 | > else fst (last acts'') - fst (head acts''), | ^^^^ backend-lalr/src/Happy/Backend/LALR/ProduceCode.lhs:1007: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." | 1007 | > else fst (last goto_vals) - fst (head goto_vals), | ^^^^ Configuring library 'backend-glr' for happy-lib-2.1.7... Preprocessing library 'backend-glr' for happy-lib-2.1.7... Building library 'backend-glr' for happy-lib-2.1.7... [1 of 2] Compiling Happy.Backend.GLR ( backend-glr/src/Happy/Backend/GLR.hs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/backend-glr/build/backend-glr/Happy/Backend/GLR.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/backend-glr/build/backend-glr/Happy/Backend/GLR.dyn_o ) [2 of 2] Compiling Happy.Backend.GLR.ProduceCode ( backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/backend-glr/build/backend-glr/Happy/Backend/GLR/ProduceCode.o, /exopi-obj/pobj/happy-2.1.7/happy-2.1.7/dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-lib-2.1.7/l/backend-glr/build/backend-glr/Happy/Backend/GLR/ProduceCode.dyn_o ) backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:227: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." | 227 | > start_prod = token_names g ! (let (_,_,i,_) = head $ starts g in i) | ^^^^ backend-glr/src/Happy/Backend/GLR/ProduceCode.lhs:332: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." | 332 | > mkReds rs = "[" ++ tail (concat [ "," ++ mkRed r | LR'Reduce r _ <- rs ]) ++ "]" | ^^^^ Configuring library for happy-lib-2.1.7... Preprocessing library for happy-lib-2.1.7... Building library for happy-lib-2.1.7... Configuring executable 'happy' for happy-2.1.7... Preprocessing executable 'happy' for happy-2.1.7... Building executable 'happy' for happy-2.1.7... [1 of 2] Compiling Paths_happy ( dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-2.1.7/x/happy/build/happy/autogen/Paths_happy.hs, dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-2.1.7/x/happy/build/happy/happy-tmp/Paths_happy.o ) [2 of 2] Compiling Main ( app/Main.lhs, dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-2.1.7/x/happy/build/happy/happy-tmp/Main.o ) [3 of 3] Linking dist-newstyle/build/x86_64-openbsd/ghc-9.8.3/happy-2.1.7/x/happy/build/happy/happy ld.lld: warning: EventLogWriter.c(EventLogWriter.o:(initEventLogFileWriter) in archive /usr/local/lib/ghc-9.8.3/lib/../lib/x86_64-openbsd-ghc-9.8.3/rts-1.0.2/libHSrts-1.0.2.a): warning: strcpy() is almost always misused, please use strlcpy() ld.lld: warning: EventLogWriter.c(EventLogWriter.o:(initEventLogFileWriter) in archive /usr/local/lib/ghc-9.8.3/lib/../lib/x86_64-openbsd-ghc-9.8.3/rts-1.0.2/libHSrts-1.0.2.a): warning: sprintf() is often misused, please use snprintf() >>> Running package in devel/happy at 1767957325.77 ===> devel/happy ===> Faking installation for happy-2.1.7 ===> Building package for happy-2.1.7 Create /exopi-cvs/ports/packages/amd64/all/happy-2.1.7.tgz Creating package happy-2.1.7 reading plist| checking dependencies| checking dependencies|converters/libiconv checking dependencies|devel/gmp,-main checking dependencies|devel/libffi checksumming| checksumming| | 0% checksumming|** | 4% checksumming|***** | 8% checksumming|******* | 12% checksumming|********* | 15% checksumming|************ | 19% checksumming|************** | 23% checksumming|**************** | 27% checksumming|******************* | 31% checksumming|********************* | 35% checksumming|*********************** | 38% checksumming|************************** | 42% checksumming|**************************** | 46% checksumming|******************************* | 50% checksumming|********************************* | 54% checksumming|*********************************** | 58% checksumming|************************************** | 62% checksumming|**************************************** | 65% checksumming|****************************************** | 69% checksumming|********************************************* | 73% checksumming|*********************************************** | 77% checksumming|************************************************* | 81% checksumming|**************************************************** | 85% checksumming|****************************************************** | 88% checksumming|******************************************************** | 92% checksumming|*********************************************************** | 96% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|****************************************** | 66% archiving|*************************************************************** | 99% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/happy-2.1.7.tgz >>> Running clean in devel/happy at 1767957338.42 ===> devel/happy ===> Cleaning for happy-2.1.7 >>> Ended at 1767957338.70 max_stuck=43.48/depends=49.36/show-prepare-results=1.76/build=76.82/package=12.65/clean=0.31