Bug#971449: mutool exits with successful status on failure w/ no OpenSSL

2020-10-19 Thread John Scott
Control: block -1 by 969301
> This probably needs fixing upstream regardless, but if MuPDF can
> be built with OpenSSL 3 when it's ready that'd also be suitable
> to close this bug.
Per the FTP team's decision today, it seems MuPDF won't need to wait for 
Apache-licensed OpenSSL to build with it. It still stands that the incorrect 
exit status should be fixed for non-OpenSSL builds however.


signature.asc
Description: This is a digitally signed message part.


Bug#971449: mutool exits with successful status on failure w/ no OpenSSL

2020-09-30 Thread John Scott
Package: mupdf-tools
Version: 1.17.0+ds1-1
Severity: minor
X-Debbugs-Cc: 

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

I was trying to verify a signed PDF with mutool, but I forgot
that because of the GPL clashing, OpenSSL support isn't built
in. It fails with status zero though, and for scripts and things
it should fail:

$ mutool sign -v foo.pdf
verifying signature 81
error: No OpenSSL support.
error processing signatures: No OpenSSL support.
$ echo $?
0

This probably needs fixing upstream regardless, but if MuPDF can
be built with OpenSSL 3 when it's ready that'd also be suitable
to close this bug.

- -- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (2, 'unstable'), (1, 'testing-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-2-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_USER, TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mupdf-tools depends on:
ii  libc62.31-3
ii  libfreetype6 2.10.2+dfsg-3
ii  libharfbuzz0b2.6.7-1
ii  libjbig2dec0 0.19-1
ii  libjpeg62-turbo  1:2.0.5-1.1
ii  libmujs1 1.0.7-2
ii  libopenjp2-7 2.3.1-1
ii  zlib1g   1:1.2.11.dfsg-2

mupdf-tools recommends no packages.

mupdf-tools suggests no packages.

- -- no debconf information

-BEGIN PGP SIGNATURE-

iHUEARYIAB0WIQT287WtmxUhmhucNnhyvHFIwKstpwUCX3TosAAKCRByvHFIwKst
p4rJAQCl//RAiiYO0v/bqzkZyEHhEM6R9IEmZAlDUCwvloZW4gD8CwfteeNQURNA
i0f3r4oa4o06CGYMBkj7R2wD0wudwwk=
=/QEj
-END PGP SIGNATURE-