Debian Bug report logs -
#977432
kyua: reproducible builds: Embeds architecture of running kernel
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Andrej Shadura <andrewsh@debian.org>:
Bug#977432; Package src:kyua.
(Tue, 15 Dec 2020 02:00:03 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, Andrej Shadura <andrewsh@debian.org>.
(Tue, 15 Dec 2020 02:00:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: kyua
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: cpu
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
When building for armhf and running an arm64 kernel, the configure
script uses "uname -m" to determine the architecture for KYUA_PLATFORM,
but this introduces variations depending on the kernel used to perform
the build:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/armhf/diffoscope-results/kyua.html
632 ··0x000837d0·61726d76·376c0000·556e7375·70706f72·armv7l..Unsuppor
632 ··0x000837d0·61617263·68363400·556e7375·70706f72·aarch64.Unsuppo
While this is often worked around in chroots by running with a "linux32"
personality, using the running kernel is not the correct way to
determine the architecture.
The attached patch fixes this by passing KYUA_PLATFORM to configure from
debian/rules.
An alternate fix might be to determine the architecture from the
compiler or other userspace utility that is independent from the kernel,
which might be more appropriate to submit upstream.
Thanks for maintaining kyua!
live well,
vagrant
[0001-debian-rules-Pass-KYUA_PLATFORM-to-configure.patch (text/x-diff, inline)]
From 7550204861005095126dd68b2c727702abced3a8 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 15 Dec 2020 01:23:52 +0000
Subject: [PATCH 1/2] debian/rules: Pass KYUA_PLATFORM to configure.
Ensure that the architecture being built for is the userspace
architecture and not the kernel architecture.
https://tests.reproducible-builds.org/debian/issues/unstable/captures_build_arch_issue.html
---
debian/rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index d89b793..df806c9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
dh $@
override_dh_auto_configure:
- dh_auto_configure -- --disable-developer
+ dh_auto_configure -- --disable-developer \
+ KYUA_PLATFORM=$(DEB_HOST_GNU_CPU) \
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
--
2.20.1
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Andrej Shadura <andrewsh@debian.org>:
You have taken responsibility.
(Tue, 15 Dec 2020 08:36:03 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Tue, 15 Dec 2020 08:36:03 GMT) (full text, mbox, link).
Message #10 received at 977432-close@bugs.debian.org (full text, mbox, reply):
Source: kyua
Source-Version: 0.13-3
Done: Andrej Shadura <andrewsh@debian.org>
We believe that the bug you reported is fixed in the latest version of
kyua, 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 977432@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrej Shadura <andrewsh@debian.org> (supplier of updated kyua 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: SHA256
Format: 1.8
Date: Tue, 15 Dec 2020 09:26:46 +0100
Source: kyua
Architecture: source
Version: 0.13-3
Distribution: unstable
Urgency: medium
Maintainer: Andrej Shadura <andrewsh@debian.org>
Changed-By: Andrej Shadura <andrewsh@debian.org>
Closes: 977432 977433
Changes:
kyua (0.13-3) unstable; urgency=medium
.
[ Vagrant Cascadian ]
* Make builds reproducible:
- Pass KYUA_PLATFORM to configure. (Closes: #977432)
- Pass UMOUNT to configure. (Closes: #977433)
Checksums-Sha1:
249a941b914e61020d76236d88ffbfa6cbefc48a 1634 kyua_0.13-3.dsc
7ca43a235036071ecc714f77cac8c67b9ef6c99b 3340 kyua_0.13-3.debian.tar.xz
Checksums-Sha256:
709a8d14763c5128e374d177f724b92e0ce645290bd1ffd2d954023376cf4566 1634 kyua_0.13-3.dsc
5b5f955e62df8b6b95db7692473c2478a23fa15798c92afe64913efe9414b550 3340 kyua_0.13-3.debian.tar.xz
Files:
1e043c903a2b67c7dc952c41679ed092 1634 devel optional kyua_0.13-3.dsc
bc56d799fdf040e20e2b3841a36f4062 3340 devel optional kyua_0.13-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEeuS9ZL8A0js0NGiOXkCM2RzYOdIFAl/Yc8QACgkQXkCM2RzY
OdKwuAf+Ozj5xpG7P2HLdf4edbAQX2BlwGgB2F38Z9t+2AeDDqYSkmH9pmZ0tpWJ
gNW2bHAX4LncI2Vt/5ruFWwGS3bnpJuoCU6oKEr4F8i7nsOISETVmt1g1mFjljZd
EoF7+YNiLycD0QcAoULwUGxtJlghwyCAlpJpHV0x1FRBOGjZlL1e5xUKF9yAmnjH
2NZJfYxwEW0jyrMbBY0usMvoj12+kfO7aMTjzN2okzC4tp7nPT6AAeRtu64nKWWQ
0twYNKg0okOGmMCSMdpSAqxi7XpRtbwpCp3gtbG2H1UXnVNQu1TH8WBqLtq1AARN
IVSJO7HvOZkOEqyqC5T8xNwfVIknTQ==
=UdY5
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 17 Jan 2021 07:27:12 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 12:50:19 2023;
Machine Name:
buxtehude
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.