Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419669 - sys-kernel/git-sources-3.5_rc1 patch-3.5-rc1.patch fails. Unable to dry-run patch
Summary: sys-kernel/git-sources-3.5_rc1 patch-3.5-rc1.patch fails. Unable to dry-run p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
: 419827 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-04 22:15 UTC by jospezial
Modified: 2012-06-08 21:20 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,1.54 KB, text/plain)
2012-06-04 22:16 UTC, jospezial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2012-06-04 22:15:27 UTC

    
Comment 1 jospezial 2012-06-04 22:16:47 UTC
Created attachment 314237 [details]
build.log
Comment 2 jospezial 2012-06-04 22:23:15 UTC
from patch-3.5-rc1.err:

Attempting Dry-run:
cmd: patch -p0 --no-backup-if-mismatch --dry-run -f < /var/tmp/portage/sys-kernel/git-sources-3.5_rc1/work/patches/000001/patch-3.5-rc1.patch
=======================================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/.mailmap b/.mailmap
|index 9b0d0267a3c3..2909c33bc54e 100644
|--- a/.mailmap
|+++ b/.mailmap
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/CREDITS b/CREDITS
|index 370b4c7da39b..d8fe12a9421f 100644
|--- a/CREDITS
|+++ b/CREDITS
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 30
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/Documentation/00-INDEX b/Documentation/00-INDEX
|index 2214f123a976..49c051380daf 100644
|--- a/Documentation/00-INDEX
|+++ b/Documentation/00-INDEX
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file b/Documentation/ABI/removed/ip_queue
patching file b/Documentation/ABI/testing/debugfs-pfo-nx-crypto
patching file b/Documentation/ABI/testing/dev-kmsg
can't find file to patch at input line 205
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/Documentation/ABI/testing/sysfs-block-rssd b/Documentation/ABI/testing/sysfs-block-rssd
|index d535757799fe..679ce3543122 100644
|--- a/Documentation/ABI/testing/sysfs-block-rssd
|+++ b/Documentation/ABI/testing/sysfs-block-rssd
--------------------------
Comment 3 jospezial 2012-06-04 23:36:00 UTC
>>> Unpacking linux-3.4.tar.bz2 to /var/tmp/portage/sys-kernel/git-sources-3.5_rc1/work
 * Applying patch-3.5-rc1.patch (-p0+) ...



Could it be that linux-3.4.1.tar.bz2 is needed with this patch?
Comment 4 Albert W. Hopkins 2012-06-05 00:00:59 UTC
(In reply to comment #3)
> >>> Unpacking linux-3.4.tar.bz2 to /var/tmp/portage/sys-kernel/git-sources-3.5_rc1/work
>  * Applying patch-3.5-rc1.patch (-p0+) ...
> 
> 
> 
> Could it be that linux-3.4.1.tar.bz2 is needed with this patch?

FWIW I am able to apply the patch manually (-p1) to 3.4.0 but for some reason the dry_run -p0 causes portage to fail.
Comment 5 Mike Pagano gentoo-dev 2012-06-06 15:17:00 UTC
*** Bug 419827 has been marked as a duplicate of this bug. ***
Comment 6 Mike Pagano gentoo-dev 2012-06-06 17:07:44 UTC
This is fixed with a kernel-2 eclass change. Please let me know if you have issues after you rsync in a few hours and get the new eclass.
Comment 7 jospezial 2012-06-08 11:06:35 UTC
Yes, it works now.

Somehow the changelog line on http://packages.gentoo.org/package/sys-kernel/git-sources is not up to date:

*git-sources-3.5_rc1 (03 Jun 2012)
03 Jun 2012; Michael Pagano (mpagano) +git-sources-3.5_rc1.ebuild:
Version bump

And I cleaned my firefox cache.