emerge lirc, emerge -u lirc, emerge -Du lirc, emerge -D lirc, CFLAGS="-O0" emerge lirc... All fail in the same way. The specific failure seems to be, Failed Patch: lirc-0.7.0-xbox.patch.bz2 ! Reproducible: Always Steps to Reproduce: 1. emerge lirc Actual Results: localhost ~ # emerge lirc Calculating dependencies ...done! >>>>>> emerge (1 of 1) app-misc/lirc-0.7.1 to / >>>>>> md5 files ;-) lirc-0.7.0-r1.ebuild >>>>>> md5 files ;-) lirc-0.7.1.ebuild >>>>>> md5 files ;-) files/digest-lirc-0.7.0-r1 >>>>>> md5 files ;-) files/lirc-0.7.0_pre2-i2c.patch.gz >>>>>> md5 files ;-) files/lircd >>>>>> md5 files ;-) files/lircd.conf >>>>>> md5 files ;-) files/digest-lirc-0.7.1 >>>>>> md5 files ;-) files/lirc-0.7.0-streamzap.patch.bz2 >>>>>> md5 files ;-) files/lircmd >>>>>> md5 files ;-) files/lirc-0.6.6-gentoo.diff.bz2 >>>>>> md5 files ;-) files/lirc-0.7.0_pre7-configure.patch >>>>>> md5 files ;-) files/lirc-0.7.0-xbox.patch.bz2 >>>>>> md5 files ;-) files/lirc-0.7.0_pre7-streamzap.patch.bz2 >>>>>> md5 files ;-) files/xbox-lircd.conf >>>>>> md5 files ;-) files/lirc-0.7.0-configure.in.patch >>>>>> md5 src_uri ;-) lirc-0.7.1.tar.bz2 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.11-gentoo-r6 >>>>>> Unpacking source... >>>>>> Unpacking lirc-0.7.1.tar.bz2 to /var/tmp/portage/lirc-0.7.1/work * Applying lirc-0.7.0-xbox.patch.bz2 ... * Failed Patch: lirc-0.7.0-xbox.patch.bz2 ! * ( /var/tmp/portage/lirc-0.7.1/temp/5886.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/lirc-0.7.1/temp/lirc-0.7.0-xbox.patch.bz2-5886.out !!! ERROR: app-misc/lirc-0.7.1 failed. !!! Function epatch, Line 358, Exitcode 0 !!! Failed Patch: lirc-0.7.0-xbox.patch.bz2! !!! If you need support, post the topmost build error, NOT this status message. Expected Results: emerge should complete without error. localhost ~ # cat /etc/make.conf # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" USE="-gnome -gtk -gtk2 -java aim alsa apache2 bash-completion bluetooth cdr doc dvd emacs ftp gimpprint icq imagemagick imap jabber jikes junit kerberos krb4 lirc maildir matrox mbox mime mmap mozilla msn mysql mysqli nocd pda perl postgres ppds samba scanner soap tiff unicode usb wmf xine xinerama xpm yahoo" ALSA_CARDS="emu10k1" FORCE_JAVA="yes" ACCEPT_KEYWORDS="~x86" AUTOCLEAN="yes" VIDEO_CARDS="matrox" FEATURES="ccache fixpackages prelink sandbox strict" localhost ~ # cat /var/tmp/portage/lirc-0.7.1/temp/lirc-0.7.0-xbox.patch.bz2-5886.out ***** lirc-0.7.0-xbox.patch.bz2 ***** ===================================== PIPE_COMMAND: bzip2 -dc /usr/portage/app-misc/lirc/files/lirc-0.7.0-xbox.patch.bz2 > /var/tmp/portage/lirc-0.7.1/temp/5886.patch PATCH COMMAND: patch -p0 -g0 --no-backup-if-mismatch < /var/tmp/portage/lirc-0.7.1/temp/5886.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 -Naur lirc-0.7.0.org/configure lirc-0.7.0/configure |--- lirc-0.7.0.org/configure 2004-12-02 22:36:03.890845000 +0000 |+++ lirc-0.7.0/configure 2004-12-02 22:54:56.238633282 +0000 -------------------------- No file to patch. Skipping patch. 6 out of 6 hunks ignored can't find file to patch at input line 63 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/configure.in lirc-0.7.0/configure.in |--- lirc-0.7.0.org/configure.in 2004-12-02 22:36:03.905845000 +0000 |+++ lirc-0.7.0/configure.in 2004-12-02 22:56:48.334159975 +0000 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored can't find file to patch at input line 114 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/drivers/Makefile.am lirc-0.7.0/drivers/Makefile.am |--- lirc-0.7.0.org/drivers/Makefile.am 2004-08-05 16:47:13.000000000 +0100 |+++ lirc-0.7.0/drivers/Makefile.am 2004-12-02 22:59:11.734508355 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 126 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/drivers/Makefile.in lirc-0.7.0/drivers/Makefile.in |--- lirc-0.7.0.org/drivers/Makefile.in 2004-11-07 13:38:19.000000000 +0000 |+++ lirc-0.7.0/drivers/Makefile.in 2004-12-02 22:59:50.684291972 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file lirc-0.7.0/drivers/lirc_xboxusb/Makefile.am patching file lirc-0.7.0/drivers/lirc_xboxusb/Makefile.in patching file lirc-0.7.0/drivers/lirc_xboxusb/lirc_xboxusb.c patching file lirc-0.7.0/remotes/xboxusb/lircd.conf.xboxusb can't find file to patch at input line 1145 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/setup-driver.sh lirc-0.7.0/setup-driver.sh |--- lirc-0.7.0.org/setup-driver.sh 2004-11-07 13:38:22.000000000 +0000 |+++ lirc-0.7.0/setup-driver.sh 2004-12-02 23:04:09.595717073 +0000 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 1166 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/setup.data lirc-0.7.0/setup.data |--- lirc-0.7.0.org/setup.data 2004-10-23 19:28:38.000000000 +0100 |+++ lirc-0.7.0/setup.data 2004-12-02 23:01:32.911173153 +0000 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored ===================================== PIPE_COMMAND: bzip2 -dc /usr/portage/app-misc/lirc/files/lirc-0.7.0-xbox.patch.bz2 > /var/tmp/portage/lirc-0.7.1/temp/5886.patch PATCH COMMAND: patch -p1 -g0 --no-backup-if-mismatch < /var/tmp/portage/lirc-0.7.1/temp/5886.patch ===================================== patching file configure Hunk #1 FAILED at 208. Hunk #2 FAILED at 8001. Hunk #3 succeeded at 8641 (offset 162 lines). Hunk #4 succeeded at 9196 (offset 224 lines). Hunk #5 FAILED at 9704. Hunk #6 FAILED at 9872. 4 out of 6 hunks FAILED -- saving rejects to file configure.rej patching file configure.in Hunk #1 FAILED at 147. Hunk #2 FAILED at 205. Hunk #3 succeeded at 391 (offset 39 lines). Hunk #4 succeeded at 928 (offset 101 lines). Hunk #5 FAILED at 1204. 3 out of 5 hunks FAILED -- saving rejects to file configure.in.rej patching file drivers/Makefile.am Hunk #1 FAILED at 9. 1 out of 1 hunk FAILED -- saving rejects to file drivers/Makefile.am.rej patching file drivers/Makefile.in Hunk #1 FAILED at 113. 1 out of 1 hunk FAILED -- saving rejects to file drivers/Makefile.in.rej patching file drivers/lirc_xboxusb/Makefile.am patching file drivers/lirc_xboxusb/Makefile.in patching file drivers/lirc_xboxusb/lirc_xboxusb.c patching file remotes/xboxusb/lircd.conf.xboxusb patching file setup-driver.sh Hunk #1 FAILED at 234. Hunk #2 FAILED at 249. 2 out of 2 hunks FAILED -- saving rejects to file setup-driver.sh.rej patching file setup.data Hunk #1 succeeded at 116 with fuzz 2 (offset 10 lines). Hunk #2 FAILED at 139. Hunk #3 FAILED at 151. 2 out of 3 hunks FAILED -- saving rejects to file setup.data.rej ===================================== PIPE_COMMAND: bzip2 -dc /usr/portage/app-misc/lirc/files/lirc-0.7.0-xbox.patch.bz2 > /var/tmp/portage/lirc-0.7.1/temp/5886.patch PATCH COMMAND: patch -p2 -g0 --no-backup-if-mismatch < /var/tmp/portage/lirc-0.7.1/temp/5886.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 -Naur lirc-0.7.0.org/configure lirc-0.7.0/configure |--- lirc-0.7.0.org/configure 2004-12-02 22:36:03.890845000 +0000 |+++ lirc-0.7.0/configure 2004-12-02 22:54:56.238633282 +0000 -------------------------- No file to patch. Skipping patch. 6 out of 6 hunks ignored missing header for unified diff at line 63 of patch can't find file to patch at input line 63 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/configure.in lirc-0.7.0/configure.in |--- lirc-0.7.0.org/configure.in 2004-12-02 22:36:03.905845000 +0000 |+++ lirc-0.7.0/configure.in 2004-12-02 22:56:48.334159975 +0000 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored patching file Makefile.am Hunk #1 FAILED at 9. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej patching file Makefile.in Hunk #1 FAILED at 113. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej patching file lirc_xboxusb/Makefile.am patching file lirc_xboxusb/Makefile.in patching file lirc_xboxusb/lirc_xboxusb.c patching file xboxusb/lircd.conf.xboxusb missing header for unified diff at line 1145 of patch can't find file to patch at input line 1145 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/setup-driver.sh lirc-0.7.0/setup-driver.sh |--- lirc-0.7.0.org/setup-driver.sh 2004-11-07 13:38:22.000000000 +0000 |+++ lirc-0.7.0/setup-driver.sh 2004-12-02 23:04:09.595717073 +0000 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 1166 of patch can't find file to patch at input line 1166 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/setup.data lirc-0.7.0/setup.data |--- lirc-0.7.0.org/setup.data 2004-10-23 19:28:38.000000000 +0100 |+++ lirc-0.7.0/setup.data 2004-12-02 23:01:32.911173153 +0000 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored ===================================== PIPE_COMMAND: bzip2 -dc /usr/portage/app-misc/lirc/files/lirc-0.7.0-xbox.patch.bz2 > /var/tmp/portage/lirc-0.7.1/temp/5886.patch PATCH COMMAND: patch -p3 -g0 --no-backup-if-mismatch < /var/tmp/portage/lirc-0.7.1/temp/5886.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 -Naur lirc-0.7.0.org/configure lirc-0.7.0/configure |--- lirc-0.7.0.org/configure 2004-12-02 22:36:03.890845000 +0000 |+++ lirc-0.7.0/configure 2004-12-02 22:54:56.238633282 +0000 -------------------------- No file to patch. Skipping patch. 6 out of 6 hunks ignored missing header for unified diff at line 63 of patch can't find file to patch at input line 63 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/configure.in lirc-0.7.0/configure.in |--- lirc-0.7.0.org/configure.in 2004-12-02 22:36:03.905845000 +0000 |+++ lirc-0.7.0/configure.in 2004-12-02 22:56:48.334159975 +0000 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored missing header for unified diff at line 114 of patch can't find file to patch at input line 114 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/drivers/Makefile.am lirc-0.7.0/drivers/Makefile.am |--- lirc-0.7.0.org/drivers/Makefile.am 2004-08-05 16:47:13.000000000 +0100 |+++ lirc-0.7.0/drivers/Makefile.am 2004-12-02 22:59:11.734508355 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 126 of patch can't find file to patch at input line 126 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/drivers/Makefile.in lirc-0.7.0/drivers/Makefile.in |--- lirc-0.7.0.org/drivers/Makefile.in 2004-11-07 13:38:19.000000000 +0000 |+++ lirc-0.7.0/drivers/Makefile.in 2004-12-02 22:59:50.684291972 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored The next patch would create the file Makefile.am, which already exists! Applying it anyway. patching file Makefile.am Patch attempted to create file Makefile.am, which already exists. Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej The next patch would create the file Makefile.in, which already exists! Applying it anyway. patching file Makefile.in Patch attempted to create file Makefile.in, which already exists. Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej patching file lirc_xboxusb.c patching file lircd.conf.xboxusb missing header for unified diff at line 1145 of patch can't find file to patch at input line 1145 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/setup-driver.sh lirc-0.7.0/setup-driver.sh |--- lirc-0.7.0.org/setup-driver.sh 2004-11-07 13:38:22.000000000 +0000 |+++ lirc-0.7.0/setup-driver.sh 2004-12-02 23:04:09.595717073 +0000 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 1166 of patch can't find file to patch at input line 1166 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/setup.data lirc-0.7.0/setup.data |--- lirc-0.7.0.org/setup.data 2004-10-23 19:28:38.000000000 +0100 |+++ lirc-0.7.0/setup.data 2004-12-02 23:01:32.911173153 +0000 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored ===================================== PIPE_COMMAND: bzip2 -dc /usr/portage/app-misc/lirc/files/lirc-0.7.0-xbox.patch.bz2 > /var/tmp/portage/lirc-0.7.1/temp/5886.patch PATCH COMMAND: patch -p4 -g0 --no-backup-if-mismatch < /var/tmp/portage/lirc-0.7.1/temp/5886.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 -Naur lirc-0.7.0.org/configure lirc-0.7.0/configure |--- lirc-0.7.0.org/configure 2004-12-02 22:36:03.890845000 +0000 |+++ lirc-0.7.0/configure 2004-12-02 22:54:56.238633282 +0000 -------------------------- No file to patch. Skipping patch. 6 out of 6 hunks ignored missing header for unified diff at line 63 of patch can't find file to patch at input line 63 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/configure.in lirc-0.7.0/configure.in |--- lirc-0.7.0.org/configure.in 2004-12-02 22:36:03.905845000 +0000 |+++ lirc-0.7.0/configure.in 2004-12-02 22:56:48.334159975 +0000 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored missing header for unified diff at line 114 of patch can't find file to patch at input line 114 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/drivers/Makefile.am lirc-0.7.0/drivers/Makefile.am |--- lirc-0.7.0.org/drivers/Makefile.am 2004-08-05 16:47:13.000000000 +0100 |+++ lirc-0.7.0/drivers/Makefile.am 2004-12-02 22:59:11.734508355 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 126 of patch can't find file to patch at input line 126 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/drivers/Makefile.in lirc-0.7.0/drivers/Makefile.in |--- lirc-0.7.0.org/drivers/Makefile.in 2004-11-07 13:38:19.000000000 +0000 |+++ lirc-0.7.0/drivers/Makefile.in 2004-12-02 22:59:50.684291972 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 138 of patch can't find file to patch at input line 138 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/drivers/lirc_xboxusb/Makefile.am lirc-0.7.0/drivers/lirc_xboxusb/Makefile.am |--- lirc-0.7.0.org/drivers/lirc_xboxusb/Makefile.am 1970-01-01 01:00:00.000000000 +0100 |+++ lirc-0.7.0/drivers/lirc_xboxusb/Makefile.am 2004-12-02 22:50:46.621366345 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 155 of patch can't find file to patch at input line 155 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/drivers/lirc_xboxusb/Makefile.in lirc-0.7.0/drivers/lirc_xboxusb/Makefile.in |--- lirc-0.7.0.org/drivers/lirc_xboxusb/Makefile.in 1970-01-01 01:00:00.000000000 +0100 |+++ lirc-0.7.0/drivers/lirc_xboxusb/Makefile.in 2004-12-02 22:50:46.623366386 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 551 of patch can't find file to patch at input line 551 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/drivers/lirc_xboxusb/lirc_xboxusb.c lirc-0.7.0/drivers/lirc_xboxusb/lirc_xboxusb.c |--- lirc-0.7.0.org/drivers/lirc_xboxusb/lirc_xboxusb.c 1970-01-01 01:00:00.000000000 +0100 |+++ lirc-0.7.0/drivers/lirc_xboxusb/lirc_xboxusb.c 2004-12-02 22:50:46.620366325 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 1086 of patch can't find file to patch at input line 1086 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/remotes/xboxusb/lircd.conf.xboxusb lirc-0.7.0/remotes/xboxusb/lircd.conf.xboxusb |--- lirc-0.7.0.org/remotes/xboxusb/lircd.conf.xboxusb 1970-01-01 01:00:00.000000000 +0100 |+++ lirc-0.7.0/remotes/xboxusb/lircd.conf.xboxusb 2004-12-02 22:50:46.649366922 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 1145 of patch can't find file to patch at input line 1145 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/setup-driver.sh lirc-0.7.0/setup-driver.sh |--- lirc-0.7.0.org/setup-driver.sh 2004-11-07 13:38:22.000000000 +0000 |+++ lirc-0.7.0/setup-driver.sh 2004-12-02 23:04:09.595717073 +0000 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 1166 of patch can't find file to patch at input line 1166 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur lirc-0.7.0.org/setup.data lirc-0.7.0/setup.data |--- lirc-0.7.0.org/setup.data 2004-10-23 19:28:38.000000000 +0100 |+++ lirc-0.7.0/setup.data 2004-12-02 23:01:32.911173153 +0000 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored
please update your portage tree