Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484828 - sys-kernel/spl-9999 - configure:17763: error: *** Cannot find UTS_RELEASE definition
Summary: sys-kernel/spl-9999 - configure:17763: error: *** Cannot find UTS_RELEASE def...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Richard Yao (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-13 23:00 UTC by Matt
Modified: 2013-10-12 19:09 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-kernel/spl-9999/work/spl-9999/config.log (sys-kernel_spl-9999_work_spl-9999_config.log,26.51 KB, text/x-log)
2013-09-14 15:51 UTC, Matt
Details
/var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/temp/build.log (app-emulation_virtualbox-modules-4.2.18_temp_build.log,2.82 KB, text/x-log)
2013-09-15 16:18 UTC, Matt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt 2013-09-13 23:00:27 UTC
error message is:

checking kernel source version... Not found
configure: error: *** Cannot find UTS_RELEASE definition.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-kernel/spl-9999/work/spl-9999/config.log
 * ERROR: sys-kernel/spl-9999::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 5340:  Called autotools-utils_src_configure
 *        environment, line  942:  Called econf '--docdir=/usr/share/doc/spl-9999' '--bindir=/bin' '--sbindir=/sbin' '--with-config=all' '--with-linux=/usr/src/linux' '--with-linux-obj=/lib/modules/3.10.0_plus-ck1/build' '--disable-debug' '--disable-debug-log'
 *   phase-helpers.sh, line  577:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=sys-kernel/spl-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-kernel/spl-9999::gentoo'`.
 * The complete build log is located at '/var/log/portage/sys-kernel:spl-9999:20130913-224810.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-kernel/spl-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/spl-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999'
 * S: '/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999'

>>> Failed to emerge sys-kernel/spl-9999, Log file:

>>>  '/var/log/portage/sys-kernel:spl-9999:20130913-224810.log'
*** Resuming merge...

>>> Emerging (1 of 2) sys-fs/zfs-kmod-9999
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
^C

Exiting on signal 2

 * Messages for package sys-kernel/spl-9999:

 * ERROR: sys-kernel/spl-9999::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 5340:  Called autotools-utils_src_configure
 *        environment, line  942:  Called econf '--docdir=/usr/share/doc/spl-9999' '--bindir=/bin' '--sbindir=/sbin' '--with-config=all' '--with-linux=/usr/src/linux' '--with-linux-obj=/lib/modules/3.10.0_plus-ck1/build' '--disable-debug' '--disable-debug-log'
 *   phase-helpers.sh, line  577:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=sys-kernel/spl-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-kernel/spl-9999::gentoo'`.
 * The complete build log is located at '/var/log/portage/sys-kernel:spl-9999:20130913-224810.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-kernel/spl-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/spl-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999'
 * S: '/var/tmp/portage/sys-kernel/spl-9999/work/spl-9999'





config.log:

http://pastebin.com/j2ymnkhV



install/search for the sources works with  portage-2.2.0_alpha179 and portage-2.2.0_alpha185 (those are portage-releases that I made backups of after install)

didn't have a chance to test 2.2.0 but at least with 2.2.1 it fails



I tried installing it against compiled vanilla sources, clean compile, added uts-release header stuff, modified/fixed permissions and other things but no change
Comment 1 Matt 2013-09-13 23:00:55 UTC
current tested portage-version was 2.2.4 where it also failed/fails
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-14 15:46:48 UTC
(In reply to Matt from comment #0)
> config.log:
> 
> http://pastebin.com/j2ymnkhV

Please attach that file to this bug report.
Comment 3 Matt 2013-09-14 15:51:53 UTC
Created attachment 358648 [details]
sys-kernel/spl-9999/work/spl-9999/config.log

config.log from sys-kernel/spl-9999 with the error message of emerge attempt with sys-apps/portage-2.2.4
Comment 4 Matt 2013-09-15 16:18:55 UTC
Created attachment 358724 [details]
/var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/temp/build.log

issue also happens with app-emulation/virtualbox-modules-4.2.16 and 4.2.18

with portage 2.2.1 & 2.2.4:

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-emulation/virtualbox-modules-4.2.18
 * vbox-kernel-module-src-4.2.18.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...   [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.11.0_plus-ck1/build
 * Found sources for kernel version:
 *     3.11.0_plus-ck1
>>> Unpacking source...
>>> Unpacking vbox-kernel-module-src-4.2.18.tar.xz to /var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/work
>>> Source unpacked in /var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/work
>>> Preparing source in /var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/work ...
ln: failed to create symbolic link ‘Module.symvers’: File exists
 * Preparing vboxdrv module
make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' KERN_DIR=/usr/src/linux KERNOUT=/lib/modules/3.11.0_plus-ck1/build all 
*** Building 'vboxdrv' module ***
make[1]: Entering directory `/var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/work/vboxdrv'
Makefile:199: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again.  Stop.
make[1]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/work/vboxdrv'
make: *** [all] Error 2
 * ERROR: app-emulation/virtualbox-modules-4.2.18::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-modules-4.2.18::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-modules-4.2.18::gentoo'`.
 * The complete build log is located at '/var/log/portage/app-emulation:virtualbox-modules-4.2.18:20130915-161550.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/work'
 * S: '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/work'

>>> Failed to emerge app-emulation/virtualbox-modules-4.2.18, Log file:

>>>  '/var/log/portage/app-emulation:virtualbox-modules-4.2.18:20130915-161550.log'

 * Messages for package app-emulation/virtualbox-modules-4.2.18:

 * ERROR: app-emulation/virtualbox-modules-4.2.18::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-modules-4.2.18::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-modules-4.2.18::gentoo'`.
 * The complete build log is located at '/var/log/portage/app-emulation:virtualbox-modules-4.2.18:20130915-161550.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/work'
 * S: '/var/tmp/portage/app-emulation/virtualbox-modules-4.2.18/work'
 * 
 * The following package has failed to build or install:
 * 
 *  (app-emulation/virtualbox-modules-4.2.18::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/app-emulation:virtualbox-modules-4.2.18:20130915-161550.log'
 * 


as mentioned above, with portage-2.2.0_alpha185 it works/compiles fine (applies to virtualbox-modules and sys-kernel/spl both 9999 and 0.6.2)
Comment 5 Urs Zurbuchen 2013-09-27 14:30:14 UTC
Experienced the same Problem. In my case, it helped to compile the kernel before emerging sys-kernel/spl.
Comment 6 Matt 2013-09-27 21:51:21 UTC
(In reply to Urs Zurbuchen from comment #5)
> Experienced the same Problem. In my case, it helped to compile the kernel
> before emerging sys-kernel/spl.

then it's not really the same issue for you :)

getting that message when the kernel source has not been compiled as far as I know has been posted numerous times on the forums, etc. an for that case compiling source is the solution


for me the kernel is up and running (and of course it's compiled)

if I remember correctly I tried it besides on my properly compiled kernel sources directory - also just for fun to compile it via the identical kernel config & 

make && make modules

(the kernel uses genkernel for more convenience in using lvm & cryptsetup)
Comment 7 Matt 2013-10-12 15:18:38 UTC
*bump*

any way to test later 2.2.0 alpha versions of portage to pinpoint the version in which this got introduced ?

when trying to build the manifest & fetching/emerging the portage-versions from http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/portage/?hideattic=0

the patch can't be found anymore
Comment 8 Matt 2013-10-12 19:09:49 UTC
ok, worked it out

via chmod -R go+rX

no idea why that command showed no effect on the previous attempts :/