Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389815 - sys-fs/loop-aes-3.6c fails to build with kernel 3.0.x
Summary: sys-fs/loop-aes-3.6c fails to build with kernel 3.0.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Dane Smith (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 15:46 UTC by Blake Leverett
Modified: 2012-01-07 08:54 UTC (History)
2 users (show)

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 Blake Leverett 2011-11-07 15:46:41 UTC
loop-aes-3.6c fails to build with 3.0.x.  A patch file is missing, but this can be easily fixed.

Reproducible: Always

Steps to Reproduce:
1. Set kernel symlink set to 3.0.x kernel
2. Unmask loop-aes-3.6c
3. Emerge loop-aes-3.6c
Actual Results:  
make[1]: Entering directory `/usr/src/linux-3.0.6-gentoo'
make[2]: *** No rule to make target `/home/tmpdir/portage/sys-fs/loop-aes-3.6c/work/loop-AES-v3.6c/tmp-d-kbuild/patched-loop.c', needed by `/home/tmpdir/portage/sys-fs/loop-aes-3.6c/work/loop-AES-v3.6c/tmp-d-kbuild/patched-loop.o'.  Stop.
make[1]: *** [_module_/home/tmpdir/portage/sys-fs/loop-aes-3.6c/work/loop-AES-v3.6c/tmp-d-kbuild] Error 2
make[1]: Leaving directory `/usr/src/linux-3.0.6-gentoo'
make: *** [all] Error 2


Expected Results:  
Build completes successfully.

I was able to get the build to complete by stopping (ctrl-z) the emerge immediately after unpacking, and then creating a symlink:

$pwd
tmpdir/portage/sys-fs/loop-aes-3.6c/work/loop-AES-v3.6c
$ln -s loop.c-2.6.patched loop.c-3.0.patched
$fg
< build resumes and completes successfully >

Since kernel 3.0 is really an extension of 2.6, this seems to work fine.
Comment 1 Alon Bar-Lev 2012-01-06 10:07:41 UTC
Why don't you handle these bugs?!?!?!

*SIMPLE* rename of ebuild!

Now we need loop-aes-3.6e to build with linux-3.2.

c1pher - this is part of maintenance.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-01-07 01:06:13 UTC
InCVS, on behalf of crypto@.