Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install silently installs nothing when IGNORECOMPCERTVERSION=true is passed and the versions mismatch #706

Closed
JasonGross opened this issue Aug 22, 2023 · 0 comments · Fixed by #708

Comments

@JasonGross
Copy link
Contributor

VST/Makefile

Line 671 in 2888663

INSTALL_FILES_SRC=$(shell COMPCERT=$(COMPCERT) COMPCERT_INST_DIR=$(COMPCERT_INST_DIR) ZLIST=$(ZLIST) BITSIZE=$(BITSIZE) ARCH=$(ARCH) IGNORECOQVERSION=$(IGNORECOQVERSION) MAKE=$(MAKE) util/calc_install_files $(PROGSDIR))

invokes util/calc_install_files without setting IGNORECOMPCERTVERSON, and the makefile contains no export IGNORECOMPCERTVERSION, so
${MAKE} depend >& /dev/null
is run without passing along IGNORECOMPCERTVERSION, and the result is an error message like

Makefile:131: *** COMPCERT VERSION MISMATCH: COMPCERT_VERSION=version=3.12 but /home/jgross/.local64/coq/coq-master/lib/coq/user-contrib/compcert/VERSION=version=3.14.  Stop.

which isn't displayed due to >& /dev/null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant