Travis CI build has lots of warnings caused by makedepend
briansmith opened this issue · 2 comments
I think the problem is that makedepend does not know where to find all the system header files, especially when a non-default compiler (gcc-4.8, in this case) is used. Probably just need to pass in an appropriate value for INCLUDES
when invoking make -C $(OPENSSL_PREFIX) depend
.
The problem is that OpenSSL's configure script has this:
s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc eq "gcc";
But, our $(CC) is not "gcc", it is "gcc-4.8". This can probably be worked around by changing mk/openssl.mk to pass in an override for the MAKEDEPPROG variable in the "make depend" step.
I solved this by avoiding the need for make depend
. It is only needed if you disable some features of OpenSSL when configuring it. As long as no features are disabled, then we don't need to execute make depend
. It would be better to test against a minimized build of OpenSSL, but its make depend
is broken (AFAICT) except when CC=gcc.