Thread View: linux.debian.bugs.dist
3 messages
3 total messages
Started by Rafael Laboissière
Mon, 09 Nov 2026 15:00
Bug#1153525: lintian: Detect files with a timestamp too far in the past
Author: Rafael Laboissière
Date: Mon, 09 Nov 2026 15:00
Date: Mon, 09 Nov 2026 15:00
22 lines
2759 bytes
2759 bytes
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 do not know what threshold the FTP master uses to determine whether a timestamp is too far in the past. Best, Rafael Laboissière [1] https://bugs.debian.org/1153471
Bug#1153525: lintian: Detect files with a timestamp too far in the past
Author: Rafael Laboissière
Date: Wed, 11 Nov 2026 20:00
Date: Wed, 11 Nov 2026 20:00
36 lines
3952 bytes
3952 bytes
Control: retitle -1 lintian: Detect files in the orig tarball with a timestamp too far in the past * Rafael Laboissière <rafael@debian.org> [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
Bug#1153525: lintian: Detect files with a timestamp too far in the past
Author: Rafael Laboissière
Date: Thu, 12 Nov 2026 07:10
Date: Thu, 12 Nov 2026 07:10
48 lines
4400 bytes
4400 bytes
Control: tags -1 + patch I proposed a merge request with a fix for the current bug: https://salsa.debian.org/lintian/lintian/-/merge_requests/831 Best, Rafael Laboissière * Rafael Laboissière <rafael@debian.org> [2026-11-11 20:53]: > Control: retitle -1 lintian: Detect files in the orig tarball with a timestamp too far in the past > > * Rafael Laboissière <rafael@debian.org> [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 >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads