Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

www-client/chromium-125.0.6422.60: FAILED: default_for_rust_host_build_tools/prebuilt_rustc_sysroot/lib/rustlib/loongarch64-unknown-linux-gnu/lib/libprofiler_builtins.rlib #41

Open
HougeLangley opened this issue Jun 8, 2024 · 5 comments

Comments

@HougeLangley
Copy link
Contributor

[677/60241] ln -f default_for_rust_host_build_tools/obj/build/rust/std/libprofiler_builtins.rlib default_for_rust_host_build_tools/prebuilt_rustc_sysroot/lib/rustlib/loongarch64-unknown-linux-gnu/lib/libprofiler_builtins.rlib 2>/dev/null || (rm -rf default_for_rust_host_build_tools/prebuilt_rustc_sysroot/lib/rustlib/loongarch64-unknown-linux-gnu/lib/libprofiler_builtins.rlib && cp -af default_for_rust_host_build_tools/obj/build/rust/std/libprofiler_builtins.rlib default_for_rust_host_build_tools/prebuilt_rustc_sysroot/lib/rustlib/loongarch64-unknown-linux-gnu/lib/libprofiler_builtins.rlib)
FAILED: default_for_rust_host_build_tools/prebuilt_rustc_sysroot/lib/rustlib/loongarch64-unknown-linux-gnu/lib/libprofiler_builtins.rlib 
ln -f default_for_rust_host_build_tools/obj/build/rust/std/libprofiler_builtins.rlib default_for_rust_host_build_tools/prebuilt_rustc_sysroot/lib/rustlib/loongarch64-unknown-linux-gnu/lib/libprofiler_builtins.rlib 2>/dev/null || (rm -rf default_for_rust_host_build_tools/prebuilt_rustc_sysroot/lib/rustlib/loongarch64-unknown-linux-gnu/lib/libprofiler_builtins.rlib && cp -af default_for_rust_host_build_tools/obj/build/rust/std/libprofiler_builtins.rlib default_for_rust_host_build_tools/prebuilt_rustc_sysroot/lib/rustlib/loongarch64-unknown-linux-gnu/lib/libprofiler_builtins.rlib)
cp: cannot stat 'default_for_rust_host_build_tools/obj/build/rust/std/libprofiler_builtins.rlib': No such file or directory
[678/60241] ln -f default_for_rust_host_build_tools/obj/build/rust/std/librustc_std_workspace_alloc.rlib default_for_rust_host_build_tools/prebuilt_rustc_sysroot/lib/rustlib/loongarch64-unknown-linux-gnu/lib/librustc_std_workspace_alloc.rlib 2>/dev/null || (rm -rf default_for_rust_host_build_tools/prebuilt_rustc_sysroot/lib/rustlib/loongarch64-unknown-linux-gnu/lib/librustc_std_workspace_alloc.rlib && cp -af default_for_rust_host_build_tools/obj/build/rust/std/librustc_std_workspace_alloc.rlib default_for_rust_host_build_tools/prebuilt_rustc_sysroot/lib/rustlib/loongarch64-unknown-linux-gnu/lib/librustc_std_workspace_alloc.rlib)
@HougeLangley
Copy link
Contributor Author

@xen0n
Copy link
Owner

xen0n commented Jun 8, 2024

What's your emerge -pv virtual/rust output, and for your Rust package of choice? The profiler USE flag should be enforced for Rust, so the problem should not exist to begin with.

@HougeLangley
Copy link
Contributor Author

What's your emerge -pv virtual/rust output, and for your Rust package of choice? The profiler USE flag should be enforced for Rust, so the problem should not exist to begin with.

gentoo ~ # emerge -pv virtual/rust

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 3.46 s (backtrack: 0/20).

[ebuild   R    ] virtual/rust-1.78.0:0/llvm-18::gentoo  USE="profiler -rustfmt" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
gentoo ~ #

@Xinmudotmoe
Copy link
Contributor

dev-lang/rust-bin包似乎缺失libprofiler相关文件.
同时发现rust-lang.org提供的包,stable(1.79.0),beta也缺失.
只有nightly包提供了libprofiler(chromium在尝试构建中)
缺失的原因未知

@xen0n
Copy link
Owner

xen0n commented Jul 8, 2024

dev-lang/rust-bin doesn't contain profiler bits for loong until 1.81.0: my fix PR

until then (2024-09-05 UTC), use dev-lang/rust

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants