When I try to compile compile raidtools-1.00.3-r1 with linux26-headers-2.6.7-r2 I get such output /usr/include/linux/list.h:77: error: `list_add_tail' previously defined here list.h:81: error: redefinition of `__list_del' /usr/include/linux/list.h:148: error: `__list_del' previously defined here list.h:92: error: redefinition of `list_del' /usr/include/linux/list.h:160: error: `list_del' previously defined here list.h:102: error: redefinition of `list_del_init' /usr/include/linux/list.h:201: error: `list_del_init' previously defined here list.h:112: error: conflicting types for `list_empty' /usr/include/linux/list.h:234: error: previous declaration of `list_empty' list.h:122: error: redefinition of `list_splice' /usr/include/linux/list.h:276: error: `list_splice' previously defined here In file included from lsraid.c:50: list.h:143:1: warning: "list_entry" redefined In file included from /usr/include/linux/wait.h:12, from /usr/include/linux/fs.h:12, from lsraid.c:45: /usr/include/linux/list.h:303:1: warning: this is the location of the previous definition In file included from lsraid.c:50: list.h:151:1: warning: "list_for_each" redefined In file included from /usr/include/linux/wait.h:12, from /usr/include/linux/fs.h:12, from lsraid.c:45: /usr/include/linux/list.h:311:1: warning: this is the location of the previous definition gcc -o raidstart raidstart.o parser.o raidlib.o version.o raid_io.o scsi.o reconfiguration.o rrc_common.o rrc_raid0.o rrc_raid5.o rrc_single.o -Wl,-Bstatic -lpopt -Wl,-Bdynamic gcc -o mkraid mkraid.o parser.o raidlib.o version.o raid_io.o scsi.o reconfiguration.o rrc_common.o rrc_raid0.o rrc_raid5.o rrc_single.o -Wl,-Bstatic -lpopt -Wl,-Bdynamic make: *** [lsraid.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: sys-fs/raidtools-1.00.3-r1 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! (no error message) when I re-emerged linux26-headers-2.6.5 it compiled fine Reproducible: Always Steps to Reproduce: 1. emerge linux26-headers-2.6.7-r2 2. emerge raidtools 3. Actual Results: Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -ffast-math -funroll-loops -pipe -fomit-frame-pointer -msse -mfpmath=sse,387" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -ffast-math -funroll-loops -pipe -fomit-frame-pointer -msse -mfpmath=sse,387" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://local.int.sibsau.ru/gentoo-portage" USE="apm arts avi berkdb crypt cups curl encode flash foomaticdb gd gdbm gif gmp gnome gtk gtk2 imap imlib java jpeg kde ldap libg++ libwww mad mbox mcal mikmod motif mpeg mysql ncurses nls oav oggvorbis opengl oss pam pdflib perl php png postgres python quicktime readline samba sdl slang snmp spell ssl svga tcpd tiff truetype x86 xml2 xmms xv zlib"
Hi. Could you please have a look at the workaround I posted in Bug #57373, and tell if this works for "your" raidtools problem as well?
Should now be fixed - sync, remerge your linux26-headers making sure that files/linux26-headers-2.6.7-appCompat.patch has an MD5 hash of 2e7a6080afc1b2fea56740690790d878 and this should now compile without any issues. If it still happens to fail, please reopen this bug. Thanks!
Confirming: raidtools compiles fine with the new appCompat.patch.