Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389517 - >=www-client/chromium-16.0 binary package install fails with kernel src tree dependency
Summary: >=www-client/chromium-16.0 binary package install fails with kernel src tree ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-04 17:36 UTC by Paul Freeman
Modified: 2011-11-04 18:00 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 Paul Freeman 2011-11-04 17:36:20 UTC
the changes added to recent ebuilds (>=chromium-16*) in order to solve bug #363907 have the unfortunate side affect of breaking binary xpak based installs, checking kernel parameters in pkg_pretend() causes an install time requirement of a configured kernel source tree - quite an issue if you have a binary build system + many clients

maybe they should be a warning only and not a blocking failure point. or they could be moved to src_configure()/src_prepare() ?




Reproducible: Always

Steps to Reproduce:
1. create a binary package for www-client/chromium-16.0.912.21
2. attempt to emerge it a machine with no kernel src tree
3. pre-merge checks fail
Actual Results:  

Calculating dependencies... done!
[binary  NS   ~] www-client/chromium-16.0.912.21 [9999-r1] USE="gnome
gnome-keyring kerberos -bindist (-pulseaudio) -test" LINGUAS="en_GB -am -ar -bg
-bn -ca -cs -da -de -el -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id
-it -ja -kn -ko -lt -lv -ml -mr -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr
-sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW" 0 kB

Total: 1 package (1 in new slot, 1 binary), Size of downloads: 0 kB

>>> Running pre-merge checks for www-client/chromium-16.0.912.21
 * chromium-16.0.912.21.tbz2 size ;-) ...                                [ ok ]
 * Determining the location of the kernel source code
 * Unable to find kernel sources at /usr/src/linux
 * Please make sure that /usr/src/linux points at your running kernel, 
 * (or the kernel you wish to build against).
 * Alternatively, set the KERNEL_DIR environment variable to the kernel sources
location
 * Unable to calculate Linux Kernel version for build, attempting to use
running version
 * Checking for suitable kernel configuration options...
 *   PID_NS is required for sandbox to work
 *   NET_NS is required for sandbox to work
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.
 * ERROR: www-client/chromium-16.0.912.21 failed (pretend phase):
 *   Incorrect kernel configuration options
 * 
 * Call stack:
 *     ebuild.sh, line   91:  Called pkg_pretend
 *   environment, line 4149:  Called check_extra_config
 *   environment, line 1582:  Called die
 * The specific snippet of code:
 *           die "Incorrect kernel configuration options";
 * 




Expected Results:  
error free install

zgrep -E '(PID_NS|NET_NS)' /proc/config.gz 
CONFIG_PID_NS=y
CONFIG_NET_NS=y
Comment 1 Mike Gilbert gentoo-dev 2011-11-04 18:00:08 UTC
Pawel changed it to be non-fatal. Please reopen if you still have trouble.