Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x11-libs/qt-sql-4.8.2 failed pl inherit kernel-2 ??[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Fri Sep 28, 2012 3:43 am    Post subject: x11-libs/qt-sql-4.8.2 failed pl inherit kernel-2 ??[solved] Reply with quote

Code:
>>> Emerging (1 of 3) x11-libs/qt-sql-4.8.2
 * qt-everywhere-opensource-src-4.8.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...        [ ok ]
>>> Unpacking source...
 * Unpacking parts of qt-everywhere-opensource-src-4.8.2.tar.gz: configure LICENSE.GPL3 LICENSE.LGPL projects.pro src/qbase.pri src/qt_targets.pri src/qt_install.pri bin config.tests mkspecs qmake src/sql src/plugins/sqldrivers include/Qt include/QtCore include/QtSql src/src.pro src/corelib src/plugins src/tools/tools.pro ...                                                                  [ ok ]
>>> Source unpacked in /var/tmp/portage/x11-libs/qt-sql-4.8.2/work
>>> Preparing source in /var/tmp/portage/x11-libs/qt-sql-4.8.2/work/qt-everywhere-opensource-src-4.8.2 ...
 * Applying 4.8.2-qatomic-x32.patch ...                                  [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/qt-sql-4.8.2/work/qt-everywhere-opensource-src-4.8.2 ...
 * ERROR: x11-libs/qt-sql-4.8.2 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 3015:  Called qt4-build_src_configure
 *   environment, line 2581:  Called tc-arch
 *   environment, line 3118:  Called tc-ninja_magic_to_arch 'portage'
 *   environment, line 3420:  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";


Code:
localhost linux # emerge --info '=x11-libs/qt-sql-4.8.2'
Portage 2.1.11.9 (default/linux/x86/10.0, gcc-4.5.4, glibc-2.15-r2, 3.3.8-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.3.8-gentoo-i686-AMD_E1-1200_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.1
Timestamp of tree: Fri, 28 Sep 2012 02:00:01 +0000
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alsa berkdb bzip2 cdr cli cracklib crypt cups cxx dri dvd fortran gdbm gnome gpm iconv ipv6 modules mudflap ncurses nls nptl openmp pam pcre pppd qt4 readline session ssl tcpd unicode x86 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

localhost linux #


why it is not recognising kernel-3.3.8?
what do i do to correct this?
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)


Last edited by padoor on Sat Sep 29, 2012 3:12 am; edited 1 time in total
Back to top
View user's profile Send private message
gendjaral
n00b
n00b


Joined: 11 Aug 2012
Posts: 46
Location: DE Munich

PostPosted: Fri Sep 28, 2012 9:57 am    Post subject: Reply with quote

I have the same problem on another package. I tried to install 'mpg123' as a part from wine 1.5.6 and get this (similar) error message:
Code:
>>> Emerging (1 of 1) media-sound/mpg123-1.14.2
 * mpg123-1.14.2.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking mpg123-1.14.2.tar.bz2 to /var/tmp/portage/media-sound/mpg123-1.14.2/work
>>> Source unpacked in /var/tmp/portage/media-sound/mpg123-1.14.2/work
>>> Preparing source in /var/tmp/portage/media-sound/mpg123-1.14.2/work/mpg123-1.14.2 ...
 * Running elibtoolize in: mpg123-1.14.2/build/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-sound/mpg123-1.14.2/work/mpg123-1.14.2 ...
 * ERROR: media-sound/mpg123-1.14.2 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 1082:  Called tc-arch
 *   environment, line 1115:  Called tc-ninja_magic_to_arch 'portage'
 *   environment, line 1417:  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";



Code:
Portage 2.1.11.9 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r2, 3.4.9-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.1
Timestamp of tree: Fri, 28 Sep 2012 09:00:01 +0000
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB de_DE en de"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt3support readline sdl session socialweb spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB de_DE en de" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


I would be grateful for any help.

Best - gendjaral
Back to top
View user's profile Send private message
essjayhch
n00b
n00b


Joined: 28 Sep 2012
Posts: 1

PostPosted: Fri Sep 28, 2012 11:11 am    Post subject: Reply with quote

I'm currently having the exact same problem as the OP.

Code:
malp ~ # USE="git =dev-vcs/subversion-1.6.17-r7 -dso perl" emerge --info =x11-libs/qt-core-4.8.2                                           Portage 2.1.11.9 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.4, glibc-2.15-r2, 3.4.9-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.4.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.1
Timestamp of tree: Fri, 28 Sep 2012 09:45:01 +0000
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="\udcef\udcbf\udcbden_G"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j 2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="=dev-vcs/subversion-1.6.17-r7 X a52 aac acl acpi alsa amd64 berkdb bluetoot                                                           lib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox                                                            accounts gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modul                                                           ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio qt3                                                           sl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vo                                                           51 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es19                                                           nt usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym cop                                                            ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm                                                           lias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz                                                           e cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter fil                                                           che mime mime_magic negotiation rewrite setenvif speling status unique_id userdi                                                            plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGIN                                                           "glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt g                                                           e oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT                                                           "bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFF                                                           TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby1                                                            neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v                                                           ions ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logma
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, P                                                           FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

malp ~ #
Back to top
View user's profile Send private message
TemplarKnight
Guru
Guru


Joined: 14 Jun 2005
Posts: 311
Location: Greece/patras/

PostPosted: Fri Sep 28, 2012 11:53 am    Post subject: Reply with quote

Same problem here with x11-libs/qt-core-4.8.2

Code:
>>> Emerging (1 of 104) x11-libs/qt-core-4.8.2
 * qt-everywhere-opensource-src-4.8.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                      [ ok ]
>>> Unpacking source...
 * Unpacking parts of qt-everywhere-opensource-src-4.8.2.tar.gz: configure LICENSE.GPL3 LICENSE.LGPL projects.pro src/qbase.pri src/qt_targets.pri src/qt_install.pri bin config.tests mkspecs qmake src/tools/bootstrap src/tools/moc src/tools/rcc src/tools/uic src/corelib src/xml src/network src/plugins/codecs tools/linguist/lconvert tools/linguist/lrelease tools/linguist/lupdate include/Qt include/QtCore include/QtDeclarative include/QtGui include/QtNetwork include/QtScript include/QtXml src/plugins/plugins.pro src/plugins/qpluginbase.pri src/src.pro src/3rdparty/des src/3rdparty/harfbuzz src/3rdparty/md4 src/3rdparty/md5 src/3rdparty/sha1 src/3rdparty/easing src/3rdparty/zlib_dependency.pri src/declarative src/gui src/script tools/shared tools/linguist/shared translations [ ok ]
>>> Source unpacked in /var/tmp/portage/x11-libs/qt-core-4.8.2/work
>>> Preparing source in /var/tmp/portage/x11-libs/qt-core-4.8.2/work/qt-everywhere-opensource-src-4.8.2 ...
 * Applying moc-workaround-for-boost-1.48.patch ...                                                                                                    [ ok ]
 * Applying 4.8.2-qatomic-x32.patch ...                                                                                                                [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/qt-core-4.8.2/work/qt-everywhere-opensource-src-4.8.2 ...
 * ERROR: x11-libs/qt-core-4.8.2 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 3113:  Called qt4-build_src_configure
 *   environment, line 2685:  Called tc-arch
 *   environment, line 3256:  Called tc-ninja_magic_to_arch 'portage'
 *   environment, line 3558:  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 '=x11-libs/qt-core-4.8.2'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/qt-core-4.8.2'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/qt-core-4.8.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-core-4.8.2/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/qt-core-4.8.2/work/qt-everywhere-opensource-src-4.8.2'
 * S: '/var/tmp/portage/x11-libs/qt-core-4.8.2/work/qt-everywhere-opensource-src-4.8.2'

>>> Failed to emerge x11-libs/qt-core-4.8.2, Log file:

>>>  '/var/tmp/portage/x11-libs/qt-core-4.8.2/temp/build.log'
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Fri Sep 28, 2012 11:55 am    Post subject: Reply with quote

Are you all sure that your /usr/src/linux symlink correctly points to the source distribution of your currently running kernel ?
_________________
Back to top
View user's profile Send private message
TemplarKnight
Guru
Guru


Joined: 14 Jun 2005
Posts: 311
Location: Greece/patras/

PostPosted: Fri Sep 28, 2012 11:56 am    Post subject: Reply with quote

Yes it does :S

Code:
chameleon ~ # ls -al /usr/src/
σύνολο 9
drwxr-xr-x 14 root root  512 Σεπ  28 12:05 .
drwxr-xr-x 19 root root  560 Φεβ   1  2012 ..
drwxr-xr-x 11 root root  288 Ιούλ 30  2010 initramfs
-rw-r--r--  1 root root    0 Ιούν 17  2008 .keep
lrwxrwxrwx  1 root root   14 Φεβ   2  2012 linux -> linux-3.2.1-ck
drwxr-xr-x 20 root root 1416 Σεπ  28 12:04 linux-2.6.38-gentoo-r6
drwxr-xr-x 24 root root 1608 Νοέ  24  2011 linux-3.0.4-ck
drwxr-xr-x 23 root root  824 Οκτ  26  2011 linux-3.0.6-gentoo
drwxr-xr-x 23 root root  824 Απρ  24 19:14 linux-3.2.12-gentoo
drwxr-xr-x 24 root root 1608 Φεβ   2  2012 linux-3.2.1-ck
drwxr-xr-x 23 root root  824 Φεβ   1  2012 linux-3.2.1-gentoo-r2
drwxr-xr-x 23 root root  824 Φεβ  13  2012 linux-3.2.5-ck
drwxr-xr-x 23 root root  824 Απρ  24 19:16 linux-3.2.6-ck
drwxr-xr-x 23 root root  824 Ιούν 25 18:52 linux-3.3.4-ck
drwxr-xr-x 23 root root  824 Ιούν 25 18:50 linux-3.3.8-gentoo
drwxr-xr-x  7 root root  168 Ιούν  9  2010 rpm
chameleon ~ # uname -a
Linux chameleon 3.2.1-ck #1 SMP Thu Feb 2 14:43:58 EET 2012 x86_64 Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz GenuineIntel GNU/Linux
chameleon ~ #
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Fri Sep 28, 2012 12:01 pm    Post subject: Reply with quote

Then it is probably related to Bug 436472
_________________
Back to top
View user's profile Send private message
rabcor
Apprentice
Apprentice


Joined: 05 Apr 2012
Posts: 200

PostPosted: Fri Sep 28, 2012 12:23 pm    Post subject: Reply with quote

I'm getting this when i try to install the nvidia-drivers on kernel 3.5.4 my most notable change is that my preemption model is preemptible kernel instead of the usual no forced preemption, and my timer frequency is 1000hz instead of 100hz in processor type and features in the kernel settings.
I tried getting past this using the ~amd64 keyword, it still failed with the same error...
I tried emerging the 3.4.9 kernel on which i hadn't recieved any errors of the sort just 2 days ago... (emerge gentoo-sources and eselect kernel set * and editing grub.conf after genkernel is all i used, did i do something wrong with that?) that just gave me the same error.
What fails is qt-core. and withuot it i can't install X or xorg-drivers... meaning i'm stuck in the terminal. pretty serious problem.
I will now try just for the heck of it to set my preemption model to no forced preemption and my timer frequency to 100hz, i doubt that'll change anything but... as expected, no effect. i'm out of noobish ideas already. the next thing i thought of was fresh reinstall with a stable kernel from the start... but then again... i am sortof doubting even that would fix this, as i already tried the 3.4.9 kernel and it didn't seem to fix any of my current problems. so... i will be waiting until this issue is solvesd, until then i'll settle for my windows.. this isn't necessarily a bad thing, i've been at it for more than a week now with gentoo, i can use a break even if i don't exactly want one. i'm gonna make two last attempts now, updating gcc and if that wont work, i'll update it in testing branch. if it still wont work then i'll give up.

and i still get it.
_________________
This picture was my biggest reason for ever trying Gentoo <3
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Fri Sep 28, 2012 3:22 pm    Post subject: Reply with quote

this problem has come up after todays --sync. yesterday it installed qt-core without any problem.
today when it resumed emerge vlc qt-sql got in this trouble.
there may be some thing wrong in portage
i have tried all of the udev versions.
stil same error persists.
in this new laptop install i try to stick with stable packages.
qt-meta-3.3.8b-r2 merged fine. i cant get the make xconfig work with this qt-meta
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
rabcor
Apprentice
Apprentice


Joined: 05 Apr 2012
Posts: 200

PostPosted: Fri Sep 28, 2012 6:06 pm    Post subject: Reply with quote

padoor pointing out that this surfaced with todays sync gave me the idea of doing it again... i mean its been a while

so i dide emerge --sync, then i did emerge portage, and the problem is solved. thanks padoor!
_________________
This picture was my biggest reason for ever trying Gentoo <3
Back to top
View user's profile Send private message
Simba7
l33t
l33t


Joined: 22 Jan 2007
Posts: 706
Location: Billings, MT, USA

PostPosted: Fri Sep 28, 2012 8:39 pm    Post subject: Same issue with grub Reply with quote

I'm having the same issue with =sys-boot/grub-0.97-r13

EDIT: Thanks, padoor! It's working great after syncing portage again.

Code:
>>> Emerging (1 of 8) sys-boot/grub-0.97-r13
 * grub-0.97.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                              [ ok ]
 * splash.xpm.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                 [ ok ]
 * grub-0.97-patches-1.14.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                [ ok ]
 * ERROR: sys-boot/grub-0.97-r13 failed (setup phase):
 *   toolchain-funcs.eclass: Kernel version could not be determined, please inherit kernel-2 or linux-info
 *
 * Call stack:
 *                ebuild.sh, line  89:  Called pkg_setup
 *     grub-0.97-r13.ebuild, line  45:  Called tc-arch
 *   toolchain-funcs.eclass, line 442:  Called tc-ninja_magic_to_arch 'portage'
 *   toolchain-funcs.eclass, line 361:  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 '=sys-boot/grub-0.97-r13'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/grub-0.97-r13'`.
 * The complete build log is located at '/var/tmp/portage/sys-boot/grub-0.97-r13/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-0.97-r13/temp/die.env'.
 * Working directory: '/var/tmp/portage/sys-boot/grub-0.97-r13'
 * S: '/var/tmp/portage/sys-boot/grub-0.97-r13/work/grub-0.97'

>>> Failed to emerge sys-boot/grub-0.97-r13, Log file:
Back to top
View user's profile Send private message
gendjaral
n00b
n00b


Joined: 11 Aug 2012
Posts: 46
Location: DE Munich

PostPosted: Fri Sep 28, 2012 11:03 pm    Post subject: Reply with quote

Also in my case. After I sync portage (on 29. Sep. 2012 - 00:30) the problem is solved. No further errors.
FYI: https://bugs.gentoo.org/show_bug.cgi?id=432390

Best - gendjaral
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Sat Sep 29, 2012 2:06 am    Post subject: Reply with quote

seems like the kernel not found problem got rectified in todays portage.
thanks for all replies
i can mark as solved. :)
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum