Coder Social home page Coder Social logo

Comments (5)

ckeller avatar ckeller commented on September 27, 2024 1

Hi @erikmd
I kept the image and indeed, doing docker pull coqorg/coq:dev before all works. Many thanks!

from bignums.

proux01 avatar proux01 commented on September 27, 2024

Strange the CI of Coq should prevent that and I just tested locally without issues.
Could you try an opam update and rebuild both Coq and bignums? (maybe something like opam reinstall coq-core.dev coq-stdlib.dev coq-bignums.dev)?

from bignums.

SkySkimmer avatar SkySkimmer commented on September 27, 2024

3-arguments GHole was removed in coq/coq#17220
so either your coq.dev version is not actually the latest, or some other install is getting used

from bignums.

ckeller avatar ckeller commented on September 27, 2024

Thanks for your replies!

Could you try an opam update and rebuild both Coq and bignums? (maybe something like opam reinstall coq-core.dev coq-stdlib.dev coq-bignums.dev)?

What is failing is doing opam update && opam upgrade on the docker image coqorg/coq:dev.
I tried this morning on another computer and it works. Maybe I was in a strange state with my containers on the other computer... Sorry for the noise.

from bignums.

erikmd avatar erikmd commented on September 27, 2024

Hi @ckeller !

I'm not 100% sure (only you could confirm if you kept the image) but I can explain what you observed if you used a coqorg/coq:dev image:

The coq version is pinned (opam pin list) to the SHA1 of coq.master at the time the images are rebuilt by docker-keeper.

Note that this is necessary because coq.master is rebuilt roughly 4 times in Docker-Coq (for 4 different ocaml versions) at slightly different times, so we want to avoid "race conditions" over there.

If you want to upgrade your image, I'd suggest doing
sudo docker pull coqorg/coq:dev
anew
and if you're not sure how to share a common directory between several containers, just use volumes or bind-mounts, using -v. E.g.,
sudo docker run -it -v "$PWD:$PWD" -w "$PWD" coqorg/coq:dev bash
You can also pass --rm if you want to make the container ephemeral.

from bignums.

Related Issues (19)

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.