Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851627 - sys-devel/clang-15.0.0.9999 fails configuration
Summary: sys-devel/clang-15.0.0.9999 fails configuration
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-12 20:58 UTC by PF4Public
Modified: 2022-07-29 07:00 UTC (History)
2 users (show)

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 PF4Public 2022-06-12 20:58:54 UTC
CMake Error at /usr/lib/llvm/15/lib64/cmake/llvm/LLVM-Config.cmake:138 (message):
  Target PowerPC is not in the set of libraries.
Call Stack (most recent call first):
  /usr/lib/llvm/15/lib64/cmake/llvm/LLVM-Config.cmake:263 (llvm_expand_pseudo_components)
  /usr/lib/llvm/15/lib64/cmake/llvm/LLVM-Config.cmake:102 (llvm_map_components_to_libnames)
  /usr/lib/llvm/15/lib64/cmake/llvm/LLVM-Config.cmake:95 (explicit_llvm_config)
  /usr/lib/llvm/15/lib64/cmake/llvm/AddLLVM.cmake:912 (llvm_config)
  cmake/modules/AddClang.cmake:146 (add_llvm_executable)
  cmake/modules/AddClang.cmake:156 (add_clang_executable)
  tools/driver/CMakeLists.txt:25 (add_clang_tool)


Reproducible: Always

Steps to Reproduce:
emerge =clang-15*
Actual Results:  
clang fails the configuration

Expected Results:  
clang compiled and installed

Probably similar to https://bugs.gentoo.org/745915
Comment 1 PF4Public 2022-06-12 22:48:39 UTC
Offending commit must have been https://github.com/llvm/llvm-project/commit/f06abbb393800b0d466c88e283c06f75561c432c

Before Gentoo adapts, it is possible to build the previous commit: EGIT_OVERRIDE_COMMIT_LLVM_LLVM_PROJECT=c2d27c89593e92f8e557f27ec02f083760eeab2d emerge -v1 llvm:15 clang:15
Comment 2 Marcin Deranek 2022-07-03 19:14:54 UTC
Currently due to https://github.com/gentoo/gentoo/commit/4cc3a44c50e3a21d55dbdd8290ec2fe5c0ef5786 you also need to remove the line with UnicodeNameMappingGenerator from llvm-15.0.0.9999.ebuild otherwise it won't build with the above workaround.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-07-29 07:00:29 UTC
It's been fixed upstream.