Your message dated Tue, 24 Apr 2018 12:50:36 +0000
with message-id <[email protected]>
and subject line Bug#892515: fixed in meson 0.46.0-1
has caused the Debian Bug report #892515,
regarding meson: please make the generated pkgconfig files reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
892515: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892515
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: meson
Version: 0.45.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness toolchain
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that meson creates non-reproducible pkgconfig files as it iterates
over Python sets.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff --git a/mesonbuild/modules/pkgconfig.py b/mesonbuild/modules/pkgconfig.py
index 5573a2e..9b608e9 100644
--- a/mesonbuild/modules/pkgconfig.py
+++ b/mesonbuild/modules/pkgconfig.py
@@ -90,11 +90,11 @@ class DependenciesHelper:
         return processed_libs, processed_reqs, processed_cflags
 
     def remove_dups(self):
-        self.pub_libs = list(set(self.pub_libs))
-        self.pub_reqs = list(set(self.pub_reqs))
-        self.priv_libs = list(set(self.priv_libs))
-        self.priv_reqs = list(set(self.priv_reqs))
-        self.cflags = list(set(self.cflags))
+        self.pub_libs = list(sorted(set(self.pub_libs)))
+        self.pub_reqs = list(sorted(set(self.pub_reqs)))
+        self.priv_libs = list(sorted(set(self.priv_libs)))
+        self.priv_reqs = list(sorted(set(self.priv_reqs)))
+        self.cflags = list(sorted(set(self.cflags)))
 
         # Remove from pivate libs/reqs if they are in public already
         self.priv_libs = [i for i in self.priv_libs if i not in self.pub_libs]

--- End Message ---
--- Begin Message ---
Source: meson
Source-Version: 0.46.0-1

We believe that the bug you reported is fixed in the latest version of
meson, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jussi Pakkanen <[email protected]> (supplier of updated meson package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 22 Apr 2018 19:42:22 +0300
Source: meson
Binary: meson
Architecture: source
Version: 0.46.0-1
Distribution: unstable
Urgency: medium
Maintainer: Jussi Pakkanen <[email protected]>
Changed-By: Jussi Pakkanen <[email protected]>
Description:
 meson      - high-productivity build system
Closes: 886882 892515
Changes:
 meson (0.46.0-1) unstable; urgency=medium
 .
   * New upstream release. Closes: #892515.
   * Updated debcrossgen.
   * Old command names now only print errors. Closes: #886882.
   * Marked pytho3 dependency with :any as recommended by multiarch hinter.
Checksums-Sha1:
 edad08d75b4ba9918122fc13722f08f2f663ac40 3228 meson_0.46.0-1.dsc
 964f175606846fb6229e645f5f6b756de21c1732 1200001 meson_0.46.0.orig.tar.gz
 558d8adc06614d1f662db33a293dae609aebc7f2 12124 meson_0.46.0-1.debian.tar.xz
 36f72d15bb031a0cfe2d034f487071ab793cc10f 6268 meson_0.46.0-1_source.buildinfo
Checksums-Sha256:
 94994f0d853cd575e876c37d77285ac67e3c7587532db82224bd87eeae77ae80 3228 
meson_0.46.0-1.dsc
 b7df91b01a358a8facdbfa33596a47cda38a760435ab55e1985c0bff06a9cbf0 1200001 
meson_0.46.0.orig.tar.gz
 4281528e4f6a737f0fbc2ac6649aeb6f6c0c7b3ce612d2a3501db3540891d4a0 12124 
meson_0.46.0-1.debian.tar.xz
 b38a5709ae84105fd3fe389d3b351905477a6f973763b7f5c3f845060f22f860 6268 
meson_0.46.0-1_source.buildinfo
Files:
 599d0faecac955d532529ccafa1ec1e8 3228 devel optional meson_0.46.0-1.dsc
 e3301606017e364a0d7e1c3b755e7a28 1200001 devel optional 
meson_0.46.0.orig.tar.gz
 ea4a40126fd8efd597c034ab4d2ff928 12124 devel optional 
meson_0.46.0-1.debian.tar.xz
 1f550e2b7d385bc77efe0bd5c92a2abf 6268 devel optional 
meson_0.46.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEExkOAo1eT0DvBz+1oxrkYDUvYt64FAlrfIwUACgkQxrkYDUvY
t67IhA/9ES+yTeXflKkdThGy86QNtBDiByqTMc++6yPxVnDVVOuuxfvpcIJSyKG4
XkFqP5W/0Q+8dJF9uMuhqpNzTd4E+r5W+vDdQ/P2JSeR/YJlrotX1dx4JRq9Vx9E
Ca/Kr6DdUSk1SjaG/dhQ9AoLtMSnUA2Qh/JSqX0X0FouROYmNrbKVsnuptXUv5a2
l0xEfnALmXnYgfmrfaQxYxGTuto6mZqtyQtx1OQOv/klCuQe6DN/g+HuBqGosNSM
XYOKyhbtVcaGCFdui3gRyoD/TvQOVa4r+s1LnY9tVzb3RA1q6Hs42G9ZzWwJIj41
r5fpypkrSO/Kln4r9nb6XIr5kMYcEm4bPHEAKsMxNTVxAvo8ZiiNuYy1drUveROg
dId3RgGUSGOw6u9a7FY2SyUGIOXTMC6fW7Q4MUg66i8msv1qf8Qkkd3Fy4FTNQoA
JMXty5hJt0CwQjABxktXrwmHmDqxNBp/Cbbjqegnr+nandUtjN43cUL35aq2s79v
uDo1yU0m3T2hSHBJ84USA6lg9R0+Ys3xR/1UCouhzT69AWY8K2Z7jlEHvyfw6z2g
FVARjPAqKQB0LoAWFqyOkhetIFOTm99/NypIj+SIBjX9bs9+Nq7GWsdhcVPk+LVF
qI+Q3x/QRwNGwlcflKhMJQa6sGkFnpdkRAtD23rU9xMfg/2eg5k=
=RVIa
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to