Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145716 - nvidia-drivers DEPENDS on gentoo-sources
Summary: nvidia-drivers DEPENDS on gentoo-sources
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-31 08:04 UTC by Peter Hyman
Modified: 2006-09-07 03:41 UTC (History)
0 users

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 Peter Hyman 2006-08-31 08:04:22 UTC
today, for the first time, when doing a routine emerge -puDn world, gentoo-sources-2.6.17-r7 was shown as being required.

Calculating world dependencies... done!
[nomerge      ] x11-misc/xscreensaver-4.24  USE="gnome insecure-savers jpeg nls offensive opengl pam -kerberos -krb4 -new-login -xinerama" 
[nomerge      ]  media-libs/netpbm-10.34  USE="jpeg png svga tiff xml% zlib" 
[nomerge      ]   media-libs/jasper-1.701.0  USE="jpeg opengl" 
[nomerge      ]    x11-drivers/nvidia-drivers-1.0.8774  USE="dlloader" 
[ebuild  N    ]     sys-kernel/gentoo-sources-2.6.17-r7  USE="-build -symlink" 0 kB 
.....

I currently have ebuilds for non-supported kernel sources, but this never came up before today. When I do an equery g nvidia-drivers, it shows the ebuild I use as providing virtual/alsa (which kernel-2.eclass provides along with virtual/kernel-sources). linux-headers-2.6.17 is installed.

What happened?

mars peter # emerge --info
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-beyond4 i686)
=================================================================
System uname: 2.6.17-beyond4 i686 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/mnt/src/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo ftp://206.75.217.180/"
MAKEOPTS="-j2"
PKGDIR="/mnt/src/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/mnt/src/var/tmp"
PORTDIR="/mnt/src/portage"
PORTDIR_OVERLAY="/mnt/src/local/portage /mnt/src/local/overlays/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts artswrappersuid avi berkdb bitmap-fonts bzip2 cli crypt cups dlloader dri dvd dvdr eds emboss encode esd fam flac foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg lcms ldap libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin offensive ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection samba sdl session slang spell spl ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev vorbis win32codecs xine xml xmms xorg xscreensaver xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-31 08:18:56 UTC
So take care that your unsupported kernel provides virtual/linux-sources? Not exactly our business.
Comment 2 Peter Hyman 2006-08-31 10:01:42 UTC
It does provide virtual/kernel-sources and virtual/alsa. 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-31 11:04:06 UTC
(In reply to comment #2)
> It does provide virtual/kernel-sources and virtual/alsa. 

There's no such thing like virtual/kernel-sources, read the kernel-2.eclass. What does /var/db/pkg/sys-kernel/<your-weird-kernel>/PROVIDE say?
Comment 4 Peter Hyman 2006-08-31 12:06:51 UTC
shoot me, I'm an idiot. I had PROVIDE kernel-sources, not linux-sources. Thanks for pointing that out.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-08-31 12:37:48 UTC
(In reply to comment #4)
> shoot me, I'm an idiot. 

Bang! :)

> I had PROVIDE kernel-sources, not linux-sources. Thanks
> for pointing that out.

Well, I'd suggest using kernel-2.eclass for your custom kernels, avoids such screw-ups. ;)

Comment 6 Peter Hyman 2006-09-07 03:41:35 UTC
(In reply to comment #5)
> Well, I'd suggest using kernel-2.eclass for your custom kernels, avoids such
> screw-ups. ;)

I had to bypass the kernel eclass because of the naming scheme employed by upstream. They use pre? as a means of defining a pre-release for a patch which employs the current kernel version. When the eclass sees "pre" it pulls in the previous minor kernel version. eg. 2.6.17 is current. When it sees pre in the ebuild name, it pulls in 2.6.16. Using -r or -rc made no sense either, so I just decided to bypass the eclass altogether. It works fine for normal releases, but not pre snapshots. Anyway, the eclass is full of bloat anyway when all you want to do is emerge sources.