Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750206 - dev-haskell/abstract-deque-0.3 : Data/.../Class.hs: error:
Summary: dev-haskell/abstract-deque-0.3 : Data/.../Class.hs: error:
Status: RESOLVED FIXED
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: 2020-10-19 16:43 UTC by Toralf Förster
Modified: 2020-12-14 09:20 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.23 KB, text/plain)
2020-10-19 16:43 UTC, Toralf Förster
Details
dev-haskell:abstract-deque-0.3:20201019-000028.log (dev-haskell:abstract-deque-0.3:20201019-000028.log,8.42 KB, text/plain)
2020-10-19 16:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,283.70 KB, text/plain)
2020-10-19 16:43 UTC, Toralf Förster
Details
environment (environment,78.00 KB, text/plain)
2020-10-19 16:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,26.34 KB, application/x-bzip)
2020-10-19 16:43 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.01 KB, application/x-bzip)
2020-10-19 16:43 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 2020-10-19 16:43:28 UTC
Building library for abstract-deque-0.3..

Data/Concurrent/Deque/Class.hs:150:2: error:
     warning: #warning "Providing default binding and signature for newQ..." [-Wcpp]
      150 | #warning "Providing default binding and signature for newQ..."
          |  ^~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.47.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
3)	OpenJDK 8.265_p01 [openjdk-8]
*)	AdoptOpenJDK 8.265_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   jamvm 
  [3]   openjdk-8 
  [4]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Oct 18 10:06:37 PM UTC 2020
/var/db/repos/libressl	Sun Oct 18 04:35:14 PM UTC 2020

emerge -qpvO dev-haskell/abstract-deque
[ebuild  N    ] dev-haskell/abstract-deque-0.3  USE="usecas -doc -hscolour -profile"
Comment 1 Toralf Förster gentoo-dev 2020-10-19 16:43:29 UTC
Created attachment 667070 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-10-19 16:43:30 UTC
Created attachment 667073 [details]
dev-haskell:abstract-deque-0.3:20201019-000028.log
Comment 3 Toralf Förster gentoo-dev 2020-10-19 16:43:32 UTC
Created attachment 667076 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-10-19 16:43:34 UTC
Created attachment 667079 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-10-19 16:43:35 UTC
Created attachment 667082 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-10-19 16:43:36 UTC
Created attachment 667085 [details]
temp.tbz2
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2020-12-14 08:52:45 UTC
The failure is

"""
[;1mData/Concurrent/Deque/Reference.hs:30:1: [;1m[31merror:[0m[0m[;1m[0m[0m[;1m
    Could not find module ‘Data.CAS’
    Perhaps you meant
      Data.CSV (needs flag -package-key MissingH-1.4.3.0)
"""

due to USE=usecas. Reproduced locally.
Comment 8 Larry the Git Cow gentoo-dev 2020-12-14 09:20:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06572d76e2119c962282e71702902db1e0ba86fe

commit 06572d76e2119c962282e71702902db1e0ba86fe
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-12-14 09:20:21 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-12-14 09:20:56 +0000

    dev-haskell/abstract-deque: fix USE=usecas case
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/750206
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-haskell/abstract-deque/abstract-deque-0.3.ebuild         |  2 ++
 .../files/abstract-deque-0.3-atomic-primops.patch            | 12 ++++++++++++
 2 files changed, 14 insertions(+)