[From nobody Thu Jul 23 11:09:06 2026
Received: (at submit) by bugs.debian.org; 13 Aug 2023 16:58:03 +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,FVGT_m_MULTI_ODD,
 MURPHY_DRUGS_REL8,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, 39; hammy, 150; neutral, 210; spammy,
 0. spammytokens: hammytokens:0.000-+--UD:orig.tar.xz,
 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]:42134)
 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 1qVEPk-003P8W-Rq
 for submit@bugs.debian.org; Sun, 13 Aug 2023 16:58:03 +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=ClgAm8Vsy4dNZi8yhSgqiEs/zt23/n9lK0dachPabcc=; b=ZHB9vrH5ToW38mSuAt9sJucv50
 4iymvb6PrN4V+vOZht7XAE1RCsXyAUiH8qW0Va+Tjh3vd4uK/LXoIZxuPfNKpe+4VGuVGmuqpAqNq
 3fo/f6dVR1+xl2vJOuvA4V/jGT41Z0rOY98ikSBF3PC3QASOBBq0yin9QBwX8CR08x4XOIAt2mR42
 wvfQdLxOc0FATEIpjzuPsfgSKR+aGR5eHl58odrLpG2Kg94Qm0Y3Csby08EoiFzTA20NTGSSOFPJ2
 NPDnKK47u82ppwGkfP+3kdx624i2h4bXt1TZ8NBz+a43ECcguVqLTNW+cWXjyxrGFciN+DPgD/+MB
 UoCt79uQ==;
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 1qVEPi-001kdD-R1
 for submit@bugs.debian.org; Sun, 13 Aug 2023 16:58:01 +0000
From: Lucas Nussbaum &lt;lucas@debian.org&gt;
To: submit@bugs.debian.org
Subject: gitaly: Fails to build source after successful build
Date: Sun, 13 Aug 2023 18:56:56 +0200
Message-Id: &lt;1691945816.908001.1234764.nullmailer@grub.nussbaum.fr&gt;
X-Debian-User: lucas
Delivered-To: submit@bugs.debian.org

Source: gitaly
Version: 16.0.7+ds1-3
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 gitaly
&gt; dpkg-buildpackage: info: source version 16.0.7+ds1-3
&gt; dpkg-buildpackage: info: source distribution unstable
&gt; dpkg-buildpackage: info: source changed by Pirate Praveen &lt;praveen@debian.org&gt;
&gt;  dpkg-source --before-build .
&gt;  fakeroot debian/rules clean
&gt; dh clean  --buildsystem=golang --with=golang --package=golang-gitlab-gitlab-org-gitaly-dev \
&gt; --builddirectory=_build
&gt;    debian/rules override_dh_auto_clean
&gt; make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt; rm -rf ruby/proto/gitaly/*_pb.rb
&gt; dh_auto_clean -O--buildsystem=golang -O--package=golang-gitlab-gitlab-org-gitaly-dev \
&gt; -O--builddirectory=_build
&gt; dh_auto_clean -O--buildsystem=ruby -O--package=ruby-gitaly
&gt; dh_auto_clean: warning: No packages to build. Possible architecture mismatch: amd64, want: all any
&gt; make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt;    dh_autoreconf_clean -O--buildsystem=golang -O--package=golang-gitlab-gitlab-org-gitaly-dev -O--builddirectory=_build
&gt;    dh_clean -O--buildsystem=golang -O--package=golang-gitlab-gitlab-org-gitaly-dev -O--builddirectory=_build
&gt; dh clean  --buildsystem=ruby --with=ruby --package=ruby-gitaly
&gt;    debian/rules override_dh_auto_clean
&gt; make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt; rm -rf ruby/proto/gitaly/*_pb.rb
&gt; dh_auto_clean -O--buildsystem=golang -O--package=golang-gitlab-gitlab-org-gitaly-dev \
&gt; -O--builddirectory=_build
&gt; dh_auto_clean: warning: No packages to build. Possible architecture mismatch: amd64, want: all any
&gt; dh_auto_clean -O--buildsystem=ruby -O--package=ruby-gitaly
&gt; 	dh_ruby --clean
&gt; W: XS-Ruby-Versions is deprecated, and will be ignored
&gt; make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt;    dh_autoreconf_clean -O--buildsystem=ruby -O--package=ruby-gitaly
&gt;    dh_clean -O--buildsystem=ruby -O--package=ruby-gitaly
&gt; dh clean  --package=gitlab-common
&gt;    debian/rules override_dh_auto_clean
&gt; make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt; rm -rf ruby/proto/gitaly/*_pb.rb
&gt; dh_auto_clean -O--buildsystem=golang -O--package=golang-gitlab-gitlab-org-gitaly-dev \
&gt; -O--builddirectory=_build
&gt; dh_auto_clean: warning: No packages to build. Possible architecture mismatch: amd64, want: all any
&gt; dh_auto_clean -O--buildsystem=ruby -O--package=ruby-gitaly
&gt; dh_auto_clean: warning: No packages to build. Possible architecture mismatch: amd64, want: all any
&gt; make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt;    dh_autoreconf_clean -O--package=gitlab-common
&gt;    dh_clean -O--package=gitlab-common
&gt; dh clean  --package=gitaly
&gt;    debian/rules override_dh_auto_clean
&gt; make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt; rm -rf ruby/proto/gitaly/*_pb.rb
&gt; dh_auto_clean -O--buildsystem=golang -O--package=golang-gitlab-gitlab-org-gitaly-dev \
&gt; -O--builddirectory=_build
&gt; dh_auto_clean: warning: No packages to build. Possible architecture mismatch: amd64, want: all any
&gt; dh_auto_clean -O--buildsystem=ruby -O--package=ruby-gitaly
&gt; dh_auto_clean: warning: No packages to build. Possible architecture mismatch: amd64, want: all any
&gt; make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt;    dh_autoreconf_clean -O--package=gitaly
&gt;    dh_clean -O--package=gitaly
&gt;  dpkg-source -b .
&gt; dpkg-source: info: using source format '3.0 (quilt)'
&gt; dpkg-source: info: building gitaly using existing ./gitaly_16.0.7+ds1.orig-vendor.tar.xz
&gt; dpkg-source: info: building gitaly using existing ./gitaly_16.0.7+ds1.orig.tar.xz
&gt; dpkg-source: info: using patch list from debian/patches/series
&gt; dpkg-source: warning: ignoring deletion of directory tools/protoc-gen-doc
&gt; dpkg-source: warning: ignoring deletion of file tools/protoc-gen-doc/tool.go, use --include-removal to override
&gt; dpkg-source: warning: ignoring deletion of file tools/protoc-gen-doc/go.sum, use --include-removal to override
&gt; dpkg-source: warning: ignoring deletion of file tools/protoc-gen-doc/go.mod, use --include-removal to override
&gt; dpkg-source: warning: ignoring deletion of directory tools/golangci-lint
&gt; dpkg-source: warning: ignoring deletion of file tools/golangci-lint/tool.go, use --include-removal to override
&gt; dpkg-source: warning: ignoring deletion of file tools/golangci-lint/go.sum, use --include-removal to override
&gt; dpkg-source: warning: ignoring deletion of file tools/golangci-lint/go.mod, use --include-removal to override
&gt; dpkg-source: warning: ignoring deletion of directory tools/golangci-lint/gitaly
&gt; dpkg-source: warning: ignoring deletion of file tools/golangci-lint/gitaly/quote_test.go, use --include-removal to override
&gt; dpkg-source: warning: ignoring deletion of file tools/golangci-lint/gitaly/errorwrap_test.go, use --include-removal to override
&gt; dpkg-source: warning: ignoring deletion of file tools/golangci-lint/gitaly/quote.go, use --include-removal to override
&gt; dpkg-source: warning: ignoring deletion of file tools/golangci-lint/gitaly/lint.go, use --include-removal to override
&gt; dpkg-source: warning: ignoring deletion of file tools/golangci-lint/gitaly/matcher.go, use --include-removal to override
&gt; dpkg-source: warning: ignoring deletion of file tools/golangci-lint/gitaly/errorwrap.go, use --include-removal to override
&gt; dpkg-source: warning: ignoring deletion of directory tools/golangci-lint/gitaly/testdata
&gt; dpkg-source: warning: ignoring deletion of directory tools/golangci-lint/gitaly/testdata/src
&gt; dpkg-source: warning: ignoring deletion of directory tools/golangci-lint/gitaly/testdata/src/quote
&gt; dpkg-source: warning: ignoring deletion of file tools/golangci-lint/gitaly/testdata/src/quote/quote_test.go, use --include-removal to override
&gt; dpkg-source: warning: ignoring deletion of directory tools/golangci-lint/gitaly/testdata/src/errorwrap
&gt; dpkg-source: warning: ignoring deletion of file tools/golangci-lint/gitaly/testdata/src/errorwrap/errorwrap_test.go, use --include-removal to override
&gt; dpkg-source: warning: ignoring deletion of file tools/golangci-lint/gitaly/testdata/src/errorwrap/errorwrap_alias_test.go, use --include-removal to override
&gt; dpkg-source: info: local changes detected, the modified files are:
&gt;  gitaly-16.0.7+ds1/tools/protogem/Gemfile.lock
&gt; dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/gitaly_16.0.7+ds1-3.diff.b961fE
&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/gitaly_16.0.7+ds1-3_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.
]