Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557100 - sys-devel/llvm-9999 failed patch: clang-0001-Install-clang-runtime-into-usr-lib-without-suffix.patch
Summary: sys-devel/llvm-9999 failed patch: clang-0001-Install-clang-runtime-into-usr-l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-09 09:01 UTC by darkbasic
Modified: 2015-08-24 15:30 UTC (History)
4 users (show)

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


Attachments
Changed patch (clang-0001-Install-clang-runtime-into-usr-lib-without-suffix.patch,2.21 KB, patch)
2015-08-09 16:58 UTC, Bigos
Details | Diff
Equivalent patch against 624a11dc4f96e2ab9b8ca230fd230e2de69ffe48 (0005-cmake-Dont-restrict-CMAKE_BUILD_TYPE.patch,835 bytes, patch)
2015-08-11 05:30 UTC, Robin Kauffman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description darkbasic 2015-08-09 09:01:17 UTC
* Applying clang-0001-Install-clang-runtime-into-usr-lib-without-suffix.patch ...

 * Failed Patch: clang-0001-Install-clang-runtime-into-usr-lib-without-suffix.patch !

Reproducible: Always
Comment 1 Bigos 2015-08-09 16:58:29 UTC
Created attachment 408646 [details, diff]
Changed patch

Here is a manually changed patch. I changed the second chunk that caused problems. It should be a new version of the patch for llvm 3.8+
Comment 2 darkbasic 2015-08-10 13:04:51 UTC
Attached patch works, but now instead I get:

 * Applying compiler-rt-0001-cmake-Install-compiler-rt-into-usr-lib-without-suffi.patch ...                                                                                                                                                                                                                                                                        [ ok ]
 * Applying clang-0002-cmake-Make-CLANG_LIBDIR_SUFFIX-overridable.patch ...                                                                                                                                                                                                                                                                                        [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
>>> Working in BUILD_DIR: "/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-abi_x86_32.x86"
cmake --no-warn-unused-cli -C /var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-abi_x86_32.x86/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DLLVM_LIBDIR_SUFFIX=32 -DBUILD_SHARED_LIBS=ON -DLLVM_ENABLE_TIMESTAMPS=OFF -DLLVM_TARGETS_TO_BUILD=host;CppBackend;AMDGPU -DLLVM_BUILD_TESTS=no -DLLVM_ENABLE_FFI=yes -DLLVM_ENABLE_TERMINFO=yes -DLLVM_ENABLE_ASSERTIONS=no -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DWITH_POLLY=OFF -DLLVM_HOST_TRIPLE=i686-pc-linux-gnu -DFFI_INCLUDE_DIR=/usr/lib32/libffi-3.0.13/include  -DFFI_LIBRARY_DIR=/usr/lib32  -DHAVE_HISTEDIT_H=no -DOCAMLFIND=NO -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND -DLLVM_EXTERNAL_COMPILER_RT_BUILD=OFF -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_BUILD=OFF -DCLANG_ENABLE_ARCMT=yes -DCLANG_ENABLE_STATIC_ANALYZER=yes -DCLANG_LIBDIR_SUFFIX=64 -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-abi_x86_32.x86/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-abi_x86_32.x86/gentoo_toolchain.cmake  /var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-abi_x86_32.x86/gentoo_common_config.cmake
CMake Error at CMakeLists.txt:12 (message):
  Invalid value for CMAKE_BUILD_TYPE: Gentoo
Comment 3 Bigos 2015-08-10 13:41:22 UTC
Yes, see bug 557154 for the fix for that problem.
Comment 4 Robin Kauffman 2015-08-11 05:30:55 UTC
Created attachment 408772 [details, diff]
Equivalent patch against 624a11dc4f96e2ab9b8ca230fd230e2de69ffe48
Comment 5 Robin Kauffman 2015-08-11 05:32:04 UTC
(In reply to Robin Kauffman from comment #4)
> Created attachment 408772 [details, diff] [details, diff]
> Equivalent patch against 624a11dc4f96e2ab9b8ca230fd230e2de69ffe48

Oops, wrong bug, please ignore.
Comment 6 darkbasic 2015-08-13 09:02:31 UTC
Why don't you upstream it in Gentoo?
Comment 7 Bernard Cafarelli gentoo-dev 2015-08-24 15:30:36 UTC
Thanks everyone and sorry for the delay (llvm 3.7 had priority), I updated the patch for -9999