When emerge x11-base/xorg-x11-6.8.0-r4 it fail and result me : * Failed Patch: 5160_all_6.8.0-radeon-fix-monitor-detection.patch! Now im using xorg-x11-6.8.0-r2 Reproducible: Always Steps to Reproduce: 1.emerge x11-base/xorg-x11-6.8.0-r4 ***** 5160_all_6.8.0-radeon-fix-monitor-detection.patch ***** ============================================================= PATCH COMMAND: patch -p0 -g0 < /var/tmp/portage/xorg-x11-6.8.0-r4/work/patch/5160_all_6.8.0-radeon-fix-monitor-detection.patch ============================================================= patching file xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c patching file xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c Hunk #1 succeeded at 1718 (offset -1 lines). can't find file to patch at input line 190 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig |--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig 2004-11-02 17:38:26.365305000 -0800 |+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig 2004-11-02 17:38:28.724947000 -0800 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ============================================================= PATCH COMMAND: patch -p1 -g0 < /var/tmp/portage/xorg-x11-6.8.0-r4/work/patch/5160_all_6.8.0-radeon-fix-monitor-detection.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 -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c |--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c 2004-07-30 15:20:21.000000000 -0700 |+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c 2004-11-02 17:48:04.312444400 -0800 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored can't find file to patch at input line 110 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c |--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 2004-11-02 17:38:28.724947000 -0800 |+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 2004-11-02 17:48:04.319443336 -0800 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 190 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig |--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig 2004-11-02 17:38:26.365305000 -0800 |+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig 2004-11-02 17:38:28.724947000 -0800 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ============================================================= PATCH COMMAND: patch -p2 -g0 < /var/tmp/portage/xorg-x11-6.8.0-r4/work/patch/5160_all_6.8.0-radeon-fix-monitor-detection.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 -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c |--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c 2004-07-30 15:20:21.000000000 -0700 |+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c 2004-11-02 17:48:04.312444400 -0800 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored can't find file to patch at input line 110 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c |--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 2004-11-02 17:38:28.724947000 -0800 |+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 2004-11-02 17:48:04.319443336 -0800 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 190 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig |--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig 2004-11-02 17:38:26.365305000 -0800 |+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig 2004-11-02 17:38:28.724947000 -0800 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ============================================================= PATCH COMMAND: patch -p3 -g0 < /var/tmp/portage/xorg-x11-6.8.0-r4/work/patch/5160_all_6.8.0-radeon-fix-monitor-detection.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 -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c |--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c 2004-07-30 15:20:21.000000000 -0700 |+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c 2004-11-02 17:48:04.312444400 -0800 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored can't find file to patch at input line 110 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c |--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 2004-11-02 17:38:28.724947000 -0800 |+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 2004-11-02 17:48:04.319443336 -0800 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 190 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig |--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig 2004-11-02 17:38:26.365305000 -0800 |+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig 2004-11-02 17:38:28.724947000 -0800 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored ============================================================= PATCH COMMAND: patch -p4 -g0 < /var/tmp/portage/xorg-x11-6.8.0-r4/work/patch/5160_all_6.8.0-radeon-fix-monitor-detection.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 -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c |--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c 2004-07-30 15:20:21.000000000 -0700 |+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_bios.c 2004-11-02 17:48:04.312444400 -0800 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored can't find file to patch at input line 110 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c |--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 2004-11-02 17:38:28.724947000 -0800 |+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 2004-11-02 17:48:04.319443336 -0800 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 190 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig |--- xc.orig/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig 2004-11-02 17:38:26.365305000 -0800 |+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig 2004-11-02 17:38:28.724947000 -0800 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored
Attach the output of `emerge info` please, and reopen.
portatile root # emerge info Portage 2.0.51-r14 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 18 2004, 10:03:28)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" 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/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackage sandbox sfperms" GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X a52 aac aalib acpi acpi4linux alsa apache2 arts artswrappersuid avi bash-completion berkdb bitmap-fonts bzip2 bzlib cddb cdparanoia cdr codecs crypt cscope cups dhcp divx4linux dvd encode ethereal f77 fam flac font-server foomaticdb fortran gatos gdbm gif gimpprint gtk gtk2 gtkhtml i8x0 imagemagick imlib ipv6 javascript jpeg kde kerberos ldap libg++ libwww mad mbox mikmod mime motif moznocomposemoznoirc moznomail mpeg ncurses nls oggvorbis opengl openssh oss pam pcap pcmcia pdflib perl php png pnp python qt quicktime readline samba sdl slang slp smime speex spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb v4l v4l2 wavelan wifi wxwindows xine xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
I can't reproduce this with your USE flags: * 5150_all_4.3.0-ia64-radeon-preint10.patch ... [ ok ] * 5160_all_6.8.0-radeon-fix-monitor-detection.patch ... [ ok ] * 5200_all_6.8.0-newport-accel-v4.patch ... [ ok ] Do you have anything for xorg-x11 in /etc/portage/package.use? Also: cat /var/db/pkg/sys-devel/patch-[0-9]*/CFLAGS Rebuild patch with very tame CFLAGS -- perhaps "-march=pentium4 -O2 -pipe" or even "-march=i686 -pipe."
I solved the problem re emerging "patch" it was compiled with different CFLAG Thenks a lot