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
Sort input file list #31080
Sort input file list #31080
Conversation
so that /usr/lib/systemd/tests/unit-tests/test-libsystemd-sym builds in a reproducible way in spite of non-deterministic filesystem readdir order See https://reproducible-builds.org/ for why this is good. This patch was done while working on reproducible builds for openSUSE.
There's one more arm-specific reproducibility problem, does your infra test on that architecture too? |
Specifically: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/armhf/diffoscope-results/systemd.html somehow, |
I did not test ARM so far because I don't have the hardware available to build. I'm running a test for openSUSE/armv7l |
Seems like we figured it out, it's a problem in the handling of the kernel architecture in src/shared/generate-syscall-list.py |
My tests already gave me two bit-identical rpms for armv7l (with reduced non-determinism). It is good that you found the source. |
Thanks for checking! The issue I had was because one of the armv7 builds was done on an arm64 kernel, so it threw the script off balance |
Sort input file list
so that
/usr/lib/systemd/tests/unit-tests/test-libsystemd-sym
builds in a reproducible wayin spite of non-deterministic filesystem readdir order.
See https://reproducible-builds.org/ for why this is good.
This patch was done while working on reproducible builds for openSUSE.