On Wed, Oct 12, 2016 at 12:25:14AM +0000, Daniel Shahaf wrote:
> I get the same on a pristine sid sbuild chroot (slightly outdated) with:
>
> # apt-get install --no-install-recommends python3-pip
> # apt-get install --no-install-recommends python3-setuptools
> # pip3 install libarchive-c
> # python3 -c 'import libarchive; print(42)'
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "/usr/local/lib/python3.5/dist-packages/libarchive/__init__.py", line
> 1, in <module>
> from .entry import ArchiveEntry
> File "/usr/local/lib/python3.5/dist-packages/libarchive/entry.py", line 6,
> in <module>
> from . import ffi
> File "/usr/local/lib/python3.5/dist-packages/libarchive/ffi.py", line 97,
> in <module>
> errno = ffi('errno', [c_archive_p], c_int)
> File "/usr/local/lib/python3.5/dist-packages/libarchive/ffi.py", line 84,
> in ffi
> f = getattr(libarchive, 'archive_'+name)
> File "/usr/lib/python3.5/ctypes/__init__.py", line 360, in __getattr__
> func = self.__getitem__(name)
> File "/usr/lib/python3.5/ctypes/__init__.py", line 365, in __getitem__
> func = self._FuncPtr((name_or_ordinal, self))
> AttributeError: python3: undefined symbol: archive_errno
>
> Note, that's without involving diffoscope at all.indeed. The python package of python-libarchive-c is espressing a fixed dependency on libarchive13 for this; do python package have any way of expressing such dependency? Or the only improvements that could be done here is python-libarchive-c¹ to ward that part offerring a nicer error message? ¹ as in upstream https://github.com/Changaco/python-libarchive-c -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature
_______________________________________________ Reproducible-builds mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
