please remove spherepack and ncl from the archive

Bug #2060735 reported by Nick Rosbrook
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debian-science (Ubuntu)
Fix Released
Undecided
Unassigned
ncl (Ubuntu)
Fix Released
Undecided
Unassigned
spherepack (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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@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@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@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@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

Nick Rosbrook (enr0n)
description: updated
description: updated
Revision history for this message
Nick Rosbrook (enr0n) wrote :

I uploaded debian-science to remove the Recommends:, but on second thought we might be able to just remove debian-science too:

nr@six:~/u/p/t/debian-science$ reverse-depends -r noble src:debian-science
Reverse-Depends
===============
* science-viewing-dev (for science-config)
* science-viewing-dev (for science-tasks)
* science-workflow (for science-tasks)
* science-workflow (for science-config)

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

science-workflow and science-viewing-dev are both from src:debian-science.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package debian-science - 1.14.5ubuntu1

---------------
debian-science (1.14.5ubuntu1) noble; urgency=medium

  * debian/control: don't Recommends: packages from src:ncl or
    src:spherepack (LP: #2060735)

 -- Nick Rosbrook <email address hidden> Tue, 09 Apr 2024 16:50:41 -0400

Changed in debian-science (Ubuntu):
status: New → Fix Released
Revision history for this message
Nick Rosbrook (enr0n) wrote :

It should be okay to remove ncl and spherepack now:

nr@six:~$ reverse-depends -r noble src:ncl
No reverse dependencies found

nr@six:~$ reverse-depends -r noble src:ncl -a source
No reverse dependencies found

nr@six:~$ reverse-depends -r noble src:spherepack
Reverse-Depends
===============
* libncarg-dev (for libsphere-dev)
* libncarg0 (for libsphere0d)
* ncl-ncarg (for libsphere0d)

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

nr@six:~$ reverse-depends -r noble src:spherepack -a source
Reverse-Build-Depends
=====================
* ncl

Revision history for this message
Steve Langasek (vorlon) wrote :

Removing packages from noble-proposed:
 ncl 6.6.2.dfsg.1-6 in noble
  libncarg-bin 6.6.2.dfsg.1-6 in noble arm64
  libncarg-bin 6.6.2.dfsg.1-6 in noble ppc64el
  libncarg-bin 6.6.2.dfsg.1-6 in noble riscv64
  libncarg-bin 6.6.2.dfsg.1-6 in noble s390x
  libncarg-dev 6.6.2.dfsg.1-6 in noble arm64
  libncarg-dev 6.6.2.dfsg.1-6 in noble ppc64el
  libncarg-dev 6.6.2.dfsg.1-6 in noble riscv64
  libncarg-dev 6.6.2.dfsg.1-6 in noble s390x
  libncarg0t64 6.6.2.dfsg.1-6 in noble arm64
  libncarg0t64 6.6.2.dfsg.1-6 in noble ppc64el
  libncarg0t64 6.6.2.dfsg.1-6 in noble riscv64
  libncarg0t64 6.6.2.dfsg.1-6 in noble s390x
  ncl-ncarg 6.6.2.dfsg.1-6 in noble arm64
  ncl-ncarg 6.6.2.dfsg.1-6 in noble ppc64el
  ncl-ncarg 6.6.2.dfsg.1-6 in noble riscv64
  ncl-ncarg 6.6.2.dfsg.1-6 in noble s390x
Comment: Depends on spherepack which FTBFS; LP: #2060735
1 package successfully removed.
Removing packages from noble:
 ncl 6.6.2.dfsg.1-4 in noble
  libncarg-bin 6.6.2.dfsg.1-4 in noble amd64
  libncarg-bin 6.6.2.dfsg.1-4 in noble arm64
  libncarg-bin 6.6.2.dfsg.1-4 in noble armhf
  libncarg-bin 6.6.2.dfsg.1-4 in noble ppc64el
  libncarg-bin 6.6.2.dfsg.1-4 in noble riscv64
  libncarg-bin 6.6.2.dfsg.1-4 in noble s390x
  libncarg-data 6.6.2.dfsg.1-4 in noble amd64
  libncarg-data 6.6.2.dfsg.1-4 in noble arm64
  libncarg-data 6.6.2.dfsg.1-4 in noble armhf
  libncarg-data 6.6.2.dfsg.1-4 in noble i386
  libncarg-data 6.6.2.dfsg.1-4 in noble ppc64el
  libncarg-data 6.6.2.dfsg.1-4 in noble riscv64
  libncarg-data 6.6.2.dfsg.1-4 in noble s390x
  libncarg-dev 6.6.2.dfsg.1-4 in noble amd64
  libncarg-dev 6.6.2.dfsg.1-4 in noble arm64
  libncarg-dev 6.6.2.dfsg.1-4 in noble armhf
  libncarg-dev 6.6.2.dfsg.1-4 in noble ppc64el
  libncarg-dev 6.6.2.dfsg.1-4 in noble riscv64
  libncarg-dev 6.6.2.dfsg.1-4 in noble s390x
  libncarg0 6.6.2.dfsg.1-4 in noble amd64
  libncarg0 6.6.2.dfsg.1-4 in noble arm64
  libncarg0 6.6.2.dfsg.1-4 in noble armhf
  libncarg0 6.6.2.dfsg.1-4 in noble ppc64el
  libncarg0 6.6.2.dfsg.1-4 in noble riscv64
  libncarg0 6.6.2.dfsg.1-4 in noble s390x
  ncl-ncarg 6.6.2.dfsg.1-4 in noble amd64
  ncl-ncarg 6.6.2.dfsg.1-4 in noble arm64
  ncl-ncarg 6.6.2.dfsg.1-4 in noble armhf
  ncl-ncarg 6.6.2.dfsg.1-4 in noble ppc64el
  ncl-ncarg 6.6.2.dfsg.1-4 in noble riscv64
  ncl-ncarg 6.6.2.dfsg.1-4 in noble s390x
Comment: Depends on spherepack which FTBFS; LP: #2060735
1 package successfully removed.

Changed in ncl (Ubuntu):
status: New → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

Removing packages from noble:
 spherepack 3.3~a1-5.1 in noble
  libsphere-dev 3.3~a1-5.1 in noble arm64
  libsphere-dev 3.3~a1-5.1 in noble armhf
  libsphere-dev 3.3~a1-5.1 in noble ppc64el
  libsphere-dev 3.3~a1-5.1 in noble riscv64
  libsphere-dev 3.3~a1-5.1 in noble s390x
  libsphere0t64 3.3~a1-5.1 in noble arm64
  libsphere0t64 3.3~a1-5.1 in noble armhf
  libsphere0t64 3.3~a1-5.1 in noble ppc64el
  libsphere0t64 3.3~a1-5.1 in noble riscv64
  libsphere0t64 3.3~a1-5.1 in noble s390x
  python3-sphere 3.3~a1-5.1 in noble arm64
  python3-sphere 3.3~a1-5.1 in noble armhf
  python3-sphere 3.3~a1-5.1 in noble ppc64el
  python3-sphere 3.3~a1-5.1 in noble riscv64
  python3-sphere 3.3~a1-5.1 in noble s390x
Comment: FTBFS, blocks NBS removal; LP: #2060735
1 package successfully removed.
Removing packages from noble-proposed:
 spherepack 3.3~a1-5.1build1 in noble
  libsphere-dev 3.3~a1-5.1build1 in noble s390x
  libsphere0t64 3.3~a1-5.1build1 in noble s390x
  python3-sphere 3.3~a1-5.1build1 in noble s390x
Comment: FTBFS, blocks NBS removal; LP: #2060735
1 package successfully removed.

Changed in spherepack (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.