pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/53578: xentools48 does not build



The following reply was made to PR pkg/53578; it has been noted by GNATS.

From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
To: Andreas Gustafsson <gson%gson.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/53578: xentools48 does not build
Date: Fri, 7 Sep 2018 15:25:29 +0200

 On Fri, Sep 07, 2018 at 03:48:25PM +0300, Andreas Gustafsson wrote:
 > Manuel,
 > 
 > I updated pkgsrc to CVS date 2018.09.06.14.10.59 and switched
 > WRKOBJDIR from tmpfs to ffs, but the xentools48 build still failed.
 > 
 > I have now tracked down the cause of the problem to a file descriptor
 > leak in Perl:
 > 
 >   https://rt.perl.org/Public/Bug/Display.html?id=133314
 > 
 > which is invoked from stubdom/Makefile:
 > 
 >        find $@ -type f | xargs perl -i.bak \
 >                 -pe 's/\b_(tzname|daylight|timezone)\b/$$1/g'
 > 
 > A possible fix would be to add perl commit
 > 3d5e9c119db6b727684fe75dfcfe5831c4351bec as a pkgsrc patch.
 > Alternatively, we could work around the issue by changing
 > "xargs" to "xargs -n 100" in the above Makefile fragment.
 > 
 > I bet the reason you were unable to reproduce the problem is either
 > that you are not running the most recent pkgsrc perl, or that you
 > have increased the limit on the number of open file descriptors from
 > the default.
 
 Indeed I'm still using the perl from 2018Q2.
 
 -- 
 Manuel Bouyer <bouyer%antioche.eu.org@localhost>
      NetBSD: 26 ans d'experience feront toujours la difference
 --
 


Home | Main Index | Thread Index | Old Index