Code Monkey home page Code Monkey logo

Comments (7)

samuelgruetter avatar samuelgruetter commented on July 19, 2024

I see two reasons why this could happen:

  1. There's a certain kind of files that make clean should delete but doesn't delete. If that's the case, do you know what kind of file?
  2. make -j4 schedules stuff before make depend has run and ignores dependencies. I sometimes got similar errors as you when building with -j on a clean repo and the fix was to run make depend && make -j4 instead.

from bedrock2.

andres-erbsen avatar andres-erbsen commented on July 19, 2024

I am pretty sure I tried without -j4 and saw the same behavior.

from bedrock2.

samuelgruetter avatar samuelgruetter commented on July 19, 2024

To get the list of files that make clean removes (minus .depend), I ran this command:

find . -type f \( -name '*.glob' -o -name '*.vo' -o -name '*.aux' \) | sed -e 's/^\.\///g' | sort > tmp_find.txt

To get the list of files that git clean -dxf removes, I ran this command:

git clean -dxf --dry-run | sed -e 's/Would remove //g' | sort > tmp_gitclean.txt

The diff between these two lists doesn't contain anything interesting on my machine.
Next time you clean and recompile, could you please test these and let me know if the diff contains something interesting?

from bedrock2.

andres-erbsen avatar andres-erbsen commented on July 19, 2024

Thanks, will do.

from bedrock2.

samuelgruetter avatar samuelgruetter commented on July 19, 2024

In another project, I have *.v.d files, maybe you have such files in your repo too? Did you use another coqdep than me? A difference between 8.7 and 8.8?

from bedrock2.

JasonGross avatar JasonGross commented on July 19, 2024

Reading the makefile, I don't see how this could possibly happen unless you had a merge conflict or other local change in src/ExprImp.v and did something like git reset --hard in addition to git clean.

from bedrock2.

andres-erbsen avatar andres-erbsen commented on July 19, 2024

I think I figured out what happened: I had a stale .depend from earlier and it was not getting updated.

from bedrock2.

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.