GNU bug report logs -
#25315
diffoscope misses inputs
Previous Next
Reported by: Ricardo Wurmus <rekado <at> elephly.net>
Date: Sat, 31 Dec 2016 22:53:02 UTC
Severity: normal
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25315 in the body.
You can then email your comments to 25315 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#25315
; Package
guix
.
(Sat, 31 Dec 2016 22:53:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 31 Dec 2016 22:53:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#25315
; Package
guix
.
(Sun, 01 Jan 2017 09:32:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 25315 <at> debbugs.gnu.org (full text, mbox):
There are many more tools whose availability is checked for at runtime.
@tool_required('bzip2')
@tool_required('cbfstool')
@tool_required('cd-iccdump')
@tool_required('cmp')
@tool_required('colordiff')
@tool_required('cpio')
@tool_required('diff')
@tool_required('enjarify')
@tool_required('getfacl')
@tool_required('ghc')
@tool_required('gpg')
@tool_required('gzip')
@tool_required('img2txt')
@tool_required('isoinfo')
@tool_required('javap')
@tool_required('lipo')
@tool_required('llvm-bcanalyzer')
@tool_required('llvm-dis')
@tool_required('lsattr')
@tool_required('msgunfmt')
@tool_required('nm')
@tool_required('objcopy')
@tool_required('objdump')
@tool_required('otool')
@tool_required('pdftk')
@tool_required('pdftotext')
@tool_required('pedump')
@tool_required('ppudump')
@tool_required('ps2ascii')
@tool_required('readelf')
@tool_required('rpm2cpio')
@tool_required('showttf')
@tool_required('sng')
@tool_required('sqlite3')
@tool_required('stat')
@tool_required('unsquashfs')
@tool_required('xxd')
@tool_required('xz')
@tool_required('zipinfo')
Not all of them are necessarily needed in a default installation of
diffoscope, but at least some of them are required.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
http://elephly.net
Reply sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
You have taken responsibility.
(Sun, 01 Jan 2017 20:57:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
bug acknowledged by developer.
(Sun, 01 Jan 2017 20:57:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 25315-done <at> debbugs.gnu.org (full text, mbox):
Fixed with 5dbeccf5b4f534dd5519691dfdf58a6921c9f343, which embeds
references for xxd, colordiff, and readelf.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 30 Jan 2017 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 88 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.