pkgsrc-Users archive

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

Re: abysmal check-portability speed



On Mon, Sep 23, 2024 at 03:19:52PM +0100, Jonathan Perkin wrote:
> * On 2024-09-23 at 15:06 BST, Greg Troxel wrote:
> 
> > I am finding that on at least one of my machines,
> > 
> > Building qt5-qtwebengine-5.15.15 it is at
> > 
> > => Checking for portability problems in extracted files
> > 
> > from ps:
> > 
> >  5:23.52 /bin/sh /n0/gdt/pkgsrc-current/pkgsrc/mk/check/check-portability.sh
> > 
> > 
> > This is a 9th gen i7, and someone told me that check-portability takes
> > 1-2s ton their machine.
> > 
> > 
> > I do have WRKDIR in tmpfs, but tmpfs   seems to behave ok.
> > 
> > I of course have PKG_DEVELOPER set, and a few PKG_OPTIONS, but nothing
> > really odd.
> > 
> > As I dig in to checking various machines, etc., I'm just writing to ask
> > if anyone else is seeing this.
> 
> You might find this patch helps:
> 
>   https://github.com/TritonDataCenter/pkgsrc/commit/21aa3cb38903181f291ceb5ccb0245af12fe7a00

Why is not the "SunOs" case not the general case i.e. "sed 1q"? Is the
difference of time in exec'ing an utility vs builtin execution
overweighting the portability in this context?
-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index