Giter VIP home page Giter VIP logo

Comments (5)

hololeap avatar hololeap commented on May 23, 2024
  1. What ghc version are you using?
  2. Are you using packages from the haskell overlay or the main gentoo tree?
  3. Please provide relevant build.log
  4. What reason do you need to use old dev-haskell/cabal?

from gentoo-haskell.

Shirumipi avatar Shirumipi commented on May 23, 2024
  1. ghc version: 9.0.2-r4 (stable)
  2. The main Gentoo tree
  3. Build.log here: https://bpa.st/27IQ
  4. I don't know because it was pulled as a dependency ( I suppose) but I forgot which package brought it. By the way, I did not know that this cabal package was old.

from gentoo-haskell.

hololeap avatar hololeap commented on May 23, 2024

Thanks for the explanation. This bug tracker is for the ::haskell overlay which has newer versions of dev-haskell/cabal, but it's fine that you reported here.

It looks like you're using ghc-9.2.*, although it's hard to tell from the build log. If you were using ghc-9.0.2-r4, it should trigger CABAL_CORE_LIB_GHC_PV which skips building Cabal and just uses the version bundled with GHC.

CABAL_CORE_LIB_GHC_PV="9.0.2"

Also, I see that in your build log that it is using a newer version of Cabal which comes bundled with ghc-9.2, which is more evidence that you're using a newer version of GHC than you specified.

* Using cabal-3.6.3.0

The best way to know for sure is to run:

/usr/bin/ghc --info

from gentoo-haskell.

hololeap avatar hololeap commented on May 23, 2024

If you're using an ~arch version of GHC, I highly recommend adding all of dev-haskell/* to package.accept_keywords, as well as whatever "target" packages (e.g. pandoc, shellcheck) you plan on using:

echo 'dev-haskell/*' >> /etc/portage/package.accept_keywords/haskell
echo 'app-text/pandoc' >> /etc/portage/package.accept_keywords/haskell

(I recommend this in general because the stable versions are OLD)


Could not load module ‘Data.Array’
It is a member of the hidden package ‘array-0.5.4.0’.

This did actually uncover a bug, so thanks for reporting!

from gentoo-haskell.

Shirumipi avatar Shirumipi commented on May 23, 2024

Hi Hololeap,

Thanks a lot for your help!

In fact, as the stable version is bugged, I decided to merge the unstable one.
I will roll back to the next stable version.

Shiru

from gentoo-haskell.

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.