Package: python-reportlab Version: 3.6.7-1.1 Severity: serious Tags: patch ftbfs Justification: fails to build from source (but built successfully in the past) User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu jammy ubuntu-patch
Hi, The package fails to build with python3.10 because the VER3 variable is incorrectly set to '3.1', which leads to PYTHONPATH being empty. This patch corrects this by using py3versions to set VER3: * Non-maintainer upload. * d/rules: Use py3versions to set VER3 variable. Thanks, Nick
diff -Nru python-reportlab-3.6.7/debian/rules python-reportlab-3.6.7/debian/rules --- python-reportlab-3.6.7/debian/rules 2021-09-15 08:01:53.000000000 -0400 +++ python-reportlab-3.6.7/debian/rules 2022-03-04 07:57:07.000000000 -0500 @@ -5,7 +5,7 @@ # all versions PY3VERS := $(shell py3versions -vs) -VER3 := $(shell /usr/bin/python3 -c 'import sys; print(sys.version[:3])') +VER3 := $(shell py3versions -vd) include /usr/share/python3/python.mk