Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186486 - sys-kernel/module-rebuild output is wrong
Summary: sys-kernel/module-rebuild output is wrong
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on: 410739
Blocks:
  Show dependency tree
 
Reported: 2007-07-24 16:51 UTC by Doug Goldstein (RETIRED)
Modified: 2014-01-09 19:15 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Goldstein (RETIRED) gentoo-dev 2007-07-24 16:51:25 UTC
# module-rebuild list
** Packages which I will emerge are:
        =x11-drivers/nvidia-drivers-1.0.8774
        =x11-drivers/nvidia-drivers-1.0.9625
        =x11-drivers/nvidia-drivers-1.0.9626
        =app-emulation/vmware-modules-1.0.0.15-r1
        =x11-drivers/nvidia-drivers-100.14.09
# equery list nvidia-drivers
[ Searching for package 'nvidia-drivers' in all categories among: ]
 * installed packages
[I--] [ ~] x11-drivers/nvidia-drivers-100.14.09 (0)
# module-rebuild del =x11-drivers/nvidia-drivers-1.0.8774
** =x11-drivers/nvidia-drivers-1.0.8774 not found in moduledb.
Comment 1 Matthias Schwarzott gentoo-dev 2007-07-24 17:31:44 UTC
Another proof that storage format of linux-mod.eclass is bad.
I suggest doing similar to vdr-plugin.eclass, and using one file for one package.
That can then be installed by src_install, and gets under controll of portage.
Comment 2 Matthias Schwarzott gentoo-dev 2007-09-25 07:51:27 UTC
ping, please change format of moduledb.
Comment 3 Petr Pisar 2008-10-01 11:04:47 UTC
Still the same problem with =sys-kernel/module-rebuild-0.5:

# module-rebuild list
** Packages which I will emerge are:
        =x11-drivers/nvidia-drivers-1.0.8774
        =x11-drivers/nvidia-drivers-96.43.07
        =media-video/gspcav1-20071224

# qlist -Iv nvidia-drivers
x11-drivers/nvidia-drivers-96.43.07

# module-rebuild del =x11-drivers/nvidia-drivers-1.0.8774
** =x11-drivers/nvidia-drivers-1.0.8774 not found in moduledb.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2008-10-31 22:47:54 UTC
I don't think this requires a change of format, surely we just need to find and fix the bug in the code that removes an entry from the database? Or do you know more about this issue than I do?
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2008-10-31 23:01:28 UTC
And, as a FYI, this is "fixed" in portage-2.2, where the current existence of module-rebuild is replaced with:

  emerge @module-rebuild

leaving this bug open until portage-2.2 is stable and we have released a transitionary module-rebuild package (or until we change the DB format or fix this bug otherwise)
Comment 6 Gordon Malm (RETIRED) gentoo-dev 2008-10-31 23:51:05 UTC
Not a fix, just noting a lame workaround is to delete /var/lib/module-rebuild/moduledb and re-run "module-rebuild populate".
Comment 7 Mike Pagano gentoo-dev 2014-01-09 19:15:11 UTC
# Samuli Suominen <ssuominen@gentoo.org> (28 Dec 2013)
# Replaced by 'emerge @module-rebuild' set in Portage itself.
# Removal in 30 days, see http://bugs.gentoo.org/410739
sys-kernel/module-rebuild