diffoscope: missing/undetected dependencies?

  • Done
  • quality assurance status badge
Details
2 participants
  • Christopher Howard
  • Vagrant Cascadian
Owner
unassigned
Submitted by
Christopher Howard
Severity
normal

Debbugs page

Christopher Howard wrote 1 years ago
(name . Bug Guix)(address . bug-guix@gnu.org)
ZVznCiecCJd66mbZ@theoden
Hi, recently I tried to use diffoscope to compare to PDFs. I got these errors:

鈹傗攧 xxd not available in path. Falling back to Python hexlify.
鈹傗攧 'pdftotext' not available in path. Falling back to binary comparison.

I found that if I installed packages `xxd' and `xpdf' into my environment, the errors go away and I can compare line-by-line as expected.

Here is my system information:

```
Generation 53 Nov 06 2023 09:39:57 (current)
guix 3f83dc5
branch: master
commit: 3f83dc5587573f173b1f61864c9b510f05de84b1
```

```
christopher@theoden
-------------------
OS: Guix System x86_64
Host: OptiPlex 9020 00
Kernel: 5.15.137-gnu
Uptime: 19 hours, 34 mins
Packages: 99 (guix-system), 214 (guix-user)
Shell: bash 5.1.16
Resolution: 1920x1080
DE: GNOME
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: shepherd
CPU: Intel i5-4570 (4) @ 3.600GHz
GPU: AMD ATI Radeon HD 8490 / R5 235X OEM
GPU: Intel HD Graphics
Memory: 4145MiB / 7867MiB
```

--
馃摏 Christopher Howard
馃殌 gemini://gem.librehacker.com

讘专讗砖讬转 讘专讗 讗诇讛讬诐 讗转 讛砖诪讬诐 讜讗转 讛讗专抓
Vagrant Cascadian wrote 1 years ago
87o7bpopj9.fsf@wireframe
On 2023-11-21, Christopher Howard wrote:
Toggle quote (7 lines)
> Hi, recently I tried to use diffoscope to compare to PDFs. I got these errors:
>
> 鈹傗攧 xxd not available in path. Falling back to Python hexlify.
> 鈹傗攧 'pdftotext' not available in path. Falling back to binary comparison.
>
> I found that if I installed packages `xxd' and `xpdf' into my environment, the errors go away and I can compare line-by-line as expected.

It is impractical to install all of the available tools that diffoscope
supports, as it supports an absurd number of file formats and thus uses
a very large number of tools.

You can call "diffoscope --list-missing" to give suggestions about
packages you might want to add, and as you've observed, diffoscope
suggests what to install to get better support for the files it is
currently testing.


live well,
vagrant
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZeoJugAKCRDcUY/If5cW
quhXAP4nrRBrXFgwtmWqoc1R4AuORit0oPYDCQo1T/Pu4tnDUwD/RUqhjvfsGvFE
m6LsYSprmPw2aSK7d4PJCaGRZZMTjQM=
=dSy9
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 67334@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 67334
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help