Package: shiboken2
Version: 5.15.0-5+b1
Severity: important

Dear Maintainer,

FreeCAD (v18.4 - the default) failed to build (despite all build-dep
being installed) complaining, that shiboken2 was build with python3.9,
while found python has version 3.8.

I've tried to build shiboken2 on the very same system, and shiboken2
have chosen to be build with python3.9 despite the fact, that python3
was linked to python3.8. This prevents FreeCAD-18.4 from being build.

Both python3.8 and python3.9 are currently installes on the system.

I tried to remove python3.8, so that FreeCAD-18.4 could pick version 3.9
for the build ... but numerous other packages depend on python3.8

So I've manually changed the link python3 from python3.8 to python3.9.
This made FreeCAD-18.4 build correctly. But no manual intervention
should be required for debian-source to get build correctly.

I'm not a python programmer, and I don't know if shiboken2 could be
compiled with python3.8; but if it can, this should be fixed by
changeing the way shiboken2 build picks its python version. It should
select the one, that is current system default.

Still, since both python3.8 and python3.9 can be installed on a system
at the same time, one may expect, that there are two versions of
shiboken2 available: each one build with each of the python version.

BTW: I'm assuming, FreeCAD-18.4 mainteiners did made veryfication of
python minor version purposely - apparently it does matter there.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages shiboken2 depends on:
ii  libc6         2.31-4
ii  libclang1-9   1:9.0.1-15+b1
ii  libgcc-s1     10.2.0-16
ii  libqt5core5a  5.15.1+dfsg-2
ii  libstdc++6    10.2.0-16
ii  libxml2       2.9.10+dfsg-6.2
ii  libxslt1.1    1.1.34-4

shiboken2 recommends no packages.

shiboken2 suggests no packages.

-- no debconf information

Reply via email to