* Package: dev-lang/rust-1.63.0-r1:stable/1.63 * Repository: gentoo * Maintainer: gyakovlev@gentoo.org rust@gentoo.org * USE: abi_x86_64 amd64 cpu_flags_x86_sse2 elibc_musl kernel_linux llvm-libunwind llvm_targets_X86 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Checking for at least 11520 MiB disk space at "/var/tmp/portage/dev-lang/rust-1.63.0-r1/temp" ... [ ok ] * Checking whether python3_11 is suitable ... * >=dev-lang/python-3.11.0_beta4:3.11 ... [ ok ] * Using python3.11 to build (via PYTHON_COMPAT iteration) >>> Unpacking source... >>> Unpacking rustc-1.63.0-src.tar.xz to /var/tmp/portage/dev-lang/rust-1.63.0-r1/work >>> Unpacking rust-1.62.0-x86_64-unknown-linux-musl.tar.xz to /var/tmp/portage/dev-lang/rust-1.63.0-r1/work >>> Source unpacked in /var/tmp/portage/dev-lang/rust-1.63.0-r1/work >>> Preparing source in /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rustc-1.63.0-src ... install: creating uninstall script at /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/lib/rustlib/uninstall.sh install: installing component 'rustc' install: installing component 'rust-std-x86_64-unknown-linux-musl' install: installing component 'rust-demangler-preview' install: installing component 'cargo' install: installing component 'rustfmt-preview' install: installing component 'rls-preview' install: installing component 'llvm-tools-preview' install: installing component 'clippy-preview' install: installing component 'rust-analysis-x86_64-unknown-linux-musl' rust installed. * Applying 1.55.0-ignore-broken-and-non-applicable-tests.patch ... patching file src/test/codegen/sparc-struct-abi.rs Hunk #1 succeeded at 2 with fuzz 2. patching file src/test/run-make-fulldeps/c-link-to-rust-va-list-fn/Makefile patching file src/test/run-make-fulldeps/long-linker-command-lines/Makefile patching file src/test/run-make-fulldeps/sysroot-crates-are-unstable/Makefile patching file src/test/ui/env-funky-keys.rs Hunk #1 succeeded at 1 with fuzz 1. [ ok ] * Applying 1.62.1-musl-dynamic-linking.patch ... patch unexpectedly ends in middle of line [ ok ] * Applying 1.61.0-gentoo-musl-target-specs.patch ... [ ok ] * Applying 1.63.0-CVE-2022-36113.patch ... [ ok ] * Applying 1.63.0-CVE-2022-36114.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rustc-1.63.0-src ... clang-15: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument] clang-15: warning: argument unused during compilation: '-E' [-Wunused-command-line-argument] * Rust configured with the following flags: RUSTFLAGS= RUSTFLAGS_BOOTSTRAP= RUSTFLAGS_NOT_BOOTSTRAP= CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_RUSTFLAGS=-C target-feature=-crt-static CFLAGS_x86_64-unknown-linux-musl=-m64 * config.toml contents: changelog-seen = 2 [llvm] download-ci-llvm = false optimize = true release-debuginfo = false assertions = false ninja = true targets = "X86" experimental-targets = "" link-shared = false use-libcxx = true static-libstdcpp = false [llvm.build-config] CMAKE_VERBOSE_MAKEFILE = "ON" CMAKE_C_FLAGS_RELEASE = "-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches" CMAKE_CXX_FLAGS_RELEASE = "-O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches" CMAKE_EXE_LINKER_FLAGS_RELEASE = "-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" CMAKE_MODULE_LINKER_FLAGS_RELEASE = "-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" CMAKE_SHARED_LINKER_FLAGS_RELEASE = "-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" CMAKE_STATIC_LINKER_FLAGS_RELEASE = "" [build] build-stage = 2 test-stage = 2 doc-stage = 2 build = "x86_64-unknown-linux-musl" host = ["x86_64-unknown-linux-musl"] target = ["x86_64-unknown-linux-musl"] cargo = "/var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo" rustc = "/var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/rustc" rustfmt = "/var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/rustfmt" docs = false compiler-docs = false submodules = false python = "python3.11" locked-deps = true vendor = true extended = true tools = ["cargo",] verbose = 2 sanitizers = false profiler = false cargo-native-static = false [install] prefix = "/usr/lib/rust/1.63.0" sysconfdir = "etc" docdir = "share/doc/rust" bindir = "bin" libdir = "lib" mandir = "share/man" [rust] # https://github.com/rust-lang/rust/issues/54872 codegen-units-std = 1 optimize = true debug = false debug-assertions = false debug-assertions-std = false debuginfo-level = 0 debuginfo-level-rustc = 0 debuginfo-level-std = 0 debuginfo-level-tools = 0 debuginfo-level-tests = 0 backtrace = true incremental = false default-linker = "clang" parallel-compiler = false channel = "stable" description = "gentoo" rpath = false verbose-tests = true optimize-tests = true codegen-tests = true dist-src = false remap-debuginfo = true lld = false # only deny warnings if doc+wasm are NOT requested, documenting stage0 wasm std fails without it # https://github.com/rust-lang/rust/issues/74976 # https://github.com/rust-lang/rust/issues/76526 deny-warnings = true backtrace-on-ice = true jemalloc = false [dist] src-tarball = false compression-formats = ["xz"] [target.x86_64-unknown-linux-musl] ar = "llvm-ar" cc = "clang" cxx = "clang++" linker = "clang" ranlib = "llvm-ranlib" llvm-libunwind = "in-tree" crt-static = false >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rustc-1.63.0-src ... Building rustbuild running: /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo build --manifest-path /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rustc-1.63.0-src/src/bootstrap/Cargo.toml --verbose --verbose --locked --frozen Error loading shared library libgcc_s.so.1: No such file or directory (needed by /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo) Error relocating /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo: _Unwind_Resume: symbol not found Error relocating /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo: _Unwind_GetIPInfo: symbol not found Error relocating /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo: _Unwind_GetDataRelBase: symbol not found Error relocating /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo: _Unwind_GetRegionStart: symbol not found Error relocating /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo: _Unwind_SetGR: symbol not found Error relocating /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo: _Unwind_FindEnclosingFunction: symbol not found Error relocating /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo: _Unwind_GetTextRelBase: symbol not found Error relocating /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo: _Unwind_DeleteException: symbol not found Error relocating /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo: _Unwind_RaiseException: symbol not found Error relocating /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo: _Unwind_GetIP: symbol not found Error relocating /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo: _Unwind_Backtrace: symbol not found Error relocating /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo: _Unwind_GetCFA: symbol not found Error relocating /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo: _Unwind_GetLanguageSpecificData: symbol not found Error relocating /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo: _Unwind_SetIP: symbol not found Traceback (most recent call last): File "/var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rustc-1.63.0-src/./x.py", line 27, in bootstrap.main() File "/var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rustc-1.63.0-src/src/bootstrap/bootstrap.py", line 1085, in main bootstrap(help_triggered) File "/var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rustc-1.63.0-src/src/bootstrap/bootstrap.py", line 1061, in bootstrap build.build_bootstrap() File "/var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rustc-1.63.0-src/src/bootstrap/bootstrap.py", line 803, in build_bootstrap run(args, env=env, verbose=self.verbose) File "/var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rustc-1.63.0-src/src/bootstrap/bootstrap.py", line 200, in run raise RuntimeError(err) RuntimeError: failed to run: /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rust-stage0/bin/cargo build --manifest-path /var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rustc-1.63.0-src/src/bootstrap/Cargo.toml --verbose --verbose --locked --frozen * ERROR: dev-lang/rust-1.63.0-r1::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 3853: Called die * The specific snippet of code: * env $(cat "${S}"/config.env) RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die ) * * If you need support, post the output of `emerge --info '=dev-lang/rust-1.63.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/rust-1.63.0-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-lang/rust-1.63.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/rust-1.63.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rustc-1.63.0-src' * S: '/var/tmp/portage/dev-lang/rust-1.63.0-r1/work/rustc-1.63.0-src'