Skip to content

'ats-pkg' build from source fails due to dodgy imports in 'shake-c' #15

@ghost

Description

Building 3.4.0.9 from tarball using cabal v2-build ats-pkg --happy-options='-gcsa' --alex-options='-g' fails with the following error:

[1 of 1] Compiling Development.Shake.C ( src/Development/Shake/C.hs, /atspkg-3.4.0.9/dist-newstyle/build/x86_64-linux/ghc-8.8.3/shake-c-0.4.3.0/opt/build/Development/Shake/C.o )

src/Development/Shake/C.hs:42:1: error: [-Wdodgy-imports, -Werror=dodgy-imports]
    Module ‘Development.Shake’ does not export ‘(*>)’
   |
42 | import           Development.Shake          hiding ((*>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Current work around is to add --ghc-options="-fno-warn-dodgy-imports"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions