Bug 196566 - sys-fs/cloop-2.05 does not build on sys-kernel/hardened-sources-2.6.23
Bug#: 196566 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: genstef@gentoo.org Reported By: rene.rheaume@videotron.qc.ca
Component: Core system
URL: 
Summary: sys-fs/cloop-2.05 does not build on sys-kernel/hardened-sources-2.6.23
Keywords:  
Status Whiteboard: 
Opened: 2007-10-21 02:11 0000
Description:   Opened: 2007-10-21 02:11 0000
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 From René Rhéaume (a.k.a. repzilon, rener) 2007-10-21 02:12:44 0000 -------
Created an attachment (id=134000) [details]
Very simple patch

------- Comment #2 From Alexander Skwar 2007-11-09 07:00:47 0000 -------
Created an attachment (id=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 From Stefan Schweizer 2007-11-09 07:52:44 0000 -------
thanks, committed.