| View previous topic :: View next topic |
| Author |
Message |
dirtbag Guru


Joined: 18 Feb 2003 Posts: 508 Location: NC
|
Posted: Sat Mar 05, 2005 1:34 am Post subject: emerge of cloop 2.x fails |
|
|
dellbox jason # !emerge
emerge sys-fs/cloop
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-fs/cloop-2.01.5-r1 to /
>>> md5 src_uri cloop_2.01-5.tar.gz
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.10-gentoo-r4
* Checking for suitable kernel configuration options
>>> Unpacking source...
>>> Unpacking cloop_2.01-5.tar.gz to /var/tmp/portage/cloop-2.01.5-r1/work
* Applying cloop.fix-Makefile-for-kernel-2.6-and-amd64.patch ... [ ok ]
* Applying cloop.fix-incompatible-kernel-2.6.7-and-later.patch ... [ ok ]
* Applying cloop.fix-7z-syntax-for-gcc-3.4.patch ... [ ok ]
* Applying cloop.fix-create_compressed_fs-segfault-on-amd64.patch ... [ ok ]
>>> Source unpacked.
* Preparing cloop module
( make -C advancecomp-1.9_create_compressed_fs advfs )
gcc -O2 -march=i686 -fomit-frame-pointer -c -o extract_compressed_fs.o extract_compressed_fs.c
make[1]: Entering directory `/var/tmp/portage/cloop-2.01.5-r1/work/cloop-2.01/advancecomp-1.9_create_compressed_fs'
g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o advfs.o `test -f 'advfs.cc' || echo './'`advfs.cc
g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c -o utility.o `test -f 'utility.cc' || echo './'`utility.cc
gcc -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default -O2 -march=i686 -fomit-frame-pointer -D__KERNEL__ -DMODULE -fno-builtin -nostdlib -DKBUILD_MODNAME="cloop" -DKBUILD_BASENAME="cloop" -D__OPTIMIZE__ -D__SMP__ compressed_loop.c -c -o compressed_loop.o
advfs.cc:33:1: warning: "__OPTIMIZE__" redefined
<built-in>:53:1: warning: this is the location of the previous definition
In file included from advfs.cc:34:
/usr/include/netinet/in.h:354: error: parse error before `)' token
/usr/include/netinet/in.h:354: error: parse error before `?' token
/usr/include/netinet/in.h:354: error: parse error before `)' token
/usr/include/netinet/in.h:355: error: parse error before `)' token
/usr/include/netinet/in.h:355: error: parse error before `?' token
/usr/include/netinet/in.h:355: error: parse error before `)' token
/usr/include/netinet/in.h:357: error: parse error before `)' token
/usr/include/netinet/in.h:357: error: parse error before `?' token
/usr/include/netinet/in.h:357: error: parse error before `)' token
/usr/include/netinet/in.h:359: error: parse error before `)' token
/usr/include/netinet/in.h:359: error: parse error before `?' token
/usr/include/netinet/in.h:359: error: parse error before `)' token
In file included from advfs.cc:34:
/usr/include/netinet/in.h:510: error: parse error before `}' token
make[1]: *** [advfs.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/cloop-2.01.5-r1/work/cloop-2.01/advancecomp-1.9_create_compressed_fs'
make: *** [advancecomp-1.9_create_compressed_fs/advfs] Error 2
make: *** Waiting for unfinished jobs....
!!! ERROR: sys-fs/cloop-2.01.5-r1 failed.
!!! Function linux-mod_src_compile, Line 417, Exitcode 2
!!! Unable to make KVERSION=2.6.10-gentoo-r4 KERNEL_DIR=/usr/src/linux all.
!!! If you need support, post the topmost build error, NOT this status message.
dellbox jason #
dellbox jason # uname -a
Linux dellbox 2.6.10-gentoo-r4 #3 SMP Fri Mar 4 20:26:37 EST 2005 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
any idears?
-DB |
|
| Back to top |
|
 |
dirtbag Guru


Joined: 18 Feb 2003 Posts: 508 Location: NC
|
Posted: Mon Mar 07, 2005 1:37 am Post subject: aha! |
|
|
http://www2.goldfisch.at/knowledge/310
Solution: netinet ist not needed on non-debian-systems. So simply remove all includes from the sources. Mainly from advfs.cc, extract_compressed_fs.c and create_compressed_fs.
those debian weenies.. This fix seems to have worked for me.
can someone please fix the port now?
thanks,
DB |
|
| Back to top |
|
 |
budks n00b

Joined: 10 Mar 2005 Posts: 1
|
Posted: Thu Mar 10, 2005 11:45 am Post subject: cloop on gentoo |
|
|
I followed the instructions and managed to emerge the cloop-2.01.5-r1 package sucessfully .. except the actual cloop.ko was never created! Only the user applications. I removed the netinet includes completely and while emering got a complain that a patch cant be applied so I commented it on the ebuild
# epatch ${FILESDIR}/cloop.fix-Makefile-for-kernel-2.6-and-amd64.patch
Did anyone else have the same problem?[/code] _________________ In a world with no borders and boundries who needs Windows and Gates! |
|
| Back to top |
|
 |
labrador Guru


Joined: 04 Oct 2003 Posts: 316
|
Posted: Tue May 17, 2005 3:49 pm Post subject: Ha, Ha! |
|
|
Way to go Gentoo! This problem still exists on May 17th!
I have a failure to build cloop against the 2.4.28 kernel sources. |
|
| Back to top |
|
 |
avendesora Veteran


Joined: 16 Aug 2002 Posts: 1739 Location: Betelgeuse vicinity
|
Posted: Tue May 17, 2005 4:20 pm Post subject: Re: Ha, Ha! |
|
|
| labrador wrote: | | Way to go Gentoo! This problem still exists on May 17th! |
Just curious: did any of you actually file a bug so that the gentoo devs are aware of this
and can actually do something about it?
BTW: compiles just fine here, .ko and all, patch is present. Maybe you just need to sync. |
|
| Back to top |
|
 |
labrador Guru


Joined: 04 Oct 2003 Posts: 316
|
Posted: Tue May 17, 2005 9:21 pm Post subject: still a waste of time |
|
|
| Quote: |
Just curious: did any of you actually file a bug so that the gentoo devs are aware of this
and can actually do something about it?
BTW: compiles just fine here, .ko and all, patch is present. Maybe you just need to sync. |
Did a sync earlier today. No difference.
Did a sync a few minutes ago. No difference.
There is a bug report that I believe covers this. It took a month to fix.
(assuming it is fixed today, but it isn't for me.)
https://bugs.gentoo.org/show_bug.cgi?id=90646
But the question to me is, how does stuff like this arrive in stable?
Maybe some of us are learning what stable truely means. |
|
| Back to top |
|
 |
labrador Guru


Joined: 04 Oct 2003 Posts: 316
|
Posted: Thu May 19, 2005 1:08 am Post subject: It is working now |
|
|
cloop 2.01.5-r1 is now building fine for me.
They updated the build very recently, according to the bug report. |
|
| Back to top |
|
 |
|