#1151474 gfapy: FTBFS: E: dh_python3 fs:312: python3-gfapy includes a common build directory name 'tests' as a module. Likely due to a mis-configured build system installing things it shouldn't.

Package:
src:gfapy
Source:
src:gfapy
Submitter:
Santiago Vila
Date:
2026-10-21 14:53:03 UTC
Severity:
normal
Tags:
#1151474#5
Date:
2026-10-20 19:56:58 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:gfapy, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
  	  -t gfapy-validate \
  	  debian/man/gfapy-validate.1.txt > debian/man/gfapy-validate.1
dh_installman
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_python3 -O--buildsystem=pybuild
E: dh_python3 fs:312: python3-gfapy includes a common build directory name 'tests' as a module. Likely due to a mis-configured build system installing things it shouldn't.
make: *** [debian/rules:24: binary] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1151474#8
Date:
2026-10-21 14:36:39 UTC
From:
To:
Hello,

Bug #1151474 in gfapy reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/med-team/gfapy/-/commit/1f19408b121e71ad87b4b063a4be2b424a8ab80b

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1151474

#1151474#15
Date:
2026-10-21 14:50:50 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gfapy, 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 1151474@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 gfapy 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: Wed, 21 Oct 2026 16:03:52 +0200
Source: gfapy
Architecture: source
Version: 1.2.3+dfsg-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: 1151474
Changes:
 gfapy (1.2.3+dfsg-4) unstable; urgency=medium
 .
   * Team upload.
   * d/watch: version=5
   * Standards-Version: 4.7.4 (routine-update)
   * Reflow Uploaders field (cme)
   * Remove Priority field (cme)
   * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
   * Drop 'Rules-Requires-Root: no' from d/control (routine-update)
   * Remove obsolete field Name from debian/upstream/metadata (already present in
     machine-readable debian/copyright).
   * debputy lint --auto-fix (routine-update)
   * Remove tests from installation dir
     Closes: #1151474
   * Remove unneeded lintian-overrides
Checksums-Sha1:
 f579c4ed9a26a153e675dadf9c02e9259e2189c1 2067 gfapy_1.2.3+dfsg-4.dsc
 802360928a1c8446bbaf48ebe99b2be91c1b5e92 5208 gfapy_1.2.3+dfsg-4.debian.tar.xz
 bc7a44c2aa65bbcdd10b621eaeedde56c56581c9 6646 gfapy_1.2.3+dfsg-4_amd64.buildinfo
Checksums-Sha256:
 3eb19e55134ec1d9c61f67075c3bd0f0ab4ecf1c64c7f43a31abfaef47b7a1bc 2067 gfapy_1.2.3+dfsg-4.dsc
 c87dcb769301c6c40a568a7753230aecfdf5ae6ae03ab93fcfa291467840e4e5 5208 gfapy_1.2.3+dfsg-4.debian.tar.xz
 0656f2ed480b49710156a6dd59df686df50542ed1128b10c7cae321a69edb975 6646 gfapy_1.2.3+dfsg-4_amd64.buildinfo
Files:
 4fca6f346469fd5aa8c44d775370efa5 2067 science optional gfapy_1.2.3+dfsg-4.dsc
 14d7521a383c0ffc70b9fdaeb3ab26b4 5208 science optional gfapy_1.2.3+dfsg-4.debian.tar.xz
 ccadfc26b5810f1800a6c87e6ad0aa21 6646 science optional gfapy_1.2.3+dfsg-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmrYzgMRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtFZ7Q/8DQ0FBcvykeG/Yahvpyqg03wKfB+gYTZP
9YsGGXeJhaJn5S0+LLdLS8BTFVssrXJSfHEek29FaqjSjJ9i0VgQAOELYxPTuSLA
0I1U1OvoZ1t/m2F5Grab/fdN+pDR1jKgVLLBrXpgBHJkjhx+8ZFs0xXBkv1s5yo8
Ly1jtzo0QpcH3eHTi+HT7MF8357Ly8d21ONJ5MvyMZ0XN3QeMKZzLifr2uIOXT0C
ev/xopG54fvXEjKyE+1yIP6NDEF7+cX91hPpfZIwOZ3AMekR/IZ/5bQrXaC48aBV
KAUu0gjhbu2kYD66EAAJYxP7b8hofQUAV8PLQeBIeMB+OI85DfyBWJL1+YYzLSwH
Ay3W5LBGRrOGHGhEMHESiJyaMYPeMD/SNNY+SFtwlsRLqQrFPkPxpwQrvWaF/Y15
7JzZx2Wgqimn9ow3UAlvX3cIAzkC2UbLT7psAiEA2x1E5ghNKRFgoUSVMBWYx0gM
bEL1jYZPKQA2uwxiqClgwV8mf9FO19eaRWTZoTD56B25ifd6HyhKTGHN1jsuSZF4
FDuklDdQ9HVaBdEonLV4FERPGLwE0RpucBZ1/UHGHWwodEhm//JAlDXaEYkM7x0c
q7d8nlJj2diMPLYu2SeL5WRPARkspJ5vDWMkwR6uVgKe8qCzduh/uW5p0Hi1PahA
+4FKLINaX/4=
=WrCA
-----END PGP SIGNATURE-----