| Summary: | [kde overlay] kde-plasma/plasma-workspace-9999 plasma-workspace-5.21.5-split-libkworkspace.patch fails to apply | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | jospezial <jospezial> |
| Component: | Overlays | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | 1i5t5.duncan, jstein |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Imperfect but working *replacement* patch | ||
|
Description
jospezial
2022-02-17 15:56:23 UTC
Seeing this with this weeks updates here too. Just beginning analysis but I see this bug is already filed. FWIW last week's update was to (upstream) 54ac8316a, which unsurprisingly still patches and rebuilds fine. Current head is 524b13ad5, of course bad. Looks like about 30 candidate commits between but I haven't yet looked further. (Upstream) d7871c739 is the culprit commit triggering the needed patch rebase. Gentoo patch chunk 2 pre-context: add_subdirectory(doc) Partial upstream patch (commit d7871c739) of that line: -add_subdirectory(doc) +if(KF5DocTools_FOUND) + add_subdirectory(doc) +endif() So upstream patch killed that context line. Should be easy enough to manually change the gentoo patch pending the rebase. Created attachment 765548 [details, diff]
Imperfect but working *replacement* patch
This is a minimal manual fix that ignores the existing first-chunk fuzz and second-chunk offset, but it applies and the package builds and merges.
(Note that this is intended to replace the existing gentoo patch and isn't a patch of it, so replace it don't try to patch it.)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=b916ce3bacc42ce97341912e678d919f45ffe9d4 commit b916ce3bacc42ce97341912e678d919f45ffe9d4 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2022-02-21 11:33:39 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2022-02-21 11:47:06 +0000 kde-plasma/plasma-workspace: Rebase split-libkworkspace.patch Closes: https://bugs.gentoo.org/833532 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ...sma-workspace-5.24.80-split-libkworkspace.patch | 37 ++++++++++++++++++++++ .../plasma-workspace/plasma-workspace-9999.ebuild | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) |