I tried to emerge -auDv world and I get a complaint that it can't find a suitable version of linux26-headers. Reproducible: Always Steps to Reproduce: 1.emerge sync; fixpackages; etc-update; (first time only: ln -s /usr/portage/profiles/linux/x86/2005.0 /etc/make.profile) 2.emerge -auDv world 3.aargh! Actual Results: Code: buggles ali # emerge -auDv world These are the packages that I would merge, in order: Calculating world dependencies / emerge: there are no ebuilds to satisfy "sys-kernel/linux26-headers". !!! Problem with ebuild app-office/koffice-1.3.5-r2 !!! Possibly a DEPEND/*DEPEND problem. !!! Depgraph creation failed. Don't think I can emerge anything... Expected Results: Let me emerge -auDv world! Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1, Feb 20 2005, 13:52:28)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.2.3-r5, 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -ffast-math -funroll-loops -fomit-frame-pointer -m3dnow -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -ffast-math -funroll-loops -fomit-frame-pointer -m3dnow -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/bmg" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aalib alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups curl dba debug directfb dvd dvdr dvdread emboss encode esd evo faac faad fam ffmpeg flac flash foomaticdb fortran freetype gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick imap imap-ssl imlib ipv6 java jpeg junit kde lcms ldap libcaca libg++ libvisual libwww lirc mad mailwrapper mikmod mmx motif mozilla mp3 mpeg mpeg2 mysql nas ncurses nls ogg oggvorbis opengl pam pdflib perl png pop3 ppds python qt quicktime readline ruby samba scanner sdl session slang speex spell sqlite sse ssl svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts utf8 v4l vcd vlm vorbis xine xinerama xml xml2 xmms xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
!!! Problem with ebuild app-office/koffice-1.3.5-r2 !!! Possibly a DEPEND/*DEPEND problem. This is a problem with koffice's ebuild.
the ebuild is fine. an emerge -C linux26-headers && emerge linux-headers should solve the problem.
has nothing to do with toolchain
In reply to #2 above, I can't remove linux26-headers: emerge -C linux26-headers --- Couldn't find linux26-headers to unmerge. >>> unmerge: No packages selected for removal. #################### In addition, I've also rebuilt my toolchain (emerge -e system) with no effect. Any additional pointers?
You have something that is looking specifically for linux26-headers... I would suspect it is something local. Have you verified that koffice is not the culprit? You can't remove linux26-headers ebcause it doesn't exist anymore. You *can* remove linux-headers and reinstall it, though. emerge -C linux-headers && emerge linux-headers
linux-headers was re-emerged when I did emerge -e system I believe but for the sake of thoroughness I've 'emerge -C linux-headers && emerge linux-headers'ed. I've also masked all versions of koffice and now get emerge -auDv world These are the packages that I would merge, in order: Calculating world dependencies \ emerge: there are no ebuilds to satisfy "sys-kernel/linux26-headers". !!! Problem with ebuild gnome-base/eel-2.10.0 !!! Possibly a DEPEND/*DEPEND problem. !!! Depgraph creation failed. so it obviously isn't a problem with particular ebuilds and rather a problem with something infinitely more complex. Where is portage obtaining the required libraries information from? Surely it's from whatever is linked to /etc/make.profile? Is it worth injecting linux26-headers?
You cannot inject a non-existent package. Do you have a /etc/portage/virtuals file? Would you have anything locally that is causing virtual/linux-headers to mean linux26-headers? Do you have any packages in /usr/portage/packages that could possibly be causing this trouble?
I would check your world file, too... just to make sure that there isn't another linux26-headers hiding out in there somewhere. You could also try "emerge -vuDt world" and see what it says for a package requiring linux26-headers, but I'm not sure it would work as expected.
----You cannot inject a non-existent package I can't inject anything, it moans and requires that I use /etc/portage/profile/package.provided. I did and it (temporarily) solves the problem - hurrah! This is a bodge job I know. ---Do you have a /etc/portage/virtuals file? No ---Would you have anything locally that is causing virtual/linux-headers to mean linux26-headers? Ummm...? Can you indicate what I'm looking for because I'm really not all that straight on the portage internals! ---Do you have any packages in /usr/portage/packages that could possibly be causing this trouble? Not anymore thanks to rm -Rf && fixpackages :) and, from the next post: ---I would check your world file, too... just to make sure that there isn't another linux26-headers hiding out in there somewhere. grepped and clean - only linux-headers present ---You could also try "emerge -vuDt world" and see what it says for a package requiring linux26-headers, but I'm not sure it would work as expected. No joy, fails as above with depend problem. Subject to using the package.provided hack above and injecting (or providing or whatever) a package that doesn't exist (which works perfectly) still no joy.
Is it possible for the original author to change the severity for this bug to "major"? Reason: An emerge sync "forced" me to upgrade my profile to 2005.0. That's fine. Unfortuately the text scrolled up because of global updates ... For that reason the text told me: ln -s /usr/portage/profiles/default-linux/x86/2005.0/2.4 make.profile Kernel 2.4 ?!? Ok - scrolling back to the top: If you wish to use 2.4 kernel - bla bla Is it possible to force a user interaction after showing the upgrade information for 2.6 and 2.4 (before doing global upgrades)? Everyone who has problems with linux-headers should check if ls -l /etc/make.profile is pointing to: /usr/portage/profiles/default-linux/x86/2005.0 not to: /usr/portage/profiles/default-linux/x86/2005.0/2.4
You weren't forced to upgrade anything. The older profiles are deprecated, but have not been removed and nothing has been forced. This isn't really a "major" issue, as it isn't very widespread.
http://planet.gentoo.org/developers/johnm/2005/04/05/kernel_sources
This has been long resolved...