#1048334 locust: Fails to build source after successful build

Package:
src:locust
Source:
src:locust
Submitter:
Lucas Nussbaum
Date:
2026-10-02 06:37:02 UTC
Severity:
normal
Tags:
#1048334#5
Date:
2023-08-13 19:20:57 UTC
From:
To:
Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
The full build log is available from:
http://qa-logs.debian.net/2023/08/13/locust_2.12.1-1_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

#1048334#12
Date:
2026-09-24 18:20:26 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
locust, 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 1048334@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <morph@debian.org> (supplier of updated locust 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: Thu, 24 Sep 2026 13:57:02 -0400
Source: locust
Architecture: source
Version: 2.46.6-1
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <morph@debian.org>
Changed-By: Sandro Tosi <morph@debian.org>
Closes: 1048334 1069850
Changes:
 locust (2.46.6-1) unstable; urgency=medium
 .
   * New upstream release
   * debian/watch
     - upgrade to version 5
     - add webui component, the prebuilt web UI from the PyPI sdist, as upstream
       no longer ships it in git
   * debian/copyright
     - reduce the webui component to locust/webui/dist
     - update upstream copyright; document the web UI files and the libraries
       bundled in them; drop the stanzas for the removed locust/static files
   * debian/gbp.conf
     - add webui component
   * debian/control
     - add hatchling and hatch-vcs to b-d, the new upstream build system
     - drop setuptools and roundrobin from b-d, no longer needed
     - add engineio, flask, gevent, opentelemetry, socketio and werkzeug to b-d,
       needed by tests
     - bump versioned b-d to the upstream minimum versions
     - drop Priority, optional is now the default
     - bump Standards-Version to 4.7.4 (no changes needed)
     - suggest the packages needed by the dns, mqtt and otel extras, and
       websocket for the socket.io websocket transport
   * debian/rules
     - include pkg-info.mk, so the upstream version is actually passed to
       hatch-vcs; Closes: #1069850
     - install the prebuilt web UI from the webui component
     - remove the Azure Load Testing advertisement from the web UI start page,
       via the new debian/remove-azure-ad.py
     - remove the CSV files left by tests in clean; Closes: #1048334
     - run TestMasterWorkerRunners again, it no longer times out; skip tests
       needing network access and a timing sensitive one
   * debian/patches
     - add a DEP-3 header to increase-subprocess-timeout.patch
     - wheel-anchor-include-patterns.patch: keep the web UI sources, tests and
       the webui component out of the installed package
     - relax-configargparse-requirement.patch: accept configargparse 1.7
   * debian/locust
     - add a shebang, tests now execute it directly
   * debian/python3-locust.docs
     - drop README, removed upstream
   * add lintian overrides for the prebuilt web UI
   * remove debian/missing-sources, the files it covered are gone
Checksums-Sha1:
 bf1b96bbe62347ed9c132a88d23b7056b736b9fb 3006 locust_2.46.6-1.dsc
 89a39ea376dad4a2b650240fcb8e0839eaf8fadb 1106092 locust_2.46.6.orig-webui.tar.xz
 11ddf02875d3b516074e4bbbb6b4828ea6226410 5723140 locust_2.46.6.orig.tar.xz
 c29c50de32635e81508b1cdd974fe6bc43a22407 7468 locust_2.46.6-1.debian.tar.xz
 774723758a60b21fd9dfd32ec5a3689c8997ddf3 10071 locust_2.46.6-1_source.buildinfo
Checksums-Sha256:
 8d1e757d6315727914848235f6018e88799e27e72fc7bcaeb5eb671183847637 3006 locust_2.46.6-1.dsc
 d0238b5234e2875ea15a37051deffcbfbc66ae73f62f2d05559f1d88c77853d7 1106092 locust_2.46.6.orig-webui.tar.xz
 2d4e993c5c6c12434efeab87a0e027df72fe3de84130048dd9a57e9e43e0f38d 5723140 locust_2.46.6.orig.tar.xz
 89026607267cae698e2c385e14ebfbc2899832f9f93c157e84ef10a63c4d29fd 7468 locust_2.46.6-1.debian.tar.xz
 8e95c00d54661aac82240086555498f36a530909aa1541a686792414bc9f34dd 10071 locust_2.46.6-1_source.buildinfo
Files:
 82b94bffa0f1bcf81ef3b1d292fbfe66 3006 python optional locust_2.46.6-1.dsc
 8635ab9ff5a3e7b7dc16dd9a66b06d16 1106092 python optional locust_2.46.6.orig-webui.tar.xz
 3520f65644bba0074f9fd0bab1671313 5723140 python optional locust_2.46.6.orig.tar.xz
 12ade8c4e35f8f86bdcd7db322c1a532 7468 python optional locust_2.46.6-1.debian.tar.xz
 a87c7dffbcad129dc3876df29665a4bd 10071 python optional locust_2.46.6-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAmq1ZLAACgkQh588mTgB
qU9n9Q/+IlWL9BiWdjE9na49xSzSC5Ki0psV/6gatNqHdG0NaqSs6mIJ93KrOQcP
8/tdOSoAV6HFM+jJzEWLq7n6tkSPDxqv59iPUluixMtL+bcNxh0xJGYsU31/jqUy
Vq0Rx9ku9R0NX98fTgRmIwW45gaVnyfg7G83vd4WAn+EwwJM1Q/4W5iBRA6aIGfs
BkhoOOIkck/LKtLrk6Ns9KEHrM9Z3wJfYQ852LikfaBf4g+m3UodFOJeYJvs2W4e
LFY1rnkM/sLarQCIsR3XPuWhG7GL7kHK8KHg+ZOtk8tfLlUGOGxZ939hNodj5Emc
xZ1ibbl+Zq1V0pFil7Zp3wv1rVBk49mvYtlJrPWSe4PZLOZvvfm4BJkQ2qrMLfeW
kOEyWwgp7p6Ixmn+ynFTq70/7lo+wcktKsZ1+AALiIWSQZV40vTGFGaiN7gGygPN
d60LPvJj0MlyVtqDyQMFmNmIprdGciR2TSyDX4AM7a//h7DLzF4goqPdw0eLJvtr
kAnqIzGw0M8LN68MynXwDrAtkQlINxVN+7VNZThuYvTliOVfQKuwmHuL9xZhQJ7d
GkX/Ff/Hb/Qs59eyxCHo8Uup5qedj84sfavTPaR/9KOv7UCsynmfQg07fR9NUhAv
UFmNHIhqw+Hc2lQLP9MVlXxnZvrela6Kf/9yVnhw+kpZQZ4V1y8=
=yBCb
-----END PGP SIGNATURE-----

#1048334#17
Date:
2026-09-26 21:48:23 UTC
From:
To:
reopen 1048334
thanks

Below you will find what happens in the current version when trying to
build source after binary.

Thanks.


Package: locust
Version: 2.46.6-1
[...]
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 dpkg-source -b .
dpkg-source: info: using options from /<<PKGBUILDDIR>>/debian/source/options: --extend-diff-ignore=^[^/]+.egg-info/
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building locust using existing ../locust_2.46.6.orig-webui.tar.xz
dpkg-source: info: building locust using existing ../locust_2.46.6.orig.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: warning: file /<<PKGBUILDDIR>>/locust_output.json has no final newline (either original or modified version)
dpkg-source: info: local changes detected, the modified files are:
 locust_output.json
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/locust_2.46.6-1.diff.gVD0Lx
dpkg-source: hint: make sure the version in debian/changelog matches the unpacked source tree
dpkg-source: hint: you can integrate the local changes with dpkg-source --commit
dpkg-buildpackage: error: dpkg-source -b . subprocess failed with exit status 2

#1048334#26
Date:
2026-10-02 06:34:51 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
locust, 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 1048334@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <morph@debian.org> (supplier of updated locust 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: Fri, 02 Oct 2026 02:16:51 -0400
Source: locust
Architecture: source
Version: 2.46.6-2
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <morph@debian.org>
Changed-By: Sandro Tosi <morph@debian.org>
Closes: 1048334
Changes:
 locust (2.46.6-2) unstable; urgency=medium
 .
   * debian/rules
     - remove locust_output.json, left by a failing test, in clean;
       Closes: #1048334
     - drop --with python3, replaced by dh-sequence-python3
     - make test failures fatal; skip the tests needing network access, one
       expecting localhost to resolve to IPv6 and two with a racy shutdown
     - share the test exclusions with the autopkgtest, and run it on symlinks
       to the installed package, as the tests are not installed
     - generate a manpage with help2man
   * debian/control
     - bump debhelper compat to 14; add dh-sequence-python3 and
       dh-sequence-single-binary to b-d
     - drop the substvars, now applied automatically
     - use upstream's synopsis, "Developer-friendly"
     - bump Standards-Version to 4.7.4.1 (no further changes needed)
     - add Testsuite: autopkgtest-pkg-pybuild
     - add help2man to b-d; drop <!nocheck> from the b-d imported by
       locust --help, needed to generate the manpage
   * debian/python3-locust.manpages
     - install the generated manpage
   * debian/python3-locust.lintian-overrides
     - override image-file-in-usr-lib, the web UI assets are served by Flask
       from the package directory
   * debian/upstream/metadata
     - add upstream metadata
   * debian/source/options
     - remove, egg-info is no longer generated since the switch to hatchling
Checksums-Sha1:
 b76f59af714264f26e58470f29c57a64f9f840a9 2980 locust_2.46.6-2.dsc
 a085e56b081148d8821dd56c728066b841e1b4ea 8564 locust_2.46.6-2.debian.tar.xz
 46ac7ede6a9756c5fd4a7cb7138f87a6f2d40ebe 10126 locust_2.46.6-2_source.buildinfo
Checksums-Sha256:
 389eb786bce610b69668a9c0c5c90e987a2f94a2395f545a6d501df51945713a 2980 locust_2.46.6-2.dsc
 80dc663cabe52b060587e9bd347c3c9a1a0e9cff6622a115f1cb5e3d5e3b7be3 8564 locust_2.46.6-2.debian.tar.xz
 f34b78087a595f6aa5d70bb48888e7c5838b50cb5accba8f1756c23b3c014234 10126 locust_2.46.6-2_source.buildinfo
Files:
 03abb7217cdd685427ce155e7ceb9982 2980 python optional locust_2.46.6-2.dsc
 d64183f64a216f449e72032c954f1a9c 8564 python optional locust_2.46.6-2.debian.tar.xz
 9b93801a249dfda52fc2124675f63a70 10126 python optional locust_2.46.6-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAmq/TGMACgkQh588mTgB
qU/NcBAAgY3waXryWjuj7yulQnxOuLyzhbAlAyO6CF2s7FVhkGK6dUS0a1nLYGVy
gDgVhvLICTrFvzMC2NODb0A9AiZEK9sSkkMv192YptulBuokIoychnq2Hc1pal+t
AbXlnY66sOGd2xnhD1zBco6u7j3IkA066PsyDbdpWQPP0kSbpXRCe1mJ1xGFlV5r
XbPkD4xtycmVELI6XS373mfnUyggtjAHyCTC83eOzr7jZwL4B4zAE/TSyjArkHgk
WD/eWnnhXdAOKEJxVGp3yEmYX5vWK1EClScmkm3Exk2AcbsI9SAZxsQcKvysQa+4
xqi3MayHNnxt83xoVx7Fvu7mSIOPK0rOprtXxFu834Qoy5Yw659wDH6Cv2LNYCpX
O5wWHwWr4FBOpkgJgylh+cTo9FtIlBWlibQ6GxZ3o+KTY10Uk61BPb6dtlQA2KnH
C9fiFIsjdrEZPAJ+IlI/je2hL8bJsPgvXJlpezm4quxxNTp9+l8E+y3hxCcr7E9D
SMwb/OmUk8+ve/2XbJHCypAe/eLi+Wu80K3NrMegGeFpYE6aTbGlV+n2rQQ/FB+t
iPbJx9+tauFcNcCtV6a3nTqxQ1RPoxQNViRBM0uY13rzpcKF96WB14Dv61LxaLc+
7K/PiwZnNigJSDagJ8RuVBbbP1UgOQQeTkh8BhzhU0pndUc7Ghg=
=PGqo
-----END PGP SIGNATURE-----