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

Bug 657408

Summary: dev-haskell/lens-4.14 : src/.../FieldTH.hs:619:28: error:
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-haskell:lens-4.14:20180605-152939.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-06-05 16:06:15 UTC
[52 of 81] Compiling Control.Lens.Internal.FieldTH ( src/Control/Lens/Internal/FieldTH.hs, dist/build/Control/Lens/Internal/FieldTH.o )

src/Control/Lens/Internal/FieldTH.hs:619:28: error:
    • Couldn't match type ‘RuleMatch -> Phases -> DecQ’ with ‘Q Dec’
      Expected type: DecQ
        Actual type: RuleMatch -> Phases -> DecQ

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_libressl-abi32+64_20180601-203204

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpv dev-haskell/lens
[ebuild  N    ] dev-haskell/lens-4.14  USE="inlining old-inline-pragmas test-doctests test-templates trustworthy -benchmark-uniplate -doc -dump-splices -hscolour -j -profile -safe {-test}"
Comment 1 Toralf Förster gentoo-dev 2018-06-05 16:06:18 UTC
Created attachment 534964 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-06-05 16:06:21 UTC
Created attachment 534966 [details]
dev-haskell:lens-4.14:20180605-152939.log
Comment 3 Toralf Förster gentoo-dev 2018-06-05 16:06:24 UTC
Created attachment 534968 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-06-05 16:06:27 UTC
Created attachment 534970 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-06-05 16:06:30 UTC
Created attachment 534972 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-06-05 16:06:33 UTC
Created attachment 534974 [details]
temp.tbz2
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2018-06-10 13:15:04 UTC
Posting slightly larger error context here (don't know yet why things fail. likely API change in the dependencies):


[52 of 81] Compiling Control.Lens.Internal.FieldTH ( src/Control/Lens/Internal/FieldTH.hs, dist/build/Control/Lens/Internal/FieldTH.o )

src/Control/Lens/Internal/FieldTH.hs:619:28: error:
    • Couldn't match type ‘RuleMatch -> Phases -> DecQ’ with ‘Q Dec’
      Expected type: DecQ
        Actual type: RuleMatch -> Phases -> DecQ
    • Probable cause: ‘pragInlD’ is applied to too few arguments
      In the expression:
        pragInlD methodName (inlineSpecNoPhase Inline False)
      In the expression:
        [pragInlD methodName (inlineSpecNoPhase Inline False)]
      In an equation for ‘inlinePragma’:
          inlinePragma methodName
            = [pragInlD methodName (inlineSpecNoPhase Inline False)]

src/Control/Lens/Internal/FieldTH.hs:619:49: error:
    Variable not in scope:
      inlineSpecNoPhase :: Inline -> Bool -> Inline