Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170833 - Emerge of sys-fs/cloop-2.04 fails with compile error
Summary: Emerge of sys-fs/cloop-2.04 fails with compile error
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-14 09:22 UTC by fatcop
Modified: 2008-04-28 11:59 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 fatcop 2007-03-14 09:22:07 UTC
Emerge of sys-fs/cloop-2.04 (current stable) fails with compile error.

I am using the kernel 2.16.19-r5 (current stable).
gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)



Reproducible: Always

Steps to Reproduce:
1. emerge sys-fs/cloop
2.
3.

Actual Results:  
Here is the part of the log with the error:

Preparing cloop module
cd advancecomp-1.15 && ./configure
i686-pc-linux-gnu-gcc -march=athlon -mtune=athlon -O2 -pipe -fomit-frame-pointer -c -o extract_compressed_fs.o extract_compressed_fs.c
make modules -C /usr/src/linux M=/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1
make[1]: Entering directory `/usr/src/linux-2.6.19-gentoo-r5'
i686-pc-linux-gnu-gcc -o extract_compressed_fs extract_compressed_fs.o -lz
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... CC [M] /var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.o
/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.c: In function `clo_set_file':
/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.c:382: error: structure has no member named `i_blksize'
make[2]: *** [/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.o] Error 1
make[1]: *** [_module_/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r5'
make: *** [module] Error 2

Expected Results:  
successful emerge :)

Link to original forum query: http://forums.gentoo.org/viewtopic-t-546777-start-0-postdays-0-postorder-asc-highlight-.html

Also, emerge of unstable cloop-2.05 does not work either for a different reason.
No mirror that I try can download it properly for some reason.
When one does it has a digest mismatch error.
I will raise a seperate bug report for that (and put link here).
Comment 1 fatcop 2007-03-14 09:34:04 UTC
my system info:
Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.19-gentoo-r5 i686)

link to my bug report for why cloop 2.05 fails:
http://bugs.gentoo.org/show_bug.cgi?id=170834
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2007-03-20 21:59:46 UTC
try with 2.0.5 please
Comment 3 Bryant Hansen 2008-04-28 11:59:11 UTC
2.04 is the unmasked version.  There should be some kind of dependency on older versions of the kernel.  It seems that this does not work with newer versions.

Here are my top-most build errors:

make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo-r4'
  CC [M]  /var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.o
/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.c:116: warning: 'request_queue_t' is deprecated
/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.c:262: warning: 'request_queue_t' is deprecated
/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.c: In function 'make_clo_request':
/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.c:335: error: too many arguments to function 'bio_endio'
/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.c: In function 'clo_set_file':
/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.c:372: warning: 'request_queue_t' is deprecated
/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.c:382: error: 'struct inode' has no member named 'i_blksize'
/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.c: In function 'clo_clr_fd':
/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.c:582: error: too many arguments to function 'invalidate_bdev'
/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.c: In function 'cloop_exit':
/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.c:764: error: void value not ignored as it ought to be
make[2]: *** [/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.o] Error 1
make[1]: *** [_module_/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r4'
make: *** [module] Error 2
make: *** Waiting for unfinished jobs.... 

2.05 also does not work.

I described these issues in the following forum post:
http://forums.gentoo.org/viewtopic-t-690130.html