help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help with runpaths for outputs


From: Fries
Subject: help with runpaths for outputs
Date: Mon, 17 Jul 2023 01:06:25 +0000

so, i'm trying to upgrade the rust package to 1.71.0. i've gotten quite far 
and i have one little thing stopping me. rustfmt.

rustfmt seems to require the libstd and librustc shared library files, which 
rustc links to, but rustfmt's output doesn't include those shared library 
folders inside the rustfmt output. i want to know if i can depend on an output 
to get library files.

check the attachment for the patch file for rust 1.71. i plan on contributing 
this once this issue is fixed.

the error runs at the validate-runpath phase and this is the text of the 
error.

starting phase `validate-runpath'
validating RUNPATH of 0 binaries in "/gnu/store/
7rhn5g4m1bqps7n7av3z3fnix08iq85m-rust-1.71.0-rustfmt/lib"...
validating RUNPATH of 2 binaries in "/gnu/store/
7rhn5g4m1bqps7n7av3z3fnix08iq85m-rust-1.71.0-rustfmt/bin"...
/gnu/store/7rhn5g4m1bqps7n7av3z3fnix08iq85m-rust-1.71.0-rustfmt/bin/rustfmt: 
error: depends on 'librustc_driver-9ffe7c4ee4559b56.so', which cannot be found 
in RUNPATH ("/gnu/store/7rhn5g4m1bqps7n7av3z3fnix08iq85m-rust-1.71.0-rustfmt/
bin/../lib" "/gnu/store/9lc5nl027q8q9gd34bk85hqsxx554fan-llvm-15.0.7/lib" "/
gnu/store/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib/lib/gcc/x86_64-
unknown-linux-gnu/11.3.0/../../.." "/gnu/store/
gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib")
/gnu/store/7rhn5g4m1bqps7n7av3z3fnix08iq85m-rust-1.71.0-rustfmt/bin/rustfmt: 
error: depends on 'libstd-f3697f373a6dea5e.so', which cannot be found in 
RUNPATH ("/gnu/store/7rhn5g4m1bqps7n7av3z3fnix08iq85m-rust-1.71.0-rustfmt/
bin/../lib" "/gnu/store/9lc5nl027q8q9gd34bk85hqsxx554fan-llvm-15.0.7/lib" "/
gnu/store/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib/lib/gcc/x86_64-
unknown-linux-gnu/11.3.0/../../.." "/gnu/store/
gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib")

Attachment: rust-1.71-guix.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]