Control: tags 1008689 + patch Dear maintainer,
as this issues blocks the ongoing python3.10-default transition, I've prepared an NMU for getfem++ (versioned as 5.3+dfsg1-4.1). The diff is attached to this message. Cheers -- Sebastian Ramacher
diff -Nru getfem++-5.3+dfsg1/debian/changelog getfem++-5.3+dfsg1/debian/changelog --- getfem++-5.3+dfsg1/debian/changelog 2021-12-18 21:13:11.000000000 +0100 +++ getfem++-5.3+dfsg1/debian/changelog 2022-04-06 20:02:23.000000000 +0200 @@ -1,3 +1,13 @@ +getfem++ (5.3+dfsg1-4.1) unstable; urgency=medium + + * Non-maintainer upload. + + [ Graham Inggs ] + * Check success of distutils import by return code rather + than by stderr to avoid FTBFS with Python 3.10 (Closes: #1008689) + + -- Sebastian Ramacher <sramac...@debian.org> Wed, 06 Apr 2022 20:02:23 +0200 + getfem++ (5.3+dfsg1-4) unstable; urgency=medium * Team upload. diff -Nru getfem++-5.3+dfsg1/debian/control getfem++-5.3+dfsg1/debian/control --- getfem++-5.3+dfsg1/debian/control 2021-12-18 21:13:11.000000000 +0100 +++ getfem++-5.3+dfsg1/debian/control 2022-04-06 20:02:19.000000000 +0200 @@ -1,5 +1,6 @@ Source: getfem++ -Maintainer: Debian Science Team <debian-science-maintain...@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Science Team <debian-science-maintain...@lists.alioth.debian.org> Uploaders: Konstantinos Poulios <poulios.konstanti...@gmail.com> Section: libs Priority: optional diff -Nru getfem++-5.3+dfsg1/debian/patches/python3.10.patch getfem++-5.3+dfsg1/debian/patches/python3.10.patch --- getfem++-5.3+dfsg1/debian/patches/python3.10.patch 1970-01-01 01:00:00.000000000 +0100 +++ getfem++-5.3+dfsg1/debian/patches/python3.10.patch 2022-04-06 20:02:19.000000000 +0200 @@ -0,0 +1,16 @@ +Description: check success of import by return code rather than by stderr +Origin: upstream, https://github.com/autoconf-archive/autoconf-archive/commit/883a2abd5af5c96be894d5ef7ee6e9a2b8e64307 +Author: Igor Gnatenko <ignate...@redhat.com> +Last-Update: 2017-03-14 + +--- a/m4/ac_python_devel.m4 ++++ b/m4/ac_python_devel.m4 +@@ -98,7 +98,7 @@ + # + AC_MSG_CHECKING([for the distutils Python package]) + ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ if test $? -eq 0; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) diff -Nru getfem++-5.3+dfsg1/debian/patches/series getfem++-5.3+dfsg1/debian/patches/series --- getfem++-5.3+dfsg1/debian/patches/series 2021-12-18 21:13:11.000000000 +0100 +++ getfem++-5.3+dfsg1/debian/patches/series 2022-04-06 20:02:19.000000000 +0200 @@ -8,3 +8,4 @@ fix_python3_tests_8dcd729f.patch scripts_python3.patch fix_blas_interface.patch +python3.10.patch
signature.asc
Description: PGP signature