Hi! Simon Tournier <[email protected]> skribis:
> Investigating « bug#62645: Failing `guix install gnash` » [1], I am a > bit surprised: > > $ guix build gnash --with-c-toolchain=gnash=gcc-toolchain@9 -n 2>&1 | grep > tar.gz | wc -l > 1008 > > > and most of the packages to rebuild are Rust packages. Basically > because the dependency ’gtk+’; surprising but why not. > > Where I am really surprised is that: > > $ guix build gnash --with-c-toolchain=gnash=gcc-toolchain@9 -n 2>&1 | grep > rust-hmac > /gnu/store/983c5jb08bypxa9r6cmzg3znncmjhs4s-rust-hmac-0.8.1.tar.gz > > $ guix graph --path gnash rust-hmac -t bag > guix graph: error: no path from '[email protected]' to '[email protected]' Note that it’s not the same version (0.12.0 vs. 0.8.1), but the result is the same with 0.8. The reason is that Rust packages aren’t like “real” packages; the sources are eventually aggregated in whatever package needs them. IOW, ‘guix graph’, ‘guix refresh -l’, etc. aren’t very useful with Rust packages, and that’s a problem. See <https://issues.guix.gnu.org/53127>. > $ guix graph --path gnash -e '(@@ (gnu packages gcc) gcc-11)' -t bag > guix graph: error: no path from '[email protected]' to '[email protected]' That’s because you’re not looking at the “right” GCC 11 package object: --8<---------------cut here---------------start------------->8--- $ guix graph --path gnash -e '(@@ (gnu packages commencement) gcc-final)' [email protected] [email protected] [email protected] [email protected] [email protected] ld-wrapper@0 [email protected] [email protected] --8<---------------cut here---------------end--------------->8--- HTH! Ludo’.
