[edit]Forgot to mention, I updated my profile from 2006.1 to 2008.0 after sync'ing! I decided to emerge -uD first, instead of emerge -uDN, because the list of packages was much shorter...
Midway through, gentoo-sources-2.6.25-r6 got emerged. Now, this is after 2.6.23-r8 was emerged on Feb 25th and 2.6.24-r8 on May 22nd -- both causing no apparent problems. I don't use the symlink USE flag, and have done nothing to upgrade from my current kernel, linux-2.6.18-gentoo-r6. (Old, I know. I don't like to configure kernels!)
Anyway, so a couple of packages after that, gnome-menus-2.20.3 died with the message:
Code: Select all
ERROR: setup
Could not find a Makefile in the kernel source directory.
Please ensure that /usr/src/linux points to a complete set of Linux sources
ERROR: gnome-base/gnome-menus-2.20.3 failed.
Call stack:
ebuild.sh, line 49: Called pkg_setup
gnome-menus-2.20.3.ebuild, line 30: Called linux-info_pkg_setup
linux-info.eclass, line 595: Called die
The specific snippet of code:
get_version || die "Unable to calculate Linux Kernel version"
The die message:
Unable to calculate Linux Kernel version
If you need support, post the topmost build error, and the call stack if relevant.
A complete build log is located at '/var/log/portage/gnome-base:gnome-menus-2.20.3:20080719-090053.log'.
The ebuild environment file is located at '/var/tmp/portage/gnome-base/gnome-menus-2.20.3/temp/die.env'.
INFO: setup
Determining the location of the kernel source code
Found kernel source directory:
/usr/src/linuxSo, does this mean the previous Makefile gets removed when a new version of gentoo-sources is emerged? If so, why didn't the previous two emerges (in Feb and May) cause any problems? Because new versions of gnome-menus were emerged shortly after gentoo-sources both times. (In fact, gnome-menus-2.20.3 was only being re-emerged, since it was the version emerged right after gentoo-sources-2.6.24-r8 on May 22nd.)
More importantly, how can I fix this problem so I can finish updating to Python 2.5? I still have the .config file in /usr/src/linux-2.6.18-gentoo-r6. Can I just do a "null" make menuconfig and get the same Makefile that was there before? (Forgive my ignorance -- I never have gotten used to this whole make concept...)
And while we're at it, why should gnome-menus even need to find a Makefile in the kernel sources directory in the first place?
- dcljr


