Closed winfreddy88 closed 1 year ago
Please see https://github.com/wolfcw/libfaketime/blob/df8a04559743c9de6fbad0e8279ee69ea09b914c/README.OSX#L141-L153 , as this is the most likely cause.
The error you get is just a warning (treated as error, you may want to remote -Werror from the Makefile). Which macOS and gcc version does this happen on? However, this is not related to the built libfaketime.dylib not working.
Many thanks, indeed that seems to be the case. Sorry for the noise! And thank you for the great tool, it is immensely helpful. :-)
I hit some porblems on macOS.
The first time I ran
make
in the test directory, all was ok, but strangely on subsequent runs I am getting this:Other than that, I'm not able to get it running:UPDATE: it seems that it doesn't work with/bin/date
, but it does work with other tools, such asgit
,gpg
, etc. So maybe/bin/date
on macOS has some protections built in.The file
/Users/winfreddy88/git/libfaketime/src/libfaketime.1.dylib
exists and seems to have been built successfully (zero exit code).