[From nobody Mon Oct 19 12:21:07 2026
Received: (at submit) by bugs.debian.org; 14 Aug 2023 01:15:53 +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=-101.6 required=4.0 tests=ATTENDEES_DBSPAM_BODY3,
 ATTENDEES_DBSPAM_BODY7,BAYES_00,DATE_IN_PAST_03_06,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
 SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
 USER_IN_DKIM_WHITELIST autolearn=no autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 56; hammy, 150; neutral, 156; 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]:59478)
 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 1qVMBX-0050sd-7p
 for submit@bugs.debian.org; Mon, 14 Aug 2023 01:15:53 +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=DsB2yDWABq+430hVQZXAfBN/XCWDWrmVSddHU5VWUcI=; b=p4I50SeueDRf0vublQRgM64p/e
 Q3WUleumlkEqjGSJDfC5ng2WPt1VvtFgvROWe5e0N4u0AFY7nC4amE5ZSPYYao7vOf4xSYE26u6iM
 Vn6Uy1RW5EbUsa9vV7uDyO8B/yW8yMSW1qGOZYaeceEXz/xfEyFXohrEjlwiTTQbnINJBTgbeBSKV
 olK5kb6T0FNg8v5t3MrGd+p6WVRWnwS7PAj1vVADQD2nHlulLo9rbTe3mnKdI6clawF4uwoZpF7Zo
 kFktgxFJwxdDBN6QEe1pgbxyVeIjpOKqvJ0NQEoT3gRChdS98LBwwC6zHnCfMMwVjaWScykeGmPb9
 6gYFVi1A==;
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 1qVMBU-0028E8-S2
 for submit@bugs.debian.org; Mon, 14 Aug 2023 01:15:52 +0000
From: Lucas Nussbaum &lt;lucas@debian.org&gt;
To: submit@bugs.debian.org
Subject: libzn-poly: Fails to build source after successful build
Date: Sun, 13 Aug 2023 21:20:56 +0200
Message-Id: &lt;1691954456.636223.1278716.nullmailer@grub.nussbaum.fr&gt;
X-Debian-User: lucas
Delivered-To: submit@bugs.debian.org

Source: libzn-poly
Version: 0.9.2-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 libzn-poly
&gt; dpkg-buildpackage: info: source version 0.9.2-1
&gt; dpkg-buildpackage: info: source distribution unstable
&gt; dpkg-buildpackage: info: source changed by Tobias Hansen &lt;thansen@debian.org&gt;
&gt;  dpkg-source --before-build .
&gt;  fakeroot debian/rules clean
&gt; dh clean
&gt;    dh_auto_clean
&gt; 	make -j8 distclean
&gt; make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt; rm -f *.o
&gt; rm -f test/*.o
&gt; rm -f profile/*.o
&gt; rm -f tune/*.o
&gt; rm -f src/tuning.c
&gt; rm -f src/*.o
&gt; rm -f demo/bernoulli/*.o
&gt; rm -f libzn_poly.a
&gt; rm -f libzn_poly.dylib
&gt; rm -f libzn_poly*.so*
&gt; rm -f libzn_poly*.dll.a
&gt; rm -f cygzn_poly.dll
&gt; rm -f test/test
&gt; rm -f tune/tune
&gt; rm -f profile/array-profile
&gt; rm -f profile/array-profile-ntl
&gt; rm -f profile/invert-profile
&gt; rm -f profile/invert-profile-ntl
&gt; rm -f profile/mulmid-profile
&gt; rm -f profile/mulmid-profile-ntl
&gt; rm -f profile/mpn_mulmid-profile
&gt; rm -f profile/mpn_mulmid-profile-ntl
&gt; rm -f profile/mul-profile
&gt; rm -f profile/mul-profile-ntl
&gt; rm -f profile/negamul-profile
&gt; rm -f profile/negamul-profile-ntl
&gt; rm -f demo/bernoulli/bernoulli
&gt; rm -f makefile
&gt; make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt;    dh_clean
&gt;  dpkg-source -b .
&gt; dpkg-source: info: using source format '3.0 (quilt)'
&gt; dpkg-source: info: building libzn-poly using existing ./libzn-poly_0.9.2.orig.tar.gz
&gt; dpkg-source: info: using patch list from debian/patches/series
&gt; dpkg-source: info: local changes detected, the modified files are:
&gt;  libzn-poly-0.9.2/Makefile
&gt; dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/libzn-poly_0.9.2-1.diff.BjEUzv
&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/libzn-poly_0.9.2-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.
]