Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831194 - sys-devel/clang- src_prepare fails to apply patches
Summary: sys-devel/clang- src_prepare fails to apply patches
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LLVM support project
Depends on:
Reported: 2022-01-14 13:11 UTC by Patrick Lauer
Modified: 2022-01-14 13:11 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2022-01-14 13:11:06 UTC
* Fetching ...
git fetch +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/sys-devel/clang/14/__main__ refs/git-r3/HEAD
 * Checking out to . ...
git checkout --quiet refs/git-r3/HEAD -- clang clang-tools-extra
GIT update -->
   at the commit:            96acdfa0de3e574453d3f62aa7a71397ac0120bb
>>> Unpacking llvm-gentoo-patchset-9999-2.tar.xz to /var/tmp/portage/sys-devel/clang-
>>> Source unpacked in /var/tmp/portage/sys-devel/clang-
>>> Preparing source in /var/tmp/portage/sys-devel/clang- ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sys-devel/clang-"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sys-devel/clang-"
 * Applying patches from /var/tmp/portage/sys-devel/clang- ...
 *   0002-clang-Apply-Gentoo-s-prefix-dirs.patch.patch ...
patching file clang/lib/Driver/ToolChains/Darwin.cpp
Hunk #1 succeeded at 1919 (offset 102 lines).
Hunk #2 succeeded at 2139 (offset 121 lines).
Hunk #3 succeeded at 2188 (offset 121 lines).
Hunk #4 succeeded at 2240 (offset 121 lines).
can't find file to patch at input line 78
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|diff --git a/clang/lib/Frontend/InitHeaderSearch.cpp b/clang/lib/Frontend/InitHeaderSearch.cpp
|index ba9f96384f81..bee365015c70 100644
|--- a/clang/lib/Frontend/InitHeaderSearch.cpp
|+++ b/clang/lib/Frontend/InitHeaderSearch.cpp
No file to patch.  Skipping patch.
1 out of 1 hunk ignored                                                                                                                                                                                                                                                                                                                                             [ !! ]
 * ERROR: sys-devel/clang- failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/sys-devel/clang-

"clang/lib/Frontend/InitHeaderSearch.cpp" is no longer present, I haven't figured out what happened upstream.