lirc-0.7.1.ebuild fails to emerge on x86 because a patch for the xbox is applied without checking if it is actually installed on a xbox. in line 69 there's "epatch ${FILESDIR}/lirc-0.7.0-xbox.patch.bz2", commenting this out fixes the problem. in lirc-0.7.0-r1.ebuild there is a if-then-comman where the arch is verified. Reproducible: Always Steps to Reproduce: 1.emerge lirc-0.7.1 Actual Results: emerge fails Expected Results: emerge lirc cat /var/tmp/portage/lirc-0.7.1/temp/lirc-0.7.0-xbox.patch.bz2-3545.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/3545.patch PATCH COMMAND: patch -p0 -g0 --no-backup-if-mismatch < /var/tmp/portage/lirc-0.7.1/temp/3545.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/3545.patch PATCH COMMAND: patch -p1 -g0 --no-backup-if-mismatch < /var/tmp/portage/lirc-0.7.1/temp/3545.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/3545.patch PATCH COMMAND: patch -p2 -g0 --no-backup-if-mismatch < /var/tmp/portage/lirc-0.7.1/temp/3545.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/3545.patch PATCH COMMAND: patch -p3 -g0 --no-backup-if-mismatch < /var/tmp/portage/lirc-0.7.1/temp/3545.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/3545.patch PATCH COMMAND: patch -p4 -g0 --no-backup-if-mismatch < /var/tmp/portage/lirc-0.7.1/temp/3545.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
*** This bug has been marked as a duplicate of 92502 ***