#1034065 sasl-xoauth2: FTBFS: ModuleNotFoundError: No module named 'distutils.core'

#1034065#5
Date:
2023-04-07 20:14:44 UTC
From:
To:
Hi,

sasl-xoauth2/experimental FTBFS on all architectures:
https://buildd.debian.org/status/package.php?p=sasl-xoauth2&suite=experimental

...
   debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p completions manpages
register-python-argcomplete --shell bash sasl-xoauth2-tool > completions/sasl-xoauth2-tool
argparse-manpage --pyfile obj-x86_64-linux-gnu/scripts/sasl-xoauth2-tool --object parser \
	--author 'Tarick Bedeir' --author-email 'tarick@bedeir.com' --project-name sasl-xoauth2 \
	--url https://github.com/tarickb/sasl-xoauth2 --output manpages/sasl-xoauth2-tool.1
Traceback (most recent call last):
  File "/usr/bin/argparse-manpage", line 5, in <module>
    from build_manpages.cli import main
  File "/usr/lib/python3/dist-packages/build_manpages/cli/__init__.py", line 5, in <module>
    from build_manpages.build_manpage import ManPageWriter, get_parser
  File "/usr/lib/python3/dist-packages/build_manpages/build_manpage.py", line 10, in <module>
    from distutils.core import Command
ModuleNotFoundError: No module named 'distutils.core'
make[1]: *** [debian/rules:11: execute_after_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary-arch] Error 2
...


Andreas

#1034065#10
Date:
2023-05-30 22:34:24 UTC
From:
To:
Control: clone 1034065 -1
Control: reassign -1 python3-argparse-manpage
Control: affects -1 src:sasl-xoauth2
Control: retitle -1 argparse-manpage doesn't run unless python3-setuptools is installed


I think this represents a missing dependency in
python3-argparse-manpage, which makes packages that build-depend on
python3-argparse-manpage to generate their manpages FTBFS.

#1034065#17
Date:
2023-05-30 22:51:14 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
sasl-xoauth2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1034065@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Kahn Gillmor <dkg@fifthhorseman.net> (supplier of updated sasl-xoauth2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 30 May 2023 17:30:18 -0400
Source: sasl-xoauth2
Architecture: source
Version: 0.20-1
Distribution: experimental
Urgency: medium
Maintainer: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Changed-By: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Closes: 1034065
Changes:
 sasl-xoauth2 (0.20-1) experimental; urgency=medium
 .
   * new upstream version
   * work around argparse-manpage bug (Closes: #1034065)
Checksums-Sha1:
 f1a4639cff6653f81212a9723056a721bcd6cd2a 1390 sasl-xoauth2_0.20-1.dsc
 1e1fe51374a3a2a6e288f25ceae34aba51a5009e 26639 sasl-xoauth2_0.20.orig.tar.gz
 757c022d4ba3471b86d08abdb1ebb688cd905c69 2496 sasl-xoauth2_0.20-1.debian.tar.xz
 b6c8f27b3a5d5ad1297d99648a314de9d3b90c62 9572 sasl-xoauth2_0.20-1_amd64.buildinfo
Checksums-Sha256:
 08e0dd93d6068187c69ce48d29f03e1167eea29334e59b37c39276c5db9e1f8b 1390 sasl-xoauth2_0.20-1.dsc
 cf94b63e7456f00f6708c8df7073433908a3c4d1f51df964bc633e1d90aa39b5 26639 sasl-xoauth2_0.20.orig.tar.gz
 43ced0bf57491fc4ad0f0e71139199296f71ac10777fde346b7ddf4ffa012a17 2496 sasl-xoauth2_0.20-1.debian.tar.xz
 a9b4ba258cb2b46a299b979bda8bdcad9b446a041420a0330c4145e3b2083c83 9572 sasl-xoauth2_0.20-1_amd64.buildinfo
Files:
 3ba74ada1022093a60fc21f384d9497f 1390 utils optional sasl-xoauth2_0.20-1.dsc
 438bb77e92827d74fccea0ab7345ca0d 26639 utils optional sasl-xoauth2_0.20.orig.tar.gz
 30786babad95ab0013808b9cbc5fbdd4 2496 utils optional sasl-xoauth2_0.20-1.debian.tar.xz
 e4fb7fde70875f9621997e3e04769240 9572 utils optional sasl-xoauth2_0.20-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQQttUkcnfDcj0MoY88+nXFzcd5WXAUCZHZ6ggAKCRA+nXFzcd5W
XOI0AQCOuRpwMxvY+buo3++7NCSjHxOL2ilHnJ3OMtokMebLjQEA07KxTAg3uAtg
svPXEyWIww9tRXNsnseldwKC0DzwoQQ=
=pEZV
-----END PGP SIGNATURE-----