Coder Social home page Coder Social logo

Comments (7)

wrengr avatar wrengr commented on July 16, 2024

Data.ByteString.Lex.Double was removed in version v0.5.

Taking a look at hedis, it looks like they've required bytestring-lexing>=0.5 since hedis-0.6.7; and hedis-0.6.7 should compile on GHC 7.6.3–8.2.2 (according to the version restrictions on base). Is there any particular reason you're needing to build such an old version of hedis?

from bytestring-lexing.

sjakobi avatar sjakobi commented on July 16, 2024

Actually I simply noticed the dependency failure at https://matrix.hackage.haskell.org/#/package/hedis, and wondered what it was. It would be nice to fix of course, but it doesn't seem particularly likely that other people will encounter it in their builds.

from bytestring-lexing.

sjakobi avatar sjakobi commented on July 16, 2024

I get similar errors with v0.3.0, v0.4.0, v0.4.2 and v0.4.3.

v0.4.3.1 seems to fix the issue by requiring alex >= 3.1.3 with GHC >= 7.8, and by removing Data/ByteString/Lex/Double.hs and Data/ByteString/Lex/Lazy/Double.hs: http://hdiff.luite.com/cgit/bytestring-lexing/diff?id=0.4.3.1&id2=0.4.3

Since Hackage revisions can't remove these files and also cannot add conditional constraints like the one used in v0.4.3.1, I guess the best that could be done is to constrain these versions to base < 4.7, i.e. GHC < 7.8. This may also remove some good build plans, such as those that were apparently used in the Hackage Matrix builds, but which I haven't been able to reproduce.

Please let me know if you would like these constraints to be added. Otherwise feel free to close the issue.

from bytestring-lexing.

wrengr avatar wrengr commented on July 16, 2024

Since hedis is the one failing rather than bytestring-lexing, wouldn't it make more sense to revise hedis rather than bytestring-lexing? It'd be a shame to cause bytestring-lexing 0.3.0–0.4.3.0 to fail on GHC 7.8–8.0 when it's currently succeeding... Or are these successes the ones you can't replicate? If so, I do still have GHC 7.10.1 and 8.0.2 installed, so I could try my hand at replicating it.

I don't know when/how the matrix runs are re-executed, but the bytestring-lexing metadata has been edited a number of times, so I wonder if that might be contributing to why bytestring-lexing succeeds on its own whereas fails in conjunction with hedis?

from bytestring-lexing.

sjakobi avatar sjakobi commented on July 16, 2024

@wrengr It's bytestring-lexing that fails to build. That's why Hackage Matrix reports the status as FAIL (deps) and not FAIL (pkg). For example, I expect that you could reproduce the failure with

cabal install bytestring-lexing-0.4.0 -w ghc-8.0.2

from bytestring-lexing.

wrengr avatar wrengr commented on July 16, 2024

D'oh, of course! Yeah, I guess, go ahead and add the constraint

from bytestring-lexing.

sjakobi avatar sjakobi commented on July 16, 2024

Actually I'm still too confused about the conditions under which the build fails to feel comfortable to make revisions in this case. We can revisit the issue if there's evidence that these build failures actually cause harm.

from bytestring-lexing.

Related Issues (13)

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.