Bug#1004557: man-db: please make index.db installations reproducible

2022-02-01 Thread Johannes Schauer Marin Rodrigues
Control: reassign -1 dpkg 1.21.1 Quoting Colin Watson (2022-02-01 11:37:34) > > I talked with Guillem about the possibility of changing update-alternatives > > to > > produce reproducible mtimes. I'm adding debian-d...@lists.debian.org to > > discuss > > having a reproducible index.db by changin

Bug#1004557: man-db: please make index.db installations reproducible

2022-02-01 Thread Colin Watson
On Mon, Jan 31, 2022 at 10:23:53PM +0100, Johannes Schauer Marin Rodrigues wrote: > Quoting Colin Watson (2022-01-31 03:28:07) > > Another approach might be to modify filesystem timestamps after postinsts > > have finished running but before mandb runs to clamp timestamps to > > SOURCE_DATE_EPOCH;

Bug#1004557: man-db: please make index.db installations reproducible

2022-01-31 Thread Johannes Schauer Marin Rodrigues
Quoting Johannes Schauer Marin Rodrigues (2022-01-31 22:23:53) > I talked with Guillem about the possibility of changing update-alternatives > to produce reproducible mtimes. I'm adding debian-d...@lists.debian.org to > discuss having a reproducible index.db by changing unattended-upgrades. > > Re

Bug#1004557: man-db: please make index.db installations reproducible

2022-01-31 Thread Johannes Schauer Marin Rodrigues
Quoting Colin Watson (2022-01-31 03:28:07) > > But if that's the wrong approach, lets think of the alternative: making > > sure that the mtimes of manual pages is reproducible. If I use gdbm_dump on > > the index.db of two different chroots, then it looks like the following > > manual pages have di

Bug#1004557: man-db: please make index.db installations reproducible

2022-01-30 Thread Colin Watson
On Sun, Jan 30, 2022 at 05:35:37PM +0100, Johannes Schauer Marin Rodrigues wrote: > Quoting Colin Watson (2022-01-30 15:03:30) > > I'm a bit confused, because this seems to work at the wrong layer. > > Debian packages are supposed to preserve timestamps from the source > > package wherever possibl

Bug#1004557: man-db: please make index.db installations reproducible

2022-01-30 Thread Johannes Schauer Marin Rodrigues
Hi Colin, thank you for your quick reply! :) Quoting Colin Watson (2022-01-30 15:03:30) > On Sun, Jan 30, 2022 at 02:27:05PM +0100, Johannes Schauer Marin Rodrigues > wrote: > > currently, the index.db files created by man-db -c are unreproducible > > when creating a Debian chroot. This means th

Bug#1004557: man-db: please make index.db installations reproducible

2022-01-30 Thread Colin Watson
On Sun, Jan 30, 2022 at 02:27:05PM +0100, Johannes Schauer Marin Rodrigues wrote: > currently, the index.db files created by man-db -c are unreproducible > when creating a Debian chroot. This means that tools that attempt to > create reproducible system images delete all index.db files: > > https

Bug#1004557: man-db: please make index.db installations reproducible

2022-01-30 Thread Johannes Schauer Marin Rodrigues
Source: man-db Version: 2.9.4-4 Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: jo...@debian.org, reproducible-b...@lists.alioth.debian.org Hi, currently, the index.db files created by man-db -c are unreproducible when creating a D