[Bug 2060735] [NEW] please remove spherepack and ncl from the archive

Launchpad Bug Tracker 2060735 at bugs.launchpad.net
Tue Apr 9 21:18:47 UTC 2024


You have been subscribed to a public bug by Nick Rosbrook (enr0n):

spherepack currently FTBFS with python3.12, with the following error:

 debian/rules build
py3versions: no X-Python3-Version in control file, using supported versions
dh  build  --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
 pybuild --configure -i python{version} -p 3.12
I: pybuild base:311: python3.12 setup.py config
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 11, in <module>
    from numpy.distutils.core import Extension
ModuleNotFoundError: No module named 'numpy.distutils'
E: pybuild pybuild:389: configure: plugin distutils failed with: exit code=1: python3.12 setup.py config
dh_auto_configure: error: pybuild --configure -i python{version} -p 3.12 returned exit code 13
make: *** [debian/rules:8: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

The numpy.distutils module was deprecated a while ago and projects
should have migrated by now[1]. Since spherepack uses features like
fortran builds, migrating the current setup.py is not trivial. Making
matters worse, this package has not been updated in Debian for 3 years,
and I cannot find a definite home for upstream, because the current
homepage 404s[2]. I think we should just remove the package.

This package has a couple reverse deps, all from src:ncl:

nr at six:~/u/p/t/spherepack$ reverse-depends -r noble src:spherepack
Reverse-Recommends
==================
* science-meteorology           (for python3-sphere)
* science-meteorology-dev       (for libsphere-dev)

Reverse-Depends
===============
* libncarg-dev [amd64 arm64 armhf ppc64el s390x]
* libncarg0 [amd64 arm64 armhf ppc64el s390x]
* ncl-ncarg [amd64 arm64 armhf ppc64el s390x]

Packages without architectures listed are reverse-dependencies in:
amd64, arm64, armhf, i386, ppc64el, s390x

nr at six:~/u/p/t/spherepack$ reverse-depends -r noble src:spherepack -a source
Reverse-Build-Depends
=====================
* ncl                           (for libsphere-dev)

But, ncl itself has no reverse depends:

nr at six:~/u/p/t/spherepack$ reverse-depends -r noble src:ncl
Reverse-Recommends
==================
* science-meteorology           (for ncl-ncarg)
* science-meteorology-dev       (for libncarg-bin)

Packages without architectures listed are reverse-dependencies in: amd64, arm64, armhf, i386, ppc64el, s390x
nr at six:~/u/p/t/spherepack$ reverse-depends -r noble src:ncl -a source
No reverse dependencies found

So, once the Recommends: in science-meteorology are removed, we could
remove spherepack and ncl from the archive.

[1] https://numpy.org/doc/stable/reference/distutils_status_migration.html
[2] https://www2.cisl.ucar.edu/resources/legacy/spherepack

** Affects: debian-science (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ncl (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: spherepack (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse
-- 
please remove spherepack and ncl from the archive
https://bugs.launchpad.net/bugs/2060735
You received this bug notification because you are a member of Ubuntu Package Archive Administrators, which is subscribed to the bug report.



More information about the ubuntu-archive mailing list