This patch fixes compile issues with util-linux-2.12 (and probably earlier) in conjunction with 2.6.0 linux-headers (see bug #31285).
Created attachment 19321 [details, diff] fix compile with 2.6.0 headers
now in cvs, thanks
Not working here... autconf.h is missing.. not a util-linux trouble but only for reference. `emerge util-linux` -- See attachment `emerge info` Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.0-gentoo) ================================================================= System uname: 2.6.0-gentoo i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.12 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe" 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 /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/env.d" CXXFLAGS="-O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/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 Xaw3d aalib acpi acpi4linux alsa avi berkdb cdr crypt cups dga dillo dvd emacs encode fbcon foomaticdb gatos gdbm gif gpm gtk gtk2 hyriand imap imlib ipv6 java joystick jpeg leim libg++ libwww mad maildir mikmod mmx motif mpeg ncurses nls offensive oggvorbis oss pam pdflib perl png python quicktime rage128 readline samba scanner sdl spell sse ssl svga tcltk tcpd tetex tiff transcode truetype usagi usb v4l x86 xchattext xml2 xmms xv zlib video_cards_rage128"
Created attachment 22999 [details] emerge sys-apps/util-linux output
I'm having the same issue on multiple systems running 2.6.0 kernel and linux-headers.
Solved by following instructions in bug #36998 (remerge linux-headers, then remerge util-linux).
*** Bug 37162 has been marked as a duplicate of this bug. ***
This patch doesn't quite work with util-linux-2.11z I made some minor adjustments to it so it does. This is important, since if you're bootstrapping with /usr/portage/scripts/bootstrap-26.sh after manually unmasking the 2.6 headers ebuild, "emerge system" dies rather annoyingly partway through.
Created attachment 24425 [details, diff] util-linux-2.11z-kernel-2.6.patch
Ferrets patch did the job :)
This appears only to have been applied to 2.12-r3 and 2.12-r4, but it's needed on all the versions in portage. Should I open a new bug that actually applies to those versions?
danek: can you try applying my patch (the last one) on any 2.11z version, and if it succeeds, open a new bug and attach the patch? Thanks.