Code Monkey home page Code Monkey logo

Comments (6)

 avatar commented on July 18, 2024

Hi. I have tried to reproduce the problem, like this:

$ opam repo list
  30 [http]  coq-released     https://coq.inria.fr/opam/released
  20 [http]     default     https://opam.ocaml.org

$ opam install -v -j4 coq
$ opam install -v coq-aac-tactics.8.5.0
$ opam upgrade

but failed. For me, the above commands worked fine. So I am not sure what is wrong.

If you can, please post the output of the following commands:

$ opam repo list
$ cat ~/.opam/repo/coq-released/packages/coq-aac-tactics/coq-aac-tactics.8.5.0/opam
$ cat ~/.opam/repo/coq-released/packages/coq-aac-tactics/coq-aac-tactics.8.5.1/opam

from aac-tactics.

silene avatar silene commented on July 18, 2024

You should use opam lint to detect this kind of problems:

$ cd released/packages/coq-aac-tactics/coq-aac-tactics.8.5.1/
$ opam lint
[ERROR] At .../released/packages/coq-aac-tactics/coq-aac-tactics.8.5.1/opam:14:45:
  Not a recognised version-control URL
File format error

(opam 1.2.0)

from aac-tactics.

 avatar commented on July 18, 2024

The errors you guys mention are produced by opam installed as a Debian package, or by something you compiled yourselves?

In my context:

  • when I use opam 1.2 compiled from source, everything is fine (opam lint prints PASSES)
  • when I use opam 1.3 compiled from source, everything is fine (opam lint print PASSES)
  • when I use opam from master branch, I get a similar error that I can fix by replacing https by git+https.

That, however, does not fix your problem. When I try to use opam provided as a Debian package, I still get an error.

At the moment I am not sure what is the right thing to do.

from aac-tactics.

 avatar commented on July 18, 2024

Ok. I think I've figured out what to do. I've pushed appropriate commit (coq/opam@ab6abd2)

Let me please know if everything works on your side.

Thank you.

from aac-tactics.

silene avatar silene commented on July 18, 2024

It is easy to fix, just use the actual address of the repository rather than using a webpage: https://github.com/coq-contribs/aac-tactics.git. opam is actually right to complain since there is no way it can use the address currently in the opam file to perform a checkout.

from aac-tactics.

 avatar commented on July 18, 2024

Thanks. Done (coq/opam@408c36d).

from aac-tactics.

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.