Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381651 - media-radio/ax25-tools-0.0.10_rc2-r1: fails epatch
Summary: media-radio/ax25-tools-0.0.10_rc2-r1: fails epatch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
: 381747 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-03 07:17 UTC by Kjell Claesson
Modified: 2011-09-04 11:35 UTC (History)
1 user (show)

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 Kjell Claesson 2011-09-03 07:17:52 UTC
media-radio/ax25-tools-0.0.10_rc2-r1 fails with following result:

>>> Emerging (3 of 6) media-radio/ax25-tools-0.0.10_rc2-r1
 * ax25-tools-0.0.10-rc2.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                              [ ok ]
>>> Unpacking source...
>>> Unpacking ax25-tools-0.0.10-rc2.tar.gz to /var/tmp/portage/media-radio/ax25-tools-0.0.10_rc2-r1/work
>>> Source unpacked in /var/tmp/portage/media-radio/ax25-tools-0.0.10_rc2-r1/work
>>> Preparing source in /var/tmp/portage/media-radio/ax25-tools-0.0.10_rc2-r1/work/ax25-tools-0.0.10-rc2 ...
 * Applying ax25-tools-0.0.10_rc2-parallel-make.patch ...                                                    [ ok ]
 * Applying ax25-tools-0.0.10_rc2-cve-2011-2910.patch ...

 * Failed Patch: ax25-tools-0.0.10_rc2-cve-2011-2910.patch !
 *  ( /usr/portage/media-radio/ax25-tools/files/ax25-tools-0.0.10_rc2-cve-2011-2910.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/media-radio/ax25-tools-0.0.10_rc2-r1/temp/ax25-tools-0.0.10_rc2-cve-2011-2910.patch.out

 * ERROR: media-radio/ax25-tools-0.0.10_rc2-r1 failed (prepare phase):
 *   Failed Patch: ax25-tools-0.0.10_rc2-cve-2011-2910.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_prepare
 *   environment, line 2821:  Called epatch '/usr/portage/media-radio/ax25-tools/files/ax25-tools-0.0.10_rc2-parallel-make.patch' '/usr/portage/media-radio/ax25-tools/files/ax25-tools-0.0.10_rc2-cve-2011-2910.patch'
 *   environment, line 1554:  Called epatch '/usr/portage/media-radio/ax25-tools/files/ax25-tools-0.0.10_rc2-cve-2011-2910.patch'
 *   environment, line 1710:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of 'emerge --info =media-radio/ax25-tools-0.0.10_rc2-r1',
 * the complete build log and the output of 'emerge -pqv =media-radio/ax25-tools-0.0.10_rc2-r1'.
 * The complete build log is located at '/var/tmp/portage/media-radio/ax25-tools-0.0.10_rc2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-radio/ax25-tools-0.0.10_rc2-r1/temp/environment'.
 * S: '/var/tmp/portage/media-radio/ax25-tools-0.0.10_rc2-r1/work/ax25-tools-0.0.10-rc2'


Reproducible: Always




***** ax25-tools-0.0.10_rc2-cve-2011-2910.patch *****

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

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-radio/ax25-tools/files/ax25-tools-0.0.10_rc2-cve-2011-2910.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 -Nur ax25-tools-0.0.10-rc2/ax25/ax25d.c ax25-tools/ax25/ax25d.c
|--- ax25-tools-0.0.10-rc2/ax25/ax25d.c 2009-06-21 20:01:55.000000000 +0200
|+++ ax25-tools/ax25/ax25d.c    2011-08-18 11:51:08.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 43
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nur ax25-tools-0.0.10-rc2/ax25/axspawn.c ax25-tools/ax25/axspawn.c
|--- ax25-tools-0.0.10-rc2/ax25/axspawn.c       2009-06-21 20:01:55.000000000 +0200
|+++ ax25-tools/ax25/axspawn.c  2011-08-18 12:43:49.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

patch program exited with status 1
=====================================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-radio/ax25-tools/files/ax25-tools-0.0.10_rc2-cve-2011-2910.patch'

=====================================================
patching file ax25/ax25d.c
Hunk #1 FAILED at 1.
1 out of 3 hunks FAILED -- saving rejects to file ax25/ax25d.c.rej
patching file ax25/axspawn.c
Hunk #1 FAILED at 1.
1 out of 2 hunks FAILED -- saving rejects to file ax25/axspawn.c.rej

patch program exited with status 1
=====================================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-radio/ax25-tools/files/ax25-tools-0.0.10_rc2-cve-2011-2910.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 -Nur ax25-tools-0.0.10-rc2/ax25/ax25d.c ax25-tools/ax25/ax25d.c
|--- ax25-tools-0.0.10-rc2/ax25/ax25d.c 2009-06-21 20:01:55.000000000 +0200
|+++ ax25-tools/ax25/ax25d.c    2011-08-18 11:51:08.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 43
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nur ax25-tools-0.0.10-rc2/ax25/axspawn.c ax25-tools/ax25/axspawn.c
|--- ax25-tools-0.0.10-rc2/ax25/axspawn.c       2009-06-21 20:01:55.000000000 +0200
|+++ ax25-tools/ax25/axspawn.c  2011-08-18 12:43:49.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

patch program exited with status 1
=====================================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-radio/ax25-tools/files/ax25-tools-0.0.10_rc2-cve-2011-2910.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 -Nur ax25-tools-0.0.10-rc2/ax25/ax25d.c ax25-tools/ax25/ax25d.c
|--- ax25-tools-0.0.10-rc2/ax25/ax25d.c 2009-06-21 20:01:55.000000000 +0200
|+++ ax25-tools/ax25/ax25d.c    2011-08-18 11:51:08.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 43
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nur ax25-tools-0.0.10-rc2/ax25/axspawn.c ax25-tools/ax25/axspawn.c
|--- ax25-tools-0.0.10-rc2/ax25/axspawn.c       2009-06-21 20:01:55.000000000 +0200
|+++ ax25-tools/ax25/axspawn.c  2011-08-18 12:43:49.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

patch program exited with status 1
=====================================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < '/usr/portage/media-radio/ax25-tools/files/ax25-tools-0.0.10_rc2-cve-2011-2910.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 -Nur ax25-tools-0.0.10-rc2/ax25/ax25d.c ax25-tools/ax25/ax25d.c
|--- ax25-tools-0.0.10-rc2/ax25/ax25d.c 2009-06-21 20:01:55.000000000 +0200
|+++ ax25-tools/ax25/ax25d.c    2011-08-18 11:51:08.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 43
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nur ax25-tools-0.0.10-rc2/ax25/axspawn.c ax25-tools/ax25/axspawn.c
|--- ax25-tools-0.0.10-rc2/ax25/axspawn.c       2009-06-21 20:01:55.000000000 +0200
|+++ ax25-tools/ax25/axspawn.c  2011-08-18 12:43:49.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
Comment 1 Thomas Beierlein gentoo-dev 2011-09-03 18:40:26 UTC
Thanks for reporting. Fixed.

+  03 Sep 2011; Thomas Beierlein <tomjbe@gentoo.org>
+  files/ax25-tools-0.0.10_rc2-cve-2011-2910.patch:
+  Fix bad patch file. Bug # 381651
Comment 2 Agostino Sarubbo gentoo-dev 2011-09-04 11:35:25 UTC
*** Bug 381747 has been marked as a duplicate of this bug. ***