Bug#1001363: nlopt: needs update for python3.10 in supported versions: No module named '_nlopt'
Package: nlopt Version: 2.7.1-1 Followup-For: Bug #1001363 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu jammy ubuntu-patch Control: tags -1 patch Hello, This failure is because nlopt has an override to try to install the python3.10 extension, but it installs it to the wrong path. The attached patch should get it to the right path so that the python interpreter can find it and load it. Cheers, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slanga...@ubuntu.com vor...@debian.org diff -Nru nlopt-2.7.1/debian/rules nlopt-2.7.1/debian/rules --- nlopt-2.7.1/debian/rules2021-12-08 03:23:51.0 -0800 +++ nlopt-2.7.1/debian/rules2021-12-10 17:02:18.0 -0800 @@ -36,7 +36,7 @@ distdir=debian/python3-nlopt/usr/lib/python3/dist-packages; \ mkdir -p $$distdir; \ for py3alt in $(PY3_ALT); do \ - py3short=`echo $${py3alt} | sed "s/\.//g"`; \ + py3short=`echo $${py3alt} | sed "s/\.//g"`-`dpkg-architecture -qDEB_HOST_MULTIARCH`; \ cp $(BUILDDIR)-python$${py3alt}/src/swig/_nlopt.so $$distdir/_nlopt.cpython-$${py3short}.so; \ chrpath -d $$distdir/_nlopt.cpython-$${py3short}.so; \ done -- debian-science-maintainers mailing list debian-science-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
Bug#1001363: nlopt: needs update for python3.10 in supported versions: No module named '_nlopt'
Source: nlopt Version: 2.7.0-5 Severity: serious X-Debbugs-CC: debian...@lists.debian.org Tags: sid bookworm User: debian...@lists.debian.org Usertags: needs-update Control: affects -1 src:python3-defaults Dear maintainer(s), With a recent upload of python3-defaults the autopkgtest of nlopt fails in testing when that autopkgtest is run with the binary packages of python3-defaults from unstable. It passes when run with only packages from testing. In tabular form: passfail python3-defaults from testing3.9.8-1 nlopt from testing2.7.0-5 all others from testingfrom testing AFAICT, the new package in unstable fails in the same way when tested in unstable. I copied some of the output at the bottom of this report. Currently this regression is blocking the migration of python3-defaults to testing [1]. More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [1] https://qa.debian.org/excuses.php?package=python3-defaults https://ci.debian.net/data/autopkgtest/testing/amd64/n/nlopt/17406396/log.gz running python3.10 test... Traceback (most recent call last): File "/tmp/autopkgtest-lxc.2nz2dbnu/downtmp/build.K5c/src/test/./t_python.py", line 4, in import nlopt File "/usr/lib/python3/dist-packages/nlopt.py", line 22, in import _nlopt ModuleNotFoundError: No module named '_nlopt' FAILED with return value 1 running python3.9 test... ok autopkgtest [23:12:40]: test test-nlopt OpenPGP_signature Description: OpenPGP digital signature -- debian-science-maintainers mailing list debian-science-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers