Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619202 - =sys-kernel/gentoo-sources-4.11.2[experimental] - Failed to dry-run patch 5004_blkck-bfq-turn-BFQ...
Summary: =sys-kernel/gentoo-sources-4.11.2[experimental] - Failed to dry-run patch 500...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-21 16:01 UTC by fcool
Modified: 2017-05-22 19:26 UTC (History)
10 users (show)

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


Attachments
Patch to fix src_unpack() patch failure (remove-extraversion-from-5004.patch,878 bytes, patch)
2017-05-22 17:58 UTC, sluidfoe
Details | Diff
Fix src_unpack() patch warning (remove-trailing-whitespace-from-5010.patch,755 bytes, patch)
2017-05-22 18:01 UTC, sluidfoe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fcool 2017-05-21 16:01:10 UTC
4.11.1 worked for me when it came out but 4.11.2 fails this patch phase.

* Messages for package sys-kernel/gentoo-sources-4.11.2:

 * Failed to dry-run patch 5004_blkck-bfq-turn-BFQ-v7r11-for-4.11.0-into-BFQ-v8r11-for-4.patch1
 * Please attach /var/tmp/portage/sys-kernel/gentoo-sources-4.11.2/temp/5004_blkck-bfq-turn-BFQ-v7r11-for-4.11.0-into-BFQ-v8r11-for-4.err to any bug you may post.
 * ERROR: sys-kernel/gentoo-sources-4.11.2::gentoo failed (unpack phase):
 *   Unable to dry-run patch on any patch depth lower than 5.
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_unpack
 *   environment, line 3739:  Called kernel-2_src_unpack
 *   environment, line 2081:  Called unipatch '  /var/tmp/portage/sys-kernel/gentoo-sources-4.11.2/distdir/genpatches-4.11-3.base.tar.xz /var/tmp/portage/sys-kernel/gentoo-sources-4.11.2/distdir/genpatches-4.11-3.extras.tar.xz /var/tmp/portage/sys-kernel/gentoo-sources-4.11.2/distdir/genpatches-4.11-3.experimental.tar.xz '
 *   environment, line 4520:  Called die
 * The specific snippet of code:
 *                   die "Unable to dry-run patch on any patch depth lower than 5.";
Comment 1 rx80 2017-05-21 16:37:40 UTC
The patch errors when trying to update the kernel Makefile to append "-bfq" extra version string.
Comment 2 Maxim Britov 2017-05-21 18:10:33 UTC
patch for 4.11.1, it's fails

 VERSION = 4
 PATCHLEVEL = 11
 SUBLEVEL = 1
-EXTRAVERSION =
+EXTRAVERSION = -bfq

Somebody was too fast when released ebuild :)
Comment 3 ernsteiswuerfel archtester 2017-05-21 19:37:13 UTC
Same here (ppc64). 4.11.1 worked.
Comment 4 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2017-05-22 10:09:44 UTC
yes problem is only in 4.11.2
Comment 5 Paolo Pedroni 2017-05-22 10:16:35 UTC
Same for me...
Comment 6 sluidfoe 2017-05-22 17:58:37 UTC
Created attachment 473808 [details, diff]
Patch to fix src_unpack() patch failure

This patch removes the remainder of the patch hunk that attempts to add -bfq to the kernel makefile's EXTRAVERSION. This works around the src_unpack() failures caused by genpatches-4.11-3.experimental's 5004_blkck-bfq-turn-BFQ-v7r11-for-4.11.0-into-BFQ-v8r11-for-4.patch1.
Comment 7 sluidfoe 2017-05-22 18:01:11 UTC
Created attachment 473810 [details, diff]
Fix src_unpack() patch warning

This patch removes a trailing space that causes a patch warning. This works around the warning generated when applying 5010_enable-additional-cpu-optimizations-for-gcc.patch from genpatches-4.11-3.experimental.
Comment 8 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2017-05-22 19:26:46 UTC
closed with commit 4249e8a45004728fed6e6bafb70e1de7f4913e19