Skip to contentSkip to conversation

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

Qemu-devel David Cullen 2 participants 2 messages Aug 14, 2012 – Jan 10, 2013

lore
Share & tools
lore
#0 lore raw

Public bug reported:

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.

I have filed a bug report on xargs:

    http://savannah.gnu.org/bugs/index.php?37093

** Affects: qemu
Importance: Undecided
Status: New

Signature · 32 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1036645

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

Status in QEMU:
  New

Bug description:
  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. 

  I have filed a bug report on xargs:

      http://savannah.gnu.org/bugs/index.php?37093

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1036645/+subscriptions
#1 lore raw

I see this with Ubuntu 12.04 inside of an armhf chroot. Running 'make deb-pkg' also exposes this issue

** Project changed: qemu => qemu-linaro (Ubuntu)

Signature · 32 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1036645

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

Status in “qemu-linaro” package in Ubuntu:
  New

Bug description:
  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. 

  I have filed a bug report on xargs:

      http://savannah.gnu.org/bugs/index.php?37093

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-linaro/+bug/1036645/+subscriptions