[1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/cairo-0.13.8.1-r1/work/cairo-0.13.8.1/Setup.hs, /var/tmp/portage/dev-haskell/cairo-0.13.8.1-r1/work/cairo-0.13.8.1/Setup.o ) /var/tmp/portage/dev-haskell/cairo-0.13.8.1-r1/work/cairo-0.13.8.1/Setup.hs:8:29: error: • Couldn't match expected type ‘Distribution.Simple.UserHooks.UserHooks’ with actual type ‘Cabal-3.2.1.0:Distribution.Simple.UserHooks.UserHooks’ NB: ‘Cabal-3.2.1.0:Distribution.Simple.UserHooks.UserHooks’ is defined in ‘Distribution.Simple.UserHooks’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-j3-20210622-144814 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.9.5 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.53.0 * The following VMs are available for generation-2: 1) JamVM JDK 2.0.0 [jamvm] *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] jamvm [2] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit f1d0affc74180d249299f853590f7f7f0fba4ebb Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Jun 28 14:07:07 2021 +0000 2021-06-28 14:07:06 UTC emerge -qpvO dev-haskell/cairo [ebuild N ] dev-haskell/cairo-0.13.8.1-r1 USE="pdf postscript svg -doc -hscolour -profile"
Created attachment 719793 [details] emerge-info.txt
Created attachment 719796 [details] dev-haskell:cairo-0.13.8.1-r1:20210628-145605.log
Created attachment 719799 [details] emerge-history.txt
Created attachment 719802 [details] environment
Created attachment 719805 [details] etc.portage.tar.bz2
Created attachment 719808 [details] temp.tar.bz2
> * Using cabal-3.0.1.0. > * Prepending /usr/lib64/ghc-8.10.4 to LD_LIBRARY_PATH > /usr/bin/ghc -package Cabal-3.0.1.0 --make /var/tmp/portage/dev-haskell/cairo-0.13.8.1-r1/work/cairo-0.13.8.1/Setup.hs -j3 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup > [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/cairo-0.13.8.1-r1/work/cairo-0.13.8.1/Setup.hs, /var/tmp/portage/dev-haskell/cairo-0.13.8.1-r1/work/cairo-0.13.8.1/Setup.o ) > > /var/tmp/portage/dev-haskell/cairo-0.13.8.1-r1/work/cairo-0.13.8.1/Setup.hs:8:29: error: > • Couldn't match expected type ‘Distribution.Simple.UserHooks.UserHooks’ > with actual type ‘Cabal-3.2.1.0:Distribution.Simple.UserHooks.UserHooks’ > NB: ‘Cabal-3.2.1.0:Distribution.Simple.UserHooks.UserHooks’ > is defined in ‘Distribution.Simple.UserHooks’ > in package ‘Cabal-3.2.1.0’ > ‘Distribution.Simple.UserHooks.UserHooks’ > is defined in ‘Distribution.Simple.UserHooks’ > in package ‘Cabal-3.0.1.0’ That's a bit strange: dev-haskell/gtk2hs-buildtools is built against most recent-3.2.1.0, but current ebuild pulls in older Cabal. That happens because something causes downgrade: > 2021-06-23T08:07:34 >>> dev-haskell/cabal-3.2.1.0-r1 ... > 2021-06-24T20:34:26 >>> dev-haskell/cabal-3.0.1.0 ... > 2021-06-27T12:15:56 >>> dev-haskell/gtk2hs-buildtools-0.13.8.0-r1 Are these binpkgs by chance?
(In reply to Sergei Trofimovich from comment #7) > Are these binpkgs by chance? No, at the tinderbox I do not build bin packages (I just emerge them ofc).
Aha, this one pulls outdated cabal in: 2021-06-24T20:40:12 >>> dev-haskell/hdbc-postgresql-2.3.2.7 We need to update it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f568c992ec0db6b55df2256a1875986c51d266a3 commit f568c992ec0db6b55df2256a1875986c51d266a3 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-07-25 08:33:01 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-07-25 08:33:01 +0000 dev-haskell/hdbc-postgresql: bump up to 2.5.0.0 Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/799077 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-haskell/hdbc-postgresql/Manifest | 1 + .../hdbc-postgresql/hdbc-postgresql-2.5.0.0.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+)
*** Bug 776637 has been marked as a duplicate of this bug. ***