🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Santiago Vila Sun, 22 Nov 2026 17:30
Bug#1045640: python-humanize: Fails to build source after successful build
#5579
Author: Santiago Vila
Date: Sun, 22 Nov 2026 17:30
57 lines
3694 bytes
--yiV59WGhfMjP+CYG
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

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.

--yiV59WGhfMjP+CYG
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="python-humanize.txt"

commit 12dce7c0eb5be0db091efe93a0c7d5da10a3f680
Author: Santiago Vila <sanvila@debian.org>
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

--yiV59WGhfMjP+CYG--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads