#1151991 python-swiftclient: FTBFS: E: dh_python3 fs:172: Not everything in 'debian/python3-swiftclient/usr/lib/python3.15/dist-packages/.stestr' was able to be merged into 'debian/python3-swiftclient/usr/lib/python3/dist-packages/.stestr'.

#1151991#5
Date:
2026-10-25 11:04:21 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, 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/202610/

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

Thanks.
--------------------------------------------------------------------------------
[...]
   dh_python3 -O--buildsystem=pybuild
W: dh_python3 fs:156: Paths differ: debian/python3-swiftclient/usr/lib/python3.15/dist-packages/.stestr/times.dbm.dir and debian/python3-swiftclient/usr/lib/python3/dist-packages/.stestr/times.dbm.dir
W: dh_python3 fs:156: Paths differ: debian/python3-swiftclient/usr/lib/python3.15/dist-packages/.stestr/times.dbm.bak and debian/python3-swiftclient/usr/lib/python3/dist-packages/.stestr/times.dbm.bak
W: dh_python3 fs:156: Paths differ: debian/python3-swiftclient/usr/lib/python3.15/dist-packages/.stestr/times.dbm.dat and debian/python3-swiftclient/usr/lib/python3/dist-packages/.stestr/times.dbm.dat
W: dh_python3 fs:156: Paths differ: debian/python3-swiftclient/usr/lib/python3.15/dist-packages/.stestr/0 and debian/python3-swiftclient/usr/lib/python3/dist-packages/.stestr/0
E: dh_python3 fs:172: Not everything in 'debian/python3-swiftclient/usr/lib/python3.15/dist-packages/.stestr' was able to be merged into 'debian/python3-swiftclient/usr/lib/python3/dist-packages/.stestr'.
I: dh_python3 fs:179: Remaining files: debian/python3-swiftclient/usr/lib/python3.15/dist-packages/.stestr/0
debian/python3-swiftclient/usr/lib/python3.15/dist-packages/.stestr/times.dbm.bak
debian/python3-swiftclient/usr/lib/python3.15/dist-packages/.stestr/times.dbm.dat
debian/python3-swiftclient/usr/lib/python3.15/dist-packages/.stestr/times.dbm.dir
make: *** [debian/rules:8: binary] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1151991#8
Date:
2026-10-25 19:51:04 UTC
From:
To:
Hello,

Bug #1151991 in python-swiftclient reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/openstack-team/clients/python-swiftclient/-/commit/f9116c1037688c4a5397495ce039e63298554230
The custom test step ran stestr from pybuild's build_dir, so its
.stestr state directory leaked into dist-packages, and dh_python3's
new dist-packages merge aborts when it differs between Python
versions (fs:172). Use pkgos-dh_auto_test, which runs stestr from
the package root and removes its state directory afterwards, and
add the missing nocheck guard.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1151991

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

Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated python-swiftclient 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: Sun, 25 Oct 2026 20:46:52 +0100
Source: python-swiftclient
Architecture: source
Version: 1:4.11.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Closes: 1151991
Changes:
 python-swiftclient (1:4.11.0-4) unstable; urgency=medium
 .
   * Fix FTBFS with dh-python 7.20261019 (Closes: #1151991).
     The custom test step ran stestr from pybuild's build_dir, so its
     .stestr state directory leaked into dist-packages, and dh_python3's
     new dist-packages merge aborts when it differs between Python
     versions (fs:172). Use pkgos-dh_auto_test, which runs stestr from
     the package root and removes its state directory afterwards, and
     add the missing nocheck guard.
Checksums-Sha1:
 a29cfa718adeadd25590de56ae8f7866c212aa2e 2502 python-swiftclient_4.11.0-4.dsc
 c1c56ab6827f248cd82f4adec20336bd506313db 6976 python-swiftclient_4.11.0-4.debian.tar.xz
 6a34631cc9196412101a0a9da1772947234a7b7d 10790 python-swiftclient_4.11.0-4_amd64.buildinfo
Checksums-Sha256:
 d554e81524638e774bca6887da818c3a50da69dcf690f65585b52d4e3f62890d 2502 python-swiftclient_4.11.0-4.dsc
 532b3b394c8205ae315676e34901c4999cfd3ceeb5c1036983707358ee4d4193 6976 python-swiftclient_4.11.0-4.debian.tar.xz
 2b6c91ed5c019b07e8bbe34fe3235c3aa9aa5ef89b805c34d1753105bdc6a7c7 10790 python-swiftclient_4.11.0-4_amd64.buildinfo
Files:
 e15a673a836aa541665f7215eaeeb03b 2502 python optional python-swiftclient_4.11.0-4.dsc
 bd0fa86c8739bf3fb246020ce981c178 6976 python optional python-swiftclient_4.11.0-4.debian.tar.xz
 647c3371be462600669c0f9ceaabb22c 10790 python optional python-swiftclient_4.11.0-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmreXs8ACgkQ1BatFaxr
Q/5SOBAAmpj7sz8NnTmNF44ja/TuyIydDMhAivgYlXFPrfobSFTdBsJGpFOEGRTX
hxYWsIqYMXXik5sd+29iKEZjwpwzxuUC+8b+0HwECor0+BP0gWAd1qCng4AmzzQD
ckQn/XyDJiNvt811eCkXV0sC6Q9p1lA/ce0wwb98VM2Zkwxp7zE4vtEKOtCn84ZR
okEH2N/2v+eTOP6L4Rpiaons51V+EMOk0fYv1A/5X0GwlsKzAjkBGYgMjsvOz7s2
y8Y5d9ezhbTKbsgtRhoc+KBP62NsTpH8kbWrGyLkJnp++qwuK1n1xjPTuyj6hBrt
4UYDlR2q/cbUeQV8LDfN6FmRhBJftn1GxzBvmM0gkmI3HxjImpVZGycV0E1W603c
oovWpreQC1CfpjmetFn1xAgR8e8lkEZ9Ro3/puq3Ujj3fEszZTwHv4+Lb7XNuRG5
Bz9JGD7FEYKnGQ2tmL8MMqMq05BPipVE4qRx7y/cmUGPQYUUSPAx5iSzTgBPuWqt
AodCh9B7/kI3LCZOJkDRzCei2ePX00siwtNyg0u+D3FrBBiyaqp31MiKqxvG+bwG
8fz96ZX+HaREd+z2yG+yKy889881Fxk1unQlQbLJ1HzHHHUrtMlqCCkIQvrXj0La
5Uxj1/TTfUGWyofJtLTtc9m+shX8H9h07hoNKqCGW2jPqG2O5zk=
=uQrn
-----END PGP SIGNATURE-----