Bug#994436: librsvg2-bin: error reporting

Frank Heckenbach f.heckenbach at fh-soft.de
Thu Sep 16 06:18:03 BST 2021


Package: librsvg2-bin
Version: 2.50.3+dfsg-1
Severity: normal

% cat bogus.svg
<svg viewBox="0 0 1 1"><defs><g id="a"></g></defs><use xlink:href="#a"/></svg>
% rm -f bogus.pdf
% rsvg-convert -f pdf -o bogus.pdf bogus.svg
Error reading SVG:XML parse error: error code=201 (3) in (null):1:71: Namespace prefix xlink for href on use is not defined


% ls -la bogus.*
-rw------- 1 frank frank  0 16. Sep 05:07 bogus.pdf
-rw------- 1 frank frank 79 16. Sep 05:06 bogus.svg
%

The error itself is correct AFAIK, but the location is given with
"(null)" instead of the correct filename.

Afterwards, an empty output file is left which can be problematic
e.g. when run from a makefile. Of course, it can be worked around
with something like '|| { rm -f "$@"; false; }', but that really
shouldn't be necessery.

-- System Information:
Debian Release: 11.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-0.bpo.2-amd64 (SMP w/24 CPU threads)
Kernel taint flags: TAINT_DIE, TAINT_WARN
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages librsvg2-bin depends on:
ii  libc6         2.31-13
ii  libcairo2     1.16.0-5
ii  libglib2.0-0  2.66.8-1
ii  librsvg2-2    2.50.3+dfsg-1

librsvg2-bin recommends no packages.

librsvg2-bin suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list