Hello Ypnose,

congratulations (in reality that is a plain «thank you») for
finding and reporting bugs of an increasing number of precious
tools i use permanently / daily!  

Ypnose <[email protected]> wrote:
 |Good evening steffen,

Huhu!

 |I tried to build s-nail as usual on Void Linux, but this time I had a
 |tiny "issue". If I enable ccache when building packages with XBPS_CCACHE
 |variable, I have the following error message in the config.log:

It definetely seems i'm not listening.

 |**********
 |*** checking if a hello world program can be built ... 
 |*** test program is
 |#include <stdio.h>
 |
 |int main(int argc, char *argv[])
 |{
 |   (void)argc;
 |   (void)argv;
 |   puts("hello world");
 |   return 0;
 |}
 |*** results are
 |make[1]: Entering directory '/builddir/s-nail-14.7.10'
 |/usr/lib/ccache/bin/clang  -o ___tmp1162 ___tmp1162.c 
 |ccache: error: Could not find compiler "clang" in PATH
 |config.mk:7: recipe for target '___tmp1162' failed
 |make[1]: *** [___tmp1162] Error 1
 |make[1]: Leaving directory '/builddir/s-nail-14.7.10'
 |*** no
 |
 |The default compiler is gcc and WANT_AUTOCC is equal to 0. This is not
 |critical, but it was working prior to 14.7.10 (didn't try 14.7.9). The
 |"hack" was to enable "CC=$CC" in make config[1].
 |Without XBPS_CCACHE, no errors.

..WELL.. i don't know.
But wait -- looking at the fix i actually have to say that we have
had similar problems, being that $MAKE didn't pass those variables
from the environment through that $MAKE sets itself, and $CC is
one of those, too.  So i've committed something, saying

    Let's see if that fixes Void Linux.  If not i think we either have
    to document this problem (as for UnixWare where you have to pass
    -e, but which has unfortunate side-effects) or even replace the
    entire build system by renaming mk-conf.sh to configure and using
    a "./configure && make && make install" cycle.

I hope this isn't necessary, .. let's see.
Thanks for reporting this -- and sorry for the inconvenience :-)

And all the best to you.

--steffen

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users

Reply via email to