[From nobody Fri Sep 18 21:59:06 2026
Received: (at submit) by bugs.debian.org; 13 Aug 2023 21:26:44 +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.2 required=4.0 tests=ATTENDEES_DBSPAM_BODY3,
 ATTENDEES_DBSPAM_BODY7,BAYES_00,DIGITS_LETTERS,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
 FVGT_m_MULTI_ODD,MD5_SHA1_SUM,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, 33; hammy, 150; neutral, 205; spammy,
 0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
 0.000-+--PKGBUILDDIR, 0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311
Return-path: &lt;lucas@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:58238)
 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 1qVIbl-004IjY-DW
 for submit@bugs.debian.org; Sun, 13 Aug 2023 21:26:43 +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=bv/hJIYZmPnjasPa1Ah9KOS5NEoPBfs4CUvHtz8AXcs=; b=TXZz1a7eSmaT1OlPA6A9Mkukv1
 yrW2/Ayd4wmd0SIxRs0inYjfoksD5HXDBUGpzhEnWOM0qd+wnPnvnbfxa1qwcFS1JxtUlgC55jK6R
 qLJ6G5NbL4zqBJcnTArHtVfpREvz5QalxL13qSudJlrtfFfFh567mmC8DM4IoJlHDzpha78Xj/oke
 E1Yz+CB3vF45N98y0cUJ/1dXQAX1KP/E3Ga8eH32vzRZ2BXNbwGyXOhCw3E811rEoBb1PEHIMijHL
 641sp5Rlyaq/JSWBuYoFEmBcTSH1E0IqdJRGqzEe+lXeAscbzxrqdMDg+mv9hsqIdmKzOu82SZ9GU
 ltMVIoag==;
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 1qVIbj-001xUI-Dn
 for submit@bugs.debian.org; Sun, 13 Aug 2023 21:26:42 +0000
From: Lucas Nussbaum &lt;lucas@debian.org&gt;
To: submit@bugs.debian.org
Subject: txtorcon: Fails to build source after successful build
Date: Sun, 13 Aug 2023 21:21:31 +0200
Message-Id: &lt;1691954491.634313.1284778.nullmailer@grub.nussbaum.fr&gt;
X-Debian-User: lucas
Delivered-To: submit@bugs.debian.org

Source: txtorcon
Version: 22.0.0-1
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 txtorcon
&gt; dpkg-buildpackage: info: source version 22.0.0-1
&gt; dpkg-buildpackage: info: source distribution unstable
&gt; dpkg-buildpackage: info: source changed by Antoine Beaupré &lt;anarcat@debian.org&gt;
&gt;  dpkg-source --before-build .
&gt;  debian/rules clean
&gt; dh clean --with=python3,sphinxdoc --buildsystem=pybuild
&gt;    dh_auto_clean -O--buildsystem=pybuild
&gt; I: pybuild base:275: python3.11 setup.py clean 
&gt; running clean
&gt; removing '/&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.11_txtorcon/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;    dh_autoreconf_clean -O--buildsystem=pybuild
&gt;    dh_clean -O--buildsystem=pybuild
&gt;  dpkg-source -b .
&gt; dpkg-source: info: using source format '3.0 (quilt)'
&gt; dpkg-source: info: verifying ./txtorcon_22.0.0.orig.tar.gz.asc
&gt; gpgv: Signature made Wed Mar 16 21:28:53 2022 UTC
&gt; gpgv:                using RSA key 9D5A2BD5688ECB889DEBCD3FC2602803128069A7
&gt; gpgv:                issuer &quot;meejah@meejah.ca&quot;
&gt; gpgv: [don't know]: invalid packet (ctb=2d)
&gt; gpgv: keydb_search failed: Invalid packet
&gt; gpgv: [don't know]: invalid packet (ctb=2d)
&gt; gpgv: keydb_search failed: Invalid packet
&gt; gpgv: Can't check signature: No public key
&gt; dpkg-source: warning: cannot verify upstream tarball signature for ./txtorcon_22.0.0.orig.tar.gz: no acceptable signature found
&gt; dpkg-source: info: building txtorcon using existing ./txtorcon_22.0.0.orig.tar.gz
&gt; dpkg-source: info: building txtorcon using existing ./txtorcon_22.0.0.orig.tar.gz.asc
&gt; dpkg-source: info: using patch list from debian/patches/series
&gt; dpkg-source: warning: newly created empty file '_trial_temp/_trial_marker' will not be represented in diff
&gt; dpkg-source: warning: file txtorcon-22.0.0/_trial_temp/authcookie has no final newline (either original or modified version)
&gt; dpkg-source: warning: file txtorcon-22.0.0/_trial_temp/test.test_controller/FilesystemOnionFactoryTests/test_happy_path/ggttwk0b/temp/hs_ed25519_secret_key has no final newline (either original or modified version)
&gt; diff: txtorcon-22.0.0/_trial_temp/test.test_endpoints/EndpointTests/test_explit_dir_not_readable_ver/7aq5jxd2/temp/hostname: Permission denied
&gt; dpkg-source: error: diff on txtorcon-22.0.0/_trial_temp/test.test_endpoints/EndpointTests/test_explit_dir_not_readable_ver/7aq5jxd2/temp/hostname subprocess returned exit status 2
&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/txtorcon_22.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.
]