Your message dated Tue, 16 Jul 2019 10:07:18 +0000
with message-id <[email protected]>
and subject line Bug#932172: fixed in dh-cargo 19
has caused the Debian Bug report #932172,
regarding dh-cargo: please refresh json timestamps
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
932172: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932172
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-cargo
Version: 18
Severity: serious
Tags: patch
https://patches.ubuntu.com/d/dh-cargo/dh-cargo_18ubuntu1.patch
Because of a Debian dak bug, no files with timestamp around 1970 was
rejected by it, so as soon as the dak patch is merged, every rust
package will fail to upload.
e.g.
ls -l /usr/share/cargo/registry/which-2.0.1/.cargo_vcs_info.json
-rw-r--r-- 1 root root 74 Jan 1 1970
/usr/share/cargo/registry/which-2.0.1/.cargo_vcs_info.json
and so on for every file that apt-file gives you
This is what might happen in dak once the bug is fixed:
DEBUG Considering changefile
32677/ubuntu/rust-which_2.0.1-1ubuntu1_s390x.changes
DEBUG Finding fresh policy
INFO Processing upload rust-which_2.0.1-1ubuntu1_s390x.changes
INFO Upload was rejected:
INFO librust-which-dev_2.0.1-1ubuntu1_s390x.deb: has 1 file(s) with a time
stamp too far in the past (e.g.
usr/share/cargo/registry/which-2.0.1/.cargo_vcs_info.json [Thu Jan 1 00:00:00
1970]).
INFO Committing the transaction and any mails associated with this upload.
(this happens in Ubuntu)
dak patch: https://deb.li/Ynw1
Please accept the trivial patch ASAP
@@ -175,6 +175,7 @@ sub install {
sub clean {
my $this=shift;
+ doit("touch", "--no-create", ".cargo_vcs_info.json");
doit("/usr/share/cargo/bin/cargo", "clean", @_);
doit("rm", "-rf", $this->get_sourcepath(".cargo-checksum.json"));
doit("rm", "-rf", "debian/cargo_registry");
+dh-cargo (16ubuntu1) disco; urgency=medium
+
+ * Touch .cargo_vcs_info.json to update timestamp, as otherwise the file
+ has unix creation time of 0 which is rejected by the archive in the
+ .debs.
+
+ -- Dimitri John Ledkov <[email protected]> Tue, 22 Jan 2019 17:50:10 +0000
--- End Message ---
--- Begin Message ---
Source: dh-cargo
Source-Version: 19
We believe that the bug you reported is fixed in the latest version of
dh-cargo, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sylvestre Ledru <[email protected]> (supplier of updated dh-cargo 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 16 Jul 2019 10:39:05 +0200
Source: dh-cargo
Binary: dh-cargo
Architecture: source
Version: 19
Distribution: unstable
Urgency: medium
Maintainer: Rust Maintainers <[email protected]>
Changed-By: Sylvestre Ledru <[email protected]>
Description:
dh-cargo - debhelper buildsystem for Rust crates using Cargo
Closes: 932172
Changes:
dh-cargo (19) unstable; urgency=medium
.
* Team upload
.
[ Gianfranco Costamagna ]
* Apply fix from Ximin Luo to use SOURCE_DATE_EPOCH for the touch command, to
avoid breaking reproducible builds
.
[ Dimitri John Ledkov ]
* Touch .cargo_vcs_info.json to update timestamp, as otherwise the file
has unix creation time of 0 which is rejected by the archive in the
.deb.s (Closes: #932172)
Checksums-Sha1:
530e61237614c4464939fe169892608f84675dcf 1606 dh-cargo_19.dsc
0ba421f3ab731c6043b8ae1cbdb13b8920742aab 7656 dh-cargo_19.tar.xz
8548aa7cf8876bac3697763cde10f080f7e14055 6970 dh-cargo_19_source.buildinfo
Checksums-Sha256:
8e8f29b7acfd93e2175cef3c8afe834add4eff9f3b8182989d5b9b4a2951e20e 1606
dh-cargo_19.dsc
ccf212c4c90e21184f41009aa72eb16558add54bcd34a5aba8348c4618094ae2 7656
dh-cargo_19.tar.xz
c6ecb601514bdcfc40a60b554651b65345c6352cab3921830eab36571408c057 6970
dh-cargo_19_source.buildinfo
Files:
19ecba2a9c87f8ce11d487ff8b8cc3de 1606 devel optional dh-cargo_19.dsc
276fde45e126e409ef7a4329d8e99c6e 7656 devel optional dh-cargo_19.tar.xz
ea2ffadddb75fd7126cb5c77d579f7f3 6970 devel optional
dh-cargo_19_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAl0tlvYACgkQ808JdE6f
XdnYKhAAxvkM8ML7ZwsQoUvvDcrD8zAXFQ5u3qtm6FJRV1ZN1muJptJu8caBhyfZ
WH/0iAOLVgUwvy4SbtTZvGIQwzqAThmmD7azmAhlBSgVyuGNSiErpSDgkTKBfhPk
RGJrDMnLSODszTZKssxfI4e/K4XR5fNo+wZW1cHJXKWncMdTTeTstKEL91b6HiUR
dbrH7OvvU5+pxAezHaP5rKOTDG3ZV6VbPpQijtsyGOt+TNut3bS3XoCA86wgOAXC
meQFgYQe3bVucusoc6PIN8qyA9Hjsm8uKwfDrmmt9C/RYF7FvZZtsUsv3MtK7GKF
bRloDXQV6PfXBZUSPCAx3Zk1KiGrZR4HFfwLb6UrCATUiNtYsf7N0S0vAXah44g4
DMynlyQhEtMTP1iPta6DwmhDv7oF3m+NZ0VNM6vEq7CT3OioZxDvdiSgKsU68B6C
OUkep+tRqbUom2Z7NkIewNiqT8S+wqePiqTp3hZUTD2ZgGzDXG2fKS/AX8mcUCUN
nHIT3SFTKxtO7MegfPdwAk5oQsR+xj1yCOgg4i9PHw/QJNTWQiETsO9WOgniqLC3
JbT76kKcTIOrLMLfUjrLwPMJ7sA/Bpt5S2UXgySpXYRtV9RtZGxczbykChu++uyg
yYMj2WzcGPJkCle5z8iZjrzm0bVWf6SO5vgeB/QstjLFzrcH6R0=
=/Jpu
-----END PGP SIGNATURE-----
--- End Message ---