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

paru binary contains referenct to $srcdir #336

Closed
marcstraube opened this issue Apr 21, 2021 · 5 comments
Closed

paru binary contains referenct to $srcdir #336

marcstraube opened this issue Apr 21, 2021 · 5 comments

Comments

@marcstraube
Copy link

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.

@seragunn
Copy link
Contributor

Which Rust toolchain are you compiling with?

@Morganamilo
Copy link
Owner

The debug symbols contain filepaths. There's not anything to be done on paru's side.

@marcstraube
Copy link
Author

I've used the default rust toolchain.
I know that the warning is nothing serious, but I thought I might inform you nonetheless.

@SandaruKasa
Copy link
Contributor

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.

@Morganamilo
Copy link
Owner

It's open because I did want to tackle it. I opened rust-lang/cargo#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.

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

4 participants