bugQuilt - Bugs: bug #19748, Argument list too long!

 
 

bug #19748: Argument list too long!

Submitted by:  Jan Engelhardt <hirogen2>
Submitted on:  Mon 30 Apr 2007 10:56:14 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 21 Nov 2007 03:14:49 PM UTC, comment #2:

Yup, fixed.

Jan Engelhardt <hirogen2>
Sat 08 Sep 2007 06:15:04 PM UTC, comment #1:

That's a rather funny bug. It's not really the file list that overflows the environment but the diffstat output, and this can be fixed by calling diffstat from within awk instead of passing it the diffstat. I have checked in a fix; see if it works for you.

Andreas Gruenbacher <agruen>
Project Administrator
Mon 30 Apr 2007 10:56:14 AM UTC, original submission:

This just happened to me...:

/usr/share/quilt/refresh: line 305: /bin/awk: Argument list too long

Steps to reproduce:

$ wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.21.tar.bz2
$ wget ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-04-28-05-06.tar.bz2
$ tar -xf linux-2.6.21.tar.bz2
$ tar -xf broken-out-2007-04-28-05-06.tar.bz2
$ cd broken-out
$ for i in `cat series`; do cat "$i" >>complete.diff; done;
$ echo "complete.diff" >series; done;
$ cd ../linux-2.6.21
$ ln -s ../broken-out patches;
$ quilt push
...Applied complete.diff...
$ quilt refresh --sort --no-index --diffstat
...Argument list too long...

The list is quite long:
$ lsdiff complete.diff | wc -c
326203 (YMMV)

xargs should be used, which can deal with breaking up long command lines properly.

Jan Engelhardt <hirogen2>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by agruen (Posted a comment)
  • -unavailable- added by hirogen2 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 08 Sep 2007 06:15:04 PM UTCagruenStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1