[Debian-med-packaging] Bug#1102835: libtfbs-perl: add perl-xs-dev to Build-Depends

Étienne Mollier emollier at debian.org
Thu Sep 11 21:21:02 BST 2025


Hi Helmut,

helmut at subdivi.de, on 2025-04-12:
> please add "perl-xs-dev" to Build-Depends. The package builds a Perl extension
> module. The perl-xs-dev virtual package ensures that the functionality for
> building Perl extension modules is available. For the time being, this may work
> as is, but packages lacking this dependency are known to fail to cross build.

> There also is an effort[1] to drop libcrypt-dev from the build-essential
> package set. This will not happen during the trixie freeze. Once libcrypt-dev
> is no longer build-essential, this package will fail to build from source as
> Perl's extension module header includes crypt.h. This is expected to happen
> some months into the forky cycle. Please add this dependency.

Thanks for the hints, I intend to close the bug with the
following change, to get a couple of steps closer to
cross-buildability, with relation to perl-xs-dev, and anticipate
the drop of libcrypt-dev from the essential set:

	--- a/debian/control
	+++ b/debian/control
	@@ -7,11 +7,13 @@ Section: perl
	 Priority: optional
	 Build-Depends: debhelper-compat (= 13),
	                dh-sequence-pdl,
	-               perl,
	+               perl:native,
	+               perl-xs-dev,
	                pdl (>= 1:2.016),
	+               libcrypt-dev,
	                bioperl,
	-               libwww-perl,
	-               libdbi-perl
	+               libwww-perl <!nocheck>,
	+               libdbi-perl <!nocheck>
	 Standards-Version: 4.7.0
	 Vcs-Browser: https://salsa.debian.org/med-team/libtfbs-perl
	 Vcs-Git: https://salsa.debian.org/med-team/libtfbs-perl.git

But for the sake of completeness, I also point out that there
will be some work involved on the pdl front to actually get
libtfbs-perl actually cross-buildable:

	$ sbuild --host arm64
	[…]
	 sbuild-build-depends-main-dummy:arm64 : Depends: dh-sequence-pdl:arm64
	                                         Depends: pdl:arm64 (>= 1:2.016) but it is not going to be installed
	                                         Depends: bioperl:arm64 but it is not installable
	E: Unable to correct problems, you have held broken packages.
	E: The following information from --solver 3.0 may provide additional context:
	   Unable to satisfy dependencies. Reached two conflicting decisions:
	   1. pdl:arm64 Depends perlapi-5.40.1:arm64
	      but none of the choices are installable:
	      - perl-base:arm64=5.40.1-6 is not selected for install because:
	        1. perl-base:amd64 is selected for install
	        2. perl-base:amd64 Conflicts perl-base:arm64
	   2. pdl:arm64 is selected for install because:
	      1. sbuild-build-depends-main-dummy:arm64=0.invalid.0 is selected for install
	      2. sbuild-build-depends-main-dummy:arm64 Depends pdl:arm64 (>= 1:2.016)

I take the present bug as a simple request to complete the build
dependency set, not to actually achieve cross-buildability just
yet (although I did try to take a step further).

Anyways, have a good evening,  :)
-- 
  .''`.  Étienne Mollier <emollier at debian.org>
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/2, please excuse my verbosity
   `-    on air: Seventh Dimension - When Shadows Call
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20250911/57da1552/attachment.sig>


More information about the Debian-med-packaging mailing list