GithubHelp home page GithubHelp logo

ghc 8.0.2 compat about mafia HOT 7 CLOSED

cartazio avatar cartazio commented on June 12, 2024
ghc 8.0.2 compat

from mafia.

Comments (7)

erikd avatar erikd commented on June 12, 2024

Once its bootstrapped it works mafia works fine with ghc-8.0.2. For instance, you can build mafia with ghc-7.10.3, copy the binary to ~/bin/ and it will then work as it should.

Reproduction with ghc-8.0.3:

  • Clean checkout
  • ./script/mafia upgrade
  • ./script/mafia build

from mafia.

erikd avatar erikd commented on June 12, 2024

I've tried bootstrapping this manually in a clean checkout by doing:

git submodule update --init

cabal sandbox init

cabal sandbox add-source lib/p
cabal sandbox add-source lib/twine
cabal sandbox add-source lib/x/x-eithert
cabal sandbox add-source lib/x/x-optparse
cabal sandbox add-source lib/x/x-exception
cabal sandbox add-source lib/disorder/disorder-core

cabal install --dependencies-only

and I get the same error.

from mafia.

erikd avatar erikd commented on June 12, 2024

If I add --force-reinstalls to that final cabal install command everything is fine and it should be safe because we're installing into a local sandbox anyway.

from mafia.

thumphries avatar thumphries commented on June 12, 2024

It builds fine using cabal install --dependencies-only --allow-newer.

Just need to poke some upper bounds.

from mafia.

erikd-ambiata avatar erikd-ambiata commented on June 12, 2024

It seems --allow-newer does fix that warning, but I can't figure out what dependency is causing cabal to want to re-install the ghc package.

Wait, no, --allow-newer makes all sorts of bad things happen, like x-optparse failing because it tries to build against optparse-applicative version 0.13.*.

from mafia.

HuwCampbell avatar HuwCampbell commented on June 12, 2024

Will push a 0.13.2 with process today.

from mafia.

erikd-ambiata avatar erikd-ambiata commented on June 12, 2024

@HuwCampbell Its process that's doing this (via optparse-applicative)?

from mafia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.