First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 90646
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Stefan Schweizer <genstef@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christophe Garault <gentoo@garault.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
cloop.txt emerge -av cloop result text/plain Christophe Garault 2005-05-08 06:44 0000 6.19 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 90646 depends on: Show dependency tree
Bug 90646 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-04-27 12:06 0000
Trying to upgrade from cloop-0.68 to 2.01.5-r1 I get errors I don't understand. 

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

Actual Results:  
Here is the complete error messages of emerge:

marge linux # emerge -av -1 sys-fs/cloop

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] sys-fs/cloop-2.01.5-r1 [0.68] 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No]
>>> emerge (1 of 1) sys-fs/cloop-2.01.5-r1 to /
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) cloop-2.01.5-r1.ebuild
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) files/digest-cloop-2.01.5-r1
>>> md5 files   ;-) files/cloop.fix-7z-syntax-for-gcc-3.4.patch
>>> md5 files   ;-) files/cloop.fix-create_compressed_fs-segfault-on-amd64.patch
>>> md5 files   ;-) files/cloop.fix-Makefile-for-kernel-2.6-and-amd64.patch
>>> md5 files   ;-) files/cloop.fix-incompatible-kernel-2.6.7-and-later.patch
>>> 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.4.29
 * 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 )
cc -mcpu=athlon-xp -O2 -pipe -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
cc -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default
-mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -D__KERNEL__ -DMODULE
-fno-builtin -nostdlib -DKBUILD_MODNAME="cloop" -DKBUILD_BASENAME="cloop"
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
compressed_loop.c -c -o compressed_loop.o
cc -o extract_compressed_fs extract_compressed_fs.o -lz
Building for Kernel Patchlevel 4
ld -r -o cloop.o compressed_loop.o
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
g++ -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS
-c
-o siglock.o `test -f 'siglock.cc' || echo './'`siglock.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS
-c
-o compress.o `test -f 'compress.cc' || echo './'`compress.cc
gcc -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS
-c
`test -f 'getopt.c' || echo './'`getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS
-c
`test -f 'snprintf.c' || echo './'`snprintf.c
g++ -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS
-c
-o pngex.o `test -f 'pngex.cc' || echo './'`pngex.cc
advfs.cc:33:1: attention : 

------- Comment #1 From Christophe Garault 2005-04-27 12:06:34 0000 -------
Trying to upgrade from cloop-0.68 to 2.01.5-r1 I get errors I don't understand. 

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

Actual Results:  
Here is the complete error messages of emerge:

marge linux # emerge -av -1 sys-fs/cloop

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] sys-fs/cloop-2.01.5-r1 [0.68] 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No]
>>> emerge (1 of 1) sys-fs/cloop-2.01.5-r1 to /
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) cloop-2.01.5-r1.ebuild
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) files/digest-cloop-2.01.5-r1
>>> md5 files   ;-) files/cloop.fix-7z-syntax-for-gcc-3.4.patch
>>> md5 files   ;-) files/cloop.fix-create_compressed_fs-segfault-on-amd64.patch
>>> md5 files   ;-) files/cloop.fix-Makefile-for-kernel-2.6-and-amd64.patch
>>> md5 files   ;-) files/cloop.fix-incompatible-kernel-2.6.7-and-later.patch
>>> 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.4.29
 * 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 )
cc -mcpu=athlon-xp -O2 -pipe -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
cc -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default
-mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -D__KERNEL__ -DMODULE
-fno-builtin -nostdlib -DKBUILD_MODNAME="cloop" -DKBUILD_BASENAME="cloop"
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h
compressed_loop.c -c -o compressed_loop.o
cc -o extract_compressed_fs extract_compressed_fs.o -lz
Building for Kernel Patchlevel 4
ld -r -o cloop.o compressed_loop.o
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
g++ -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS
-c
-o siglock.o `test -f 'siglock.cc' || echo './'`siglock.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS
-c
-o compress.o `test -f 'compress.cc' || echo './'`compress.cc
gcc -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS
-c
`test -f 'getopt.c' || echo './'`getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS
-c
`test -f 'snprintf.c' || echo './'`snprintf.c
g++ -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS
-c
-o pngex.o `test -f 'pngex.cc' || echo './'`pngex.cc
advfs.cc:33:1: attention : « __OPTIMIZE__ » redéfini
<interne>:53:1: attention : ceci est la localisation d'une précédente
définition
In file included from advfs.cc:34:
/usr/include/netinet/in.h:354: error: erreur d'analyse syntaxique before `)'
   token
/usr/include/netinet/in.h:354: error: erreur d'analyse syntaxique before `?'
   token
/usr/include/netinet/in.h:354: error: erreur d'analyse syntaxique before `)'
   token
/usr/include/netinet/in.h:355: error: erreur d'analyse syntaxique before `)'
   token
/usr/include/netinet/in.h:355: error: erreur d'analyse syntaxique before `?'
   token
/usr/include/netinet/in.h:355: error: erreur d'analyse syntaxique before `)'
   token
/usr/include/netinet/in.h:357: error: erreur d'analyse syntaxique before `)'
   token
/usr/include/netinet/in.h:357: error: erreur d'analyse syntaxique before `?'
   token
/usr/include/netinet/in.h:357: error: erreur d'analyse syntaxique before `)'
   token
/usr/include/netinet/in.h:359: error: erreur d'analyse syntaxique before `)'
   token
/usr/include/netinet/in.h:359: error: erreur d'analyse syntaxique before `?'
   token
/usr/include/netinet/in.h:359: error: erreur d'analyse syntaxique before `)'
   token
In file included from advfs.cc:34:
/usr/include/netinet/in.h:510: error: erreur d'analyse syntaxique before `}'
   token
make[1]: *** [advfs.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
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] Erreur 2

!!! ERROR: sys-fs/cloop-2.01.5-r1 failed.
!!! Function linux-mod_src_compile, Line 454, Exitcode 2
!!! Unable to make                                  KVERSION=2.4.29
KERNEL_DIR=/usr/src/linux all.
!!! If you need support, post the topmost build error, NOT this status message.



marge linux # emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.4.29 i686)
=================================================================
System uname: 2.4.29 i686 AMD Duron(tm)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005,
10:11:56)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.6.3, 1.5, 1.7.9-r1, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks noauto
sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.du.se/pub/os/gentoo
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr fr_FR en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow aalib acl adns aim apache2 audiofile avi bash-completion
berkdb bindist bitmap-fonts bonobo caps crypt cscope cups curl directfb
divx4linux doc emboss encode ethereal fam fastcgi fbcon fdftk flac flash
foomaticdb fortran freetds gd gdbm ggi gif gpm gstreamer gtk2 guile icq
imagemagick imap imlib innodb jabber jikes jpeg junit lcms ldap lesstif libg++
libgda libwww mad maildir mbox mcal md5sum mikmod mmx motif mozilla mp3 mpeg
mpi
msn mysql ncurses nls nocd oci8 odbc ogg oggvorbis opengl oscar pam pdflib perl
png postgres ppds prelude python quicktime readline ruby samba sasl slang slp
snmp socks5 speex spell sqlite sse ssl svga tcpd tetex theora tiff truetype
truetype-fonts type1-fonts unicode usb vhosts vorbis wmf xface xml2 xv xvid
yahoo zeo zlib linguas_fr linguas_fr_FR linguas_en linguas_en_US"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS

------- Comment #2 From Stefan Schweizer 2005-04-27 12:45:47 0000 -------
can you please provide english or german output, I dont know much french ;)

can you please try to comment out:
#define __OPTIMIZE__
in cloop-2.01/advancecomp-1.9_create_compressed_fs/advfs.cc
after sourc unpacked?

------- Comment #3 From Christophe Garault 2005-04-27 13:19:12 0000 -------
Sorry for the french Stefan, I swear I won't do it again. ;)

So, "advfs.cc:33:1: attention : 

------- Comment #4 From Christophe Garault 2005-04-27 13:19:12 0000 -------
Sorry for the french Stefan, I swear I won't do it again. ;)

So, "advfs.cc:33:1: attention : « __OPTIMIZE__ » redéfini" means basically "warning __OPTIMIZE__ redefined".

"<interne>:53:1: attention : ceci est la localisation d'une précédente définition" means "<internal>:53:1 warning: this is localization of a previous definition"

"In file included from advfs.cc:34:" explains why __OPTIMIZE__ is not in advfs.cc but rather in /usr/include/netinet/in.h

And "error: erreur d'analyse syntaxique before `)'" means "error: syntactic analysis error before ')'

And now here is the content of the relevant portion of in.h beginning with line 354:

extern uint32_t ntohl (uint32_t __netlong) __THROW __attribute__ ((__const__));
extern uint16_t ntohs (uint16_t __netshort)
     __THROW __attribute__ ((__const__));
extern uint32_t htonl (uint32_t __hostlong)
     __THROW __attribute__ ((__const__));
extern uint16_t htons (uint16_t __hostshort)
     __THROW __attribute__ ((__const__));
 

#include <endian.h>

/* Get machine dependent optimized versions of byte swapping functions.  */
#include <bits/byteswap.h>

#ifdef __OPTIMIZE__
/* We can optimize calls to the conversion functions.  Either nothing has
   to be done or we are using directly the byte-swapping functions which
   often can be inlined.  */
# if __BYTE_ORDER == __BIG_ENDIAN
/* The host byte order is the same as network byte order,
   so these functions are all just identity.  */
# define ntohl(x)       (x)
# define ntohs(x)       (x)
# define htonl(x)       (x)
# define htons(x)       (x)
# else
#  if __BYTE_ORDER == __LITTLE_ENDIAN
#   define ntohl(x)     __bswap_32 (x)
#   define ntohs(x)     __bswap_16 (x)
#   define htonl(x)     __bswap_32 (x)
#   define htons(x)     __bswap_16 (x)
#  endif
# endif
#endif


HTH.

Regards.


------- Comment #5 From Stefan Schweizer 2005-04-27 13:37:03 0000 -------
Does it work with #define __OPTIMIZE__ commented out so the obviously malicious
code does not get called?

------- Comment #6 From Christophe Garault 2005-04-27 14:23:35 0000 -------
Stefan, there is no "#define __OPTIMIZE__ " code neither in advfs.cc nor in
/usr/include/netinet/in.h. Instead there is a #ifdef __OPTIMIZE__ in in.h , 
but I can't find where __OPTIMIZE__ is really defined as I haven't found it in
the whole cloop archive. And unfortunatly commenting out the whole part of
#ifdef __OPTIMIZE__ in in.h does not change the actual result. My glibc version
is 2.3.4.20041102-r1.

Anything else I can do to help?

------- Comment #7 From Stefan Schweizer 2005-04-27 21:59:26 0000 -------
The __OPTIMIZE__ is defined in the makefile+amd64 patch .. so its obvious that
you wont find it in the archive :)

------- Comment #8 From Christophe Garault 2005-05-08 06:44:39 0000 -------
Created an attachment (id=58350) [edit]
emerge -av cloop result

Stefan, sorry for being late, I've changed the content of the patch like this:
+/*#define __OPTIMIZE__*/ then ebuild digest, and tried again to emerge cloop.
Unforunatly it hasn't worked.
You'll find in the attached file the result of the cloop's emerge error
messages. Now I don't think that OPTIMIZE is responsible for the error. Rather
I think it's the "extern" functions which are responsible:
extern uint32_t ntohl (uint32_t __netlong) __THROW __attribute__ ((__const__));

extern uint16_t ntohs (uint16_t __netshort)
     __THROW __attribute__ ((__const__));
extern uint32_t htonl (uint32_t __hostlong)
     __THROW __attribute__ ((__const__));
extern uint16_t htons (uint16_t __hostshort)
     __THROW __attribute__ ((__const__));

What do you think and what con I do to help now? 

------- Comment #9 From Daniel Drake 2005-05-17 12:30:59 0000 -------
Fixed in CVS. Please run emerge sync in 60 minutes and reopen if the problem
still exists.

------- Comment #10 From Labrador 2005-05-17 14:19:42 0000 -------
# emerge -u cloop firestarter flac tcptraceroute syslog-ng 
Calculating dependencies ...done!
>>> emerge (1 of 11) sys-fs/cloop-2.01.5-r1 to /
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) cloop-2.01.5-r1.ebuild
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) files/cloop.fix-7z-syntax-for-gcc-3.4.patch
>>> md5 files   ;-) files/cloop.fix-create_compressed_fs-segfault-on-amd64.patch
>>> md5 files   ;-) files/cloop.fix-Makefile-for-kernel-2.6-and-amd64.patch
>>> md5 files   ;-) files/digest-cloop-2.01.5-r1
>>> md5 files   ;-) files/cloop.fix-incompatible-kernel-2.6.7-and-later.patch
>>> 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.4.28
 * Checking for suitable kernel configuration options
>>> Unpacking source...
>>> Unpacking cloop_2.01-5.tar.gz to /usr/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 )
cc -march=pentium3 -O2 -pipe   -c -o extract_compressed_fs.o extract_compressed_fs.c
cc -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default
-march=pentium3 -O2 -pipe -D__KERNEL__ -DMODULE -fno-builtin -nostdlib
-DKBUILD_MODNAME="cloop" -DKBUILD_BASENAME="cloop" -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -D__SMP__ compressed_loop.c -c -o
compressed_loop.o
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
cc -o extract_compressed_fs extract_compressed_fs.o -lz
g++ -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c
-o siglock.o `test -f 'siglock.cc' || echo './'`siglock.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c
-o compress.o `test -f 'compress.cc' || echo './'`compress.cc
gcc -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c
`test -f 'getopt.c' || echo './'`getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c
`test -f 'snprintf.c' || echo './'`snprintf.c
g++ -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c
-o pngex.o `test -f 'pngex.cc' || echo './'`pngex.cc
gcc -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c
-o fz.o `test -f 'lib/fz.c' || echo './'`lib/fz.c
Building for Kernel Patchlevel 4
ld -r -o cloop.o compressed_loop.o
gcc -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c
-o error.o `test -f 'lib/error.c' || echo './'`lib/error.c
gcc -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c
-o snstring.o `test -f 'lib/snstring.c' || echo './'`lib/snstring.c
gcc -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c
-o png.o `test -f 'lib/png.c' || echo './'`lib/png.c
gcc -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c
-o mng.o `test -f 'lib/mng.c' || echo './'`lib/mng.c
g++ -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c
-o 7zdeflate.o `test -f '7z/7zdeflate.cc' || echo './'`7z/7zdeflate.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c
-o 7zlzma.o `test -f '7z/7zlzma.cc' || echo './'`7z/7zlzma.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.      -g -O3 -DUSE_ERROR_SILENT -DUSE_COMPRESS -c
-o AriBitCoder.o `test -f '7z/AriBitCoder.cc' || echo './'`7z/AriBitCoder.cc
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]: *** Waiting for unfinished jobs....
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

!!! ERROR: sys-fs/cloop-2.01.5-r1 failed.
!!! Function linux-mod_src_compile, Line 473, Exitcode 2
!!! Unable to make                                  KVERSION=2.4.28
KERNEL_DIR=/usr/src/linux all.
!!! If you need support, post the topmost build error, NOT this status message.

------- Comment #11 From Daniel Drake 2005-05-17 15:19:35 0000 -------
Looks like you need to wait a bit longer before syncing. You'll see a new patch
added, cloop-2.01.5-netinet-gentoo.patch or something like that.

------- Comment #12 From Daniel Drake 2005-05-18 13:42:06 0000 -------
Sent the fix to Klaus Knopper and got a response, the patch will also be
included in the next upstream release.

------- Comment #13 From Labrador 2005-05-18 17:07:58 0000 -------
It now builds OK for me.  I did see the new patch
files/cloop-2.01.5-netinet-gentoo.patch


------- Comment #14 From Christophe Garault 2005-05-19 03:06:12 0000 -------
Works fine. Thanks a lot Daniel.

------- Comment #15 From Christophe Garault 2005-05-19 03:07:21 0000 -------
Works fine now. Thanks a lot Daniel.

First Last Prev Next    No search results available      Search page      Enter new bug