Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1242092

Bug#1103207: stdeb: FTBFS: help2man: can't get `--help' info from /<<PKGBUILDDIR>>/debian/python3-stdeb/usr/bin/py2dsc

From Santiago Vila <sanvila@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1103207: stdeb: FTBFS: help2man: can't get `--help' info from /<<PKGBUILDDIR>>/debian/python3-stdeb/usr/bin/py2dsc
Date 2025-04-15 02:30 +0200
Message-ID <KBClB-dzWg-43@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: src:stdeb
Version: 0.10.0-3
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules clean
rm -f py2dsc.1 pypi-install.1 py2dsc-deb.1 pypi-download.1
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_stdeb/build; python3.13 -m unittest discover -v 

----------------------------------------------------------------------
Ran 0 tests in 0.000s

NO TESTS RAN
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--buildsystem=pybuild
   dh_prep -O--buildsystem=pybuild
   dh_auto_install --destdir=debian/python3-stdeb/ -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py install --root /<<PKGBUILDDIR>>/debian/python3-stdeb 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
/usr/lib/python3.13/dist-packages/stdeb/util.py:1429: SyntaxWarning: invalid escape sequence '\.'
   dh_installdocs -O--buildsystem=pybuild
   dh_installchangelogs -O--buildsystem=pybuild
   debian/rules override_dh_installman
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=/<<PKGBUILDDIR>> help2man -N --version-string=0.10.0 -o py2dsc.1 -n 'creates Debian source package from Python package' /<<PKGBUILDDIR>>/debian/python3-stdeb/usr/bin/py2dsc
help2man: can't get `--help' info from /<<PKGBUILDDIR>>/debian/python3-stdeb/usr/bin/py2dsc
Try `--no-discard-stderr' if option outputs to stderr
make[1]: *** [debian/rules:15: py2dsc.1] Error 127
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202504/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

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 add an affects on src:stdeb, so that this is still
visible in the BTS web page for this package.

Thanks.

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1103207: stdeb: FTBFS: help2man: can't get `--help' info from /<<PKGBUILDDIR>>/debian/python3-stdeb/usr/bin/py2dsc Santiago Vila <sanvila@debian.org> - 2025-04-15 02:30 +0200
  Bug#1103207: stdeb: FTBFS: help2man: can't get `--help' info from /<<PKGBUILDDIR>>/debian/python3-stdeb/usr/bin/py2dsc Sergio Durigan Junior <sergiodj@sergiodj.net> - 2025-04-18 07:00 +0200
  Bug#1103207: FTBFS: help2man: can't get `--help' info from /<<PKGBUILDDIR>>/debian/python3-stdeb/usr/bin/py2dsc Emmanuel Arias <eamanu@debian.org> - 2025-04-18 17:20 +0200

csiph-web