localhost linux-2.6.15_p2-r1 # module-rebuild populate /usr/sbin/module-rebuild: line 154: /bin/grep: Argument list too long looks like always :)
for pkg in `grep -i /lib/modules/${version}/.*o ${R_VDBPATH}/*/*/CONTENTS`; do BAD code ...
Created attachment 76662 [details, diff] module-rebuild.patch patch to fix bug
Created attachment 76663 [details] module-rebuild-0.5-r1.ebuild
Created attachment 76664 [details] files/module-rebuild-0.5-r1 fixed stuff
module-rebuild-0.5 fails to rebuild x11-base/x11-drm # uname -a Linux blacky 2.6.15-ck2 #4 Mon Jan 23 01:30:21 IST 2006 i686 AMD Athlon(tm) XP 3200+ AuthenticAMD GNU/Linux # emerge info Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-ck2 i686) ================================================================= System uname: 2.6.15-ck2 i686 AMD Athlon(tm) XP 3200+ Gentoo Base System version 1.12.0_pre15 ccache version 2.3 [disabled] dev-lang/python: 2.3.4-r1, 2.4.2 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -fforce-addr -fomit-frame-pointer -ftracer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -fforce-addr -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.mirror.intouch.nl/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/" LINGUAS="en he es" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 # 3dnow 3dnowext X aac aalib acceleration: acl acpi adns alsa and apache2 apm apps: audiofile avi bash-completion berkdb bidi bitmap-fonts bzip2 card cdrom cle266 codecs: crypt cups curl dbus divix4linux dri dvd dvdread eds emboss encode exif expat fam ffmpeg flac flash foomaticdb fortran freetype gd gdbm gfx gif glut gnome gpm gstreamer gtk gtk2 gtkhtml gui: hal icq idn imlib irc irmc jabber java javascript jpeg lcms libg++ libwww lirc lm_sensors mad matroska mikmod misc: mmx mmxext mng motif mozilla mp3 mpeg mpeg4 mplayer mppe-mppc msn mysql mythtv ncurses network: nls nptl ogg oggvorbis opengl oss pam pc pcre pda pdflib perl pic pictures png python qt quicktime readline recode resources: rtc samba sdl services: sound speex spell sqlite sse ssl tcpd theora tiff truetype truetype-fonts type1 type1-fonts udev unichrome unicode usb v4l v4l2 video vidix vorbis win32codecs xine xml2 xmms xrandr xv xvid xvmc zeroconf zlib video_cards_ati video_cards_radeon linguas_en linguas_he linguas_es userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
sure, bugs, I will update patch soon
Alexey, is your patch still valid? My initial reaction is that comment #5 is misplaced (unrelated to your patch), but your comment #6 seems to acknowledge that he's found a bug in your patch? Sorry for the delay in getting to this.
please reopen with clarifications/final patch