[Pkg-rust-maintainers] Bug#929337: rust-string-cache-shared debian/copyright is malformed

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue May 21 22:29:23 BST 2019


Package: src:rust-string-cache-shared
Version: 0.3.0-1
Control: tags -1 + patch

https://tracker.debian.org/media/packages/r/rust-string-cache-shared/copyright-0.3.0-1

shows that it does not have the appropriate header stanza.

I think this particular patch to debcargo-conf is what you want:

--- a/src/string-cache-shared/debian/copyright
+++ b/src/string-cache-shared/debian/copyright
@@ -1,3 +1,8 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: string_cache_shared
+Upstream-Contact: The Servo Project Developers
+Source: https://github.com/servo/string-cache
+
 Files: ./lib.rs
 Copyright: 2015 The Servo Project Developers
 License: MIT or Apache-2.0


However, when i try to rebuild string-cache-shared from debcargo-conf
with this patch, i get a failure:

    Something failed: ErrorMessage { msg: "Couldn\'t find any crate matching string-cache-shared *\n Try `debcargo update` to update the crates.io index." }
    ./build.sh: abort: couldn't find crate string-cache-shared

I don't know what this error message means exactly, but it seems like
maybe string-cache-shared went away upstream.  If that means we can't
build it in the expected way any more, even to fix problems like this,
that's pretty frustrating.

Note that with this malformed file, anything that depends directly on it
will also fail with:

/usr/share/cargo/bin/dh-cargo-built-using: abort: Not in machine-readable format: /usr/share/doc/librust-string-cache-shared-dev/copyright

       --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20190521/6d9cc6ae/attachment.sig>


More information about the Pkg-rust-maintainers mailing list