Debian Bug report logs -
#1006646
supercatalog changes every installed time
Reported by: <huong4.nguyenthi@toshiba.co.jp>
Date: Tue, 1 Mar 2022 11:36:02 UTC
Severity: wishlist
Tags: patch
Found in version sgml-base/1.29
Fixed in version sgml-base/1.31
Done: Holger Levsen <holger@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, mailto:reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#1006646; Package src:sgml-base.
(Tue, 01 Mar 2022 11:36:04 GMT) (full text, mbox, link).
Acknowledgement sent
to <huong4.nguyenthi@toshiba.co.jp>:
New Bug report received and forwarded. Copy sent to mailto:reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>.
(Tue, 01 Mar 2022 11:36: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: sgml-base
Version: 1.29
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org<mailto:reproducible-bugs@lists.alioth.debian.org>
I'm implementing a reproducible build of rootfs, but I can't ensure reproducibility because /var/lib/sgml-base/supercatalog changes every time.
The reason is in postinst phase, it runs update-catalog with --update-super option that call to In update_super() function in tools/update-catalog script
update_super() uses readdir function to save catalog files to supercatalog.
However, readdir function does not support file ordering.
I would like to send patch to fix this problem. Would you consider applying it?
Best Regards,
Huong
[Message part 2 (text/html, inline)]
[0001-Sort-supercatalog-in-alphabetical-order.patch (application/octet-stream, attachment)]
Reply sent
to Holger Levsen <holger@debian.org>:
You have taken responsibility.
(Thu, 06 Oct 2022 18:21:04 GMT) (full text, mbox, link).
Notification sent
to <huong4.nguyenthi@toshiba.co.jp>:
Bug acknowledged by developer.
(Thu, 06 Oct 2022 18:21:05 GMT) (full text, mbox, link).
Message #10 received at 1006646-close@bugs.debian.org (full text, mbox, reply):
Source: sgml-base
Source-Version: 1.31
Done: Holger Levsen <holger@debian.org>
We believe that the bug you reported is fixed in the latest version of
sgml-base, 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 1006646@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Holger Levsen <holger@debian.org> (supplier of updated sgml-base 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: Thu, 06 Oct 2022 20:03:38 +0200
Source: sgml-base
Architecture: source
Version: 1.31
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Holger Levsen <holger@debian.org>
Closes: 929706 1006646
Changes:
sgml-base (1.31) unstable; urgency=medium
.
* QA upload by the Reproducible Builds team.
* tools/update-catalog: make sure the catalog is sorted, to support building
reproducible rootfs with sgml-base installed, else
/var/lib/sgml-base/supercatalog changes on every postinst run. Thanks to
Nguyen Thi Huong <huong4.nguyenthi@toshiba.co.jp> for the patch.
Closes: #1006646
* Simplify preinst and also make sure it doesn't silently fail. Thanks to
Ralf Treinen for the patch. Closes: #929706
Checksums-Sha1:
cf165d6540264d4f4597219094f50426ab1377b9 1541 sgml-base_1.31.dsc
17b143b2b14d69881059a7269cca1524884087a2 12756 sgml-base_1.31.tar.xz
ecd8e8a51634510c86b401026b69dbe505ac8a7f 5780 sgml-base_1.31_source.buildinfo
Checksums-Sha256:
5bc1878461ec10333c7a99aeeec997e7263c92afba2c4f6fb518a8f4e5b3d9cc 1541 sgml-base_1.31.dsc
12e204449d060d65b97ed329d2feed0cdbf2a62a4186b436e9b9b3fff7416147 12756 sgml-base_1.31.tar.xz
810acd2049acbbafb4d6ab60febacd1ed21862578300900f11b34780757448b9 5780 sgml-base_1.31_source.buildinfo
Files:
84d58e28346b8d3567def431e4241188 1541 text optional sgml-base_1.31.dsc
38482b99c785b40cf773138f6238b0cd 12756 text optional sgml-base_1.31.tar.xz
567a67034a66db4845766f35f7369115 5780 text optional sgml-base_1.31_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmM/GSAACgkQCRq4Vgaa
qhy3XRAAtYtU+oDeNMKUbeHziXUD0/Tm56z5PyBVb37lHZBlg/9WgpjPErSisleG
vYbL3GnM2naT6yzqXVflcNKI9eWxeEuFgJz1VZmPjg9oFAfJsEQ+YrFEojk6Slpi
T3yhRaVUwn6vFlQQ8+25yi6+bX0BS5ns+5nPBKJ7fKrRW9C2SMANReLsrmIhRxXV
XJT6AjMaPgkAaj+mSruxTaxO3SBNZud4styu5x4erdQ0f4kUvVeqY6n7lBiCB6Yh
t0pppi5yBOkVCLGQBu8gdmTh7AWAvnxdj953HInAtUzpl0s3h2Bv1/w3wRnIBMR8
9Y1XK15IqM4vA124+VYyueJGgS1iO9RLCRkV+yUXhe9iDUPTB9RzzPmUOaw0sPBS
Q0rhwOTZb7Poepjk7UOCpxa96xZHGtdjoWQIK8zy7kl6FaNz/m71ILkWv/Vdwl4N
OtMNFyIsEKVAZ+1iGCAK+p5EwaqAg7COuyGmbN8zos0cL6RElfAjRKQYUvNKR4UG
WyUMCClNejTe/XKJQ8RtCqYX5N3m0yM47p7+1fYk7PO7iX+A4zpkTnWlrVHOlkqA
gyhngGPq/V6QpBYJK85fVBYggxFLNPREpC57N0J5LMRF/Ba2boHeLhAhX1vDGXT3
HfgyoH1Unu95TvN+E8Jg+otJFT4MdnCTJjbVd4e6n0MckIAkpk4=
=v7dS
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 06 Nov 2022 07:26:39 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:42:40 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.