🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5579

Bug#1045640: python-humanize: Fails to build source after successful build

#5579
From: 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--
Technical Details
Message-ID: <O2jy1-dvB9-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O2jy1-dvB9-13@gated-at.bofh.it> <H2ppX-1Ct3-219@gated-at.bofh.it> <O2jy1-dvB9-13@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1045640: python-humanize: Fails to build source after successful build
Date: Sun, 22 Nov 2026 18:30:01 +0100
Message-ID: <O2jy1-dvB9-11@gated-at.bofh.it>
References: <O2jy1-dvB9-13@gated-at.bofh.it> <H2ppX-1Ct3-219@gated-at.bofh.it> <O2jy1-dvB9-13@gated-at.bofh.it>
X-Original-To: 1045640@bugs.debian.org, Sylvestre Ledru <sylvestre@debian.org>,
	control@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov 22 17:25:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1045640@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+python@tracker.debian.org
X-Debian-Pr-Message: followup 1045640
X-Debian-Pr-Package: src:python-humanize
X-Debian-Pr-Keywords: forky trixie ftbfs sid
X-Debian-Pr-Source: python-humanize
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="yiV59WGhfMjP+CYG"
Content-Disposition: inline
X-Debian-User: sanvila
X-Crossassassin-Score: 2
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004202
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 57
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 22 Nov 2026 18:23:39 +0100
X-Original-Message-ID: <awMlGyuDvxCSjLQD@nuc>
X-Original-References: <6b01b68839e58_31af51004127ab@godard.mail> <1691954473.351199.1281612.nullmailer@grub.nussbaum.fr> <6b01b68839e58_31af51004127ab@godard.mail>