Giter VIP home page Giter VIP logo

Comments (3)

blackgnezdo avatar blackgnezdo commented on June 5, 2024

I released most packages. I'm unsuccessful with proto-lens-protobuf-types where stack upload . complains (below). I don't see anything obviously wrong, so welcome suggestions.

WARNING: Ignoring Cabal's bounds on base (>=4.8 && <4.13); using base-4.14.3.0.
Reason: trusting snapshot over cabal file dependency information.
WARNING: Ignoring cabal-doctest's bounds on base (>=4.3 && <4.14); using base-4.14.3.0.
Reason: trusting snapshot over cabal file dependency information.
WARNING: Ignoring tagged's bounds on template-haskell (>=2.8 && <2.16); using template-haskell-2.16.0.0.
Reason: trusting snapshot over cabal file dependency information.
WARNING: Ignoring bifunctors's bounds on template-haskell (>=2.4 && <2.16); using template-haskell-2.16.0.0.
Reason: trusting snapshot over cabal file dependency information.
WARNING: Ignoring th-abstraction's bounds on template-haskell (>=2.5 && <2.16); using template-haskell-2.16.0.0.
Reason: trusting snapshot over cabal file dependency information.
WARNING: Ignoring vector's bounds on base (>=4.5 && <4.14); using base-4.14.3.0.
Reason: trusting snapshot over cabal file dependency information.
WARNING: Ignoring vector's bounds on ghc-prim (>=0.2 && <0.6); using ghc-prim-0.6.1.
Reason: trusting snapshot over cabal file dependency information.
WARNING: Ignoring exceptions's bounds on template-haskell (>=2.2 && <2.16); using template-haskell-2.16.0.0.
Reason: trusting snapshot over cabal file dependency information.

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for primitive-0.6.4.0:
    base-4.14.3.0 from stack configuration does not match >=4.5 && <4.13  (latest matching version is 4.12.0.0)
    ghc-prim-0.6.1 from stack configuration does not match >=0.2 && <0.6  (latest matching version is 0.5.3)
needed due to proto-lens-setup-0.4.0.5 -> primitive-0.6.4.0

Some different approaches to resolving this:

  * Set 'allow-newer: true' in ~/.stack/config.yaml to ignore all version constraints and build anyway.

  * Build requires unattainable version of base. Since base is a part of GHC, you most likely need to use a different GHC version with the matching base.

Error building custom-setup dependencies: Plan construction failed.
Getting file list for proto-lens/proto-lens-protobuf-types/
Could not find custom-setup dep: Cabal
Could not find custom-setup dep: proto-lens-setup
proto-lens-protobuf-types> <command line>: cannot satisfy -package proto-lens-setup
proto-lens-protobuf-types>     (use -v for more information)

--  While building package proto-lens-protobuf-types-0.7.1.0 (scroll up to its section to see the error) using:
...

from proto-lens.

jchia avatar jchia commented on June 5, 2024

I've never used stack upload but since the errors mention old package versions that don't make sense, what about copying stack-9.0.yaml to stack.yaml, changing the resolver to nightly-2021-10-07 and then retrying the stack upload?

from proto-lens.

blackgnezdo avatar blackgnezdo commented on June 5, 2024

I used cabal upload instead.

from proto-lens.

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.