Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 804873

Summary: dev-haskell/linear-1.21.5 - Not in scope: int
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-haskell:linear-1.21.5:20210728-102610.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-07-28 11:36:49 UTC
src/Linear/V.hs:54:5: error:
    Not in scope: ‘int’
    Perhaps you meant one of these:
      ‘V.init’ (imported from Data.Vector),
      ‘U.init’ (imported from Data.Vector.Unboxed),
      ‘init’ (imported from Prelude)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j3-20210727-211048

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.6
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:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 513a6de59e013aeb758989cf6c3227c1fc9e9d89
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jul 28 09:36:55 2021 +0000

    2021-07-28 09:36:53 UTC

emerge -qpvO dev-haskell/linear
[ebuild  N    ] dev-haskell/linear-1.21.5  USE="-doc -hscolour -profile -test"
Comment 1 Toralf Förster gentoo-dev 2021-07-28 11:36:50 UTC
Created attachment 727509 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-28 11:36:51 UTC
Created attachment 727512 [details]
dev-haskell:linear-1.21.5:20210728-102610.log
Comment 3 Toralf Förster gentoo-dev 2021-07-28 11:36:52 UTC
Created attachment 727515 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-07-28 11:36:54 UTC
Created attachment 727518 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-07-28 11:36:55 UTC
Created attachment 727521 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-28 11:36:56 UTC
Created attachment 727524 [details]
temp.tar.bz2
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-29 16:40:58 UTC
Looks like `int` is only defined for `#if !(MIN_VERSION_reflection(1,3,0)) && defined(MIN_VERSION_template_haskell)`. We probably need slightly newer `reflection`.
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-30 22:05:21 UTC
Might be due to:

dev-haskell/reflection                   -template-haskell
Comment 9 Larry the Git Cow gentoo-dev 2021-07-30 22:11:31 UTC
The bug has been closed via the following commit(s):

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

commit ae8ed9f263c95c1d672d0a595a0aad8cedd2b2cb
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-07-30 22:10:54 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-07-30 22:11:28 +0000

    dev-haskell/reflection: bump up to 2.1.6
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/804873
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-haskell/reflection/Manifest                |  1 +
 dev-haskell/reflection/reflection-2.1.6.ebuild | 32 ++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)