hopenpgp-tools failed to build with hOpenPGP 2.8.2
Preprocessing executable 'hot' for hopenpgp-tools-0.22..
unused terminals: 2
shift/reduce conflicts: 12
Building executable 'hot' for hopenpgp-tools-0.22..
<no location info>: warning: [-Wmissing-home-modules]
These modules are needed for compilation but not listed in your .cabal file's other-modules:
Paths_hopenpgp_tools
[1 of 6] Compiling HOpenPGP.Tools.Armor ( HOpenPGP/Tools/Armor.hs, dist/build/hot/hot-tmp/HOpenPGP/Tools/Armor.dyn_o )
[2 of 6] Compiling HOpenPGP.Tools.Lexer ( dist/build/hot/hot-tmp/HOpenPGP/Tools/Lexer.hs, dist/build/hot/hot-tmp/HOpenPGP/Tools/Lexer.dyn_o )
[3 of 6] Compiling Paths_hopenpgp_tools ( dist/build/hot/autogen/Paths_hopenpgp_tools.hs, dist/build/hot/hot-tmp/Paths_hopenpgp_tools.dyn_o )
[4 of 6] Compiling HOpenPGP.Tools.Common ( HOpenPGP/Tools/Common.hs, dist/build/hot/hot-tmp/HOpenPGP/Tools/Common.dyn_o )
HOpenPGP/Tools/Common.hs:195:1: warning: [-Wincomplete-patterns]
Pattern match(es) are non-exhaustive
In an equation for ‘spGetSCT’:
Patterns not matched:
(PKESKPkt _ _ _ _)
(SKESKPkt _ _ _ _)
(OnePassSignaturePkt _ _ _ _ _ _)
(SecretKeyPkt _ _)
...
|
195 | spGetSCT (SignaturePkt s) = fmap fromIntegral (sigCT s)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[5 of 6] Compiling HOpenPGP.Tools.Parser ( dist/build/hot/hot-tmp/HOpenPGP/Tools/Parser.hs, dist/build/hot/hot-tmp/HOpenPGP/Tools/Parser.dyn_o )
[6 of 6] Compiling Main ( hot.hs, dist/build/hot/hot-tmp/Main.dyn_o )
hot.hs:136:41: error:
• Expecting two more arguments to ‘FilterPredicates’
Expected a type, but ‘FilterPredicates’ has kind ‘* -> * -> *’
• In the type signature:
parseExpressions :: FilteringOptions -> FilterPredicates
|
136 | parseExpressions :: FilteringOptions -> FilterPredicates
| ^^^^^^^^^^^^^^^^