Since 2.10-r1 was release few days ago, I'm unable to compile it. It always fails like this : >>> emerge (1 of 1) sys-fs/dosfstools-2.10-r1 to / >>> md5 src_uri ;-) dosfstools-2.10.src.tar.gz >>> Unpacking source... >>> Unpacking dosfstools-2.10.src.tar.gz to /var/tmp/portage/dosfstools-2.10-r1/work * Applying errno.patch... [ ok ] * Applying dosfstools-2.10-2.6.headers.patch... [ ok ] * Applying dosfstools-2.10-lseek64.patch... [ ok ]>>> Source unpacked. make -C mkdosfs all make[1]: Entering directory `/var/tmp/portage/dosfstools-2.10-r1/work/dosfstools-2.10/mkdosfs' gcc -D_GNU_SOURCE -O2 -fomit-frame-pointer -Wall -c mkdosfs.c -o mkdosfs.o In file included from /usr/include/asm/processor.h:19, from /usr/include/linux/prefetch.h:14, from /usr/include/linux/list.h:5, from /usr/include/linux/wait.h:12, from /usr/include/linux/fs.h:12, from mkdosfs.c:55: /usr/include/asm/system.h: In function `__cmpxchg': /usr/include/asm/system.h:249: erreur:
Since 2.10-r1 was release few days ago, I'm unable to compile it. It always fails like this : >>> emerge (1 of 1) sys-fs/dosfstools-2.10-r1 to / >>> md5 src_uri ;-) dosfstools-2.10.src.tar.gz >>> Unpacking source... >>> Unpacking dosfstools-2.10.src.tar.gz to /var/tmp/portage/dosfstools-2.10-r1/work * Applying errno.patch... [ ok ] * Applying dosfstools-2.10-2.6.headers.patch... [ ok ] * Applying dosfstools-2.10-lseek64.patch... [ ok ]>>> Source unpacked. make -C mkdosfs all make[1]: Entering directory `/var/tmp/portage/dosfstools-2.10-r1/work/dosfstools-2.10/mkdosfs' gcc -D_GNU_SOURCE -O2 -fomit-frame-pointer -Wall -c mkdosfs.c -o mkdosfs.o In file included from /usr/include/asm/processor.h:19, from /usr/include/linux/prefetch.h:14, from /usr/include/linux/list.h:5, from /usr/include/linux/wait.h:12, from /usr/include/linux/fs.h:12, from mkdosfs.c:55: /usr/include/asm/system.h: In function `__cmpxchg': /usr/include/asm/system.h:249: erreur: « LOCK_PREFIX » non déclaré (première utilisation dans cette fonction) /usr/include/asm/system.h:249: erreur: (Chaque identificateur non déclaré est rapporté une seule fois /usr/include/asm/system.h:249: erreur: pour chaque fonction dans laquelle il apparaît.) /usr/include/asm/system.h:249: erreur: erreur d'analyse syntaxique avant une chaîne constante /usr/include/asm/system.h:255: erreur: erreur d'analyse syntaxique avant une chaîne constante /usr/include/asm/system.h:261: erreur: erreur d'analyse syntaxique avant une chaîne constante /usr/include/asm/system.h:267: erreur: erreur d'analyse syntaxique avant une chaîne constante In file included from /usr/include/signal.h:327, from mkdosfs.c:59: /usr/include/bits/sigcontext.h: At top level: /usr/include/bits/sigcontext.h:102: erreur: redéfinition de « struct _fpstate » /usr/include/bits/sigcontext.h:118: erreur: redéfinition de « struct sigcontext » make[1]: *** [mkdosfs.o] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/dosfstools-2.10-r1/work/dosfstools-2.10/mkdosfs' make: *** [all] Erreur 2 !!! ERROR: sys-fs/dosfstools-2.10-r1 failed. !!! Function src_compile, Line 33, Exitcode 2 !!! (no error message) I suspect the headers to be faulty but I can't seem to find where the problem is. Reproducible: Always Steps to Reproduce: 1. Emerge sys-fs/dosfstools-2.10-r1 2. 3. Actual Results: Compilation fails Expected Results: Sucessful compilation, as the package is marked stable :'( Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r8) ================================================================= System uname: 2.6.7-gentoo-r8 x86_64 4 Gentoo Base System version 1.5.1 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb -frename-registers -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb -frename-registers -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.inode.at/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 audiofile avi cdr crypt cups dedicated dga dvd dvdr encode esd fam flac foomaticdb gif gnome gtk gtk2 imlib java jpeg lirc matroska mikmod mozilla mpeg multilib ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell ssl tcpd tiff truetype unicode wmf xml2 xv zlib"
remerge your kernel-headers.
I'd already done that before I submitted this bug...
What version of linux-headers have you installed ?
I had 2.6.7-r1 and reverted back to 2.6.6-r1, which solved the problem...
this bug should be fixed in the latest 2.6.7 header ebuild, but i'd still suggest sticking to our latest keyworded ebuild
That's what I'll do in the future ;-)