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

Unreproducible DEPENDSDICT #1056

Open
bmwiedemann opened this issue Feb 6, 2020 · 4 comments
Open

Unreproducible DEPENDSDICT #1056

bmwiedemann opened this issue Feb 6, 2020 · 4 comments
Labels

Comments

@bmwiedemann
Copy link
Contributor

While working on reproducible builds for openSUSE, I found that
our poco package build had variations in the resulting poco-devel rpms
in the DEPENDSDICT header.
Likely from build/rpmfc.c rpmfcGenerateDepends function.

Steps To Reproduce:

osc co openSUSE:Factory/poco && cd $_
osc build --no-service --vm-type=kvm --keep-pkgs=RPMS
rpm -qp --qf '%{DEPENDSDICT}\n' RPMS/poco-devel-1.9.3-*.x86_64.rpm 

Diff looks thus:

filterdiff printrpmtags RPMS*/*devel*
-DEPENDSDICT=1342177287
+DEPENDSDICT=1342177291

When building on a filesystem without variations in readdir order (e.g. disorderfs in order mode or ext4 with dir_index disabled), differences go away.

@pmatilai
Copy link
Contributor

As it's not entirely clear from the report: is this reported as a regression in 4.15.x or just a new finding that was simply reported on the version where tested?

@bmwiedemann
Copy link
Contributor Author

bmwiedemann commented Feb 25, 2020

I was able to reproduce the problem with rpm-4.14.1 as well, so not a recent regression.

or maybe the .spec file does something strange?
https://github.com/bmwiedemann/openSUSE/tree/master/packages/p/poco

@ffesti ffesti added this to Needs triage in Ticket Review (Outdated) Mar 3, 2020
@pmatilai pmatilai added the bug label Mar 3, 2020
@pmatilai pmatilai moved this from Needs triage to Yes in Ticket Review (Outdated) Mar 30, 2020
@bmwiedemann
Copy link
Contributor Author

Still a problem with rpm-4.16.0. I found at least 4 affected packages now and all of them use cmake and gcc-c++ for building

  • drumstick-devel
  • gnuradio-devel
  • poco-devel
  • qt6-svg-devel (only 1 bit of entropy)

a hexdump diff looks thus:

@@ -859,13 +859,13 @@
 004920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 004930 00 00 00 02 00 00 00 02 00 00 00 02 00 00 00 02
 004940 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 00
-004950 50 00 00 01 50 00 00 04 50 00 00 03 50 00 00 02
-004960 50 00 00 00 50 00 00 01 50 00 00 04 50 00 00 03
-004970 50 00 00 02 50 00 00 00 50 00 00 01 50 00 00 04
-004980 50 00 00 03 50 00 00 02 50 00 00 00 50 00 00 01
-004990 50 00 00 04 50 00 00 03 50 00 00 02 50 00 00 00
-0049a0 50 00 00 01 50 00 00 04 50 00 00 03 50 00 00 02
-0049b0 50 00 00 00 50 00 00 08 52 00 00 00 50 00 00 09
+004950 50 00 00 02 50 00 00 00 50 00 00 03 50 00 00 04
+004960 50 00 00 01 50 00 00 02 50 00 00 00 50 00 00 03
+004970 50 00 00 04 50 00 00 01 50 00 00 02 50 00 00 00
+004980 50 00 00 03 50 00 00 04 50 00 00 01 50 00 00 02
+004990 50 00 00 00 50 00 00 03 50 00 00 04 50 00 00 01
+0049a0 50 00 00 02 50 00 00 00 50 00 00 03 50 00 00 04
+0049b0 50 00 00 01 50 00 00 08 52 00 00 00 50 00 00 09
 0049c0 52 00 00 00 50 00 00 0a 52 00 00 00 50 00 00 0b
 0049d0 52 00 00 00 50 00 00 07 52 00 00 08 52 00 00 13

@bmwiedemann
Copy link
Contributor Author

still a problem with rpm-4.17.0

@pmatilai pmatilai changed the title 4.15.1 creates unreproducible rpm DEPENDSDICT Unreproducible DEPENDSDICT May 17, 2022
@ffesti ffesti removed this from Yes in Ticket Review (Outdated) Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

2 participants