I am compiling some libraries on MacOSX Catalina with
ExternalProject_Add() and sometimes it fails with a similar to the below
problem with in-source compilations:
y4minput.c.o already exists, no checkout
y4minput.h already exists, no checkout
error: could not restore untracked files from stash
The stash entry is kept in case you need it again.
CMake Error at
/Users/gga/code/applications/mrv/external/BUILD/Darwin-19.4.0-64/Release/tmp/libvpx-prefix/tmp/libvpx-gitupdate.cmake:133
(message):
Failed to unstash changes in:
‘/Users/gga/code/applications/mrv/external/BUILD/Darwin-19.4.0-64/Release/tmp/libvpx-prefix/src/libvpx/’.
You will have to resolve the conflicts manually
Funny thing is that if I remove the whole prefix directory or run git
stash drop the problem goes away until it shows again in another of the
libraries I am compiling. I need help as I am trying to batch compile
a large number of libraries and this is preventing it.