Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831194 - sys-devel/clang-14.0.0.9999: src_prepare fails to apply patches
Summary: sys-devel/clang-14.0.0.9999: src_prepare fails to apply patches
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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 https://github.com/llvm/llvm-project.git ...
git fetch https://github.com/llvm/llvm-project.git +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/sys-devel/clang/14/__main__ refs/git-r3/HEAD
 * Checking out https://github.com/llvm/llvm-project.git to . ...
git checkout --quiet refs/git-r3/HEAD -- clang clang-tools-extra
GIT update -->
   repository:               https://github.com/llvm/llvm-project.git
   at the commit:            96acdfa0de3e574453d3f62aa7a71397ac0120bb
>>> Unpacking llvm-gentoo-patchset-9999-2.tar.xz to /var/tmp/portage/sys-devel/clang-14.0.0.9999/work
>>> Source unpacked in /var/tmp/portage/sys-devel/clang-14.0.0.9999/work
>>> Preparing source in /var/tmp/portage/sys-devel/clang-14.0.0.9999/work/clang ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sys-devel/clang-14.0.0.9999/work/clang"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sys-devel/clang-14.0.0.9999/work/x/y/clang"
 * Applying patches from /var/tmp/portage/sys-devel/clang-14.0.0.9999/work/llvm-gentoo-patchset-9999-2 ...
 *   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-14.0.0.9999::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/sys-devel/clang-14.0.0.9999/work/llvm-gentoo-patchset-9999-2/0002-clang-Apply-Gentoo-s-prefix-dirs.patch.patch


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