bugfindutils - Bugs: bug #37093, /usr/bin/xargs: rm: Argument list...

 
 

bug #37093: /usr/bin/xargs: rm: Argument list too long during make distclean in cross chroot

Submitted by:  None
Submitted on:  Tue 14 Aug 2012 12:22:46 PM UTC  
 
Category: xargsSeverity: 3 - Normal
Item Group: Wrong resultStatus: None
Privacy: PublicAssigned to: None
Originator Name: David CullenOriginator Email: -unavailable-
Open/Closed: OpenRelease: None
Fixed Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sun 08 Dec 2013 09:12:49 PM UTC, comment #4:

Sorry about the delay in response; are you still able to reproduce this problem?

James Youngman <jay>
Project Administrator
Tue 14 Aug 2012 01:56:55 PM UTC, comment #3:

> What version of findutils did you experience this problem
> with?


> What arguments had been passed to configure when it was built?


I don't know.

> What is the output of
>
> xargs --show-limits true < /dev/null


> What is the output of "env | wc" in the environment in which
> xargs is run (i.e. from make - remember that some versions of
> make export a lot of environment variables)?


David Cullen <kerneldeveloper>
Tue 14 Aug 2012 01:36:11 PM UTC, comment #2:

What version of findutils did you experience this problem with? What arguments had been passed to configure when it was built? What is the output of

xargs --show-limits true < /dev/null

What is the output of "env | wc" in the environment in which xargs is run (i.e. from make - remember that some versions of make export a lot of environment variables)?

James Youngman <jay>
Project Administrator
Tue 14 Aug 2012 12:54:00 PM UTC, comment #1:

A bug report has also been filed on QEMU:

https://bugs.launchpad.net/qemu/+bug/1036645

David Cullen <kerneldeveloper>
Tue 14 Aug 2012 12:22:46 PM UTC, original submission:

I am building the Linux kernel in a cross chroot environment.
When I run "make distclean", the following messages are emitted:

[user@host:/home/work/linux]: make distclean
/usr/bin/xargs: rm: Argument list too long
make: *** [clean] Error 126

I create the cross chroot environment by making a copy of the root
file system from an ARM system. I copy qemu-arm-static to /usr/bin
and then chroot into the root file system.

If I modify the make file to pass "-s 122880" to xargs, it fixes
the problem.

Anonymous

 

(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 jay (Posted a comment)
  • -unavailable- added by kerneldeveloper (Posted a comment)
  • -unavailable- added by None (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):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup