Debian Bug report logs -
#998104
afnix: please make the build reproducible
Reported by: "Chris Lamb" <lamby@debian.org>
Date: Sat, 30 Oct 2021 10:48:02 UTC
Severity: wishlist
Tags: patch
Found in version afnix/3.5.0-2
Fixed in version afnix/3.5.0-3
Done: Nobuhiro Iwamatsu <iwamatsu@debian.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, Nobuhiro Iwamatsu <iwamatsu@debian.org>:
Bug#998104; Package src:afnix.
(Sat, 30 Oct 2021 10:48:04 GMT) (full text, mbox, link).
Acknowledgement sent
to "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Nobuhiro Iwamatsu <iwamatsu@debian.org>.
(Sat, 30 Oct 2021 10:48: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: afnix
Version: 3.5.0-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
afnix could not be built reproducibly.
This is because it uses components of uname(1) as defines, and then
these defines are included in a .hpp file:
│ │ │ ├── ./usr/include/afnix/plt/ccnf.hpp
│ │ │ │ @@ -80,19 +80,19 @@
│ │ │ │ #define AFNIX_PROCNAME_S390 "s390"
│ │ │ │ #define AFNIX_PROCNAME_S390X "s390x"
│ │ │ │ #define AFNIX_PROCNAME_X64 "x64"
│ │ │ │ #define AFNIX_PROCNAME_SH "sh"
│ │ │ │
│ │ │ │ // platform definitions
│ │ │ │ #define AFNIX_PLATFORM_PLATID 1
│ │ │ │ -#define AFNIX_PLATFORM_VERSION 5.14
│ │ │ │ +#define AFNIX_PLATFORM_VERSION 5.10
│ │ │ │ #define AFNIX_PLATFORM_MAJOR 5
│ │ │ │ -#define AFNIX_PLATFORM_MINOR 14
│ │ │ │ +#define AFNIX_PLATFORM_MINOR 10
│ │ │ │ #define AFNIX_PLATFORM_NAME "linux"
│ │ │ │ -#define AFNIX_PLATFORM_VINFO "5.14"
│ │ │ │ +#define AFNIX_PLATFORM_VINFO "5.10"
│ │ │ │ #define AFNIX_PLATFORM_PROCID 13
│ │ │ │ #define AFNIX_PLATFORM_PROC "x64"
│ │ │ │ #define AFNIX_PLATFORM_BITS 64
│ │ │ │
│ │ │ │ // configuration definitions
│ │ │ │ #define AFNIX_LINKTYPE_STATIC false
Patch attached that forces these to the equivalent of having a
kernel version of "0.0". Not ideal, but it doesn't seem clear
that these defines are ever used (beyond being included in -v
output or something).
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
[afnix.diff.txt (text/plain, attachment)]
Reply sent
to Nobuhiro Iwamatsu <iwamatsu@debian.org>:
You have taken responsibility.
(Mon, 22 Nov 2021 06:06:03 GMT) (full text, mbox, link).
Notification sent
to "Chris Lamb" <lamby@debian.org>:
Bug acknowledged by developer.
(Mon, 22 Nov 2021 06:06:03 GMT) (full text, mbox, link).
Message #10 received at 998104-close@bugs.debian.org (full text, mbox, reply):
Source: afnix
Source-Version: 3.5.0-3
Done: Nobuhiro Iwamatsu <iwamatsu@debian.org>
We believe that the bug you reported is fixed in the latest version of
afnix, 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 998104@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nobuhiro Iwamatsu <iwamatsu@debian.org> (supplier of updated afnix 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: Mon, 22 Nov 2021 14:24:58 +0900
Source: afnix
Architecture: source
Version: 3.5.0-3
Distribution: unstable
Urgency: medium
Maintainer: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Changed-By: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Closes: 998104
Changes:
afnix (3.5.0-3) unstable; urgency=medium
.
* Make the build reproducible for version info. (Closes: #998104)
Add d/patches/0014-Reproducible-build.patch. Thanks to Chris Lamb
<lamby@debian.org> to this patch.
Checksums-Sha1:
0e2fb79db97b4d44f78c9f1bd2d1d8466acdfd06 1893 afnix_3.5.0-3.dsc
8cac0a5920cef3151ca5b7db26f41baafecf36df 9268 afnix_3.5.0-3.debian.tar.xz
42e37a5198012327b4cc17682c0fee6dbf0e277d 6359 afnix_3.5.0-3_amd64.buildinfo
Checksums-Sha256:
47db300a84039dabfdc5111f215c90bff8f862aebda2aeafa0bf20de291110c1 1893 afnix_3.5.0-3.dsc
52799a3cb15b1e5c813bb596e5ddef5963546b09d47fa3d406b57db5e2f44995 9268 afnix_3.5.0-3.debian.tar.xz
7b2a563f0f6fa913878754f7cd6104c502eb9fd82b513c96de462e7e3275d023 6359 afnix_3.5.0-3_amd64.buildinfo
Files:
d95f51dccf7d521b7191da0586981784 1893 interpreters optional afnix_3.5.0-3.dsc
4ce1ea4cd6e9a2a481da27483fb8dda8 9268 interpreters optional afnix_3.5.0-3.debian.tar.xz
643cef5b3c5e31e94d519754c144f415 6359 interpreters optional afnix_3.5.0-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEXmKe5SMhlzV7hM9DMiR/u0CtH6YFAmGbLocACgkQMiR/u0Ct
H6aodw/+K93FLYgFkc1SngefUicSfmOj0QavnbcTeMA0OH7q9Csnxg7sBENEkT8e
JgZ3w1NAtXdcDKjqIprI8B0rJscBSQSiFHPi7cRtE7yB6dlXiNPnJ5yF0VHtfjYz
VEsUSxxtP05FdL0XKE+zU8haA0FeeQa5xaI7FO1ee3FIBLAMIkUfF4kURxHR6eH1
Bu/M/Q+kmVs7BKi/8OHU57Ps3jAm94o9d5wzl7wwg+jOwwdsyUhWZLTOLHTVRBcA
ASEvKu9v3dNLzsckWgtC58r6f8FwaprI15T14nVPdmOGUZtQYd3w4MuWRY4kbm1N
peEFHRrNUghKF3ov12JO3TAn2TzWIFxthnbuf9KxuBsJClizrrma37xmIEmcV7rZ
KXK/mNiOczkRA1FeoJM9c8cOA4zXIR86iBBY32hpzUWkvnqq0bEqNHJM47ggbHQd
43/JICULOcJZbmdQPbCUyjZjQjdZslL7Zgn2o/VyTSqjMXTZ9/R8eP509VDkOEfo
dWLeAr4+oK4yTEe1W1EjYXuqGE3eJda1Vo2yhQfS4beiH+bDc2c/Ia6GsRHLlwZT
Z/ut/CpwSQc30TP+QW2lRsEVrGHLQm+tmtmQk4NaSmncsRccY7R1jcBklCVIC9Q9
2aAbTEUwqL8EsnmOoLTBiFFtG6KXduxUh/gGkIgVila/bV7G418=
=X/3y
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 20 Dec 2021 07:24:49 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:59:27 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.