<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 6, 2024 at 1:03 PM Andras Timar <<a href="mailto:timar74@gmail.com">timar74@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Ilmari,</div><div><br></div>Thanks for the info. Although I have Cygwin 3.4.10, I still have a problem with building help. <div>assertion "bc_ctl.arg_max >= LINE_MAX" failed: file "/mnt/c/Users/bwi/src/cygwin/findutils/findutils-4.9.0-1.x86_64/src/findutils-4.9.0/xargs/xargs.c", line 511, function: main<br></div><div>Has anyone seen this?</div><div><br></div><div>Thanks,</div><div>Andras</div></div></blockquote><div><br></div><div>Let me reply to myself, maybe it will be useful for someone. I use Windows Server 2022. I tried all variations of Cygwin and findutil versions. I even moved xargs.exe from a known working setup. The error was always the same as above. Finally I built xargs from source and added debug fprintf. When xargs was invoked from the command line, bc_ctl.arg_max was
<span style="color:rgb(63,67,80);font-family:"Open Sans",sans-serif;font-size:13.5px">24025</span>, when it was invoked from the build it was 1428 and assertion failed. I did not find a reason for this behaviour. I removed the assert from the code, and the build of <span style="color:rgb(63,67,80);font-family:"Open Sans",sans-serif;font-size:13.5px">LibreOffice help </span>succeeded with this modified xargs.exe.</div><div><br></div><div>Regards,</div><div>Andras</div></div></div>