Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118445 - bug with sys-kernel/module-rebuild-0.5
Summary: bug with sys-kernel/module-rebuild-0.5
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 12:04 UTC by Alexey Maximov
Modified: 2008-12-04 21:44 UTC (History)
0 users

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


Attachments
module-rebuild.patch (module-rebuild.patch,494 bytes, patch)
2006-01-09 12:23 UTC, Alexey Maximov
Details | Diff
module-rebuild-0.5-r1.ebuild (module-rebuild-0.5-r1.ebuild,493 bytes, text/plain)
2006-01-09 12:30 UTC, Alexey Maximov
Details
files/module-rebuild-0.5-r1 (module-rebuild-0.5-r1,6.46 KB, text/plain)
2006-01-09 12:30 UTC, Alexey Maximov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Maximov 2006-01-09 12:04:42 UTC
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 :)
Comment 1 Alexey Maximov 2006-01-09 12:06:36 UTC
for pkg in `grep -i /lib/modules/${version}/.*o ${R_VDBPATH}/*/*/CONTENTS`; do

BAD code ...
Comment 2 Alexey Maximov 2006-01-09 12:23:45 UTC
Created attachment 76662 [details, diff]
module-rebuild.patch

patch to fix bug
Comment 3 Alexey Maximov 2006-01-09 12:30:16 UTC
Created attachment 76663 [details]
module-rebuild-0.5-r1.ebuild
Comment 4 Alexey Maximov 2006-01-09 12:30:45 UTC
Created attachment 76664 [details]
files/module-rebuild-0.5-r1

fixed stuff
Comment 5 Niv Vaizer 2006-01-29 08:15:52 UTC
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
Comment 6 Alexey Maximov 2006-01-29 12:07:13 UTC
sure, bugs, I will update patch soon
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2008-10-31 22:38:48 UTC
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.
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2008-12-04 21:44:15 UTC
please reopen with clarifications/final patch