Debian Bug report logs -
#989966
gtk-sharp3: reproducible-builds: Set locale to ensure .dll files are reproducible
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 16 Jun 2021 21:45:02 UTC
Severity: minor
Tags: patch
Fixed in version gtk-sharp3/2.99.3-4.1
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian CLI Libraries Team <pkg-cli-libs-team@lists.alioth.debian.org>:
Bug#989966; Package src:gtk-sharp3.
(Wed, 16 Jun 2021 21:45:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian CLI Libraries Team <pkg-cli-libs-team@lists.alioth.debian.org>.
(Wed, 16 Jun 2021 21:45:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: gtk-sharp3
Severity: minor
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Various .dll files such as ./usr/lib/cli/pango-sharp-3.0/pango-sharp.dll
produce different binaries depending on the locale used in
reprotest.
The attached patch sets the LC_ALL and LANG environment variables from
debian/rules to ensure the C.UTF-8 locale is used.
Thanks for maintaining gtk-sharp3!
live well,
vagrant
[0002-Build-with-C.UTF-8-locale-to-ensure-reproducible-bui.patch (text/x-diff, inline)]
From 5522089eb51dae3c1c0d4e809e0033b8501043df Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 16 Jun 2021 21:20:41 +0000
Subject: [PATCH 2/2] Build with C.UTF-8 locale to ensure reproducible builds
of .dll files.
---
debian/rules | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/rules b/debian/rules
index bedbbda..b2d623e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,10 @@
DEB_API_VERSION = 2.99.3
+# Set locale to ensure .dll files are built reproducibly.
+export LC_ALL=C.UTF-8
+export LANG=C.UTF-8
+
# override libdir to workaround multi-arched pkg-config paths
override_dh_auto_configure:
dh_auto_configure -- \
--
2.20.1
[signature.asc (application/pgp-signature, inline)]
Added tag(s) pending.
Request was from Vagrant Cascadian <vagrant@reproducible-builds.org>
to 989965-submit@bugs.debian.org.
(Tue, 10 Jan 2023 19:21:10 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CLI Libraries Team <pkg-cli-libs-team@lists.alioth.debian.org>:
Bug#989966; Package src:gtk-sharp3.
(Tue, 10 Jan 2023 19:21:12 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to Debian CLI Libraries Team <pkg-cli-libs-team@lists.alioth.debian.org>.
(Tue, 10 Jan 2023 19:21:12 GMT) (full text, mbox, link).
Message #12 received at 989966@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags 989965 pending
Control: tags 989966 pending
I have uploaded an NMU to DELAYED/10 fixing two reproducible builds
issues:
diff -Nru gtk-sharp3-2.99.3/debian/changelog gtk-sharp3-2.99.3/debian/changelog
--- gtk-sharp3-2.99.3/debian/changelog 2020-02-24 14:14:23.000000000 -0800
+++ gtk-sharp3-2.99.3/debian/changelog 2023-01-10 10:56:28.000000000 -0800
@@ -1,3 +1,12 @@
+gtk-sharp3 (2.99.3-4.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Do not install example Makefiles. (Closes: #989965)
+ * Build with C.UTF-8 locale to ensure reproducible builds of .dll files.
+ (Closes: #989966)
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org> Tue, 10 Jan 2023 10:56:28 -0800
+
gtk-sharp3 (2.99.3-4) unstable; urgency=medium
* [09ff38e] Fix for building on newer Mono
diff -Nru gtk-sharp3-2.99.3/debian/gtk-sharp3-examples.install gtk-sharp3-2.99.3/debian/gtk-sharp3-examples.install
--- gtk-sharp3-2.99.3/debian/gtk-sharp3-examples.install 2017-10-30 10:42:23.000000000 -0700
+++ gtk-sharp3-2.99.3/debian/gtk-sharp3-examples.install 2023-01-10 10:56:28.000000000 -0800
@@ -2,5 +2,5 @@
sample/*.exe /usr/share/gtk-sharp3-examples/
sample/GtkDemo/*.cs /usr/share/gtk-sharp3-examples/GtkDemo
sample/GtkDemo/*.exe /usr/share/gtk-sharp3-examples/GtkDemo
-sample/Makefile /usr/share/gtk-sharp3-examples/
-sample/pixmaps/ /usr/share/gtk-sharp3-examples/
+sample/pixmaps/Makefile.* /usr/share/gtk-sharp3-examples/pixmaps/
+sample/pixmaps/*.png /usr/share/gtk-sharp3-examples/pixmaps/
diff -Nru gtk-sharp3-2.99.3/debian/rules gtk-sharp3-2.99.3/debian/rules
--- gtk-sharp3-2.99.3/debian/rules 2017-10-30 10:42:23.000000000 -0700
+++ gtk-sharp3-2.99.3/debian/rules 2023-01-10 10:56:28.000000000 -0800
@@ -2,6 +2,10 @@
DEB_API_VERSION = 2.99.3
+# Set locale to ensure .dll files are built reproducibly.
+export LC_ALL=C.UTF-8
+export LANG=C.UTF-8
+
# override libdir to workaround multi-arched pkg-config paths
override_dh_auto_configure:
dh_auto_configure -- \
live well,
vagrant
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility.
(Fri, 20 Jan 2023 20:45:09 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Fri, 20 Jan 2023 20:45:09 GMT) (full text, mbox, link).
Message #17 received at 989966-close@bugs.debian.org (full text, mbox, reply):
Source: gtk-sharp3
Source-Version: 2.99.3-4.1
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
We believe that the bug you reported is fixed in the latest version of
gtk-sharp3, 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 989966@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@reproducible-builds.org> (supplier of updated gtk-sharp3 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 10 Jan 2023 10:56:28 -0800
Source: gtk-sharp3
Architecture: source
Version: 2.99.3-4.1
Distribution: unstable
Urgency: medium
Maintainer: Debian CLI Libraries Team <pkg-cli-libs-team@lists.alioth.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 989965 989966
Changes:
gtk-sharp3 (2.99.3-4.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Do not install example Makefiles. (Closes: #989965)
* Build with C.UTF-8 locale to ensure reproducible builds of .dll files.
(Closes: #989966)
Checksums-Sha1:
4d7459819e3703346904e7cb9b4cb5688280c831 2879 gtk-sharp3_2.99.3-4.1.dsc
2d46a1bdf5156ad152d066304d7e134b482db0a8 6720 gtk-sharp3_2.99.3-4.1.debian.tar.xz
Checksums-Sha256:
562776095a6799e9588737eb83dc362d7c7c397cf0503b1ebeebb84898aa5898 2879 gtk-sharp3_2.99.3-4.1.dsc
44ee1f579d2011c46a69eb410741283182b536c6276cf62224d8f853f5e4474c 6720 gtk-sharp3_2.99.3-4.1.debian.tar.xz
Files:
dfe7f7315d494dea9488a10ddffbdb12 2879 cli-mono optional gtk-sharp3_2.99.3-4.1.dsc
40b9457375c23c577131653985228268 6720 cli-mono optional gtk-sharp3_2.99.3-4.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY7245yAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqjxzAP9KXz/RyfpFsjuS
/Ekim8nOlh0ktUoJRaFuitO8mlYyZwD8Dd7MsZZCFegZ+oq0SMIJtcJ2Er61NtW3
5aePvNqjtQ4=
=9OC8
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 07 Mar 2023 07:33:53 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 10:59:20 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.