reopen 1045640
tags 1045640 patch
severity 1045640 normal
thanks

On Sat, Nov 21, 2026 at 03:19:36PM +0000, Sylvestre Ledru wrote:

> * Fix building the source after a successful build: let dh_auto_clean run
>   and remove .pybuild (Closes: #1045640)

Hi. It looks like you took a build log from 2023 as a reference for that.

The current version (when trying to build source after binary) fails
in this way now:

-----------------------------------
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building python-humanize using existing 
../python-humanize_4.17.0.orig.tar.gz
dpkg-source: info: local changes detected, the modified files are:
 src/humanize/_version.py
dpkg-source: error: aborting due to unexpected upstream changes, see 
/tmp/python-humanize_4.17.0-1.diff.ZLztwR
-----------------------------------

I see that the current version FTBFS (see buildd.debian.org) but the
attached trivial patch seems to work when using DEB_BUILD_OPTIONS=nocheck,
and the generated .deb is the same as before (so, the build does not
really need the file to exist in the source package).

(If possible, try the patch as well after fixing the ftbfs issue).

Thanks.
commit 12dce7c0eb5be0db091efe93a0c7d5da10a3f680
Author: Santiago Vila <[email protected]>
Date:   Sun Nov 22 18:15:00 2026 +0100

    Fix clean target. Closes: #1045640.

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..0245382
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+src/humanize/_version.py

Reply via email to