Bug#1030905: sardana: FTBFS (cannot import name 'getargspec' from 'sphinx.util.inspect')

Santiago Vila sanvila at debian.org
Wed Feb 8 23:50:06 GMT 2023


Package: src:sardana
Version: 3.0.3-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in bookworm, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules build-indep
dh build-indep --with python3,sphinxdoc --buildsystem=pybuild
    dh_update_autotools_config -i -O--buildsystem=pybuild
    dh_autoreconf -i -O--buildsystem=pybuild
    dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:240: python3.11 setup.py config
/<<PKGBUILDDIR>>/setup.py:27: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
   import imp
running config
    dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:240: /usr/bin/python3 setup.py build
/<<PKGBUILDDIR>>/setup.py:27: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
   import imp
running build

[... snipped ...]

byte-compiling /<<PKGBUILDDIR>>/debian/python3-sardana/usr/lib/python3.11/dist-packages/sardana/pool/test/helper.py to helper.cpython-311.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-sardana/usr/lib/python3.11/dist-packages/sardana/pool/test/res/controllers/ROI.py to ROI.cpython-311.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-sardana/usr/lib/python3.11/dist-packages/sardana/pool/test/test_synchronization.py to test_synchronization.cpython-311.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-sardana/usr/lib/python3.11/dist-packages/sardana/pool/test/test_poolmotor.py to test_poolmotor.cpython-311.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-sardana/usr/lib/python3.11/dist-packages/sardana/pool/test/test_poolpseudocounter.py to test_poolpseudocounter.cpython-311.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-sardana/usr/lib/python3.11/dist-packages/sardana/pool/test/util.py to util.cpython-311.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-sardana/usr/lib/python3.11/dist-packages/sardana/test/testsuite.py to testsuite.cpython-311.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-sardana/usr/lib/python3.11/dist-packages/sardana/test/test_sardanabuffer.py to test_sardanabuffer.cpython-311.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-sardana/usr/lib/python3.11/dist-packages/sardana/test/__init__.py to __init__.cpython-311.pyc
byte-compiling /<<PKGBUILDDIR>>/debian/python3-sardana/usr/lib/python3.11/dist-packages/sardana/test/test_sardanavalue.py to test_sardanavalue.cpython-311.pyc
running install_egg_info
Copying src/sardana.egg-info to /<<PKGBUILDDIR>>/debian/python3-sardana/usr/lib/python3.11/dist-packages/sardana-3.0.3.egg-info
Skipping SOURCES.txt
running install_scripts
Installing MacroServer script to /<<PKGBUILDDIR>>/debian/python3-sardana/usr/bin
Installing Pool script to /<<PKGBUILDDIR>>/debian/python3-sardana/usr/bin
Installing Sardana script to /<<PKGBUILDDIR>>/debian/python3-sardana/usr/bin
Installing sardanatestsuite script to /<<PKGBUILDDIR>>/debian/python3-sardana/usr/bin
Installing spock script to /<<PKGBUILDDIR>>/debian/python3-sardana/usr/bin
Installing diffractometeralignment script to /<<PKGBUILDDIR>>/debian/python3-sardana/usr/bin
Installing hklscan script to /<<PKGBUILDDIR>>/debian/python3-sardana/usr/bin
Installing macroexecutor script to /<<PKGBUILDDIR>>/debian/python3-sardana/usr/bin
Installing sequencer script to /<<PKGBUILDDIR>>/debian/python3-sardana/usr/bin
Installing showscan script to /<<PKGBUILDDIR>>/debian/python3-sardana/usr/bin
Installing ubmatrix script to /<<PKGBUILDDIR>>/debian/python3-sardana/usr/bin
I: pybuild pybuild:333: dh_numpy3
    dh_installdocs -i -O--buildsystem=pybuild
    debian/rules override_dh_sphinxdoc
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYBUILD_SYSTEM=custom \
PYBUILD_BUILD_ARGS="cd doc && PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' {interpreter} -m sphinx -N -bhtml source build/html" dh_auto_build  # HTML generator
I: pybuild base:240: cd doc && PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sardana/build http_proxy='127.0.0.1:9' python3.11 -m sphinx -N -bhtml source build/html
Running Sphinx v5.3.0

Extension error:
Could not import extension sardanaextension (exception: cannot import name 'getargspec' from 'sphinx.util.inspect' (/usr/lib/python3/dist-packages/sphinx/util/inspect.py))
E: pybuild pybuild:388: build: plugin custom failed with: exit code=2: cd doc && PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sardana/build http_proxy='127.0.0.1:9' python3.11 -m sphinx -N -bhtml source build/html
dh_auto_build: error: pybuild --build -i python{version} -p 3.11 returned exit code 13
make[1]: *** [debian/rules:15: override_dh_sphinxdoc] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

About the archive rebuild: The build was made using virtual machines
from Hetzner, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages (plus
debhelper).

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the debian-science-maintainers mailing list