pkgsrc-Bulk archive

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

Re: use of ls in mk/bulk/post-build




To: Jan Schaumann <jschauma%netmeister.org@localhost>

Subject: Re: use of ls in mk/bulk/post-build

From: Todd Vierling <tv%duh.org@localhost>

Date: Thu, 21 Apr 2005 16:14:31 -0400 (EDT)


On Mon, 11 Apr 2005, Jan Schaumann wrote:

> In rev 1.49 of  pkgsrc/mk/bulk/post-build, you committed

Sorry I haven't gotten back to you on this yet....

> -chdir($USR_PKGSRC);
> -system("find . -name $BROKENFILE -print -o -name $BROKENWRKLOG -print | 
> $GTAR -T - -plcf - | (cd $FTP; $GTAR -plxf -)");
> +chdir($vars{USR_PKGSRC});
> +my_system("/bin/ls -1 $vars{BROKENFILE} $vars{BROKENWRKLOG} 
> */*/$vars{BROKENFILE} */*/$vars{BROKENWRKLOG} 2>/dev/null | $vars{GTAR} -T - 
> -plcf - | (cd $vars{FTP}; $vars{GTAR} -plxf -)");
>
> On some systems, this now leads to too many arguments to ls(1),
> subsequently producing an empty bulk-log.  What was wrong with using
> find(1)?

NFS slowness, for a nfs-mounted pkgsrc.

Hm.  This is ugly.  I suppose it can go back to find, but I may try to find
a new way to do this in the future.

-- 
-- Todd Vierling <tv%duh.org@localhost> <tv%pobox.com@localhost> 
<todd%vierling.name@localhost>



Follow-Ups:

Re: use of ls in mk/bulk/post-build
From: Jan Schaumann


References:

use of ls in mk/bulk/post-build
From: Jan Schaumann




Prev by Date: Re: pkgsrc Linux 2.4.20/i386 bulk build results 2005-04-16

Next by Date: Re: pkgsrc NetBSD 3.0_BETA/x86_64 bulk build results 2005-04-20

Previous by Thread: use of ls in mk/bulk/post-build

Next by Thread: Re: use of ls in mk/bulk/post-build

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index