Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196566 - sys-fs/cloop-2.05 does not build on sys-kernel/hardened-sources-2.6.23
Summary: sys-fs/cloop-2.05 does not build on sys-kernel/hardened-sources-2.6.23
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-21 02:11 UTC by René Rhéaume (a.k.a. repzilon, rener)
Modified: 2007-11-09 07:52 UTC (History)
2 users (show)

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


Attachments
Very simple patch (cloop-2.05-kernel_2.6.23.patch,631 bytes, patch)
2007-10-21 02:12 UTC, René Rhéaume (a.k.a. repzilon, rener)
Details | Diff
cloop-2.05.ebuild (cloop-2.05.ebuild,1.26 KB, text/plain)
2007-11-09 07:00 UTC, Alexander Skwar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume (a.k.a. repzilon, rener) 2007-10-21 02:11:47 UTC
The issue might affect other cloop and kernel combinations. I only tested using the versions mentioned in the title. GCC emits a "void value not ignored as it ought to be" error at line 817 in compressed_loop.c . The fix is trivial, replace the if (unregister_cloop_blkdev() != 0) and its printk with unregister_cloop_blkdev(); .

Reproducible: Always

Steps to Reproduce:
1. emerge cloop
2. Watch module building stop with error "void value not ignored as it ought to be"



Expected Results:  
cloop.ko in /lib/modules/2.6.23-hardened/... and user-space utilities in /usr/bin
Comment 1 René Rhéaume (a.k.a. repzilon, rener) 2007-10-21 02:12:44 UTC
Created attachment 134000 [details, diff]
Very simple patch
Comment 2 Alexander Skwar 2007-11-09 07:00:47 UTC
Created attachment 135546 [details]
cloop-2.05.ebuild

It also doesn't build on gentoo-sources. René, could you maybe change the Summary accordingly?

Using your patch and using the attached ebuild, I was able to build cloop.
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2007-11-09 07:52:44 UTC
thanks, committed.