From: Ethan A M. <sf...@us...> - 2018-09-07 19:19:56
|
Bug report #2069 describes a gnuplot failure that I believe I have traced to a bad (buggy) version of libconfig in the WIndows packages. Gnuplot bug tracker: https://sourceforge.net/p/gnuplot/bugs/2069/ libconfig bug reports elsewhere https://bugs.gentoo.org/650332 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895470 https://bugs.freedesktop.org/show_bug.cgi?id=105492 As I understand the upstream descriptions, libconfig version 2.13.0 incorrectly resets the locale to the system default. This overwrites whatever the program has set. In gnuplot's case this means that after a call to libconfig the working LC_NUMERIC environment is no longer "C". If the default environment uses comma rather than period for a decimal point, tbad things happen. So far as I can tell, this error is still present in the current git repository for libfontconfig, so you must downgrade (rather than upgrade) to get a working library. There is an item in the README for version 2.13.1 that says this has been fixed, but when I look at the source that doesn't seem to be true. I recall that there was discussion earlier this year about whether the fontconfig library and tools should be included in the Windows gnuplot packages. At the time there was no strong argument against including it. But if the current libconfig is not reliable, maybe the discussion should be re-opened? Ethan |
From: Tatsuro M. <tma...@ya...> - 2018-09-08 01:25:57
|
----- Original Message ----- > From: Ethan A Merritt via gnuplot-beta > To: gnuplot-beta > Cc: > Date: 2018/9/8, Sat 04:18 > Subject: libconfig problem in Windows binary packages > > Bug report #2069 describes a gnuplot failure that I believe I have traced to > a bad (buggy) version of libconfig in the WIndows packages. > > Gnuplot bug tracker: > https://sourceforge.net/p/gnuplot/bugs/2069/ > > libconfig bug reports elsewhere > https://bugs.gentoo.org/650332 > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895470 > https://bugs.freedesktop.org/show_bug.cgi?id=105492 > > As I understand the upstream descriptions, libconfig version 2.13.0 > incorrectly resets the locale to the system default. This overwrites > whatever the program has set. In gnuplot's case this means that > after a call to libconfig the working LC_NUMERIC environment is > no longer "C". If the default environment uses comma rather than > period for a decimal point, tbad things happen. > > So far as I can tell, this error is still present in the current git repository > for libfontconfig, so you must downgrade (rather than upgrade) to get > a working library. There is an item in the README for version 2.13.1 > that says this has been fixed, but when I look at the source that doesn't > seem to be true. > > I recall that there was discussion earlier this year about whether > the fontconfig library and tools should be included in the Windows > gnuplot packages. At the time there was no strong argument > against including it. But if the current libconfig is not reliable, > maybe the discussion should be re-opened? > > Ethan > I made reply to the bug #2069 before seeing this post In my enviroment, it works as expected. Perhaps it is environmetal dependent. At 5.2.4 build, I used dependency libraries distribiuted by Msys2. At that time version of libfonfconfig is 2.13.1. I have updated libraries on Msys2 system. Now Version of fontconfig is 2.13.1. I will re-packge windows binaries for 5.2.4 on this weekend. Tatsuro > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |
From: Tatsuro M. <tma...@ya...> - 2018-09-08 06:39:47
|
----- Original Message ----- > From: Tatsuro MATSUOKA > > To: Merritt Ethan < gnuplot-beta@t > Cc: > Date: 2018/9/8, Sat 10:25 > Subject: Re: libconfig problem in Windows binary packages > > ----- Original Message ----- > >> From: Ethan A Merritt via gnuplot-beta > >> To: gnuplot-beta >> Cc: >> Date: 2018/9/8, Sat 04:18 >> Subject: libconfig problem in Windows binary packages >> >> Bug report #2069 describes a gnuplot failure that I believe I have traced > to >> a bad (buggy) version of libconfig in the WIndows packages. >> >> Gnuplot bug tracker: >> https://sourceforge.net/p/gnuplot/bugs/2069/ >> >> libconfig bug reports elsewhere >> https://bugs.gentoo.org/650332 >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895470 >> https://bugs.freedesktop.org/show_bug.cgi?id=105492 >> >> As I understand the upstream descriptions, libconfig version 2.13.0 >> incorrectly resets the locale to the system default. This overwrites >> whatever the program has set. In gnuplot's case this means that >> after a call to libconfig the working LC_NUMERIC environment is >> no longer "C". If the default environment uses comma rather than >> period for a decimal point, tbad things happen. >> >> So far as I can tell, this error is still present in the current git > repository >> for libfontconfig, so you must downgrade (rather than upgrade) to get >> a working library. There is an item in the README for version 2.13.1 >> that says this has been fixed, but when I look at the source that > doesn't >> seem to be true. >> >> I recall that there was discussion earlier this year about whether >> the fontconfig library and tools should be included in the Windows >> gnuplot packages. At the time there was no strong argument >> against including it. But if the current libconfig is not reliable, >> maybe the discussion should be re-opened? >> >> Ethan >> > I made reply to the bug #2069 before seeing this post > > In my enviroment, it works as expected. > Perhaps it is environmetal dependent. > > At 5.2.4 build, I used dependency libraries distribiuted by Msys2. > At that time version of libfonfconfig is 2.13.1. > > > I have updated libraries on Msys2 system. > Now Version of fontconfig is 2.13.1. > > I will re-packge windows binaries for 5.2.4 on this weekend. > Done! Tatsuro |