Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56957 - emerge linux26-headers-2.6.7-r2 fails on appCompat.patch
Summary: emerge linux26-headers-2.6.7-r2 fails on appCompat.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-13 14:12 UTC by Nathan Caldwell
Modified: 2004-07-13 17:06 UTC (History)
0 users

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


Attachments
appCompat.patch-28193.out as requested by ebuild. (linux26-headers-2.6.7-appCompat.patch-28193.out,99.46 KB, text/plain)
2004-07-13 14:14 UTC, Nathan Caldwell
Details
patch for linux26-headers-2.6.7-appCompat.patch (linux26-headers-2.6.7-appCompatFix.patch,1.80 KB, patch)
2004-07-13 14:30 UTC, Sander Sweers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Caldwell 2004-07-13 14:12:24 UTC
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"
Comment 1 Nathan Caldwell 2004-07-13 14:14:57 UTC
Created attachment 35339 [details]
appCompat.patch-28193.out as requested by ebuild.
Comment 2 Sander Sweers 2004-07-13 14:30:54 UTC
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
Comment 3 Hussam Dawood 2004-07-13 14:43:26 UTC
Works fine after the second patch provided by infirit.
Comment 4 spiralvoice 2004-07-13 15:32:31 UTC
Here, too. And it also solved bug 56609 although I was root when emerge
Comment 5 spiralvoice 2004-07-13 15:32:31 UTC
Here, too. And it also solved bug 56609 although I was root when emerge´ing.
Comment 6 Sterling Christensen 2004-07-13 15:35:14 UTC
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)
Comment 7 Nathan Caldwell 2004-07-13 15:35:59 UTC
Works with second patch for me too.
Comment 8 Sander Sweers 2004-07-13 16:23:31 UTC
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
Comment 9 Tim Yamin (RETIRED) gentoo-dev 2004-07-13 17:06:09 UTC
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!