Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908687 - dev-haskell/yaml-0.11.10.0 fails to build after updating to dev-lang/ghc-9.2.8
Summary: dev-haskell/yaml-0.11.10.0 fails to build after updating to dev-lang/ghc-9.2.8
Status: UNCONFIRMED
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: 2023-06-17 14:56 UTC by Timo Ollech
Modified: 2023-06-19 11:12 UTC (History)
2 users (show)

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


Attachments
build log (build.log,11.33 KB, text/x-log)
2023-06-17 14:56 UTC, Timo Ollech
Details
emerge --info (emerge-info.txt,11.30 KB, text/plain)
2023-06-17 14:57 UTC, Timo Ollech
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Ollech 2023-06-17 14:56:17 UTC
Created attachment 864060 [details]
build log

After updating GHC from dev-lang/ghc-9.2.7-r1 to dev-lang/ghc-9.2.8 and rebuilding all Haskell packages, dev-haskell/yaml-0.11.10.0 fails to build with the following error:

[ 1 of 10] Compiling Data.Yaml.Internal ( src/Data/Yaml/Internal.hs, dist/build/Data/Yaml/Internal.o, dist/build/Data/Yaml/Internal.dyn_o )

src/Data/Yaml/Internal.hs:148:3: error:
    Ambiguous occurrence ‘AesonException’
    It could refer to
       either ‘Data.Aeson.AesonException’,
              imported from ‘Data.Aeson’ at src/Data/Yaml/Internal.hs:37:1-17
           or ‘Data.Yaml.Internal.AesonException’,
              defined at src/Data/Yaml/Internal.hs:98:23
    |
148 |   AesonException s -> "Aeson exception:\n" ++ s
    |   ^^^^^^^^^^^^^^

src/Data/Yaml/Internal.hs:366:26: error:
    Ambiguous occurrence ‘AesonException’
    It could refer to
       either ‘Data.Aeson.AesonException’,
              imported from ‘Data.Aeson’ at src/Data/Yaml/Internal.hs:37:1-17
           or ‘Data.Yaml.Internal.AesonException’,
              defined at src/Data/Yaml/Internal.hs:98:23
    |
366 |         Left e -> Left $ AesonException e
    |                          ^^^^^^^^^^^^^^

src/Data/Yaml/Internal.hs:374:26: error:
    Ambiguous occurrence ‘AesonException’
    It could refer to
       either ‘Data.Aeson.AesonException’,
              imported from ‘Data.Aeson’ at src/Data/Yaml/Internal.hs:37:1-17
           or ‘Data.Yaml.Internal.AesonException’,
              defined at src/Data/Yaml/Internal.hs:98:23
    |
374 |         Left e -> Left $ AesonException e
    |                          ^^^^^^^^^^^^^^
Comment 1 Timo Ollech 2023-06-17 14:57:03 UTC
Created attachment 864061 [details]
emerge --info
Comment 2 Timo Ollech 2023-06-19 11:12:13 UTC
dev-haskell/yaml-0.11.11.1 builds fine, this bug can be closed on my behalf.