Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 36998

Summary: linux-headers-2.6.0 do not provide autoconf.h
Product: Gentoo Linux Reporter: Octavio Ruiz (Ta^3) <tacvbo>
Component: New packagesAssignee: Tim Yamin (RETIRED) <plasmaroo>
Status: RESOLVED INVALID    
Severity: normal CC: gcc-porting, vapier
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://www.kernel.org
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 31286    

Description Octavio Ruiz (Ta^3) 2004-01-02 00:25:26 UTC
linux-headers-2.6.0.ebuild do not provide autoconf.h

sys-apps/util-linux-2.12-r4 can not be compiled because autoconf.h is missing.

Temp solution: cp /usr/src/linux-2.6.0-gentoo/include/linux/autoconf.h /usr/include/linux/

`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"


From `emerge util-linux`
In file included from /usr/include/asm/io.h:4,
                 from cmos.c:53:
/usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
make[1]: *** [cmos.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/util-linux-2.12-r4/work/util-linux-2.12/hwclock'
make: *** [all] Error 1

!!! ERROR: sys-apps/util-linux-2.12-r4 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! emake failed
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-01-02 04:17:21 UTC
Merge your headers again and it should come back?
Comment 2 SpanKY gentoo-dev 2004-01-02 05:11:47 UTC
yeah, ive got a /usr/include/linux/autoconf.h with my linux-headers
Comment 3 Octavio Ruiz (Ta^3) 2004-01-02 09:27:17 UTC
I merged my headers again, and again. Unmerge then emerge. Nothing.. but well, now its corrected. A black magic stuff. I delete /usr/portage/sys-kernel/linux-headers do a emerge sync, an done. (Weird not?)

Status bug changed to Invalid.