[diffoscope] error at startup
Mihai - Catalin Stefan
mihaics3 at gmail.com
Mon Oct 10 15:34:04 CEST 2016
Hi,
I'm trying to use diffoscope on Ubuntu 14.04.04 headless, installed via
pip, and I have the following error:
$ diffoscope
Traceback (most recent call last):
File "/usr/local/bin/diffoscope", line 9, in <module>
load_entry_point('diffoscope==61', 'console_scripts', 'diffoscope')()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 351, in
load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2363, in
load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2088, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/local/lib/python3.4/dist-packages/diffoscope/main.py", line
31, in <module>
import diffoscope.comparators
File
"/usr/local/lib/python3.4/dist-packages/diffoscope/comparators/__init__.py",
line 193, in <module>
FILE_CLASSES = import_comparators(COMPARATORS)
File
"/usr/local/lib/python3.4/dist-packages/diffoscope/comparators/__init__.py",
line 99, in import_comparators
'diffoscope.comparators.{}'.format(package)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
File
"/usr/local/lib/python3.4/dist-packages/diffoscope/comparators/deb.py",
line 24, in <module>
from diffoscope.comparators.tar import TarContainer
File
"/usr/local/lib/python3.4/dist-packages/diffoscope/comparators/tar.py",
line 24, in <module>
from diffoscope.comparators.libarchive import LibarchiveContainer, \
File
"/usr/local/lib/python3.4/dist-packages/diffoscope/comparators/libarchive.py",
line 24, in <module>
import libarchive
File "/usr/local/lib/python3.4/dist-packages/libarchive/__init__.py",
line 1, in <module>
from .entry import ArchiveEntry
File "/usr/local/lib/python3.4/dist-packages/libarchive/entry.py", line
6, in <module>
from . import ffi
File "/usr/local/lib/python3.4/dist-packages/libarchive/ffi.py", line 97,
in <module>
errno = ffi('errno', [c_archive_p], c_int)
File "/usr/local/lib/python3.4/dist-packages/libarchive/ffi.py", line 84,
in ffi
f = getattr(libarchive, 'archive_'+name)
File "/usr/lib/python3.4/ctypes/__init__.py", line 364, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python3.4/ctypes/__init__.py", line 369, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/bin/python3: undefined symbol: archive_errno
On a Ubuntu 14.04.5 non-headless diffoscope is working without problems.
Do I need to install some other packages or diffoscope isn't supported,
yet, on a headless machine ?
Thank you and best regards,
Mihai Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/diffoscope/attachments/20161010/d320913e/attachment.html>
More information about the diffoscope
mailing list