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)) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-j4-20220725-070016 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.1.1 * clang/llvm (if any): clang version 14.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.6 Python 3.10.5 Available Rust versions: [1] rust-bin-1.62.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] 4) Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm [4] openjdk-jre-bin-17 The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli: HEAD of ::gentoo commit fe0fe7a7a5cb352d2505d74e59401d58d7b99a0e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Jul 31 01:46:46 2022 +0000 2022-07-31 01:46:45 UTC emerge -qpvO dev-haskell/pantry [ebuild N ] dev-haskell/pantry-0.5.4 USE="profile -doc -hscolour"
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(-)