Web lists-archives.com

RE: FW: [Mingw-msys] How do I recreate the MSYS distribution?




Dear all,

I have discovered a very serious bug in the make.exe which is packaged
in msys and I recommend people to replace it with latest version 3.81.

This was found out trying to compile Sundials CVODE library
http://www.llnl.gov/CASC/sundials/ using Cygwin/MingW/MSYS. I reported
the problem on their mailing-list. When trying to compile cvode-2.5.0,
make truncates the build paths, leading to cd failing to change
directory.

Ex:
> make[1]: Entering directory `/c/cvode-2.5.0/src/sundials'
> /bin/sh ../../libtool --mode=compile gcc  -I../../src 
> -I./../../include -c ./sundials_band.c gcc -I../../src 
> -I./../../include -c ./sundials_band.c -o sundials_band.o echo 
> timestamp > sundials_band.lo /bin/sh ../../libtool --mode=compile gcc

> -I../../src -I./../../include -c ./sundials_dense.c
> [...]
> gcc -I../../src -I./../../include -c ./sundials_sptfqmr.c -o 
> sundials_sptfqmr.o echo timestamp > sundials_sptfqmr.lo
> make[1]: Leaving directory `/c/cvode-2.5.0/src/sundials'
> /bin/sh: cd: /cygdrive/c/cvode-2.5.0: No such file or directory

Here make truncates /cygdrive/c/cvode-2.5.0 to /c/cvode-2.5.0 and stat
obviously fails.

After updating make to version 3.81 (downloading the one provided under
cygwin), this worked flawlessly.

I recommend MSYS packagers to release a new stable version with make
3.81 and drop make 3.79.1 completely. I see that 3.81 is in the
Technology Preview, but not in the "Current Release", which still has
3.79.1.

Thanks,
Eric

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys