Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 799386 - dev-haskell/lens-4.19.1 - src/.../TH.hs: error:
Summary: dev-haskell/lens-4.19.1 - src/.../TH.hs: 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:
Depends on:
Blocks:
 
Reported: 2021-06-30 19:45 UTC by Toralf Förster
Modified: 2021-07-25 08:13 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.74 KB, text/plain)
2021-06-30 19:45 UTC, Toralf Förster
Details
dev-haskell:lens-4.19.1:20210630-185821.log (dev-haskell:lens-4.19.1:20210630-185821.log,26.19 KB, text/plain)
2021-06-30 19:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,124.58 KB, text/plain)
2021-06-30 19:45 UTC, Toralf Förster
Details
environment (environment,81.13 KB, text/plain)
2021-06-30 19:45 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.40 KB, application/x-bzip)
2021-06-30 19:45 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.82 KB, application/x-bzip)
2021-06-30 19:45 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-06-30 19:45:16 UTC
[17 of 85] Compiling Control.Lens.Internal.TH ( src/Control/Lens/Internal/TH.hs, dist/build/Control/Lens/Internal/TH.o, dist/build/Control/Lens/Internal/TH.dyn_o )

src/Control/Lens/Internal/TH.hs:229:49: error:
    Variable not in scope:
      inlineSpecNoPhase :: Inline -> Bool -> Inline
    |
229 | inlinePragma methodName = [pragInlD methodName (inlineSpecNoPhase Inline False)]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-j3_abi32+64_test-20210627-122138

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

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.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit a51dbd0ff20d160070de44687340d4b0e13bbc58
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 30 17:52:02 2021 +0000

    2021-06-30 17:52:01 UTC

emerge -qpvO dev-haskell/lens
[ebuild  N    ] dev-haskell/lens-4.19.1  USE="hscolour inlining old-inline-pragmas test-doctests test-templates trustworthy -benchmark-uniplate -doc -dump-splices -j -profile -safe -test"
Comment 1 Toralf Förster gentoo-dev 2021-06-30 19:45:17 UTC
Created attachment 720402 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-30 19:45:18 UTC
Created attachment 720405 [details]
dev-haskell:lens-4.19.1:20210630-185821.log
Comment 3 Toralf Förster gentoo-dev 2021-06-30 19:45:20 UTC
Created attachment 720408 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-06-30 19:45:21 UTC
Created attachment 720411 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-06-30 19:45:23 UTC
Created attachment 720414 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-30 19:45:24 UTC
Created attachment 720417 [details]
temp.tar.bz2
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-25 08:10:13 UTC
`inlineSpecNoPhase` was recently removed from `template-haskell`. It's caused by --flags=old-inline-pragmas:

src/Control/Lens/Internal/TH.hs:229:49: error:
    Variable not in scope:
      inlineSpecNoPhase :: Inline -> Bool -> Inline
    |
229 | inlinePragma methodName = [pragInlD methodName (inlineSpecNoPhase Inline False)]
    |                                                 ^^^^^^^^^^^^^^^^^

We should neve enable it manually.
Comment 8 Larry the Git Cow gentoo-dev 2021-07-25 08:13:10 UTC
The bug has been closed via the following commit(s):

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

commit a0e5a1d41b2dc2738b1f38a73a79a523b4844ada
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-07-25 08:12:22 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-07-25 08:13:07 +0000

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

 dev-haskell/lens/Manifest              |  2 +
 dev-haskell/lens/lens-4.19.2-r2.ebuild | 88 ++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)