#1045463 python-treq: Fails to build source after successful build

Package:
src:python-treq
Source:
src:python-treq
Submitter:
Lucas Nussbaum
Date:
2026-07-02 11:35:01 UTC
Severity:
normal
Tags:
#1045463#5
Date:
2023-08-13 19:21:18 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/python-treq_22.2.0-0.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.

#1045463#12
Date:
2026-05-22 13:09:05 UTC
From:
To:
tags 1045463 +patch
thanks

Hi,

The package fails to build source after a successful build because the
built documentation isn't cleaned up.

The attached patch fixes this by adding the documentation build path to
debian/clean.

#1045463#17
Date:
2026-07-02 11:23:31 UTC
From:
To:
Hello,

Bug #1045463 in python-treq 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/python-team/packages/python-treq/-/commit/5355343393ab124dae12dc971bf306a92604b368
------------------------------------------------------------------------
Add documentation build path to debian/clean

Closes: #1045463
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1045463

#1045463#24
Date:
2026-07-02 11:33:53 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-treq, 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 1045463@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated python-treq 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, 02 Jul 2026 12:20:22 +0100
Source: python-treq
Architecture: source
Version: 26.7.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1045463
Changes:
 python-treq (26.7.0-1) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Colin Watson ]
   * New upstream release.
   * Allow stderr from autopkgtests.
   * Drop "Rules-Requires-Root: no", default as of dpkg-dev 1.22.13.
   * Drop "Priority: optional", default as of dpkg-dev 1.22.13.
   * Standards-Version: 4.7.4.
 .
   [ Teemu Hukkanen ]
   * Add documentation build path to debian/clean (closes: #1045463).
Checksums-Sha1:
 f412c7453c06ac2217d6872c7bd4c0d4a3a21077 2574 python-treq_26.7.0-1.dsc
 5d1bb6c760c88a0a1d8e39905487910cac437a1e 81748 python-treq_26.7.0.orig.tar.gz
 b8b0a67e2f5f019b9beb5da2845afdd9a84d4262 3164 python-treq_26.7.0-1.debian.tar.xz
Checksums-Sha256:
 6f92448cfa16a3ee3169849824de43173cdb399d1f99d5925fd0ced06ba7c8f2 2574 python-treq_26.7.0-1.dsc
 43e728e12aca2d897c626cf07dc7b4392749b73de050a7d66e086cb3a6e15da9 81748 python-treq_26.7.0.orig.tar.gz
 8fb4ee912fb9cc5509dbcaa9e7ad9c660de5d2c0611ad55abcc415ef85cc948c 3164 python-treq_26.7.0-1.debian.tar.xz
Files:
 85f0db8c716f6805b6d35f99f6c879e3 2574 python optional python-treq_26.7.0-1.dsc
 eb16ad46a399062514b09300635f3b0b 81748 python optional python-treq_26.7.0.orig.tar.gz
 84ff2515ceceb14c6fd4d2cd93400e36 3164 python optional python-treq_26.7.0-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmpGSfEACgkQOTWH2X2G
UAtt/hAAnXQtAgaM0qnRkPkjWZ5rTM+Wc1VUJFawXoYxLjS5mG+WNWPodXfm7oLg
kSeWNlehE+q2OgqWPlayR8z+L8PoINVemRc13XyQRwBgvxDyjReoc9Pbp8BgoQhq
u4F7ibhraB7ImF8oqNj7d2YrTywDbrQfVfdDwO63X433kA/oInLKmaQ4A0OzKPpQ
EDSCfsUhGLZvsHyHHfeao0g5+BkReyOo3sDg4lWqKnYDELDOxt4K0kdT+wEA49Fu
8d4TD5MNryF0wapr3AqvqlcC83xqKpxNlnz/lBbdmzSlXF9HrY5TKdct2mpOj9TS
ILZEaBm+V+h2GH+6IK+5TYJhn3EWdK2zCumxpRZ+OvFUsuOB1ud421qOjWhv3Y6U
A1IJxlzZKo4px16BYlyhYeL+VrTcIMWxCL5kyVp7Fuxe9QX+fbDCZbAGfUmixiR6
ZtzslBFxC0Bspr7AO1YF7xz6PM5p67rdoWJl6PACZ4cOsTsd+sOL7fJUPEMtsMmQ
bdIFKNsbqbefbUVwUTCwhgATKaANwot/ubOkJ0jA7MYEl0m5podmJyVksDsD6vWh
iX+vsy4dChQXUuLsM4zHIGuPh32oNap8cfmoZkawqLEFX3PUTNfZr2Fzc4TdQFM4
6cI/LWHnxwAY+wun7482LfbfLaLsTM7UYwKVL0P4eWw/TDjr4tE=
=r7C8
-----END PGP SIGNATURE-----