When I run revdep-rebuild, I get numerous "Argument list too long" errors. Looking closer, this happens even for arguments with empty command lines. Looking closer, COMPLETE_LD_LIBRARY_PATH is 138416 bytes long. Reproducible: Always Steps to Reproduce: revdep-rebuild Actual Results: Checking reverse dependencies... Packages containing binaries and libraries broken by any package update, will be recompiled. Collecting system binaries and libraries... using existing /root/.revdep-rebuild .1_files. Collecting complete LD_LIBRARY_PATH... using existing /root/.revdep-rebuild.2_ld path. Checking dynamic linking consistency... using existing /root/.revdep-rebuild.3_r ebuild. Assigning files to ebuilds... using existing /root/.revdep-rebuild.4_ebuilds. /usr/bin/revdep-rebuild: line 261: /usr/bin/sed: Argument list too long /usr/bin/revdep-rebuild: line 261: /usr/bin/cat: Argument list too long /usr/bin/revdep-rebuild: line 261: /usr/bin/tr: Argument list too long Evaluating package order... using existing /root/.revdep-rebuild.5_order. /usr/bin/revdep-rebuild: line 293: /usr/bin/cat: Argument list too long /usr/bin/revdep-rebuild: line 293: /usr/bin/sed: Argument list too long /usr/bin/revdep-rebuild: line 293: /usr/bin/tr: Argument list too long Dynamic linking on your system is consistent... All done. /usr/bin/revdep-rebuild: line 299: /usr/bin/rm: Argument list too long /usr/bin/revdep-rebuild: line 299: /usr/bin/rm: Argument list too long /usr/bin/revdep-rebuild: line 300: /usr/bin/rm: Argument list too long /usr/bin/revdep-rebuild: line 300: /usr/bin/rm: Argument list too long /usr/bin/revdep-rebuild: line 300: /usr/bin/rm: Argument list too long /usr/bin/revdep-rebuild: line 300: /usr/bin/rm: Argument list too long /usr/bin/revdep-rebuild: line 300: /usr/bin/rm: Argument list too long /usr/bin/revdep-rebuild: line 300: /usr/bin/rm: Argument list too long Expected Results: rebuilt my broken dependencies Gentoo Base System version 1.6.13 Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.3.4, glibc-2.3.5-r1, 2.6.12-gentoo-r9halloween x86_64) ================================================================= System uname: 2.6.12-gentoo-r9halloween x86_64 AMD Opteron(tm) Processor 240 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -g" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -g" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks noclean nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org rsync://mirror.mcs.anl.gov/pub/gentoo/ http://rsync.gentoo.com" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage.local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib aim alsa arts avi berkdb bitmap-fonts canna cjk crypt cscope cups curl dga doc dvd dvdr eds emboss encode esd fam fbcon flac foomaticdb fortran gdbm gif gpm gstreamer gtk hardened imagemagick imap imlib ipv6 jack jikes jpeg lzw lzw-tiff mad maildir matroska matrox mcal mikmod mitshm motif mp3 mpeg mule ncurses nls nocd ogg opengl pam pda pdflib perl png python qt quicktime readline ruby sdl slang spell ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales videos vorbis xine xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
1. Which version of gentoolkit do you have installed? 2. Please attach the .revdep-rebuild.* files
Created attachment 68559 [details] tar jcf rdrb.tj .revdep-rebuild.* These are the .revdep-rebuild.* files requested by fuzzyray
I'm using gentoolkit 0.2.0_pre10
This bug arose because I had a lot of software in various stages under /tmp/. For now, I've gotten rid of the partition that contained that software. However, I think that this problem indicates a design flaw in revdep-rebuild.
(trying to replace incorrect comment #4, let's see if this works.) This bug arose because I had a lot of software in various stages under /tmp/. For now, I've gotten rid of the partition that contained that software. However, I think that this problem indicates a design flaw in revdep-rebuild.
*** Bug 132221 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 38751 ***