Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 862492 - dev-haskell/pantry-0.5.4 - src/.../SQLite.hs: error:
Summary: dev-haskell/pantry-0.5.4 - src/.../SQLite.hs: error:
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-31 10:01 UTC by Toralf Förster
Modified: 2022-09-29 07:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.37 KB, text/plain)
2022-07-31 10:01 UTC, Toralf Förster
Details
dev-haskell:pantry-0.5.4:20220731-030621.log (dev-haskell:pantry-0.5.4:20220731-030621.log,18.04 KB, text/plain)
2022-07-31 10:01 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,80.28 KB, application/x-bzip)
2022-07-31 10:01 UTC, Toralf Förster
Details
environment (environment,80.27 KB, text/plain)
2022-07-31 10:01 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,25.77 KB, application/x-bzip)
2022-07-31 10:01 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.99 KB, application/x-bzip)
2022-07-31 10:01 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-07-31 10:01:50 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2022-07-31 10:01:51 UTC
Created attachment 796015 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-31 10:01:52 UTC
Created attachment 796018 [details]
dev-haskell:pantry-0.5.4:20220731-030621.log
Comment 3 Toralf Förster gentoo-dev 2022-07-31 10:01:53 UTC
Created attachment 796021 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-07-31 10:01:54 UTC
Created attachment 796024 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-07-31 10:01:55 UTC
Created attachment 796027 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-07-31 10:01:56 UTC
Created attachment 796030 [details]
temp.tar.bz2
Comment 7 Binary Runner 2022-08-09 16:28:32 UTC
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 )
Comment 8 Larry the Git Cow gentoo-dev 2022-09-29 07:55:42 UTC
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(-)