Bug#1028983: yade: FTBFS with Python 3.11 as default version

Graham Inggs ginggs at debian.org
Sun Jan 15 18:39:20 GMT 2023


Source: yade
Version: 2022.01a-13
Severity: serious
Tags: ftbfs patch
User: debian-python at lists.debian.org
Usertags: python3.11

Hi Maintainer

yade FTBFS with Python 3.11 as default version, although the build
doesn't fail, it is mislinked against Python 3.10.

I believe this is the relevant part of the log:

Loop on the following python versions and check available
dependencies:3.10;3.9;3.8;3.7;3.6;3.5;3.4;3.3;3.2;3.1;3.0
-- Found PythonInterp: /usr/bin/python3.10 (found version "3.10.9")
Trying python version: 3.10 parsed as 3 10
Python version 3.10.9 found, try to import dependencies...
Boost_VERSION=107400, adding boost_python310 lib

Updating debian/patches/30_python310.patch as follows worked for me:

-+SET(PY3_VERSIONS 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
#append newer python versions at the beginning here.
++SET(PY3_VERSIONS 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
#append newer python versions at the beginning here.

Regards
Graham


[1] https://buildd.debian.org/status/fetch.php?pkg=yade&arch=amd64&ver=2022.01a-13&stamp=1673794605&raw=0



More information about the debian-science-maintainers mailing list