Re: [Rpm-maint] [rpm-software-management/rpm] 4.15 creates unreproducible rpm file magic headers (#934)
Closed #934 via #936. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/934#event-2790445533___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] 4.15 creates unreproducible rpm file magic headers (#934)
The base level of reproducibility just needs us to be able to use the same inputs (that includes the libmagic binary) to give the same output - like a mathematical function. On top of that, you can add advanced levels - e.g. try to get noarch packages that are actually the same when built on different archs (is not always true with pngs coming out of image scalers and svg renderers) - and one can find [interesting](https://bugzilla.opensuse.org/show_bug.cgi?id=1109949) [bugs](https://bugzilla.opensuse.org/show_bug.cgi?id=1109541) with it. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/934#issuecomment-552592075___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] 4.15 creates unreproducible rpm file magic headers (#934)
Should be fixed by #936. It's worth noting that the RPMTAG_CLASSDICT data isn't very reproducible in itself as it's highly dependent on libmagic version. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/934#issuecomment-552461496___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] 4.15 creates unreproducible rpm file magic headers (#934)
Of course. It's more a question of just how much trouble it is to do that - for a data that almost nobody uses. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/934#issuecomment-552450830___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] 4.15 creates unreproducible rpm file magic headers (#934)
There are ways to do parallel processing and still get reproducible results - it is done in pigz or xz and even make -j . -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/934#issuecomment-552445976___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] 4.15 creates unreproducible rpm file magic headers (#934)
Right, the "dictionary" (RPMTAG_CLASSDICT) used to hold all the file classification strings (for the files we store that data) will get constructed in a non-deterministic order with the parallel file classifying. This is one of those things... it'd be sad to sacrifice parallel classification because of data that practically nobody uses. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/934#issuecomment-552444608___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint