#1147378 python-babel: FTBFS with the nocheck build profile

#1147378#5
Date:
2026-09-11 12:05:00 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable using the nocheck build profile,
this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

A wiki page discussing how to reproduce bugs in this category and
possible solutions is available here:

https://wiki.debian.org/qa.debian.org/FTBFS/nocheck

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

Thanks.
--------------------------------------------------------------------------------
[...]
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
adding license file 'LICENSE'
writing manifest file 'babel.egg-info/SOURCES.txt'
copying babel/py.typed -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/babel
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/babel/locale-data
copying babel/locale-data/LICENSE.unicode -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/babel/locale-data
   debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Generate the localedata folder data out of the xml files
# downloaded in debian/repack
mkdir -pv babel/locale-data/
python3 scripts/import_cldr.py /usr/share/unicode/cldr/common
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/scripts/import_cldr.py", line 1138, in <module>
    main()
    ~~~~^^
  File "/<<PKGBUILDDIR>>/scripts/import_cldr.py", line 183, in main
    return process_data(
        srcdir=args[0],
        destdir=BABEL_PACKAGE_ROOT,
        dump_json=bool(options.dump_json),
    )
  File "/<<PKGBUILDDIR>>/scripts/import_cldr.py", line 194, in process_data
    sup = parse(sup_filename)
  File "/usr/lib/python3.14/xml/etree/ElementTree.py", line 1223, in parse
    tree.parse(source, parser)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/xml/etree/ElementTree.py", line 566, in parse
    source = open(source, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/unicode/cldr/common/supplemental/supplementalData.xml'
make[1]: *** [debian/rules:15: execute_after_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1147378#10
Date:
2026-09-14 17:49:20 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-babel, 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 1147378@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated python-babel 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: Mon, 14 Sep 2026 19:18:14 +0200
Source: python-babel
Architecture: source
Version: 2.18.0+git2026-08-12-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1147378
Changes:
 python-babel (2.18.0+git2026-08-12-2) unstable; urgency=medium
 .
   * Team upload
 .
   [ Bastian Germann ]
   * Build with unicode-cldr-core even for nocheck (Closes: #1147378)
Checksums-Sha1:
 9736a4bc516eae7882d7916e9465ec8d01e74cfc 2469 python-babel_2.18.0+git2026-08-12-2.dsc
 42ca06224c0a462509685b6c4d26fad4c8ecae17 11092 python-babel_2.18.0+git2026-08-12-2.debian.tar.xz
 ddcdb4a5e0d8ef189d9200996e2c2d73e346ca60 7649 python-babel_2.18.0+git2026-08-12-2_source.buildinfo
Checksums-Sha256:
 1ce4d7df2b721ed727013515eac127d16785f204144a60a6a853891415b05df4 2469 python-babel_2.18.0+git2026-08-12-2.dsc
 2c738b969aac2864ad844555defef9cc6e8536b14ecd0d7565b3826211542df5 11092 python-babel_2.18.0+git2026-08-12-2.debian.tar.xz
 cc7df28b0e8b7df81f5cbae028686f81c9e51c398836656ce5974581f534d04d 7649 python-babel_2.18.0+git2026-08-12-2_source.buildinfo
Files:
 eed6d3108565e81da981b618fe6c7f5a 2469 python optional python-babel_2.18.0+git2026-08-12-2.dsc
 4c8dd1e7dbba589364835a221b659fd5 11092 python optional python-babel_2.18.0+git2026-08-12-2.debian.tar.xz
 8052ed4c3db278965e77e71a6d068dd3 7649 python optional python-babel_2.18.0+git2026-08-12-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmqoMHkRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBrhXg//YFrZnGvrJifEiDs8suqdy4a5cfhW2GaL
s/t7Dkz4aIF/G1+ozGkhct0pehgkXpSdAQ1BGULiCTsa2Fv/iyPVmlZfDMYguvA6
T1rUnil/TL4FaplyqX8G2a6gIeqUq2sW4SXplJ5Urn0vzphEehmyiu8qtPk3eQlg
X7YjiDQNVXq9BRADVC14ed3zp4Dh4YsVD9QEkcuG0byrGUKX5vQsICXAm8JibzSm
E/a5cciyviw+4IKHvBKQxbSegaO6UMeJtqwoy9Pry1yG2jQkbDs4ItzC8HWHdceD
XH7bcL/nW3JewSLuiIq5iEB432A3arA/f9qIRTXRMufYTyQQTjrnTvZ7E+oPXypP
cn6MTBYMhR4QI1CRdA5Xt1XbQseVvDV1RhZUd61ZE6kARnITGm99UH75gSkjLGD/
6av+U9QZLGGWI+rKgOBmHtCDpAVPEwSRjPq/PBRRidPEwDwIobd2U1q0I0s8E4vg
V7xAEISIwlcfuC1fL5taH/MDNxeguPy+bZ7capnKCh1QKOxei/Km0ZAPdQcVs2HU
fRDptugu1CsJsBqHqPHv19m2AkNe6XwnnNbqf8fcN9gbNXD9fVFrVCREzBUfIry4
IVAgFjbUXb7+3VU6ugZTlMgZy6csdi9VUPTIwUW/Cm474FBlZuOdd3UGJp5iDQNH
J5MxhmvHHmw=
=z/qr
-----END PGP SIGNATURE-----