Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56938 - iproute2 -2.6.7 requires linux-headers 2.4
Summary: iproute2 -2.6.7 requires linux-headers 2.4
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-13 11:46 UTC by Simone Piunno
Modified: 2004-07-14 15:39 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 Simone Piunno 2004-07-13 11:46:24 UTC
Why linux26-headers doesn't satisfy this dependency?
It provides virtual/os-headers and it's the one pointed in /etc/make.profile/virutals

roentgen root # emerge -uDp world

These are the packages that I would merge, in order:

Calculating world dependencies \
!!! all ebuilds that could satisfy ">=virtual/os-headers-2.4.21" have been masked.
!!! possible candidates are:
- sys-kernel/linux-headers-2.4.21-r1 (masked by: package.mask)
- sys-kernel/linux-headers-2.4.26 (masked by: package.mask)
- sys-kernel/linux-headers-2.4.21 (masked by: package.mask)
- sys-kernel/linux-headers-2.4.23 (masked by: package.mask, -* keyword)
- sys-kernel/linux-headers-2.6.99 (masked by: package.mask, missing keyword)
- sys-kernel/linux-headers-2.4.25 (masked by: package.mask, -* keyword)
- sys-kernel/linux-headers-2.4.22 (masked by: package.mask, missing keyword)
!!!    (dependency required by "sys-apps/iproute2-2.6.7.20040608" [ebuild])

!!! Problem with ebuild sys-apps/iproute2-2.6.7.20040608
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.
Comment 1 klavs klavsen 2004-07-13 15:39:39 UTC
Ehh - you're emergin without ~x86 enabled, right? on my system, the ebuild you're trying to emerge is masked - and ie. you should have ~x86 enabled. If emerged like that - it works just fine here.
Comment 2 SpanKY gentoo-dev 2004-07-13 15:48:26 UTC
you neglected to provide `emerge info` so i cant tell what you have on your system
that is triggering this

what do you have in /var/db/pkg/sys-kernel/ ?
Comment 3 Simone Piunno 2004-07-14 10:49:18 UTC
sorry, this is the info you requested:

Portage 2.0.50-r9 (default-amd64-2004.0, gcc-3.4.0, glibc-2.3.4.20040619-r0, 2.6
.7-gentoo-r9)
=================================================================
System uname: 2.6.7-gentoo-r9 x86_64 4
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mtune=k8"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2
/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla
/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/tex
mf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/plate
x/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mtune=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpgk ccache"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirro                              rs.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp6.uni-erlangen.de/pub/mirror                              s/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl acpi adns alsa amd64 apache2 apm arts audiofile avi berkdb caps                               cdr crypt cups curl divx4linux doc dvd dvdr encode esd foomaticdb gd gdbm gdm g                              if gnome gpm gtk gtk2 guile icq imap imlib ipv6 jabber jack java jpeg kde ladcca                               ldap libg++ libwww linguas_en linguas_it maildir mikmod motif mozilla mpeg mysq                              l ncurses nls nogcj nptl nsl oggvorbis opengl oss pam pdflib perl png python qt                               quicktime readline sasl sdl slang spell ssl tcltk tcpd tetex threads truetype un                              icode usb xml xml2 xmms zeo zlib"

roentgen root # ls -l /var/db/pkg/sys-kernel/
total 2
drwxr-xr-x  2 root root 600 Jul 13 21:07 genkernel-3.0.2c
drwxr-xr-x  2 root root 616 Jul 12 22:38 gentoo-dev-sources-2.6.7-r10
drwxr-xr-x  2 root root 616 Jul  9 21:25 gentoo-dev-sources-2.6.7-r9
drwxr-xr-x  2 root root 608 Jul 13 20:44 linux26-headers-2.6.6-r1
Comment 4 Simone Piunno 2004-07-14 10:59:36 UTC
of course the bug was marked amd64, therefore I have no ~x86 in my keyword.
what do you mean by "it works just fine here"?
can you emerge iproute2 without downgrading linux-headers to 2.4?
Comment 5 SpanKY gentoo-dev 2004-07-14 13:42:57 UTC
post your /var/cache/edb/virtuals file
Comment 6 Simone Piunno 2004-07-14 14:03:07 UTC
roentgen root # cat /var/cache/edb/virtuals
virtual/xft x11-base/xorg-x11
virtual/gzip app-arch/gzip
virtual/glu x11-base/xorg-x11
virtual/x11 x11-base/xorg-x11
virtual/lpr net-print/cups
virtual/libc sys-libs/glibc
virtual/cdrtools app-cdr/cdrtools
virtual/cron sys-apps/vixie-cron
virtual/bootloader sys-boot/grub-static
virtual/glibc sys-libs/glibc
virtual/aspell-dict app-dicts/aspell-it
virtual/modutils sys-apps/module-init-tools
virtual/imap-c-client net-libs/c-client
virtual/opengl x11-base/xorg-x11 media-video/nvidia-glx
virtual/linux-sources sys-kernel/gentoo-dev-sources
virtual/textbrowser net-www/lynx
virtual/logger app-admin/sysklogd
virtual/jre dev-java/blackdown-jdk
virtual/dhcpc net-misc/dhcpcd
sys-apps/console-tools sys-apps/kbd
virtual/editor app-editors/vim
virtual/jdk dev-java/blackdown-jdk
virtual/jack media-sound/jack-audio-connection-kit
virtual/dev-manager sys-fs/devfsd
virtual/os-headers sys-kernel/linux26-headers sys-kernel/linux-headers
virtual/php dev-php/php
virtual/python dev-lang/python
virtual/kernel sys-kernel/linux26-headers sys-kernel/linux-headers
virtual/alsa sys-kernel/gentoo-dev-sources
virtual/tetex app-text/tetex
virtual/java-scheme dev-java/blackdown-jdk
virtual/mpg123 media-sound/mpg123
virtual/ghostscript app-text/ghostscript
virtual/ssh net-misc/openssh
virtual/glut media-libs/glut
virtual/mta mail-mta/ssmtp

Comment 7 SpanKY gentoo-dev 2004-07-14 14:40:08 UTC
theres your answer right there ;)

edit your virtuals file and remove sys-kernel/linux-headers from it
Comment 8 Simone Piunno 2004-07-14 15:03:31 UTC
Ok, after this change "emerge -uDp world" doesn't try to re-emerge iproute2 anymore, which is not what I expected but OK, at least it doesn't block other upgrades.

So now the question shifts to the following:
How come linux-headers was left in /var/cache/edb/virtuals?
I never hand-edited that file (actually I didn't even know it existed).

Isn't it possibile this is a bug in portage?
On my system I used to have linux-headers-2.6.x but recently you forced me to switch to linux26-headers, through 2.6.99.

Anyway, thank you.
Comment 9 SpanKY gentoo-dev 2004-07-14 15:39:30 UTC
i didnt force you to switch, Lv did ;)

anyways, it doesnt matter if it's a bug in portage or not because the next version  of portage doesnt use the virtuals file anymore