When trying to emerge linux26-headers-2.6.7-r2 I get the following: >>> emerge (1 of 1) sys-kernel/linux26-headers-2.6.7-r2 to / >>> md5 src_uri ;-) linux-2.6.7.tar.bz2 >>> Unpacking source... >>> Unpacking linux-2.6.7.tar.bz2 to /var/tmp/portage/linux26-headers-2.6.7-r2/work Makefile:434: .config: No such file or directory CHK include/linux/version.h UPD include/linux/version.h >>> version.h compiled successfully. * Applying linux26-headers-2.6.7-appCompat.patch... * Failed Patch: linux26-headers-2.6.7-appCompat.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/linux26-headers-2.6.7-r2/temp/linux26-headers-2.6.7-appCompat.patch-28193.out !!! ERROR: sys-kernel/linux26-headers-2.6.7-r2 failed. !!! Function epatch, Line 322, Exitcode 0 !!! Failed Patch: linux26-headers-2.6.7-appCompat.patch! Reproducible: Always Steps to Reproduce: 1.Add "=sys-kernel/linux26-headers-2.6.7* -*" to /etc/portage/package.keywords 2. emerge linux26-headers 3. Actual Results: build fails Expected Results: clean build Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r8) ================================================================= System uname: 2.6.7-gentoo-r8 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo http://gentoo.llarian.net/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apache2 apm arts artswrappersuid avi berkdb cdr crypt cups dvd encode faad flac foomaticdb gdbm gif gpm gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang speex spell sse ssl svga tcpd tiff truetype wifi x86 xml xml2 xmms xv zlib"
Created attachment 35339 [details] appCompat.patch-28193.out as requested by ebuild.
Created attachment 35341 [details, diff] patch for linux26-headers-2.6.7-appCompat.patch Patch against /usr/portage/sys-kernel/linux26-headers/files/linux26-headers-2.6.7-appCompat.patch
Works fine after the second patch provided by infirit.
Here, too. And it also solved bug 56609 although I was root when emerge
Here, too. And it also solved bug 56609 although I was root when emerge´ing.
I applied infirit's patch and linux26-headers emerged successfully, but now bootstrap-2.6 isn't working (in the middle of a stage1 here). I did notice something odd: after linux26-headers was done, it acted as if I had just upgraded binutils (when in fact I hadn't - I'm sure it wasn't a dependancy of linux26-headers). I don't know if it's caused by this bug/infirit's patch or not, but just in case here's the output: Configuring environment... Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/portage-2.0.50-r9 to / >>> md5 src_uri ;-) portage-2.0.50-r9.tar.bz2 >>> Unpacking source... >>> Unpacking portage-2.0.50-r9.tar.bz2 to /var/tmp/portage/portage-2.0.50-r9/work >>> Source unpacked. gcc: installation problem, cannot exec `as': No such file or directory cc1: Broken pipe: error writing to - ./create-localdecls Checking truncate argument type... off_t Checking libc version... gcc: installation problem, cannot exec `as': No such file or directory ldd: ./libctest: No such file or directory rm: cannot remove `libctest': No such file or directory gcc -march=i386 -O1 -pipe -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c libsandbox.c gcc: installation problem, cannot exec `as': No such file or directory cc1: Broken pipe: error writing to - make: *** [libsandbox.o] Error 1 !!! ERROR: sys-apps/portage-2.0.50-r9 failed. !!! Function src_compile, Line 62, Exitcode 2 !!! (no error message)
Works with second patch for me too.
The patch i created only changes the last 2 or 3 section of the patch. The file locations for those are wrong (missing include/linux). The bootstrap problem was also reported in bug#56617
I fixed that in my local repository when testing 2.6.7-r2 but didn't copy the right version over to CVS. Now fixed; thanks. Sorry about that!