Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84664 - linux-headers-2.6.10 emerge fails (2005.0 profile update)
Summary: linux-headers-2.6.10 emerge fails (2005.0 profile update)
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 All
: High normal (vote)
Assignee: SpanKY
URL: http://www.gentoo.org/proj/en/base/am...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-09 13:35 UTC by Paul Taylor
Modified: 2005-03-18 08:34 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 Paul Taylor 2005-03-09 13:35:32 UTC
Since the 2005.0 media is due out any day now, I decided to try and upgrade to the new profile.  I followed the instructions given in the URL, but it failed when trying to emerge linux-headers-2.6.10.  However, when I tried to emerge it without the "-v --oneshot" options, it worked fine - this might be a portage problem?

----

profile-update # make -f Makefile-profile_update-2005.0
portageq has_version / linux26-headers && emerge unmerge linux26-headers || true
portageq has_version / '>=sys-kernel/linux-headers-2.6' || emerge -v --oneshot '>=sys-kernel/linux-headers-2.6'
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-kernel/linux-headers-2.6.10 to /
>>> md5 src_uri ;-) linux-2.6.10.tar.bz2
>>> Unpacking source...
x86_64
>>> Unpacking linux-2.6.10.tar.bz2 to /var/tmp/portage/linux-headers-2.6.10/work
 * Applying linux-headers-2.6.0-fb.patch (-p0+) ...                       [ ok ]
 * Applying linux-headers-2.6.0-sysctl_h-compat.patch (-p0+) ...          [ ok ]
 * Applying linux-headers-2.6.10-appCompat.patch (-p0+) ...               [ ok ]
 * Applying linux-headers-2.6.10-generic-arm-prepare.patch (-p0+) ...     [ ok ]
 * Applying linux-headers-2.6.8.1-parisc-syscall.patch (-p0+) ...         [ ok ]
 * Applying linux-headers-2.6.8.1-strict-ansi-fix.patch (-p0+) ...        [ ok ]
 * Applying linux-headers-soundcard-ppc64.patch (-p0+) ...                [ ok ]
>>> Source unpacked.
/usr/bin/x86_64-pc-linux-gnu-ar
make[1]: Entering directory `/var/tmp/portage/linux-headers-2.6.10/work/linux-2.6.10'
/bin/sh: -c: line 0: unexpected EOF while looking for matching ``'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[2]: *** [scripts/basic/fixdep] Error 2
make[1]: *** [scripts_basic] Error 2
make[1]: Leaving directory `/var/tmp/portage/linux-headers-2.6.10/work/linux-2.6.10'

!!! ERROR: sys-kernel/linux-headers-2.6.10 failed.
!!! Function compile_headers, Line 243, Exitcode 2
!!! defconfig failed
!!! If you need support, post the topmost build error, NOT this status message.

make: *** [step2] Error 1


Output from "emerge info":
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 21 2005, 00:48:00)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.7.9-r1, 1.9.5, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r5
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.10
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo ftp://mirror.isp.net.au/pub/gentoo/"
LANG="en_AU"
LC_ALL="en_AU"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d aalib acpi adns alsa arts audiofile avi berkdb bitmap-fonts blas bzlib cddb cdparanoia cdr chroot crypt cscope cups curl divx4linux djbfft dmx dv dvd dvdr encode esd faac faad fam fbcon flac font-server foomaticdb fortran fpx freetype gd gdbm gif gimpprint gpm gps graphviz gtk gtk2 imagemagick imap imlib jack java jbig jp2 jpeg jpeg2k junit kde lapack lcms libcaca lm_sensors lzw lzw-tiff mad mikmod mmap mng motif mozdevelop mp3 mpeg mpi ncurses nls nptl nvidia offensive oggvorbis openal opengl pam pcre pda perl pic png povray ppds python qt quicktime readline sdk sdl slang sndfile speex spell ssl svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts usb userlocales wmf xine xml2 xmms xpm xprint xrandr xscreensaver xv yv12 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-03-09 15:41:24 UTC
so `emerge linux-headers` works but `emerge -v linux-headers` fails ?
Comment 2 Paul Taylor 2005-03-09 17:28:17 UTC
I'm not sure.  Having installed linux-headers-2.6.10 and upgraded to the 2005.0 profile manually (instead of using the script), I can't reproduce the problem now - sorry.

If there isn't sufficient information to reproduce the problem, you can close this bug report.
Comment 3 SpanKY gentoo-dev 2005-03-09 17:33:23 UTC
yeah, i cant reproduce it here either with or without -v :/

please re-open if you come across any more info ...
Comment 4 Mark Gillespie 2005-03-14 14:44:34 UTC
Did not work for me either, failing exactly as described.  This needs re-opening, as many people are reporting this problem in the forums.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-18 08:34:07 UTC
Same here on the new box, trying to update to 2005.0 from 2004.3 stage1.
emerge -v1 isn't the problem.
There's something with the makefile, imho. Maybe translating it into a simpler shell script could help.