Bug#907629: librsvg: Embedded code copies: assorted Rust libraries

Simon McVittie smcv at debian.org
Thu Aug 30 11:38:09 BST 2018


Source: librsvg
Version: 2.44.1-1
Severity: normal
Tags: help

librsvg contains "vendored" copies of various Rust libraries. Ideally
we would use the vendored copy or the system copy of each library,
whichever is (compatible and) newer, but I don't know enough Rust to
know how to do that (and set the right Built-Using) for a package that
is not built with dh-cargo.

We can't use dh-cargo because the Rust code here is only part of a larger
package that uses an Autotools build system.

Some of the vendored libraries are available in Debian, others are not:

[x] aho-corasick
[ ] alga
[x] ansi_term
[ ] approx
[x] arrayvec
[x] atty
[ ] backtrace
[ ] backtrace-sys (in NEW)
[x] bitflags
[ ] bitflags-0.9.1
[x] byteorder
[ ] c_vec
[ ] cairo-rs
[ ] cairo-sys-rs
[ ] cast
[x] cc
[ ] cfg-if
[x] chrono
[x] clap
[x] cloudabi
[ ] criterion
[ ] criterion-plot
[ ] criterion-stats
[ ] crossbeam-deque
[x] crossbeam-epoch
[x] crossbeam-utils
[ ] cssparser
[ ] cssparser-macros
[x] csv
[x] csv-core
[ ] downcast-rs
[x] dtoa
[ ] dtoa-short
[x] either
[ ] failure
[x] failure_derive
[ ] float-cmp
[x] fuchsia-zircon
[x] fuchsia-zircon-sys
[x] generic-array
[ ] glib
[ ] glib-sys
[ ] gobject-sys
[ ] handlebars
[x] itertools
[ ] itertools-num
[x] itoa
[x] lazy_static
[x] libc
[x] log
[x] matches
[ ] matrixmultiply
[x] memchr
[x] memoffset
[ ] nalgebra
[x] nodrop
[ ] num-complex
[x] num-integer
[x] num-traits
[ ] num-traits-0.1.43
[x] num_cpus
[ ] owning_ref
[ ] pango
[ ] pango-sys
[ ] pangocairo
[ ] pangocairo-sys
[ ] pest
[ ] pest_derive
[ ] phf
[ ] phf_codegen
[ ] phf_generator
[x] phf_shared
[x] pkg-config
[x] proc-macro2
[ ] procedural-masquerade
[x] quick-error
[x] quote
[ ] quote-0.3.15
[x] rand
[ ] rand-0.4.2
[x] rand_core
[ ] rawpointer
[ ] rayon
[ ] rayon-core
[x] redox_syscall
[x] redox_termios
[x] regex
[x] regex-syntax
[x] rustc-demangle
[ ] scopeguard
[x] serde
[x] serde_derive
[x] serde_json
[ ] simplelog
[x] siphasher
[ ] smallvec
[ ] stable_deref_trait
[x] strsim
[x] syn
[ ] syn-0.11.11
[ ] synom
[x] synstructure
[ ] term
[x] termion
[x] textwrap
[ ] thread-scoped
[x] thread_local
[x] time
[x] typenum
[x] ucd-util
[x] unicode-width
[x] unicode-xid
[ ] unicode-xid-0.0.4
[x] unreachable
[x] utf8-ranges
[x] vec_map
[x] void
[x] winapi

Some of the vendored libraries are only there as developer dependencies,
but "cargo test" requires that we have them anyway, as far as I can see.
Perhaps the solution is to not run "cargo test"; I don't know.

    smcv



More information about the pkg-gnome-maintainers mailing list