Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436562 - media-libs/libmad-0.15.1b-r7: Kernel version could not be determined
Summary: media-libs/libmad-0.15.1b-r7: Kernel version could not be determined
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-29 08:25 UTC by Wim Muskee
Modified: 2012-09-29 10:30 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 Wim Muskee 2012-09-29 08:25:32 UTC
When emerging libmad, encounter the following problem:

>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/libmad-0.15.1b-r7/work/libmad-0.15.1b ...
 * ERROR: media-libs/libmad-0.15.1b-r7 failed (configure phase):
 *   toolchain-funcs.eclass: Kernel version could not be determined, please inherit kernel-2 or linux-info
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_configure
 *   environment, line 3129:  Called tc-arch
 *   environment, line 3236:  Called tc-ninja_magic_to_arch 'portage'
 *   environment, line 3538:  Called die
 * The specific snippet of code:
 *       [[ -z ${KV} ]] && die "toolchain-funcs.eclass: Kernel version could not be determined, please inherit kernel-2 or linux-info";
 *
 * If you need support, post the output of `emerge --info '=media-libs/libmad-0.15.1b-r7'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libmad-0.15.1b-r7'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/libmad-0.15.1b-r7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libmad-0.15.1b-r7/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libmad-0.15.1b-r7/work/libmad-0.15.1b'
 * S: '/var/tmp/portage/media-libs/libmad-0.15.1b-r7/work/libmad-0.15.1b'


When adding linux-info to the inherit of the ebuild it does emerge.

Reproducible: Always
Comment 1 Wim Muskee 2012-09-29 10:30:13 UTC
Issue is already fixed with an emerge --sync. I had a sync from 2012-09-27.

Just synced because of a tip in http://forums.gentoo.org/viewtopic-p-7150602.html, which indeed solved the issue.