Package: src:python-gphoto2
Version: 1.9.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py clean
/<<PKGBUILDDIR>>/setup.py:77: SyntaxWarning: invalid escape sequence '\d'
  match = re.match(mod_src_dir + '-gp(\d+\.\d+\.\d+)', name)
/<<PKGBUILDDIR>>/setup.py:115: SyntaxWarning: invalid escape sequence '\d'
  match = re.match('libgphoto2-(\d+\.\d+\.\d+)', name)
/<<PKGBUILDDIR>>/setup.py:167: SyntaxWarning: invalid escape sequence '\('
  for match in re.finditer('%feature\("docstring"\) (\w+) \"(.+?)\";',
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 22, in <module>
    from distutils.command.upload import upload as _upload
ModuleNotFoundError: No module named 'distutils.command.upload'
E: pybuild pybuild:389: clean: plugin distutils failed with: exit code=1: 
python3.12 setup.py clean
dh_auto_clean: error: pybuild --clean -i python{version} -p 3.12 returned exit 
code 13
make: *** [debian/rules:11: clean] Error 25
dpkg-buildpackage: error: fakeroot debian/rules clean 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/202410/

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

Thanks.

Reply via email to