Package: thunarx-python
Version: 0.5.2-2+b5
Severity: important
X-Debbugs-Cc: jaap.keu...@xs4all.nl

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***
Installing a plugin depending on thunarx-python, i.e., rabbitvcs-thunar, causes
thunar execution to fail, see bug #958088. The cause of the failure of this
plugin is rightly attributed to thunarx-plugin somehow not compiling correctly
for Python3.

First off: There's no corresponding bug filed for thunarx-python and bug
#958088 has not been moved to this package. Therefore this bug is filed, so
that the cause of #958088 is highlighted.

Second: By building the code myself (on trixie, using debuild -i -us -uc -b)
the resulting shared object (thunarx-python.so), dropped in place of the
offending binary, works without issue.

Therefore my conclusion is that the upstream code _is_ capable to be compiled
with Python 3, so it presumably is an issue with the build environment.

This is made evident by the following experiment:
1) With the so installed from the Debian package
host# strings thunarx-python.so | grep lib
libthunarx-3.so.0
libgtk-3.so.0
libpython3.13.so.1.0
libgobject-2.0.so.0
libglib-2.0.so.0
libc.so.6
thunarx-python: Setting GI_TYPELIB_PATH to /usr/lib/x86_64-linux-
gnu/girepository-1.0
/usr/lib/x86_64-linux-gnu/girepository-1.0
thunarx-python: g_module_open /usr/lib/x86_64-linux-gnu/lib.so.1.0
/usr/lib/x86_64-linux-gnu/lib.so.1.0
g_module_open libpython failed: %s

1) With the so from the self build Debian package
host# strings thunarx-python.so | grep lib
libthunarx-3.so.0
libgtk-3.so.0
libpython3.12.so.1.0
libgobject-2.0.so.0
libglib-2.0.so.0
libc.so.6
thunarx-python: Setting GI_TYPELIB_PATH to /usr/lib/x86_64-linux-
gnu/girepository-1.0
/usr/lib/x86_64-linux-gnu/girepository-1.0
thunarx-python: g_module_open /usr/lib/x86_64-linux-gnu/libpython3.12.so.1.0
/usr/lib/x86_64-linux-gnu/libpython3.12.so.1.0
g_module_open libpython failed: %s

The difference from '/usr/lib/x86_64-linux-gnu/lib.so.1.0' to
'/usr/lib/x86_64-linux-gnu/libpython3.12.so.1.0' is telling.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 
'stable-updates'), (500, 'stable-security'), (500, 'oldstable-updates'), (500, 
'oldstable-security'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.6-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages thunarx-python depends on:
ii  libc6            2.40-4
ii  libglib2.0-0t64  2.82.4-1
ii  libgtk-3-0t64    3.24.43-4
ii  libpython3.13    3.13.1-2
ii  libthunarx-3-0   4.20.0-1
ii  thunar           4.20.0-1

thunarx-python recommends no packages.

thunarx-python suggests no packages.

-- no debconf information

Reply via email to