[Rpm-maint] [rpm-software-management/rpm] 4.15 creates unreproducible rpm mime headers (#934)

Bernhard M. Wiedemann notifications at github.com
Sun Nov 10 02:33:34 UTC 2019


While working on reproducible builds for openSUSE, I found that 
rpm 4.15 creates rpm headers with mime types in random order.
Results become reproducible when I build on a 1-core VM, so it is probably related to the parallelism added in 4.15.

To see these headers I used `strings` on rpms that were building identical with 4.14.2 .

Diff looks thus: 
```diff
--- filter/RPMS.2017/khmeros-fonts-5.0-0.0.noarch.rpm
+++ filter/RPMS/khmeros-fonts-5.0-0.0.noarch.rpm
@@ -146,13 +146,13 @@
 cpio
 noarch-suse-linux
 directory
-TrueType Font data, 23 tables, 1st "GDEF", 37 names, Macintosh, KhmerOS - font for the Khmer language of Cambodia??Copyright 2007 Danh Hong?? ??This font is fr
-TrueType Font data, 18 tables, 1st "GDEF", 35 names, Macintosh, KhmerOS - font for the Khmer language of Cambodia??Copyright 2007 Danh Hong?? ??This font is fr
+ASCII text
 TrueType Font data, 18 tables, 1st "GDEF", 35 names, Macintosh, KhmerOS - font for the Khmer language of Cambodia??Copyright 2005 Danh Hong??Copyright 2005 Ope
-TrueType Font data, 23 tables, 1st "GDEF", 35 names, Macintosh, KhmerOS - font for the Khmer language of Cambodia??Copyright 2007 Danh Hong?? ??This font is fr
 TrueType Font data, 18 tables, 1st "GDEF", 36 names, Macintosh, KhmerOS - font for the Khmer language of Cambodia??Copyright 2007 Danh Hong?? ??This font is fr
 TrueType Font data, 18 tables, 1st "GDEF", 35 names, Macintosh, KhmerOS - font for the Khmer language of Cambodia??Copyright 2007 Danh Hong????This font is fre
-ASCII text
+TrueType Font data, 18 tables, 1st "GDEF", 35 names, Macintosh, KhmerOS - font for the Khmer language of Cambodia??Copyright 2007 Danh Hong?? ??This font is fr
+TrueType Font data, 23 tables, 1st "GDEF", 37 names, Macintosh, KhmerOS - font for the Khmer language of Cambodia??Copyright 2007 Danh Hong?? ??This font is fr
+TrueType Font data, 23 tables, 1st "GDEF", 35 names, Macintosh, KhmerOS - font for the Khmer language of Cambodia??Copyright 2007 Danh Hong?? ??This font is fr
   if [ -e /run/fontpackages/reconfigure-fonts ]; then 
     
   if test -x /usr/sbin/fonts-config ; then 
```

-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191109/d2a37844/attachment.html>


More information about the Rpm-maint mailing list