Bug#795990: pytsk: inlining Object_init breaks importing pytsk3

Mathieu Trudel-Lapierre mathieu-tl at ubuntu.com
Tue Aug 18 13:39:54 UTC 2015


Package: pytsk
Version: 20150406-2
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu wily ubuntu-patch

Dear Maintainer,

While doing a rebuild of pytsk to unblock a few things as part of the GCC 5
transition; I've tried running one of the tsk examples (istat, specifically),
and noticed that pytsk3 doesn't import at all:

$ python -c 'import pytsk3'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: /usr/lib/python2.7/dist-packages/pytsk3.x86_64-linux-gnu.so: undefined symbol: Object_init

I've added the patch used, as proposed upstream, to solve the issue:

  * debian/patches/fix_object_init_undefined.patch: don't inline Object_init,
    doing so breaks importing pytsk3.

This was noticed specifically when unblocking the following:
 afflib/3.7.6-2ubuntu2
 xmount/0.7.3-1build1
 sleuthkit/4.1.3-11ubuntu2
 dff/1.3.0+dfsg.1-4.1build3
 pytsk/ppc64el/20150406-2

The above don't appear to include any special Ubuntu patches that would affect
pytsk aside from the GCC 5 transition.

Thanks for considering the patch.


-- System Information:
Debian Release: jessie/sid
  APT prefers wily-updates
  APT policy: (500, 'wily-updates'), (500, 'wily-security'), (500, 'wily'), (100, 'wily-backports'), (99, 'wily-proposed')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-3-generic (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pytsk_20150406-2ubuntu1.debdiff
Type: text/x-diff
Size: 1858 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/forensics-devel/attachments/20150818/1e849f87/attachment.diff>


More information about the forensics-devel mailing list