View previous topic :: View next topic |
Author |
Message |
fatcop n00b
Joined: 14 Mar 2005 Posts: 18
|
Posted: Wed Mar 14, 2007 2:05 am Post subject: [SOLVED]cloop emerge fails for stable 2.04 and unstable 2.05 |
|
|
I am trying to emerge sys-fs/cloop on kernel 2.6.19-r5.
--- The stable 2.04 fails with this error:
!!! ERROR: sys-fs/cloop-2.04 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4023: Called src_compile
ebuild.sh, line 1304: Called linux-mod_src_compile
linux-mod.eclass, line 511: Called die
!!! Unable to make KVERSION=2.6.19-gentoo-r5 KERNEL_DIR=/usr/src/linux all.
--- The unstable 2.05 has problems even downloading. It gets a hash error after trying many mirrors:
!!! Digest verification failed:
!!! /usr/portage/distfiles/cloop_2.05~20060829-1.tar.gz
!!! Reason: Failed on RMD160 verification
!!! Got: cd1ef95c7b56593fecfebd04611f20366dfe4dce
!!! Expected: 57d0c6df7e2de844faba8fc146d1ce4939c04c27
I am still getting these problems after about 12 hours.
Any ideas or should I raise a bug report immediately ?
Last edited by fatcop on Thu Mar 15, 2007 1:30 am; edited 1 time in total |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Wed Mar 14, 2007 5:28 am Post subject: |
|
|
You need to post the topmost error, not the summary at the bottom. Without it, it will be difficult for anyone to help you. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
fatcop n00b
Joined: 14 Mar 2005 Posts: 18
|
Posted: Wed Mar 14, 2007 6:10 am Post subject: |
|
|
right you are! Didn't see it cause it way near start
Its pretty clear that compressed_loop.c is using a inode struct field i_blksize that is not in the inode struct (defined in include/linux/fs.h)
Perhaps this is something introduced into a later kernel version than I have.
I would have thought the ebuild would have alerted me that I need a later kernel if that was the case.
Rather unlikly a field was removed. More likely a complete typo, perhaps should be i_blkbits.
But no-one else seems to be having issues.
What do you think ?
* 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 |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Wed Mar 14, 2007 6:25 am Post subject: |
|
|
Check bugs.gentoo.org for an existing bug and, if none found, create a new one. I think you are correct about kernel version possibly being a problem. I've seen posts about other ebuilds broken by new kernel structures. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
fatcop n00b
Joined: 14 Mar 2005 Posts: 18
|
|
Back to top |
|
|
fatcop n00b
Joined: 14 Mar 2005 Posts: 18
|
Posted: Thu Mar 15, 2007 1:09 am Post subject: Issue solved with cloop-2.05 so able to build cloop now |
|
|
I was able to resolve the issues with cloop-2.05 not downloading from mirrors.
See above bug report for cloop-2.05 for details.
The summary is a corrupt file mirror was causing the final package file to be corrupted.
Other people probably won't have the same problem I had with 2.05 because they might not have used the mirror I did.
This mirror was causing the problem: http://public.planetmirror.com/pub/gentoo/
Now the issue with cloop-2.04 is still not resolved. But it seems to be just a bad ebuild. ie. incompatible with certain kernels.
Emerging cloop-2.05 now works, so I consider this thread SOLVED.
cheers |
|
Back to top |
|
|
geeksheik Tux's lil' helper
Joined: 07 Sep 2003 Posts: 99 Location: Zürich, Switzerland
|
Posted: Sun Mar 18, 2007 5:54 pm Post subject: cloop-2.04 fails, but masked cloop-2.05 is ok |
|
|
I have the exact same error with cloop-2.04:
Quote: | 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 Funktion »clo_set_file«:
/var/tmp/portage/sys-fs/cloop-2.04/work/cloop-2.04-1+eb.1/compressed_loop.c:382: Fehler: »struct inode« hat kein Element namens »i_blksize«
|
However, I had no problem installing cloop-2.05, which is currently masked.
My system:
Linux 2.6.19-gentoo-r5 #2 SMP PREEMPT
sys-kernel/gentoo-sources-2.6.19-r5
sys-devel/gcc-3.4.6-r2 (3.4)
sys-devel/gcc-4.1.1-r3 (4.1) <== active
sys-libs/glibc-2.5 (2.2)
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
(I hope that's all the relevant parameters) |
|
Back to top |
|
|
|