only one directory fails, but ebuild doesn't stop. seems related to linux headers make[1]: Leaving directory `/var/tmp/portage/irda-utils-0.9.16/work/irda-utils-0.9.16/psion' make[1]: Entering directory `/var/tmp/portage/irda-utils-0.9.16/work/irda-utils-0.9.16/tekram' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. gcc -O3 -mtune=pentium3 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer -I/usr/src/linux/include -I/usr/include -I../include -Wall -Wstrict-prototypes -I/usr/src/linux/include -I/usr/include -I../include -c irkbd.c In file included from /usr/src/linux/include/asm/byteorder.h:57, from irkbd.c:48: /usr/src/linux/include/linux/byteorder/little_endian.h:43: error: parse error before "__cpu_to_le64p" /usr/src/linux/include/linux/byteorder/little_endian.h:44: warning: return type defaults to `int' /usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_le64p': /usr/src/linux/include/linux/byteorder/little_endian.h:45: error: `__le64' undeclared (first use in this function) /usr/src/linux/include/linux/byteorder/little_endian.h:45: error: (Each undeclared identifier is reported only once /usr/src/linux/include/linux/byteorder/little_endian.h:45: error: for each function it appears in.) /usr/src/linux/include/linux/byteorder/little_endian.h: At top level: /usr/src/linux/include/linux/byteorder/little_endian.h:47: warning: type defaults to `int' in declaration of `__le64' /usr/src/linux/include/linux/byteorder/little_endian.h:47: error: parse error before '*' token /usr/src/linux/include/linux/byteorder/little_endian.h:48: warning: function declaration isn't a prototype /usr/src/linux/include/linux/byteorder/little_endian.h: In function `__le64_to_cpup': /usr/src/linux/include/linux/byteorder/little_endian.h:49: error: `p' undeclared (first use in this function) /usr/src/linux/include/linux/byteorder/little_endian.h: At top level: /usr/src/linux/include/linux/byteorder/little_endian.h:51: error: parse error before "__cpu_to_le32p" /usr/src/linux/include/linux/byteorder/little_endian.h:52: warning: return type defaults to `int' /usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_le32p': /usr/src/linux/include/linux/byteorder/little_endian.h:53: error: `__le32' undeclared (first use in this function) /usr/src/linux/include/linux/byteorder/little_endian.h: At top level: /usr/src/linux/include/linux/byteorder/little_endian.h:55: warning: type defaults to `int' in declaration of `__le32' /usr/src/linux/include/linux/byteorder/little_endian.h:55: error: parse error before '*' token /usr/src/linux/include/linux/byteorder/little_endian.h:56: warning: function declaration isn't a prototype /usr/src/linux/include/linux/byteorder/little_endian.h: In function `__le32_to_cpup': /usr/src/linux/include/linux/byteorder/little_endian.h:57: error: `p' undeclared (first use in this function) /usr/src/linux/include/linux/byteorder/little_endian.h: At top level: /usr/src/linux/include/linux/byteorder/little_endian.h:59: error: parse error before "__cpu_to_le16p" /usr/src/linux/include/linux/byteorder/little_endian.h:60: warning: return type defaults to `int' /usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_le16p': /usr/src/linux/include/linux/byteorder/little_endian.h:61: error: `__le16' undeclared (first use in this function) /usr/src/linux/include/linux/byteorder/little_endian.h: At top level: /usr/src/linux/include/linux/byteorder/little_endian.h:63: warning: type defaults to `int' in declaration of `__le16' /usr/src/linux/include/linux/byteorder/little_endian.h:63: error: parse error before '*' token /usr/src/linux/include/linux/byteorder/little_endian.h:64: warning: function declaration isn't a prototype /usr/src/linux/include/linux/byteorder/little_endian.h: In function `__le16_to_cpup': /usr/src/linux/include/linux/byteorder/little_endian.h:65: error: `p' undeclared (first use in this function) /usr/src/linux/include/linux/byteorder/little_endian.h: At top level: /usr/src/linux/include/linux/byteorder/little_endian.h:67: error: parse error before "__cpu_to_be64p" /usr/src/linux/include/linux/byteorder/little_endian.h:68: warning: return type defaults to `int' /usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_be64p': /usr/src/linux/include/linux/byteorder/little_endian.h:69: error: `__be64' undeclared (first use in this function) /usr/src/linux/include/linux/byteorder/little_endian.h:69: error: parse error before "__swab64p" /usr/src/linux/include/linux/byteorder/little_endian.h: At top level: /usr/src/linux/include/linux/byteorder/little_endian.h:71: warning: type defaults to `int' in declaration of `__be64' /usr/src/linux/include/linux/byteorder/little_endian.h:71: error: parse error before '*' token /usr/src/linux/include/linux/byteorder/little_endian.h:72: warning: function declaration isn't a prototype /usr/src/linux/include/linux/byteorder/little_endian.h: In function `__be64_to_cpup': /usr/src/linux/include/linux/byteorder/little_endian.h:73: error: `p' undeclared (first use in this function) /usr/src/linux/include/linux/byteorder/little_endian.h: At top level: /usr/src/linux/include/linux/byteorder/little_endian.h:75: error: parse error before "__cpu_to_be32p" /usr/src/linux/include/linux/byteorder/little_endian.h:76: warning: return type defaults to `int' /usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_be32p': /usr/src/linux/include/linux/byteorder/little_endian.h:77: error: `__be32' undeclared (first use in this function) /usr/src/linux/include/linux/byteorder/little_endian.h:77: error: parse error before "__swab32p" /usr/src/linux/include/linux/byteorder/little_endian.h: At top level: /usr/src/linux/include/linux/byteorder/little_endian.h:79: warning: type defaults to `int' in declaration of `__be32' /usr/src/linux/include/linux/byteorder/little_endian.h:79: error: parse error before '*' token /usr/src/linux/include/linux/byteorder/little_endian.h:80: warning: function declaration isn't a prototype /usr/src/linux/include/linux/byteorder/little_endian.h: In function `__be32_to_cpup': /usr/src/linux/include/linux/byteorder/little_endian.h:81: error: `p' undeclared (first use in this function) /usr/src/linux/include/linux/byteorder/little_endian.h: At top level: /usr/src/linux/include/linux/byteorder/little_endian.h:83: error: parse error before "__cpu_to_be16p" /usr/src/linux/include/linux/byteorder/little_endian.h:84: warning: return type defaults to `int' /usr/src/linux/include/linux/byteorder/little_endian.h: In function `__cpu_to_be16p': /usr/src/linux/include/linux/byteorder/little_endian.h:85: error: `__be16' undeclared (first use in this function) /usr/src/linux/include/linux/byteorder/little_endian.h:85: error: parse error before "__swab16p" /usr/src/linux/include/linux/byteorder/little_endian.h: At top level: /usr/src/linux/include/linux/byteorder/little_endian.h:87: warning: type defaults to `int' in declaration of `__be16' /usr/src/linux/include/linux/byteorder/little_endian.h:87: error: parse error before '*' token /usr/src/linux/include/linux/byteorder/little_endian.h:88: warning: function declaration isn't a prototype /usr/src/linux/include/linux/byteorder/little_endian.h: In function `__be16_to_cpup': /usr/src/linux/include/linux/byteorder/little_endian.h:89: error: `p' undeclared (first use in this function) make[1]: *** [irkbd.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/irda-utils-0.9.16/work/irda-utils-0.9.16/tekram' make[1]: Entering directory `/var/tmp/portage/irda-utils-0.9.16/work/irda-utils-0.9.16/findchip' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. gcc -O3 -mtune=pentium3 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -c findchip.c gcc -O3 -mtune=pentium3 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -c smc.c gcc -O3 -mtune=pentium3 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -c nsc.c gcc -O3 -mtune=pentium3 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -c winbond.c emerge info: emerge info Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-rc2-bk3 i686) ================================================================= System uname: 2.6.10-rc2-bk3 i686 Celeron (Coppermine) Gentoo Base System version 1.6.6 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mtune=pentium3 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/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="-O3 -mtune=pentium3 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.tiscali.nl/gentoo/ http://ftp.iasi.roedu.net/mirrors/gentoo.org/ http://sunsite.cnlab-switch.ch/mirror/gentoo/ http://gentoo.math.bme.hu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X Xaw3d aac aalib acl acpi activefilter adns alsa apache2 apm arts audiofile avi berkdb bidi bitmap-fonts bootsplash caps cddb cdparanoia chroot clamav codecs crypt cups curl directfb divx4linux dvb dvd dvdread edl encode esd ethereal exif faacfaad fam fbcon fdftk flac flash foomaticdb foreign-package fortran freetds gd gdbm ggi gif gnome gpm gtk gtk2 gtkhtml imagemagick imlib innodb jack java joystick jpeg kde kerberos libcaca libg++ libgda libusb libwww lirc live lzo mad matroska mikmodmmx mmx2 motif mpeg mythtv nas ncurses network nls nntp nobsh noxalan odbc oggvorbis opengl oss pam pda pdflib perl png ppdspython qt quicktime readline real rtc samba sdl slang slp snortsam spell sse ssl svg svga tcpd tetex tga theora tiff truetype usb x86 xanim xinerama xml xml2 xmms xv xvid xvm zlib linguas_it"
Are you compiling against a kernel 2.6.10 pre-release?
I tried emerging irda-utils on my laptop today and got simmilar errors. # emerge info ... Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r10 i686) ================================================================= System uname: 2.6.9-gentoo-r10 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 22 2004, 06:43:32)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.gentoo.no/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xorg acl alsa apm arts avi berkdb bitmap-fonts cpdflib crypt cups dba dvd encode esd foomaticdb fortran gd gd-external gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 java jpeg jpg kde libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime rar readline sdl spell ssl svga tcpd theora tiff truetype unrar unrarlib unzip vorbis xml2 xmms xv xvid zlib" Attaching log of emerge
Created attachment 46805 [details] Failed emerge of irda-utils-0.9.16
Created attachment 46807 [details] Failed emerge of irda-utils-0.9.16 Now with &> Very sorry about this. Managed to screw up the last attachment.
Confirmed the problem when building against kernel 2.6.10.
same problem here, when building against 2.6.9
looking on the irda website i found this link: http://www.hpl.hp.com/personal/Jean_Tourrilhes/IrDA/IrDA.html this contains the 0.9.17-pre* version and some kernel patches for 2.6.10 and .11 and lower versions. actually i've no more my notebook, so i can't test that, sorry.
Yeah, I'm working on a 0.9.17_pre3 ebuild - but it still has the irkbd flaw.
I have the same exact problem here too, 2.6.10-gentoo-r6. Can you guys check if irdadump compiles succesfully with the ebuild? I have the problem of irkdb and irdadump refuses to compile too complaining about autoconf. Maybe that's related, because I have the good version of autoconf...
I have the same problem. Removing -I/usr/src/linux/include does fix a lot of things. Probably the difference between 2.6.8 (in linux-headers) and 2.6.9 (kernel on amd64)
This problem has been solved in irda-utils-0.9.17-pre5. http://www.hpl.hp.com/personal/Jean_Tourrilhes/IrDA/irda-utils-0.9.17-pre5.tar.gz I will submit a ebuild for that version. WANT_AUTOMAKE=1.4 should be rechanged to WANT_AUTOCONF=2.5. Please close the bug.
personally i'll wait the ebuild, and try to compile it. after i'll close.
No need to attach a patch for the ebuild unless you have major changes. The automake stuff doesn't qualify for that ;) Oh, and do not close the bug. I'll close it as soon as I've solved it.
*** Bug 81205 has been marked as a duplicate of this bug. ***
net-wireless/irda-utils-0.9.17_pre5 is now in portage. I will backport the irkbd fix to 0.9.16.
Fixed InCVS.