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

[email protected]_py310: building using the --HEAD flag requires manual deletion of prior build directory #545

Open
ipatch opened this issue Jul 19, 2024 · 0 comments
Assignees

Comments

@ipatch
Copy link
Collaborator

ipatch commented Jul 19, 2024

using the below command to install freecad will fail on subsequent rebuilds.

brew install freecad/freecad/freecad --HEAD

error messages,

CMake Error: The source "/Volumes/STORAGE/ipatch/homebrew/tmp/freecadA0.21.2_py310-20240719-95443-gc4e7e/CMakeLists.txt" does not match the source "/Volumes/STORAGE/ipatch/homebrew/tmp/freecadA0.21.2_py310-20240716-34765-m2nw5n/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.
-- Cache values

and


Error: freecad/freecad/[email protected]_py310 HEAD-51789ae did not build
Logs:
     /Users/ipatch/Library/Logs/Homebrew/[email protected]_py310/00.options.out
     /Users/ipatch/Library/Logs/Homebrew/[email protected]_py310/01.cmake
     /Users/ipatch/Library/Logs/Homebrew/[email protected]_py310/CMakeCache.txt
     /Users/ipatch/Library/Logs/Homebrew/[email protected]_py310/_deps
Do not report this issue to Homebrew/brew or Homebrew/homebrew-core!

Do not report this issue: you are running in an unsupported configuration.

not entirely sure if this error is related to my particular homebrew setup. i do have the below environment variables setup specific for my homebrew installation on this particular box,

HOMEBREW_TEMP=/Volumes/STORAGE/ipatch/homebrew/tmp
HOMEBREW_CACHE=/Volumes/STORAGE/ipatch/homebrew/cache

the current workaround is to remove the offending folder / directory. ie.

rm -rf /Volumes/STORAGE/ipatch/homebrew/tmp/build
@ipatch ipatch self-assigned this Jul 19, 2024
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

No branches or pull requests

1 participant