Re: intermittent flaw in gnumake deps on Win32 ..
On Mon, 2012-04-02 at 22:12 +0200, Michael Stahl wrote: > Kendy told me on IRC that he has fixed the filter-showIncludes.pl on > master so that it writes to a temp file and when that is complete, moves > it over the target .d dep-file, which should hopefully prevent this kind > of problem in the future. Thanks Kendy & Michael :-) Michael. -- michael.me...@suse.com <><, Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: intermittent flaw in gnumake deps on Win32 ..
On 30/03/12 13:05, Matúš Kukan wrote: > On 30 March 2012 11:36, Michael Meeks wrote: >>Regina's problem comes down to a corrupt .d file. >> >>Any ideas how that could happen ? are these generated by a pipeline ? >> are we failing to delete them if a compile fails mid-flow ? > > They are generated by a pipeline: > $(CXX) ... | filter-showIncludes.pl ; exit > ${PIPESTATUS[0]} Kendy told me on IRC that he has fixed the filter-showIncludes.pl on master so that it writes to a temp file and when that is complete, moves it over the target .d dep-file, which should hopefully prevent this kind of problem in the future. i've just pushed that to libreoffice-3-5 as well. http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-3-5&id=9d8662264abfad3da87e1662abda4556333889f0 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: intermittent flaw in gnumake deps on Win32 ..
On Mon, 2012-04-02 at 13:32 -0400, Kevin Hunter wrote: > :-) No worries. I am often not sure whether to say "Hi" when responding > back and forth in email discussions on a list. Is it a "formal" > interaction? A friendly interaction? An engineer's "optimal" interaction? Hopefully friendly and informal :-) ATB, Michael. -- michael.me...@suse.com <><, Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: intermittent flaw in gnumake deps on Win32 ..
At 1:21pm -0400 Mon, 02 Apr 2012, Regina Henschel wrote: Should be "Hi Kevin". Please excuse. :-) No worries. I am often not sure whether to say "Hi" when responding back and forth in email discussions on a list. Is it a "formal" interaction? A friendly interaction? An engineer's "optimal" interaction? Regardless, "Hello." Kevin ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: intermittent flaw in gnumake deps on Win32 ..
Should be "Hi Kevin". Please excuse. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: intermittent flaw in gnumake deps on Win32 ..
Hi Kervin, Kevin Hunter schrieb: At 7:56am -0400 Fri, 30 Mar 2012, Christian Lohmaier wrote: On Fri, Mar 30, 2012 at 1:05 PM, Matúš Kukan wrote: On 30 March 2012 11:36, Michael Meeks wrote: Regina's problem comes down to a corrupt .d file. [...] One more data-point, that file was exactly 4096 bytes large: What does that mean ? Well - it is either a coincidence, or not.. A multiple of 1024 i.e exactly 4KB in size.. Perhaps dumb question: Is she out of space on that drive/partition? No, I'm not. There are about 149 GB free. Kind regards Regina ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: intermittent flaw in gnumake deps on Win32 ..
At 7:56am -0400 Fri, 30 Mar 2012, Christian Lohmaier wrote: On Fri, Mar 30, 2012 at 1:05 PM, Matúš Kukan wrote: On 30 March 2012 11:36, Michael Meeks wrote: Regina's problem comes down to a corrupt .d file. [...] One more data-point, that file was exactly 4096 bytes large: What does that mean ? Well - it is either a coincidence, or not.. A multiple of 1024 i.e exactly 4KB in size.. Perhaps dumb question: Is she out of space on that drive/partition? Kevin ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: intermittent flaw in gnumake deps on Win32 ..
On Fri, Mar 30, 2012 at 6:56 AM, Christian Lohmaier wrote: > On Fri, Mar 30, 2012 at 1:05 PM, Matúš Kukan wrote: >> On 30 March 2012 11:36, Michael Meeks wrote: >>> Regina's problem comes down to a corrupt .d file. >>> [...] >>> One more data-point, that file was exactly 4096 bytes large: >> >> What does that mean ? > > Well - it is either a coincidence, or not.. A multiple of 1024 i.e > exactly 4KB in size.. and 4K is the typical memory page, and the kidn of unit you would see for partial write. the final write to device. this behavior can be seen if you have a running process that write to a log and look at the log file while it is running the log will grow by 4K increment until you ffllush() of fclose() the file. So that what one would expect to see if the filter-showincludes.pl was interrupted abruptly. Norbert ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: intermittent flaw in gnumake deps on Win32 ..
On Fri, Mar 30, 2012 at 1:05 PM, Matúš Kukan wrote: > On 30 March 2012 11:36, Michael Meeks wrote: >> Regina's problem comes down to a corrupt .d file. >> [...] >> One more data-point, that file was exactly 4096 bytes large: > > What does that mean ? Well - it is either a coincidence, or not.. A multiple of 1024 i.e exactly 4KB in size.. ciao Christian ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: intermittent flaw in gnumake deps on Win32 ..
On 30 March 2012 11:36, Michael Meeks wrote: > Regina's problem comes down to a corrupt .d file. > > Any ideas how that could happen ? are these generated by a pipeline ? > are we failing to delete them if a compile fails mid-flow ? They are generated by a pipeline: $(CXX) ... | filter-showIncludes.pl ; exit ${PIPESTATUS[0]} > One more data-point, that file was exactly 4096 bytes large: What does that mean ? Best, Matúš ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: intermittent flaw in gnumake deps on Win32 ..
Hi Lubos, Lubos Lunak schrieb: On Friday 30 of March 2012, Michael Meeks wrote: Hi guys, Regina's problem comes down to a corrupt .d file. Any ideas how that could happen ? are these generated by a pipeline ? are we failing to delete them if a compile fails mid-flow ? Then again, Regina didn't abort the build manually, so the ctrl-c-in-mid-flow case is not at issue. Thoughts, Is the problem reproducible? And if yes, does using our own make from contrib help? I don't know if it's related, but I had the stock cygwin make generating broken .d files (although IIRC the problem was generating Windows paths rather than Unix paths). I'm using the LibreOffice patched version of GNU Make 3.82 already. Kind regards Regina ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: intermittent flaw in gnumake deps on Win32 ..
On Friday 30 of March 2012, Michael Meeks wrote: > Hi guys, > > Regina's problem comes down to a corrupt .d file. > > Any ideas how that could happen ? are these generated by a pipeline ? > are we failing to delete them if a compile fails mid-flow ? > > Then again, Regina didn't abort the build manually, so the > ctrl-c-in-mid-flow case is not at issue. > > Thoughts, Is the problem reproducible? And if yes, does using our own make from contrib help? I don't know if it's related, but I had the stock cygwin make generating broken .d files (although IIRC the problem was generating Windows paths rather than Unix paths). -- Lubos Lunak l.lu...@suse.cz ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: intermittent flaw in gnumake deps on Win32 ..
On Fri, 2012-03-30 at 10:36 +0100, Michael Meeks wrote: > Regina's problem comes down to a corrupt .d file. One more data-point, that file was exactly 4096 bytes large: > >/cygdrive/c/PROGRA~1/MICROS~1.0/VC/include/new \ > >/c [EOF] :-) Michael. -- michael.me...@suse.com <><, Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
intermittent flaw in gnumake deps on Win32 ..
Hi guys, Regina's problem comes down to a corrupt .d file. Any ideas how that could happen ? are these generated by a pipeline ? are we failing to delete them if a compile fails mid-flow ? Then again, Regina didn't abort the build manually, so the ctrl-c-in-mid-flow case is not at issue. Thoughts, Michael. On Fri, 2012-03-30 at 11:30 +0200, Regina Henschel wrote: > workdir/wntmsci12/Dep/CxxObject/extensions/source/propctrlr/browserlistbox.d > > looks bad, I see >/cygdrive/c/PROGRA~1/MICROS~1.0/VC/include/stdexcept \ >/cygdrive/c/PROGRA~1/MICROS~1.0/VC/include/exception \ >/cygdrive/c/PROGRA~1/MICROS~1.0/VC/include/xstddef \ >/cygdrive/c/PROGRA~1/MICROS~1.0/VC/include/cstddef \ >/cygdrive/c/PROGRA~1/MICROS~1.0/VC/include/eh.h \ >/cygdrive/c/PROGRA~1/MICROS~1.0/VC/include/malloc.h \ >/cygdrive/c/PROGRA~1/MICROS~1.0/VC/include/xstring \ >/cygdrive/c/PROGRA~1/MICROS~1.0/VC/include/xmemory \ >/cygdrive/c/PROGRA~1/MICROS~1.0/VC/include/new \ >/c > > workdir/wntmsci12/Dep/LinkTarget/Library/ipcr.lib.d > looks good, I see >/cygdrive/c/PROGRA~1/MICROS~1.0/VC/include/ymath.h \ >/cygdrive/c/PROGRA~1/MICROS~1.0/VC/include/cfloat \ >/cygdrive/c/PROGRA~1/MICROS~1.0/VC/include/cmath > > /cygdrive/c/git/LO36APR/solver/wntmsci12/inc/offapi/com/sun/star/xsd/WhiteSpaceTreatment.hdl: > > /cygdrive/c/git/LO36APR/solver/wntmsci12/inc/offapi/com/sun/star/xsd/WhiteSpaceTreatment.hpp: > > /cygdrive/c/git/lo36apr/extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx: -- michael.me...@suse.com <><, Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice