Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 776637 - dev-haskell/glib-0.13.8.1 - /.../Setup.hs: error:
Summary: dev-haskell/glib-0.13.8.1 - /.../Setup.hs: error:
Status: RESOLVED DUPLICATE of bug 799077
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-16 08:25 UTC by Toralf Förster
Modified: 2021-07-27 09:14 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.78 KB, text/plain)
2021-03-16 08:25 UTC, Toralf Förster
Details
dev-haskell:glib-0.13.8.1:20210316-053424.log (dev-haskell:glib-0.13.8.1:20210316-053424.log,4.73 KB, text/plain)
2021-03-16 08:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,369.19 KB, text/plain)
2021-03-16 08:25 UTC, Toralf Förster
Details
environment (environment,78.85 KB, text/plain)
2021-03-16 08:25 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.27 KB, application/x-bzip)
2021-03-16 08:25 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,20.39 KB, application/x-bzip)
2021-03-16 08:25 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 2021-03-16 08:25:07 UTC
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/glib-0.13.8.1/work/glib-0.13.8.1/Setup.hs, /var/tmp/portage/dev-haskell/glib-0.13.8.1/work/glib-0.13.8.1/Setup.o )

/var/tmp/portage/dev-haskell/glib-0.13.8.1/work/glib-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’

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20210305-021532

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.50.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 15 22:52:58 UTC 2021

emerge -qpvO dev-haskell/glib
[ebuild   R   ] dev-haskell/glib-0.13.8.1  USE="closure-signals -doc -hscolour -profile"
Comment 1 Toralf Förster gentoo-dev 2021-03-16 08:25:08 UTC
Created attachment 691719 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-16 08:25:09 UTC
Created attachment 691722 [details]
dev-haskell:glib-0.13.8.1:20210316-053424.log
Comment 3 Toralf Förster gentoo-dev 2021-03-16 08:25:11 UTC
Created attachment 691725 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-03-16 08:25:12 UTC
Created attachment 691728 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-03-16 08:25:13 UTC
Created attachment 691731 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-16 08:25:15 UTC
Created attachment 691734 [details]
temp.tar.bz2
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-27 06:46:04 UTC
Something caused older (bundled with ghc) cabal to be used:

[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/glib-0.13.8.1/work/glib-0.13.8.1/Setup.hs, /var/tmp/portage/dev-haskell/glib-0.13.8.1/work/glib-0.13.8.1/Setup.o )

[;1m/var/tmp/portage/dev-haskell/glib-0.13.8.1/work/glib-0.13.8.1/Setup.hs:8:29: [;1m[31merror:[0m[0m[;1m[0m[0m[;1m
    • 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’
    • In the first argument of ‘defaultMainWithHooks’, namely
        ‘gtk2hsUserHooks’
      In the expression: defaultMainWithHooks gtk2hsUserHooks
      In an equation for ‘main’:
          main = defaultMainWithHooks gtk2hsUserHooks[0m[0m
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-27 09:14:21 UTC
Should be fixed by #799077 wehere old cabal-3.0 was removed and hdbc-postgresql updated to avoid pulling in outdated Cabal.

*** This bug has been marked as a duplicate of bug 799077 ***