Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952005 - llvm-core/llvm-21.0.0_pre20250322: CMake Error at cmake/modules/LLVMDistributionSupport.cmake:286
Summary: llvm-core/llvm-21.0.0_pre20250322: CMake Error at cmake/modules/LLVMDistribut...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-24 20:29 UTC by idealseal
Modified: 2025-03-25 08:17 UTC (History)
2 users (show)

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


Attachments
emerge --info llvm-core/llvm (file_952005.txt,7.47 KB, text/plain)
2025-03-24 20:29 UTC, idealseal
Details
build.log (file_952005.txt,18.18 KB, text/plain)
2025-03-24 20:35 UTC, idealseal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description idealseal 2025-03-24 20:29:17 UTC
Created attachment 922548 [details]
emerge --info llvm-core/llvm

The following happens during the configure stage:


CMake Error at cmake/modules/LLVMDistributionSupport.cmake:286 (message):
  Specified distribution component 'amdhsa-loader' doesn't have an install
  target
Call Stack (most recent call first):
  CMakeLists.txt:1442 (llvm_distribution_add_targets)


CMake Error at cmake/modules/LLVMDistributionSupport.cmake:294 (message):
  Specified distribution component 'amdhsa-loader' doesn't have an
  install-stripped target.  Its installation target creation should be
  changed to use add_llvm_install_targets, or you should manually create the
  'install-amdhsa-loader-stripped' target.
Call Stack (most recent call first):
  CMakeLists.txt:1442 (llvm_distribution_add_targets)
Comment 1 idealseal 2025-03-24 20:35:33 UTC
Created attachment 922549 [details]
build.log
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-03-25 06:37:37 UTC
Sigh.  You really need to appreciate how CMake users think it is a great idea to add a QUIET find_package() somewhere deep down the source tree.
Comment 3 Larry the Git Cow gentoo-dev 2025-03-25 08:15:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f99a1c55467dd0eb42265ce1f9674be20066f327

commit f99a1c55467dd0eb42265ce1f9674be20066f327
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2025-03-25 07:18:02 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2025-03-25 08:15:31 +0000

    llvm-core/llvm: Disable automagic deps on hsa & CUDA runtimes
    
    Closes: https://bugs.gentoo.org/952005
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 llvm-core/llvm/llvm-21.0.0.9999.ebuild        | 7 ++++++-
 llvm-core/llvm/llvm-21.0.0_pre20250322.ebuild | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)