paru
paru copied to clipboard
paru binary contains referenct to $srcdir
Affected Version
paru -V
: 1.5.1
Description
Have you checked previous issues for this bug? yes; none found
Output
When building the paru package, makepkg shows the following warning:
WARNING: Package contains reference to $srcdir
Grepping through the $pkgdir, it shows that the paru binary contains the reference to the $srcdir.
Which Rust toolchain are you compiling with?
The debug symbols contain filepaths. There's not anything to be done on paru's side.
I've used the default rust toolchain. I know that the warning is nothing serious, but I thought I might inform you nonetheless.
This is an upstream issue with Rust as a whole, and is a real pain for reproducible builds.
It can be somewhat comabtted by using --remap-path-prefix
, but even Arch's in-repo packages do not do it. Take, for example, tokei. If you use that PKGBUILD, you will get the same warning from makepkg
.
Anyways, what I am trying to say is that there is no reason to keep this issue open here, because it's a problem of either Arch or Rust as a whole, and, for now, there is not anything that paru
has to do to address this.
It's open because I did want to tackle it. I opened https://github.com/rust-lang/cargo/pull/9407 ages ago but didn't have the time to continue with it. If I find the time I'd like to get it finished.