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

 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.
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index