Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77167 - Failed to emerge sys-kernel/linux26-headers-2.6.8.1-r2
Summary: Failed to emerge sys-kernel/linux26-headers-2.6.8.1-r2
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-08 13:55 UTC by Kirill Vasiliev
Modified: 2005-01-11 05:41 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill Vasiliev 2005-01-08 13:55:51 UTC
It seems this ebuild has problems with patches...

Reproducible: Always
Steps to Reproduce:
1.emerge linux26-headers-2.6.8.1-r2
2.
3.

Actual Results:  
>>> emerge (3 of 5) sys-kernel/linux26-headers-2.6.8.1-r2 to /
>>> md5 src_uri ;-) linux-2.6.8.1.tar.bz2
>>> md5 src_uri ;-) linux-2.6.8.1-sh-headers.patch.bz2
>>> Unpacking source...
>>> Unpacking linux-2.6.8.1.tar.bz2 to
/var/tmp/portage/linux26-headers-2.6.8.1-r2/work
>>> Unpacking linux-2.6.8.1-sh-headers.patch.bz2 to
/var/tmp/portage/linux26-headers-2.6.8.1-r2/work
 * Applying linux-2.6.8.1-sh-headers.patch ...                            [ ok ]
gcc-config error: Could not run/locate "gcc"
gcc-config error: Could not run/locate "gcc"
  CLEAN   scripts/package
Makefile:415: .config: No such file or directory
gcc-config error: Could not run/locate "gcc"
gcc-config error: Could not run/locate "gcc"
  CHK     include/linux/version.h
  UPD     include/linux/version.h
>>> version.h compiled successfully.
 * Applying linux26-headers-2.6.0-sysctl_h-compat.patch ...               [ ok ]
 * Applying linux26-headers-2.6.0-fb.patch ...                            [ ok ]
 * Applying linux26-headers-2.6.7-generic-arm-prepare.patch ...           [ ok ]
 * Applying linux26-headers-2.6.8.1-strict-ansi-fix.patch ...             [ ok ]
 * Applying linux26-headers-2.6.8.1-appCompat.patch ...                   [ ok ]
 * Applying linux26-headers-2.6.8.1-sparc-glibcsafe.patch ...             [ ok ]
 * Applying linux26-headers-soundcard-ppc64.patch ...                     [ ok ]
 * Applying linux26-headers-2.6.8.1-arm-float.patch ...                   [ ok ]
 * Applying linux26-headers-2.6.8.1-parisc-syscall.patch ...              [ ok ]
sed: couldn't edit
/var/tmp/portage/linux26-headers-2.6.8.1-r2/work/linux-2.6.8.1/include/asm-ia64/sn:
not a regular file
sed: couldn't edit
/var/tmp/portage/linux26-headers-2.6.8.1-r2/work/linux-2.6.8.1/include/asm-ppc64/iSeries:
not a regular file
>>> Source unpacked.
  HOSTCC  scripts/basic/fixdep
gcc-config error: Could not run/locate "gcc"
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2

!!! ERROR: sys-kernel/linux26-headers-2.6.8.1-r2 failed.
!!! Function src_compile, Line 104, Exitcode 2
!!! defconfig failed
!!! If you need support, post the topmost build error, NOT this status message. 

Expected Results:  
linux26-headers-2.6.8.1-r2 emerged successfully

Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 AMD Athlon(TM)Processor
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jun  8 2004, 06:10:18)]
ccache version 2.3 [enabled]
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.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/kwas/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dba dvd
encode esd fam flac foomatic foomaticdb fortran gd gd-external gdbm gif gnome
gpm gstreamer gtk gtk2 imagemagick imap imlib ipv6 java jpeg junit kde libwww
mad mikmod motif mozilla mpeg mysql ncurses nls nptl odbc oggvorbis opengl oss
pam pdflib perl php png postgres ppds python qt quicktime readline ruby sdl
slang spell sqlite sqlite3 ssl svga tcltk tcpd tetex threads tiff truetype usb
xml2 xmms xv zlib"
Comment 1 Kirill Vasiliev 2005-01-08 16:29:55 UTC
This was a gcc-config issue. Headers emerged successfully after updating gcc-config from 1.3 to 1.6. But this update for gcc-config wasn't listed in "emerge -up world", only in "emerge -up --deep world". Hope this helps.
Comment 2 SpanKY gentoo-dev 2005-01-08 22:56:32 UTC
yes, gcc-config issue, not linux26-headers
Comment 3 Jukka Palko 2005-01-11 05:41:17 UTC
Doesn't work for me when not being at ~x86, but x86. Also the 1.6 doesn't exist for my just now synced portage:
# ls /usr/portage/sys-devel/gcc-config/                 
ChangeLog  Manifest  files  gcc-config-1.3.8-r4.ebuild  gcc-config-1.3.9.ebuild  metadata.xml

nptl system in question:
# emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -msse -msse2 -mmmx -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/lib/mozilla/defaults/pref /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="-march=pentium4 -mcpu=pentium4 -Os -pipe -msse -msse2 -mmmx -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/tmp_portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X acl acpi alsa apm arts avi berkdb bitmap-fonts bluetooth bonobo cdr crypt cups dga doc dvd encode esd f77 fam flac foomaticdb fortran freetype gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml i8x0 imagemagick imap imlib ipv6 java javascript jpeg ldap libwww mad maildir mbox md5sum mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pcmcia pda pdflib perl png ppds python qt quicktime radeon readline samba sasl sdl slang sms spell sse ssl svga tcltk tcpd tetex tiff transcode truetype unicode wifi xchattext xml xml2 xmms xv zlib video_cards_radeon"