Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106056 - revdep-rebuild COMPLETE_LD_LIBRARY_PATH exceeds MAX_ARG_PAGES limit
Summary: revdep-rebuild COMPLETE_LD_LIBRARY_PATH exceeds MAX_ARG_PAGES limit
Status: RESOLVED DUPLICATE of bug 38751
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
: 132221 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-15 05:48 UTC by moth
Modified: 2006-06-03 04:15 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
tar jcf rdrb.tj .revdep-rebuild.* (rdrb.tj,264.61 KB, application/octet-stream)
2005-09-15 22:16 UTC, moth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description moth 2005-09-15 05:48:37 UTC
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
Comment 1 Paul Varner (RETIRED) gentoo-dev 2005-09-15 14:47:50 UTC
1. Which version of gentoolkit do you have installed? 
2. Please attach the .revdep-rebuild.* files
Comment 2 moth 2005-09-15 22:16:01 UTC
Created attachment 68559 [details]
tar jcf rdrb.tj .revdep-rebuild.*

These are the .revdep-rebuild.* files requested by fuzzyray
Comment 3 moth 2005-09-15 22:16:36 UTC
I'm using gentoolkit 0.2.0_pre10
Comment 4 moth 2006-04-04 06:26:04 UTC
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.
Comment 5 moth 2006-04-04 06:28:35 UTC
(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.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-05-04 03:12:16 UTC
*** Bug 132221 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-06-03 04:15:57 UTC

*** This bug has been marked as a duplicate of 38751 ***