Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923066 - dev-lang/rust-1.74.1[llvm_targets_ARC] fails to compile: The target `ARC' is experimental and must be passed via LLVM_EXPERIMENTAL_TARGETS_TO_BUILD
Summary: dev-lang/rust-1.74.1[llvm_targets_ARC] fails to compile: The target `ARC' is ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-28 03:23 UTC by matoro
Modified: 2024-08-16 14:26 UTC (History)
5 users (show)

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


Attachments
build.log and emerge --info (build.log.gz,105.44 KB, application/gzip)
2024-01-28 03:24 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-01-28 03:23:20 UTC
This is an issue because USE=test requires all LLVM_TARGETS to be enabled, therefore it's impossible to build dev-lang/rust with USE=test.

CMake Error at CMakeLists.txt:925 (message):
  The target `ARC' is experimental and must be passed via
  LLVM_EXPERIMENTAL_TARGETS_TO_BUILD.


-- Configuring incomplete, errors occurred!
thread 'main' panicked at /var/tmp/portage/dev-lang/rust-1.74.1/work/rustc-1.74.1-src/vendor/cmake/src/lib.rs:975:5:

command did not execute successfully, got: exit status: 1

build script failed, must exit now

Reproducible: Always
Comment 1 matoro archtester 2024-01-28 03:24:36 UTC
Created attachment 883337 [details]
build.log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-28 06:45:36 UTC
# causes double bootstrap
RESTRICT="test"

so not a blocker