Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673012 - dev-haskell/semigroupoids-5.1 : src/.../Class.hs:43:1: error:
Summary: dev-haskell/semigroupoids-5.1 : src/.../Class.hs:43:1: error:
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-12-12 14:50 UTC by Toralf Förster
Modified: 2022-08-10 03:35 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.94 KB, text/plain)
2018-12-12 14:50 UTC, Toralf Förster
Details
dev-haskell:semigroupoids-5.1:20181212-140142.log (dev-haskell:semigroupoids-5.1:20181212-140142.log,6.36 KB, text/plain)
2018-12-12 14:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,152.84 KB, text/plain)
2018-12-12 14:50 UTC, Toralf Förster
Details
environment (environment,102.04 KB, text/plain)
2018-12-12 14:50 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.84 KB, application/x-bzip)
2018-12-12 14:50 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.38 KB, application/x-bzip)
2018-12-12 14:50 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 2018-12-12 14:50:30 UTC
[ 2 of 21] Compiling Data.Semigroup.Foldable.Class ( src/Data/Semigroup/Foldable/Class.hs, dist/build/Data/Semigroup/Foldable/Class.o )

src/Data/Semigroup/Foldable/Class.hs:43:1: error:
    Failed to load interface for ‘Data.Tagged’
    It is a member of the hidden package ‘tagged-0.8.4’.
    Perhaps you need to add ‘tagged’ to the build-depends in your .cabal file.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_20181209-105723

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby24 (with Rubygems)
  [3]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.31.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.9.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO dev-haskell/semigroupoids
[ebuild  N    ] dev-haskell/semigroupoids-5.1  USE="comonad containers contravariant distributive -doc -hscolour -profile -tagged -test"
Comment 1 Toralf Förster gentoo-dev 2018-12-12 14:50:32 UTC
Created attachment 557660 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-12-12 14:50:35 UTC
Created attachment 557662 [details]
dev-haskell:semigroupoids-5.1:20181212-140142.log
Comment 3 Toralf Förster gentoo-dev 2018-12-12 14:50:38 UTC
Created attachment 557664 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-12-12 14:50:41 UTC
Created attachment 557666 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-12-12 14:50:43 UTC
Created attachment 557668 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-12-12 14:50:46 UTC
Created attachment 557670 [details]
temp.tbz2
Comment 7 Jaak Ristioja 2022-08-06 07:37:59 UTC
I ran into a similar error, but with USE="-*". The ebuild seems to have a number of flags whose descriptions state are described as follows:

$ grep -E ^dev-haskell/semigroupoids: profiles/use.local.desc | cut -d : -f 2-
comonad - You can disable the use of the `comonad` package using `-f-comonad`. Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. If disabled we will not supply instances of `Comonad`
containers - You can disable the use of the `containers` package using `-f-containers`. Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
contravariant - You can disable the use of the `contravariant` package using `-f-contravariant`. Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. If disabled we will not supply instances of `Contravariant`
distributive - You can disable the use of the `distributive` package using `-f-distributive`. Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. If disabled we will not supply instances of `Distributive`
tagged - You can disable the use of the `tagged` package using `-f-tagged`. Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
unordered-containers - Enable the use of the `unordered-containers` package (and also its dependency `hashable`). Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.

If such configurations are unsupported, wouldn't it make sense to mask these USE-flags so that things don't break for regular users and expert users can still unmask these manually?
Comment 8 Larry the Git Cow gentoo-dev 2022-08-10 03:35:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f1a28fcce77f408d69df56d35d6ec0014775524

commit 0f1a28fcce77f408d69df56d35d6ec0014775524
Author:     Jack Todaro <solpeth@posteo.org>
AuthorDate: 2022-08-07 02:02:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-10 03:34:45 +0000

    dev-haskell/semigroupoids: hard-enable all USE flags
    
    Closes: https://bugs.gentoo.org/673012
    Signed-off-by: Jack Todaro <solpeth@posteo.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../semigroupoids/semigroupoids-5.3.7-r1.ebuild    | 43 ++++++++++++++++++++++
 1 file changed, 43 insertions(+)