[From nobody Sun Jul 19 01:37:07 2026
Received: (at submit) by bugs.debian.org; 16 Aug 2023 08:15:04 +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,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,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, 38; hammy, 150; neutral, 168; 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]:60578)
 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 1qWBgH-00Br6M-Qe
 for submit@bugs.debian.org; Wed, 16 Aug 2023 08:15:04 +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=na3eUdY+N5w0F2AOtjdJjWbLz6/kYkZHbqm2w9FY0pg=; b=ZSUX0hKoqzZyxXV1RSlKa2Y094
 wMogaajVWwBgZ1vYoNafI6A6/07HLCVQiHm2xs/EWCxrc7Y9qHBRflPOH3+iBU/GvrEti06fuAvhx
 larmjthriB7Sx8umny3SBPumNBV2ALIK+HCGlUW+hc/moMduGZqTh4RwBfsjdpVq07h1zs31eT4Wu
 t+bvETPC8RRJHusVR2eqo4B2CXet/TOjzJn28sEiRQHBIN5nHV7PJ5xcC+OIaptYiK876g1WYIuy2
 qFR4TSaN8b7zfroTpqSO2cTzwUCIzmXFMWrGoGypTbFzUN6oTuqCjLduylinbhfDzNYK8Fb13VmYq
 b5JOmDZw==;
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 1qWBgF-0048tG-Mu
 for submit@bugs.debian.org; Wed, 16 Aug 2023 08:15:02 +0000
From: Lucas Nussbaum &lt;lucas@debian.org&gt;
To: submit@bugs.debian.org
Subject: blis: Fails to build binary packages again after successful build
Date: Wed, 16 Aug 2023 09:42:48 +0200
Message-Id: &lt;1692171768.317246.1342387.nullmailer@grub.nussbaum.fr&gt;
X-Debian-User: lucas
Delivered-To: submit@bugs.debian.org

Source: blis
Version: 0.9.0-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: debian-qa@lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to do build a binary-only build (not source) after a
successful build (dpkg-buildpackage ; dpkg-buildpackage -b).

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/DoubleBuild

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 -b
&gt; ---------------------------------------------------------------------------------------------------------------
&gt; 
&gt; dpkg-buildpackage: info: source package blis
&gt; dpkg-buildpackage: info: source version 0.9.0-1
&gt; dpkg-buildpackage: info: source distribution unstable
&gt; dpkg-buildpackage: info: source changed by Mo Zhou &lt;lumin@debian.org&gt;
&gt;  dpkg-source --before-build .
&gt; dpkg-buildpackage: info: host architecture amd64
&gt;  debian/rules clean
&gt; dh clean -Smakefile
&gt;    dh_auto_clean -O-Smakefile
&gt;    dh_clean -O-Smakefile
&gt;  debian/rules binary
&gt; dh binary -Smakefile
&gt;    dh_update_autotools_config -O-Smakefile
&gt;    dh_autoreconf -O-Smakefile
&gt;    debian/rules override_dh_auto_configure
&gt; make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt; # Generate maintainer scripts from templates
&gt; set -e; cd debian; if test -z &quot;$(echo 4-openmp | grep 64)&quot;; then \
&gt; 	cp libblis4-XXX.postinst     libblis4-openmp.postinst; \
&gt; 	cp libblis4-XXX.prerm        libblis4-openmp.prerm; \
&gt; 	cp libblis-XXX-dev.postinst  libblis-openmp-dev.postinst; \
&gt; 	cp libblis-XXX-dev.prerm     libblis-openmp-dev.prerm; \
&gt; 	for SCRIPT in libblis4-openmp.postinst libblis4-openmp.prerm \
&gt; 		libblis-openmp-dev.postinst \
&gt; 		libblis-openmp-dev.prerm; do \
&gt; 		sed -i -e &quot;s/@DEB_HOST_MULTIARCH@/x86_64-linux-gnu/g&quot; \
&gt; 			-e &quot;s/@SUBDIR@/blis-openmp/g&quot; \
&gt; 			-e &quot;s/@SOVER@/4/g&quot; \
&gt; 			$SCRIPT; \
&gt; 		if test -n &quot;$(echo 4-openmp | grep openmp)&quot;; then \
&gt; 			sed -i -e &quot;s/@BLIS_PRI@/80/g&quot; $SCRIPT; \
&gt; 		elif test -n &quot;$(echo 4-openmp | grep pthread)&quot;; then \
&gt; 			sed -i -e &quot;s/@BLIS_PRI@/75/g&quot; $SCRIPT; \
&gt; 		else \
&gt; 			sed -i -e &quot;s/@BLIS_PRI@/70/g&quot; $SCRIPT; \
&gt; 		fi; \
&gt; 	done; \
&gt; else \
&gt; 	cp libblis64-4-XXX.postinst     libblis4-openmp.postinst; \
&gt; 	cp libblis64-4-XXX.prerm        libblis4-openmp.prerm; \
&gt; 	cp libblis64-XXX-dev.postinst   libblis4-openmp-dev.postinst; \
&gt; 	cp libblis64-XXX-dev.prerm      libblis4-openmp-dev.prerm; \
&gt; 	for SCRIPT in libblis4-openmp.postinst libblis4-openmp.prerm \
&gt; 		libblis4-openmp-dev.postinst \
&gt; 		libblis4-openmp-dev.prerm; do \
&gt; 		sed -i -e &quot;s/@DEB_HOST_MULTIARCH@/x86_64-linux-gnu/g&quot; \
&gt; 			-e &quot;s/@SUBDIR@/blis4-openmp/g&quot; \
&gt; 			-e &quot;s/@SOVER@/4/g&quot; \
&gt; 			$SCRIPT; \
&gt; 		if test -n &quot;$(echo 4-openmp | grep openmp)&quot;; then \
&gt; 			sed -i -e &quot;s/@BLIS_PRI@/80/g&quot; $SCRIPT; \
&gt; 		elif test -n &quot;$(echo 4-openmp | grep pthread)&quot;; then \
&gt; 			sed -i -e &quot;s/@BLIS_PRI@/75/g&quot; $SCRIPT; \
&gt; 		else \
&gt; 			sed -i -e &quot;s/@BLIS_PRI@/70/g&quot; $SCRIPT; \
&gt; 		fi; \
&gt; 	done; \
&gt; fi;
&gt; # Run upstream configure script in duplicated source root directories
&gt; mkdir 4-openmp
&gt; mkdir: cannot create directory ‘4-openmp’: File exists
&gt; make[1]: *** [debian/rules:73: config_4-openmp] Error 1
&gt; make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt; make: *** [debian/rules:48: binary] Error 2
&gt; dpkg-buildpackage: error: debian/rules binary 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 -b' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/16/blis_0.9.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.
]