Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]cloop emerge fails for stable 2.04 and unstable 2.05
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
fatcop
n00b
n00b


Joined: 14 Mar 2005
Posts: 18

PostPosted: Wed Mar 14, 2007 2:05 am    Post subject: [SOLVED]cloop emerge fails for stable 2.04 and unstable 2.05 Reply with quote

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
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Wed Mar 14, 2007 5:28 am    Post subject: Reply with quote

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
View user's profile Send private message
fatcop
n00b
n00b


Joined: 14 Mar 2005
Posts: 18

PostPosted: Wed Mar 14, 2007 6:10 am    Post subject: Reply with quote

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
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Wed Mar 14, 2007 6:25 am    Post subject: Reply with quote

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
View user's profile Send private message
fatcop
n00b
n00b


Joined: 14 Mar 2005
Posts: 18

PostPosted: Wed Mar 14, 2007 9:36 am    Post subject: bug reports created Reply with quote

thanks for your help.

Could not see any bug reports about these problems, so I have created 2 bug reports.
One for each cloop version issue:

2.04 - https://bugs.gentoo.org/show_bug.cgi?id=170833
2.05 - https://bugs.gentoo.org/show_bug.cgi?id=170834
Back to top
View user's profile Send private message
fatcop
n00b
n00b


Joined: 14 Mar 2005
Posts: 18

PostPosted: Thu Mar 15, 2007 1:09 am    Post subject: Issue solved with cloop-2.05 so able to build cloop now Reply with quote

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
View user's profile Send private message
geeksheik
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2003
Posts: 99
Location: Zürich, Switzerland

PostPosted: Sun Mar 18, 2007 5:54 pm    Post subject: cloop-2.04 fails, but masked cloop-2.05 is ok Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum