Emerge dmapi fails with the following error: gcc -O2 -O2 -DNDEBUG -funsigned-char -Wall -I./include -DVERSION=\"2.2.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DNDEBUG -funsigned-char -Wall -I../include -DVERSION=\"2.2.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fno-strict-aliasing -c dm_handle.c -fPIC -DPIC -o .libs/dm_handle.o In file included from dm_handle.c:43: /usr/include/xfs/xfs_fs.h:319: error: parse error before '*' token /usr/include/xfs/xfs_fs.h:321: error: parse error before '*' token /usr/include/xfs/xfs_fs.h:322: error: parse error before '*' token /usr/include/xfs/xfs_fs.h:323: error: parse error before '}' token /usr/include/xfs/xfs_fs.h:350: error: variable or field `__user' declared void /usr/include/xfs/xfs_fs.h:350: error: parse error before '*' token /usr/include/xfs/xfs_fs.h:352: error: parse error before '*' token /usr/include/xfs/xfs_fs.h:354: error: parse error before '*' token /usr/include/xfs/xfs_fs.h:355: error: parse error before '*' token /usr/include/xfs/xfs_fs.h:356: error: parse error before '}' token /usr/include/xfs/xfs_fs.h:366: error: field `hreq' has incomplete type /usr/include/xfs/xfs_fs.h:367: error: parse error before '*' token /usr/include/xfs/xfs_fs.h:375: error: field `hreq' has incomplete type /usr/include/xfs/xfs_fs.h:379: error: variable or field `__user' declared void /usr/include/xfs/xfs_fs.h:379: error: parse error before '*' token /usr/include/xfs/xfs_fs.h:385: error: variable or field `__user' declared void /usr/include/xfs/xfs_fs.h:385: error: parse error before '*' token /usr/include/xfs/xfs_fs.h:386: error: parse error before '*' token /usr/include/xfs/xfs_fs.h:389: error: parse error before '}' token /usr/include/xfs/xfs_fs.h:392: error: field `hreq' has incomplete type /usr/include/xfs/xfs_fs.h:394: error: field `__user' has incomplete type /usr/include/xfs/xfs_fs.h:394: error: parse error before '*' token make[1]: *** [dm_handle.lo] Error 1 make: *** [default] Error 2 !!! ERROR: sys-apps/dmapi-2.2.0 failed. The offending code for the first errors in /usr/include/xfs/xfs_fs.h: typedef struct xfs_fsop_bulkreq { __u64 __user *lastip; /* last inode # pointer */ __s32 icount; /* count of entries in buffer */ void __user *ubuffer;/* user buffer for inode desc. */ __s32 __user *ocount; /* output count pointer */ } xfs_fsop_bulkreq_t; (there are more __user annotations later on in the file)
you neglected to provide `emerge info` like the bug report page says to
== emerge info == Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 x86_64) ================================================================= System uname: 2.6.9-gentoo-r9 x86_64 4 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.nedlinux.nl http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.mirror.sdv.fr http://gentoo.math.bme.hu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa arts berkdb bitmap-fonts bonobo cdr crypt doc dvd dvdr esd f77 fam flac fortran gdbm gif gnome gpm gstreamer gtk gtkhtml guile imagemagick imlib ipv6 java jp2 jpeg junit kde ldap libwww lm-sensors lzw lzw-tiff mad mikmod motif mozilla multilib mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl png postgres python qt readline samba sdl slang ssl tcltk tcpd tetex tiff truetype usb userlocales xml xml2 xmms xpm xrandr xv zlib"
updated linux headers should resolve this
Yes, fixed with the 2.6.8.1-r4 kernel header package