Control: retitle -1 lintian: Detect files in the orig tarball with a timestamp too far in the past
* Rafael Laboissière <[email protected]> [2026-11-09 15:54]: > Package: lintian > Version: 2.143.0 > Severity: wishlist > > Dear Lintian maintainers, > > I recently uploaded version 0.5.1 of the octave-mplapack package to unstable. > It was rejected by the FTP masters (Bug#1153471 [1]) because the .deb file > contained files with a timestamp too far in the past. Indeed, this comes from > the upstream tarball: > > $ wget > http://deb.debian.org/debian/pool/main/o/octave-mplapack/octave-mplapack_0.5.1.orig.tar.gz > $ tar tfvz octave-mplapack_0.5.1.orig.tar.gz | head -n4 > drwxr-xr-x 0/0 0 1970-01-01 01:00 mplapack-interop-0.5.1/ > -rw-r--r-- 0/0 569 1970-01-01 01:00 > mplapack-interop-0.5.1/CONTRIBUTING.md > -rw-r--r-- 0/0 1331 1970-01-01 01:00 mplapack-interop-0.5.1/COPYING > -rw-r--r-- 0/0 305 1970-01-01 01:00 > mplapack-interop-0.5.1/DESCRIPTION > > Would it be possible to add a Lintian check for that? I just noticed that Lintian already has a "package-contains-ancient-file" tag with an associated Check::Files::Date check. However, this check only verifies the timestamps of the installed file. In the case of Bug #1153741, this was insufficient to detect the potential issue. When I built the Octave-Mplapack package, I did so from the Salsa Git repository. When the package was first imported into the repository via gbp import-orig, the timestamps of the files were modified. This resulted in a valid .deb file with the correct timestamps, which I uploaded. However, the autobuilders operate from the .dsc file, so the inappropriate timestamps in the orig.tar.gz file were propagated into the .deb file. I am hereby retitling this bug report to clarify that the issue is with the files in the orig.tar.gz file, not the installed files. > I do not know what threshold the FTP master uses to determine whether a > timestamp is too far in the past. I found the answer to my question: Dinstall::PastCutoffYear "1975" https://salsa.debian.org/ftp-team/dak/-/blame/master/docs/config.sample?ref_type=heads#L111 Best, Rafael Laboissière [1] https://bugs.debian.org/1153471

