i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=native -pipe -MT fgconsole.o -MD -MP -MF .deps/fgconsole.Tpo -c -o fgconsole.o fgconsole.c In file included from fgconsole.c:9: /usr/include/linux/serial.h:164: error: expected specifier-qualifier-list before ‘__u32’ make[2]: *** [fgconsole.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/kbdrate.Tpo .deps/kbdrate.Po mv -f .deps/psfxtable.Tpo .deps/psfxtable.Po make[2]: Leaving directory `/var/tmp/portage/sys-apps/kbd-1.15/work/kbd-1.15/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-apps/kbd-1.15/work/kbd-1.15' make: *** [all] Error 2 * * ERROR: sys-apps/kbd-1.15 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2041: Called die * The specific snippet of code: * emake || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-apps/kbd-1.15/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/kbd-1.15/temp/environment'. * Reproducible: Always kien ~ # emerge --info Portage 2.1.6.3 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo i686) ================================================================= System uname: Linux-2.6.28-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-glibc2.0 Timestamp of tree: Sat, 27 Dec 2008 11:35:01 +0000 app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.1 sys-apps/sandbox: 1.3.2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --reinstall changed-use --keep-going --jobs=2" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en it" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa amarok bash-completion berkdb bluetooth branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread embedded emboss encode esd fam firefox gd gdbm gif git gnokii gpm hal hddtemp history iconv id3tag idn imap imlib ipod irc isdnlog java javascript jpeg kde kdepim libnotify live lm_sensors mad matroska midi mikmod mmx mmxext mp3 mpeg mudflap musicbrainz ncurses nls nowlistening nptl nptlonly nsplugin nvidia obex offensive ogg opengl openmp pam pcre pda pdf perl plasma png ppds pppd psyco python qt3 qt3support qt4 quicktime rdesktop readline reflection sdl sensord session sms spell spl srt sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs texteffect tiff truetype type1 unicode usb userlocales vcd vorbis webpresence wifi win32codecs x86 xcomposite xine xml xorg xosd xrandr xulrunner xv xvidyahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
The same issue affects hal-0.5.11-r4
In linux-headers 2.6.28, linux/serial.h is broken. It should include <linux/types.h>, but does that only during kernel build.
*** Bug 252758 has been marked as a duplicate of this bug. ***
*** Bug 252759 has been marked as a duplicate of this bug. ***
*** Bug 252796 has been marked as a duplicate of this bug. ***
*** Bug 252805 has been marked as a duplicate of this bug. ***
*** Bug 252789 has been marked as a duplicate of this bug. ***
*** Bug 252803 has been marked as a duplicate of this bug. ***
*** Bug 252804 has been marked as a duplicate of this bug. ***
Editing /usr/include/linux/serial.h worked fine to enable the emerge of any packages that refered to it. edited the top of serial.h to this: #ifndef _LINUX_SERIAL_H #define _LINUX_SERIAL_H #include <linux/types.h> everything below was left as normal. Will be doing the same on another machine to test results. Not a true fix, but a good workaround.
Similarly ~Amd64 Also, x11-libs/gtk+:2, dev-python/pygobject, dev-lang/php, dev-libs/glib... And nonremovable error configure for all packages: checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object...failed
(In reply to comment #10) > Editing /usr/include/linux/serial.h worked fine to enable the emerge of any > packages that refered to it. Here also patch from Ubuntu team: http://launchpadlibrarian.net/20136526/0001-serial-RS485-ioctl-structure-uses-__u32-include-lin.patch
fixed with linux-headers-2.6.28-r1 http://sources.gentoo.org/gentoo/src/patchsets/gentoo-headers/2.6.28/00_all_linux-serial.h-pull-in-linux-types.h-for-userspace.patch?rev=1.1
*** Bug 252969 has been marked as a duplicate of this bug. ***
*** Bug 252968 has been marked as a duplicate of this bug. ***
*** Bug 253019 has been marked as a duplicate of this bug. ***
*** Bug 253047 has been marked as a duplicate of this bug. ***
*** Bug 255726 has been marked as a duplicate of this bug. ***
Would anyone mind hard-masking linux-headers-2.6.28 ?