#1151888 vcftools: Possible attempt to escape whitespace in qw() list with Perl 5.44

Package:
vcftools
Source:
vcftools
Description:
Collection of tools to work with VCF files
Submitter:
Niko Tyni
Date:
2026-10-26 13:41:02 UTC
Severity:
normal
Tags:
#1151888#5
Date:
2026-10-24 08:53:34 UTC
From:
To:
Package: vcftools
Version: 0.1.17-1
Severity: important
User: debian-perl@lists.debian.org
Usertags: perl-5.44-transition

The Vcf module in this package warns on usage with Perl 5.44 (currently in experimental.)

  $ perl -we 'use Vcf'
  Possible attempt to escape whitespace in qw() list at /usr/share/perl5/Vcf.pm line 2844.

The warning causes a debci regression, which is a blocker for a Perl 5.44
transition. There's an example debci log at

https://ci.debian.net/packages/v/vcftools/unstable/amd64/76870206/

If you want to test changes against Perl 5.44 in experimental and run
into uninstallability problems, there is a test repository of rebuilt
Debian sid packages for amd64 available at <https://perl.debian.net/>.

#1151888#10
Date:
2026-10-24 09:00:51 UTC
From:
To:
Hi,

I would love to help the Perl transistion.  It would help me a lot if
you could provide a patch - even pushing directly to Debian Med
repository + team upload (Debian Med team shares the same open
development model as Perl team) would be fine if this saves your time.

Kind regards
    Andreas.

Am Sat, Oct 24, 2026 at 11:53:34AM +0300 schrieb Niko Tyni:

#1151888#17
Date:
2026-10-24 11:03:11 UTC
From:
To:
Hi Andreas!

The following patch should do the trick to get rid of the above
warning with perl 5.44:
--- a/src/perl/Vcf.pm +++ b/src/perl/Vcf.pm @@ -2841,7 +2841,7 @@ sub new regex_gtsep => qr{[\\|/]}, regex_gt => qr{^(\.|\d+)([\\|/]?)(\.?|\d*)$}, regex_gt2 => qr{^(\.|[0-9ACGTNIDacgtn]+)([\\|/]?)}, # . 0/1 0|1 A/A A|A D4/IACGT - gt_sep => [qw(\ | /)], + gt_sep => [qw(\\ | /)], }; for my $key (keys %{$$self{_defaults}}) Greetings Roland
#1151888#20
Date:
2026-10-26 13:38:17 UTC
From:
To:
Hello,

Bug #1151888 in vcftools 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/vcftools/-/commit/3e2177b106299f5a17c7b9c3ab0b0a30f04ad9fe

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1151888