[From nobody Mon Jul 20 14:51:05 2026
Received: (at submit) by bugs.debian.org; 13 Aug 2023 13:19:02 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-103.1 required=4.0 tests=ATTENDEES_DBSPAM_BODY3,
 ATTENDEES_DBSPAM_BODY7,BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,MURPHY_DRUGS_REL8,
 PP_MIME_FAKE_ASCII_TEXT,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
 autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 62; hammy, 150; neutral, 307; spammy,
 0. spammytokens: hammytokens:0.000-+--python3,
 0.000-+--pkgbuilddir, 
 0.000-+--PKGBUILDDIR, 0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin
Return-path: &lt;lucas@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:35416)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=stravinsky.debian.org, EMAIL=hostmaster@stravinsky.debian.org (verified)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;lucas@debian.org&gt;) id 1qVAzo-002tZs-2P
 for submit@bugs.debian.org; Sun, 13 Aug 2023 13:19:02 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Message-Id:Date:Subject:To:From:
 Reply-To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=Rok0O1B7KJt0su53sRUVmoud8l+zo12mK8ASMn3XdKA=; b=PrR4H4yPdacyRh6v24BqlQQ/lZ
 QLo8HxhVPr20kDoHWyfTiytfEGNdQyhwsQluED4dt0YCrMfhixJFxg72z1knYdMbK0dvegFVMSUOf
 BZhC7NhICc0cwf9tRbvM4rgY0wJIjxNRKWx6UVNq4cRJBJtWsS1BhHgQdK0smbEQ5DSPNAs5UL10v
 OUF0VWqAywvsHMY3pjzfDFmG3pDyLmgPK64OfS/9Z8H642NrTUIvE0KM6GxQw8p69uaNxKSUDSlEB
 Rx6A8BBxQiDRdzO6nl8QBH5X5hfKZxIdldaYtHBhDLKwYnJJ9zZ/wf31GHPyX2eIQ0wj91wFbPNzd
 z0JaRcUA==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;lucas@debian.org&gt;) id 1qVAzk-001bph-O8
 for submit@bugs.debian.org; Sun, 13 Aug 2023 13:19:00 +0000
From: Lucas Nussbaum &lt;lucas@debian.org&gt;
To: submit@bugs.debian.org
Subject: breezy: Fails to build source after successful build
Date: Sun, 13 Aug 2023 15:17:55 +0200
Message-Id: &lt;1691932675.873084.1210594.nullmailer@grub.nussbaum.fr&gt;
X-Debian-User: lucas
Delivered-To: submit@bugs.debian.org

Source: breezy
Version: 3.3.3-2
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa@lists.debian.org
Usertags: qa-doublebuild

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:
&gt; cd /&lt;&lt;PKGBUILDDIR&gt;&gt; &amp;&amp; runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S
&gt; -------------------------------------------------------------------------------------------------------------------
&gt; 
&gt; dpkg-buildpackage: info: source package breezy
&gt; dpkg-buildpackage: info: source version 3.3.3-2
&gt; dpkg-buildpackage: info: source distribution unstable
&gt; dpkg-buildpackage: info: source changed by Jelmer Vernooĳ &lt;jelmer@debian.org&gt;
&gt;  dpkg-source --before-build .
&gt;  debian/rules clean
&gt; dh clean --with python3,sphinxdoc,bash_completion  --buildsystem=pybuild
&gt;    debian/rules override_dh_auto_clean
&gt; make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt; dh_auto_clean
&gt; I: pybuild base:275: python3.11 setup.py clean 
&gt; /usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
&gt;   config = read_configuration(filepath, True, ignore_option_errors, dist)
&gt; running clean
&gt; removing '/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.11_breezy/build' (and everything under it)
&gt; 'build/bdist.linux-x86_64' does not exist -- can't clean it
&gt; 'build/scripts-3.11' does not exist -- can't clean it
&gt; running clean_rust
&gt; cargo clean --manifest-path lib-rio/Cargo.toml
&gt; cargo clean --manifest-path Cargo.toml
&gt; I: pybuild base:275: python3.11-dbg setup.py clean 
&gt; /usr/lib/python3/dist-packages/setuptools_rust/build.py:22: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
&gt;   import pkg_resources
&gt; /usr/lib/python3/dist-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
&gt;   config = read_configuration(filepath, True, ignore_option_errors, dist)
&gt; /usr/lib/python3/dist-packages/babel/messages/catalog.py:13: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
&gt;   from cgi import parse_header
&gt; running clean
&gt; removing '/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.11_dbg_breezy/build' (and everything under it)
&gt; 'build/bdist.linux-x86_64' does not exist -- can't clean it
&gt; 'build/scripts-3.11' does not exist -- can't clean it
&gt; running clean_rust
&gt; cargo clean --manifest-path lib-rio/Cargo.toml
&gt; cargo clean --manifest-path Cargo.toml
&gt; rm -rf debian/brzhome
&gt; rm -f brzlib/*_pyx.c
&gt; # It also doesn't really clean every thing...
&gt; ls doc/en/user-reference/*txt | grep -v readme.txt | xargs rm -rf
&gt; rm -rf doc/developers/make.bat \
&gt; 	doc/developers/Makefile \
&gt; 	doc/*/_build/ \
&gt; 	doc/en/release-notes/index.txt
&gt; make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt;    dh_autoreconf_clean -O--buildsystem=pybuild
&gt;    dh_clean -O--buildsystem=pybuild
&gt;  dpkg-source -b .
&gt; dpkg-source: warning: upstream signing key but no upstream tarball signature
&gt; dpkg-source: info: using source format '3.0 (quilt)'
&gt; dpkg-source: info: building breezy using existing ./breezy_3.3.3.orig.tar.gz
&gt; dpkg-source: info: using patch list from debian/patches/series
&gt; dpkg-source: warning: file breezy-3.3.3/breezy.egg-info/SOURCES.txt has no final newline (either original or modified version)
&gt; dpkg-source: info: local changes detected, the modified files are:
&gt;  breezy-3.3.3/Cargo.lock
&gt;  breezy-3.3.3/breezy.egg-info/PKG-INFO
&gt;  breezy-3.3.3/breezy.egg-info/SOURCES.txt
&gt;  breezy-3.3.3/breezy.egg-info/dependency_links.txt
&gt;  breezy-3.3.3/breezy.egg-info/not-zip-safe
&gt;  breezy-3.3.3/breezy.egg-info/requires.txt
&gt;  breezy-3.3.3/breezy.egg-info/top_level.txt
&gt;  breezy-3.3.3/breezy/_annotator_pyx.c
&gt;  breezy-3.3.3/breezy/_chunks_to_lines_pyx.c
&gt;  breezy-3.3.3/breezy/_known_graph_pyx.c
&gt;  breezy-3.3.3/breezy/_readdir_pyx.c
&gt;  breezy-3.3.3/breezy/bzr/_btree_serializer_pyx.c
&gt;  breezy-3.3.3/breezy/bzr/_chk_map_pyx.c
&gt;  breezy-3.3.3/breezy/bzr/_dirstate_helpers_pyx.c
&gt;  breezy-3.3.3/breezy/bzr/_groupcompress_pyx.c
&gt;  breezy-3.3.3/breezy/bzr/_knit_load_data_pyx.c
&gt;  breezy-3.3.3/breezy/bzr/_rio_pyx.c
&gt;  breezy-3.3.3/breezy/bzr/_simple_set_pyx.c
&gt;  breezy-3.3.3/breezy/bzr/_simple_set_pyx.h
&gt;  breezy-3.3.3/breezy/bzr/_simple_set_pyx_api.h
&gt;  breezy-3.3.3/brz.1
&gt; dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/breezy_3.3.3-2.diff.tUlWeM
&gt; dpkg-source: info: Hint: make sure the version in debian/changelog matches the unpacked source tree
&gt; dpkg-source: info: you can integrate the local changes with dpkg-source --commit
&gt; dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
&gt; 
&gt; E: Command 'cd /&lt;&lt;PKGBUILDDIR&gt;&gt; &amp;&amp; runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/breezy_3.3.3-2_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.
]