Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 265520

Summary: Kernel sources needed for binary packages (e.g.: drbd)
Product: Gentoo Linux Reporter: vAx <re-vax>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description vAx 2009-04-09 09:17:49 UTC
It's impossible to emerge third part modules from binary packages without kernel-sources installed.

Reproducible: Always

Steps to Reproduce:
1.on HOST_A: emerge drbd-kernel; quickpkg drbd-kernel
2.on HOST_B: emerge --getbinpkgonly drbd-kernel
3.

Actual Results:  
I've compiled this drbd-kernel on an other system and also build a tbz2 file.
When I try to emerge this binary package on a "binary based installation", I get this message:

>>> Emerging binary (1 of 2) sys-cluster/drbd-kernel-8.0.14
 * drbd-kernel-8.0.14.tbz2 MD5 SHA1 size ;-) ...                                                                                                                                                      [ ok ]
>>> Extracting info
 * Checking for suitable kernel configuration options...                                                                                                                                               [ ok ]
 * These sources have not yet been prepared.
 * We cannot build against an unprepared tree.
 * To resolve this, please type the following:
 *
 * # cd /usr/src/linux
 * # make oldconfig
 * # make modules_prepare
 *
 * Then please try merging this module again.



Expected Results:  
- Why this kernel-source check?
- Is there a way to ignore the kernel-source check for theses third part modules?


I've put this bug in "Enhancement" because I'm able to install my binpak after an emerge gentoo-sources, cp .config , make * ... But the reason I use binary packages is to avoid the usage of any sources on my target systems  ;)

/X
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-10 09:03:04 UTC

*** This bug has been marked as a duplicate of bug 154495 ***