Reproducible: Always Steps to Reproduce: 1. Emerge findutils, even durring building of bootstrap(bootstrap.sh) 2. 3. Actual Results: during bootup on a machine w/ more than 20 mb swap or more than 512 mb RAM you see xargs: environment is too large for exec Expected Results: normal bootup w/o error Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu x/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif gpm jpeg libg++ libw ww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts svga java X sdl tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon -O3 -pipe" CXXFLAGS="-march=athlon -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" No additional programs were running I fixed this bug using the steps described in that article I gave you... After emerging find utils, use Control + C to kill the emerge right after the source is unpacked. Find xargs.c in /var/tmp/portage/findutils-4.1.7/work/xargs comment out the lines discussed in the article save use the standard build process(./configure, make, make install) replace /usr/bin/xargs w/var/tmp/portage/findutils-4.1.7/work/xargs Would you please package this fix into an ebuild or report it to the findutils CVS tree maintainer . I would build an ebuild, but don't know how to yet
Created attachment 14832 [details, diff] proposed fix for bug. It works on my pc this is not a full patch as it is not a new ebuild, but a workaround that should be turned into an ebuild if i knew how
*** This bug has been marked as a duplicate of 23569 ***