coq / platform

Multi platform setup for Coq, Coq libraries and tools
Creative Commons Zero v1.0 Universal
189 stars 50 forks source link

macOS MacPorts: z3 fails to build if MacPorts Python3 was not installed before #303

Open MSoegtropIMC opened 2 years ago

MSoegtropIMC commented 2 years ago

On a brand new Mac with only plain MacPorts (but no ports) installed, building z3 failed when compiling python code.

The issue is that:

Work around: Closing the shell from which coq_platform_make.sh was called, opening a new shell and trying again fixes this.

I guess one has to call hash -r at some point, likely after the depext run.

Note: this happened with zsh as default shell - I have not seen this with bash.

MSoegtropIMC commented 4 months ago

Triage note: @rtetley will test if the problem still persists.