Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31286 - linux-utils-2.12 failes to compile when 2.6.0 headers are used
Summary: linux-utils-2.12 failes to compile when 2.6.0 headers are used
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
: 37162 (view as bug list)
Depends on: 36998
Blocks: 31695
  Show dependency tree
 
Reported: 2003-10-16 08:12 UTC by Peter Gnodde
Modified: 2004-02-01 22:38 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix compile with 2.6.0 headers (util-linux-2.12-linux-headers-2.6.0-fix.patch,2.89 KB, patch)
2003-10-16 08:12 UTC, Peter Gnodde
Details | Diff
emerge sys-apps/util-linux output (emerge_sys-apps--util-linux-2.12-r4.out,26.81 KB, text/plain)
2004-01-02 00:34 UTC, Octavio Ruiz (Ta^3)
Details
util-linux-2.11z-kernel-2.6.patch (util-linux-2.11z-kernel-2.6.patch,2.44 KB, patch)
2004-01-25 19:43 UTC, ferret
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Gnodde 2003-10-16 08:12:05 UTC
This patch fixes compile issues with util-linux-2.12 (and probably earlier) in conjunction with 2.6.0 linux-headers (see bug #31285).
Comment 1 Peter Gnodde 2003-10-16 08:12:51 UTC
Created attachment 19321 [details, diff]
fix compile with 2.6.0 headers
Comment 2 SpanKY gentoo-dev 2003-12-11 13:53:08 UTC
now in cvs, thanks
Comment 3 Octavio Ruiz (Ta^3) 2004-01-02 00:33:01 UTC
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"
Comment 4 Octavio Ruiz (Ta^3) 2004-01-02 00:34:27 UTC
Created attachment 22999 [details]
emerge sys-apps/util-linux output
Comment 5 Matt Philips 2004-01-02 12:31:52 UTC
I'm having the same issue on multiple systems running 2.6.0 kernel and linux-headers.
Comment 6 Matt Philips 2004-01-03 13:18:04 UTC
Solved by following instructions in bug #36998 (remerge linux-headers, then remerge util-linux).
Comment 7 SpanKY gentoo-dev 2004-01-03 21:56:25 UTC
*** Bug 37162 has been marked as a duplicate of this bug. ***
Comment 8 ferret 2004-01-25 19:43:17 UTC
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.
Comment 9 ferret 2004-01-25 19:43:49 UTC
Created attachment 24425 [details, diff]
util-linux-2.11z-kernel-2.6.patch
Comment 10 Christian Axelsson 2004-01-27 05:29:51 UTC
Ferrets patch did the job :)
Comment 11 Danek Duvall 2004-02-01 11:55:22 UTC
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?
Comment 12 ferret 2004-02-01 22:38:02 UTC
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.