#1048966 ncbi-igblast: Fails to build source after successful build

#1048966#5
Date:
2023-08-13 19:21:00 UTC
From:
To:
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:
The full build log is available from:
http://qa-logs.debian.net/2023/08/13/ncbi-igblast_1.19.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.

#1048966#14
Date:
2025-12-21 21:39:31 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ncbi-igblast, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1048966@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <tille@debian.org> (supplier of updated ncbi-igblast package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 21 Dec 2025 22:07:09 +0100
Source: ncbi-igblast
Architecture: source
Version: 1.20.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Andreas Tille <tille@debian.org>
Closes: 1048966 1113797
Changes:
 ncbi-igblast (1.20.0-4) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Andreas Tille ]
   * d/watch: version=5
   * Fix clean target
     Closes: #1048966
   * Standards-Version: 4.7.2 (routine-update)
   * debputy lint --auto-fix (routine-update)
   * Update lintian override info format in d/source/lintian-overrides.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Pass --build/--host to configure. (Closes: #1113797)
Checksums-Sha1:
 d8677c81ac2baaec58d2e6911e31f30767a06caf 2165 ncbi-igblast_1.20.0-4.dsc
 a51777167b15270921edd937b8b5adc5458893f2 13476 ncbi-igblast_1.20.0-4.debian.tar.xz
 8f94324c83d326b46f9e4f9465791c1396eb84c0 25073 ncbi-igblast_1.20.0-4_source.buildinfo
Checksums-Sha256:
 eb63555c688cf1320ef76a512d749f69d27af67003bf176dde642e8fd467bfbe 2165 ncbi-igblast_1.20.0-4.dsc
 893b8978536fb08878309da3472e4889e3ff8f98b953f316c49e50d96cd9a7a3 13476 ncbi-igblast_1.20.0-4.debian.tar.xz
 55d052822e7485742689f3b979ab9aa3a26900cdc97316231e170f233dc4cfa4 25073 ncbi-igblast_1.20.0-4_source.buildinfo
Files:
 73cbb128f14d5edd2b15478f3fe9a3fc 2165 science optional ncbi-igblast_1.20.0-4.dsc
 6dc6233fc01f67442c8a6845c79b55f5 13476 science optional ncbi-igblast_1.20.0-4.debian.tar.xz
 4258b12f48527749240372ace59482b7 25073 science optional ncbi-igblast_1.20.0-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJCBAEBCgAsFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmlIYecOHHRpbGxlYUBy
a2kuZGUACgkQV4oElNHGRtGbGQ/5AUCVHF0cHUp2cBB7FsCbn1hq+10ih9zP/kUv
k52iOQFWU1fm70l0tqT1YMd6La+THcMDG1mM+GNK8aH48XBlrt5wAgNGfUFU4MbC
n1vwH5zYUwowJnNfVoTcLoUOex2zZEPT6cEnwLyDBI0oKYVUlohBeglkz1BiEq9G
ujObc5FOmo3rPAYg/bZwrwTckxQvu9JRht7ei6qJy7rDSN0tYRnhZcSZsze8uFhr
ZBcuktPnh7bSwQg1A8KduT2brHkY41bbQ9BnazKfThwr5Q76fduR/5E9Ok6RdDvy
5XcO4Eg9Af7wXZv7a8nBmCLfYhU4M8SHWU4WaWNb8lkfqlB3wpbk3lSWmlTTK/x5
3WRaQdNrTHbV577jL2WtlUBA3uVdVctEMB45sKUf224BCTPhf1Eib68kV6JhwlhI
sYovUWRkYkel5lojH7GypqBUDo0OnUvIFyiXnBI4op+rlySZrdyHi7Lf3odPEDLb
G0L/+c58qqEAVfqXC5BV/qZf/RfhLp0kp/BavPgdurzYaSmxyXhn7queCXIG47tQ
QrekEmzcJs0U/EKrPKg4VFjoXWPwBnMeC4mz+hDeV3NjykABJW2EUUd/fWtrJY6T
L4+UNni0rcZx+FQ+gGKs3Cwb5jUz2MsgME9SomEIdJJYAouiW8M4bFvVo+6GP/p7
rYdzMm4=
=+mlf
-----END PGP SIGNATURE-----

#1048966#19
Date:
2025-12-22 22:52:19 UTC
From:
To:
reopen 1048966
thanks

Hello. Thanks a lot for looking at this.

Unfortunately, the clean target has still issues (see below).

I was in the process of looking at these bugs, and have actually fixed
a number of them already, but I still don't see any common pattern
suitable to be written in a wiki page for everybody to follow, as every
case seems to be different, but will keep trying anyway.

What I can share for now is this simple script, which I call
"source-after-binary-build" to verify that the package is fixed:

#!/bin/sh
sbuild --arch-all --arch-any --chroot-mode=unshare -d sid -v --no-run-lintian \
  --finished-build-commands="cd %SBUILD_PKGBUILD_DIR && dpkg-buildpackage --sanitize-env -us -uc -S" $1

It can be used with a simple package name, or using a *.dsc file, like this:

source-after-binary-build  ncbi-igblast_1.20.0-4.dsc

One common problem here is that one can add stuff to debian/clean and
the issue might seem fixed, but when doing a check there are new
errors that did not show before.

Thanks.


dpkg-source: info: local changes detected, the modified files are:
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Abs.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Abs_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Abstract.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/AbstractText.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/AbstractText_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Abstract_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/AccessionNumber.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/AccessionNumberList.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/AccessionNumberList_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/AccessionNumber_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Acronym.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Acronym_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Affiliation.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/AffiliationInfo.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/AffiliationInfo_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Affiliation_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Agency.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Agency_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/And.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/And_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Annotation.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Annotation_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Annotation_xml.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Annotation_xml_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Apply.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Apply_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Apply_content.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Apply_content_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Approx.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Approx_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Arccos.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Arccos_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Arccosh.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Arccosh_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Arccot.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Arccot_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Arccoth.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Arccoth_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Arccsc.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Arccsc_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Arccsch.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Arccsch_.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Arcsec.hpp
 ncbi-igblast-1.20.0/c++/include/objtools/eutils/efetch/Arcsec_.hpp
[...]