Summary: | dev-haskell/pantry-0.5.4 - src/.../SQLite.hs: error: | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jaak, rostislav.matl |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-haskell:pantry-0.5.4:20220731-030621.log emerge-history.txt.bz2 environment etc.portage.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
2022-07-31 10:01:50 UTC
Created attachment 796015 [details]
emerge-info.txt
Created attachment 796018 [details]
dev-haskell:pantry-0.5.4:20220731-030621.log
Created attachment 796021 [details]
emerge-history.txt.bz2
Created attachment 796024 [details]
environment
Created attachment 796027 [details]
etc.portage.tar.bz2
Created attachment 796030 [details]
temp.tar.bz2
I am seeing the same issue, having installed dev-haskell/persistent-sqlite-2.13.1.0 , dev-db/sqlite-3.39.2, dev-lang/ghc-9.0.2 . I do not know Haskell (trying to get environment to learn it) so I can only guess the problem is in pantry or between pantry and persistent-sqlite . [ 5 of 19] Compiling Pantry.Types ( src/Pantry/Types.hs, dist/build/Pantry/Types.o, dist/build/Pantry/Types.dyn_o ) src/Pantry/Types.hs:1136:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: CabalSpecV3_4 | 1136 | case cabalSpecLatest of | ^^^^^^^^^^^^^^^^^^^^^^^... [ 6 of 19] Compiling Pantry.SQLite ( src/Pantry/SQLite.hs, dist/build/Pantry/SQLite.o, dist/build/Pantry/SQLite.dyn_o ) src/Pantry/SQLite.hs:30:5: error: • Could not deduce (monad-logger-0.3.32:Control.Monad.Logger.MonadLoggerIO (RIO env)) arising from a use of ‘withSqliteConnInfo’ from the context: HasLogFunc env bound by the type signature for: initStorage :: forall env a. HasLogFunc env => Text -> Migration -> Path Abs File -> (Storage -> RIO env a) -> RIO env a at src/Pantry/SQLite.hs:(19,1)-(25,14) • In the first argument of ‘($)’, namely ‘withSqliteConnInfo (sqinfo True)’ In the second argument of ‘($)’, namely ‘withSqliteConnInfo (sqinfo True) $ runSqlConn $ runMigrationSilent migration’ In the second argument of ‘($)’, namely ‘wrapMigrationFailure $ withSqliteConnInfo (sqinfo True) $ runSqlConn $ runMigrationSilent migration’ | 30 | withSqliteConnInfo (sqinfo True) $ runSqlConn $ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 7 of 19] Compiling Pantry.HTTP ( src/Pantry/HTTP.hs, dist/build/Pantry/HTTP.o, dist/build/Pantry/HTTP.dyn_o ) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95b90857a141655f3b88dc91fb3c94e672d0093f commit 95b90857a141655f3b88dc91fb3c94e672d0093f Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-09-29 07:49:34 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-09-29 07:49:39 +0000 dev-haskell/pantry: Remove last-rited pkg Closes: https://bugs.gentoo.org/862492 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> dev-haskell/pantry/Manifest | 1 - dev-haskell/pantry/metadata.xml | 8 ---- dev-haskell/pantry/pantry-0.5.4.ebuild | 67 ---------------------------------- profiles/package.mask | 1 - 4 files changed, 77 deletions(-) |