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

zstd-sys leaks build dir location #299

Open
lumag opened this issue Aug 27, 2024 · 0 comments
Open

zstd-sys leaks build dir location #299

lumag opened this issue Aug 27, 2024 · 0 comments

Comments

@lumag
Copy link

lumag commented Aug 27, 2024

Attempting to build a crate using zstd-sys in Yocto results in a QA error, 'QA Issue: File /usr/bin/.debug/igt-runner in package deqp-runner-dbg contains reference to TMPDIR'. This happens because zstd-sys leaks source directory location to the generated binary:

strings usr/bin/.debug/* | grep cargo_home
/home/lumag/Projects/RPB/build-rpb/tmp-rpb-glibc/work/armv8a-linaro-linux/deqp-runner/0.20.0/sources-unpack/cargo_home/bitbake/zstd-sys-2.0.11+zstd.1.5.6
/home/lumag/Projects/RPB/build-rpb/tmp-rpb-glibc/work/armv8a-linaro-linux/deqp-runner/0.20.0/sources-unpack/cargo_home/bitbake/zstd-sys-2.0.11+zstd.1.5.6
/home/lumag/Projects/RPB/build-rpb/tmp-rpb-glibc/work/armv8a-linaro-linux/deqp-runner/0.20.0/sources-unpack/cargo_home/bitbake/zstd-sys-2.0.11+zstd.1.5.6
/home/lumag/Projects/RPB/build-rpb/tmp-rpb-glibc/work/armv8a-linaro-linux/deqp-runner/0.20.0/sources-unpack/cargo_home/bitbake/zstd-sys-2.0.11+zstd.1.5.6
/home/lumag/Projects/RPB/build-rpb/tmp-rpb-glibc/work/armv8a-linaro-linux/deqp-runner/0.20.0/sources-unpack/cargo_home/bitbake/zstd-sys-2.0.11+zstd.1.5.6
/home/lumag/Projects/RPB/build-rpb/tmp-rpb-glibc/work/armv8a-linaro-linux/deqp-runner/0.20.0/sources-unpack/cargo_home/bitbake/zstd-sys-2.0.11+zstd.1.5.6

Please consider fixing generated debug information in order to generated reproducible builds.

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

1 participant