Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation issue as per latest commits in ubuntu #743

Closed
3v1n0 opened this issue Nov 3, 2021 · 1 comment
Closed

Compilation issue as per latest commits in ubuntu #743

3v1n0 opened this issue Nov 3, 2021 · 1 comment

Comments

@3v1n0
Copy link

3v1n0 commented Nov 3, 2021

Failed to install cabal-dependency-licenses-0.2.0.1.1
Build log ( /root/.cabal/logs/ghc-8.6.5/cabal-dependency-licenses-0.2.0.1.1-KlrRJR0Y0fvC0fhyNt0kbp.log ):
cabal: Entering directory '.'
Configuring cabal-dependency-licenses-0.2.0.1.1...
Preprocessing executable 'cabal-dependency-licenses' for cabal-dependency-licenses-0.2.0.1.1..
Building executable 'cabal-dependency-licenses' for cabal-dependency-licenses-0.2.0.1.1..
[1 of 1] Compiling Main             ( src/Main.hs, dist/build/cabal-dependency-licenses/cabal-dependency-licenses-tmp/Main.o )

src/Main.hs:166:44: error:
    • Couldn't match type ‘[Char]’ with ‘ShortText.ShortText’
      Expected type: ShortText.ShortText
        Actual type: String
    • In the second argument of ‘($)’, namely ‘getSynopsis ipi’
      In the expression: fromShortText $ getSynopsis ipi
      In an equation for ‘synopsis’:
          synopsis = fromShortText $ getSynopsis ipi
    |
166 |             let synopsis = fromShortText $ getSynopsis ipi
    |                                            ^^^^^^^^^^^^^^^

src/Main.hs:167:48: error:
    • Couldn't match type ‘[Char]’ with ‘ShortText.ShortText’
      Expected type: ShortText.ShortText
        Actual type: String
    • In the second argument of ‘($)’, namely
        ‘InstalledPackageInfo.copyright ipi’
      In the expression:
        fromShortText $ InstalledPackageInfo.copyright ipi
      In an equation for ‘copyrightStr’:
          copyrightStr = fromShortText $ InstalledPackageInfo.copyright ipi
    |
167 |                 copyrightStr = fromShortText $ InstalledPackageInfo.copyright ipi
    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '.'
Failed to run 'override-build': Exit code was 1.
Build failed
Traceback (most recent call last):

Full log at: https://launchpadlibrarian.net/564593068/buildlog_snap_ubuntu_focal_arm64_279b0e735120506b0844c87d4c17d6a7_BUILDING.txt.gz

@jtdaugherty
Copy link
Member

Thanks for the report. I've moved this to matterhorn-chat/cabal-dependency-licenses#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants