Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66153 - emerge ati-drivers-3.14.1 fails to apply fglrx-2.6-vmalloc-vmaddr.patch
Summary: emerge ati-drivers-3.14.1 fails to apply fglrx-2.6-vmalloc-vmaddr.patch
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-02 13:29 UTC by Norman Thomas
Modified: 2004-10-07 16:41 UTC (History)
0 users

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 Norman Thomas 2004-10-02 13:29:05 UTC
I synced just a few minutes ago and wanted to install the new ati-drivers-3.14.1
But when I emerge ati-drivers I get the result copy-n-pasted below.

I'm using gentoo-dev-sources-2.6.8-r4.


Reproducible: Always
Steps to Reproduce:
1. emerge ati-drivers
2.
3.

Actual Results:  
io ~ # emerge ati-drivers
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/ati-drivers-3.14.1 to /
>>> md5 src_uri ;-) fglrx-4.3.0-3.14.1.i386.rpm
 * X11 implementation is xorg-x11.
>>> Unpacking source...
>>> Unpacking fglrx-4.3.0-3.14.1.i386.rpm
 * Applying fglrx-2.6-vmalloc-vmaddr.patch...

 * Failed Patch: fglrx-2.6-vmalloc-vmaddr.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *  
/var/tmp/portage/ati-drivers-3.14.1/temp/fglrx-2.6-vmalloc-vmaddr.patch-3009.out


!!! ERROR: media-video/ati-drivers-3.14.1 failed.
!!! Function epatch, Line 402, Exitcode 0
!!! Failed Patch: fglrx-2.6-vmalloc-vmaddr.patch!
!!! If you need support, post the topmost build error, NOT this status message.



Expected Results:  
successful install of ati-drivers

io ~ # emerge info
Portage 2.0.51_rc7 (gcc34-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
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
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS=""
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/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=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs distlocks nostrip sandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.easynet.nl/mirror/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 aalib acpi alsa anthy apm arts avi berkdb bitmap-fonts bonobo canna cdr
cjk crypt cups directfb dvd dvdr encode esd fbcon flac foomaticdb freewnn gdbm
ggi gif gimpprint gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib ipv6 java jpeg
kde ldap libg++ libwww lzw-tiff mad mikmod mmx motif mozcalendar mozilla
moznocompose moznoirc mozsvg mpeg ncurses nls nptl oggvorbis opengl oss pam pda
pdflib perl png ppds python qt quicktime readline ruby samba scanner sdl skk
slang spell sse sse2 ssl svg svga tcltk tcpd tetex tiff truetype unicode usb
wifi x86 xml xml2 xmms xprint xv xvid zlib linguas_de linguas_ja"
Comment 1 Thorsten Giese 2004-10-02 13:51:50 UTC
~ # cat /var/tmp/portage/ati-drivers-3.14.1/temp/fglrx-2.6-vmalloc-vmaddr.patch-8567.out
***** fglrx-2.6-vmalloc-vmaddr.patch *****

==========================================

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/media-video/ati-drivers/files/fglrx-2.6-vmalloc-vmaddr.patch

==========================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN build_mod.orig/firegl_public.c build_mod/firegl_public.c
|--- build_mod.orig/firegl_public.c     2003-09-05 00:45:33.539384168 +0200
|+++ build_mod/firegl_public.c  2003-09-05 00:47:13.193234480 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==========================================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/media-video/ati-drivers/files/fglrx-2.6-vmalloc-vmaddr.patch

==========================================
patching file firegl_public.c
Hunk #1 FAILED at 129.
1 out of 1 hunk FAILED -- saving rejects to file firegl_public.c.rej
==========================================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/media-video/ati-drivers/files/fglrx-2.6-vmalloc-vmaddr.patch

==========================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN build_mod.orig/firegl_public.c build_mod/firegl_public.c
|--- build_mod.orig/firegl_public.c     2003-09-05 00:45:33.539384168 +0200
|+++ build_mod/firegl_public.c  2003-09-05 00:47:13.193234480 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==========================================

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/media-video/ati-drivers/files/fglrx-2.6-vmalloc-vmaddr.patch

==========================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN build_mod.orig/firegl_public.c build_mod/firegl_public.c
|--- build_mod.orig/firegl_public.c     2003-09-05 00:45:33.539384168 +0200
|+++ build_mod/firegl_public.c  2003-09-05 00:47:13.193234480 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==========================================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/media-video/ati-drivers/files/fglrx-2.6-vmalloc-vmaddr.patch

==========================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruN build_mod.orig/firegl_public.c build_mod/firegl_public.c
|--- build_mod.orig/firegl_public.c     2003-09-05 00:45:33.539384168 +0200
|+++ build_mod/firegl_public.c  2003-09-05 00:47:13.193234480 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 2 Norman Thomas 2004-10-04 07:32:52 UTC
I changed yesterday to the gentoo-dev-sources-2.6.8-r6 and now ati-drivers-3.14.1 works.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-07 16:41:22 UTC
Cool.