On 9 Aug 2025, at 19:04, Stéphane Glondu <[email protected]> wrote: > Control: tags -1 + patch > > On Fri, 1 May 2015 15:26:10 +0200 Harald Dunkel <[email protected]> wrote: >> Package: mg >> Version: 20150323-2 >> mg fails to build on kfreebsd and hurd due to PATH_MAX and >> LOGIN_NAME_MAX. Sample: >> [...] > As of today (version 20240709-1), mg still FTBFS on hurd-any. > > I had a look, and propose the attached patch. Although it adds a dependency > on libgc, I made the patch minimal. Hard-coded buffer length could be removed > in more places, but I'm waiting to see if there is interest in using libgc. > > With this patch, I can compile the mg package on hurd-amd64 and it seems to > work.
Why on earth do you need to pull in a whole garbage collector? Just call free before returning. Jessica

