The cygwin people seemed to have removed the physical file (xlocale.h) from the cygwin distribution starting with version 3.1.1-1 https://cygwin.com/packages/summary/cygwin-devel.html. Because the include file is missing, sage build fails because the numpy module has an include of xlocale.h .
On Thursday, May 28, 2020 at 10:15:25 AM UTC-4, Dima Pasechnik wrote: > > you are right, I messed up the year. > Does it mean Cygwin people removed this change for some reason later on? > Weird. > > On Thu, 28 May 2020, 15:07 ilyub, <ilyub...@gmail.com <javascript:>> > wrote: > >> Sorry, unless I'm missing something - the links below are for changes >> committed in March 2017, and are not fixing the problem. I think the >> change we need is to include xlocale.h in the next Cygwin-devel package. >> Unless there was another change to Cygwin in March this year? >> >> On Thursday, May 28, 2020 at 3:35:39 AM UTC-4, Dima Pasechnik wrote: >>> >>> On Thu, May 28, 2020 at 1:56 AM ilyub <ilyub...@gmail.com> wrote: >>> > >>> > Yes please put it back, so it can build on latest cygwin >>> >>> It should be back in cygwin soon, see >>> >>> https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=90e35b1eb3df4070e68afc5e7060665214d586be >>> >>> https://sourceware.org/pipermail/cygwin-cvs/2017q1/013271.html >>> (Rename <sys/_locale.h> to <xlocale.h>) >>> >>> (it's not in cygwin 3.1.4-1, which was released in Feb 2020, whereas >>> that fix was committed in March) >>> I presume you can just patch your cygwin with it. >>> >>> >>> >>> >>> >>> >>> > >>> > On Wednesday, May 27, 2020 at 5:39:30 PM UTC-4, ilyub wrote: >>> >> >>> >> (Cygwin 64: cygwin-devel package version: 3.1.4-1 | SageMath version >>> 9.1, Release Date: 2020-05-20) >>> >> >>> >> Building Sage fails when compiling numpy with "fatal error: >>> xlocale.h: No such file or directory". >>> >> >>> >> I was able to complete the build after copying xlocale.h from the old >>> cgwyn-devel package (version 3.0.7-1 still contains it) to /usr/include/. >>> >> >>> >> Can an environment variable be set for build not to look for >>> xlocale.h and use locale.h instead? >>> > >>> > -- >>> > You received this message because you are subscribed to the Google >>> Groups "sage-support" group. >>> > To unsubscribe from this group and stop receiving emails from it, send >>> an email to sage-s...@googlegroups.com. >>> > To view this discussion on the web visit >>> https://groups.google.com/d/msgid/sage-support/3f45394e-5cd8-47db-a958-93ce8287c64b%40googlegroups.com. >>> >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "sage-support" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to sage-s...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-support/2229b43f-a558-4fda-b813-123ca3670b2e%40googlegroups.com >> >> <https://groups.google.com/d/msgid/sage-support/2229b43f-a558-4fda-b813-123ca3670b2e%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/4554f37d-e02c-4734-a394-47393e5843a0%40googlegroups.com.