Subject: bug#25315: closed (Re: more missing inputs)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 01 Jan 2017 20:57:02 +0000

Your bug report

#25315: diffoscope misses inputs

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
25315: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25315
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: more missing inputs
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Sun, 01 Jan 2017 21:56:00 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Fixed with 5dbeccf5b4f534dd5519691dfdf58a6921c9f343, which embeds
references for xxd, colordiff, and readelf.

Subject: diffoscope misses inputs
From: Ricardo Wurmus <[email-masked]>
To: "'bug-guix\@gnu.org'" <[email-masked]>
Date: Sat, 31 Dec 2016 23:52:23 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

I just installed diffoscope and ran it on two files and got this error:

--8<---------------cut here---------------start------------->8---
diffoscope /gnu/store/lf2ybanhxpvbgbxcsxmc733v010g15fp-clisp-2.49/lib/clisp-2.49/base/lispinit.mem /gnu/store/lf2ybanhxpvbgbxcsxmc733v010g15fp-clisp-2.49-check/lib/clisp-2.49/base/lispinit.mem
--- /gnu/store/lf2ybanhxpvbgbxcsxmc733v010g15fp-clisp-2.49/lib/clisp-2.49/base/lispinit.mem
+++ /gnu/store/lf2ybanhxpvbgbxcsxmc733v010g15fp-clisp-2.49-check/lib/clisp-2.49/base/lispinit.mem
│┄ xxd not available in path. Falling back to Python hexlify.

Traceback (most recent call last):
  File "/gnu/store/i0rn71jcspqr6p9lbfrghh2xkv5gmp77-diffoscope-63/lib/python3.5/site-packages/diffoscope/main.py", line 290, in main
    sys.exit(run_diffoscope(parsed_args))
  File "/gnu/store/i0rn71jcspqr6p9lbfrghh2xkv5gmp77-diffoscope-63/lib/python3.5/site-packages/diffoscope/main.py", line 268, in run_diffoscope
    output_text(difference, print_func=print_func, color=color)
  File "/gnu/store/i0rn71jcspqr6p9lbfrghh2xkv5gmp77-diffoscope-63/lib/python3.5/site-packages/diffoscope/presenters/text.py", line 59, in output_text
    print_difference(difference, print_func, color)
  File "/gnu/store/i0rn71jcspqr6p9lbfrghh2xkv5gmp77-diffoscope-63/lib/python3.5/site-packages/diffoscope/presenters/text.py", line 34, in print_difference
    diff_output = color_unified_diff(difference.unified_diff)
  File "/gnu/store/i0rn71jcspqr6p9lbfrghh2xkv5gmp77-diffoscope-63/lib/python3.5/site-packages/diffoscope/__init__.py", line 69, in tool_check
    raise RequiredToolNotFound(command)
diffoscope.exc.RequiredToolNotFound: colordiff
--8<---------------cut here---------------end--------------->8---

We either need to add xxd (from vim) or colordiff.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
http://elephly.net