Bug#1078073: libatteanx-parser-jsonld-perl: FTBFS with Perl 5.40: Changing use VERSION while another use VERSION is in scope is deprecated

Niko Tyni ntyni at debian.org
Tue Aug 6 16:46:37 BST 2024


Package: libatteanx-parser-jsonld-perl
Version: 0.001-4
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.40-transition

This package fails to build from source with Perl 5.40 (currently in
experimental.)

    dh_auto_test
  	make -j2 test TEST_VERBOSE=1
  make[1]: Entering directory '/<<PKGBUILDDIR>>'
  PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/*.t
  Changing use VERSION while another use VERSION is in scope is deprecated, and will become fatal in Perl 5.44 at /<<PKGBUILDDIR>>/blib/lib/AtteanX/Parser/JSONLD.pm line 43.
  
  #   Failed test 'no (unexpected) warnings (via done_testing)'
  #   at t/parser.t line 43.
  # Looks like you failed 1 test of 4.
  t/parser.t .. 
  # Subtest: parser construction and metadata
      ok 1 - An object of class 'AtteanX::Parser::JSONLD' isa 'AtteanX::Parser::JSONLD'
      ok 2 - canonical_media_type
      ok 3 - file_extensions
      1..3
  ok 1 - parser construction and metadata
  # Subtest: empty JSON object
      ok 1
      1..1
  ok 2 - empty JSON object
  # Subtest: simple triple parse with namespaces
      ok 1
      ok 2 - An object of class 'Attean::Triple' does 'Attean::API::Triple'
      ok 3
      1..3
  ok 3 - simple triple parse with namespaces
  not ok 4 - no (unexpected) warnings (via done_testing)
  1..4
  Dubious, test returned 1 (wstat 256, 0x100)
  Failed 1/4 subtests 

Information on the new warning can be found at

  https://metacpan.org/dist/perl/view/pod/perldelta.pod#Restrictions-to-use-VERSION-declarations

A full build log is at

  https://perl.debian.net/rebuild-logs/perl-5.40-throwaway/libatteanx-parser-jsonld-perl_0.001-4/libatteanx-parser-jsonld-perl_0.001-4_amd64-2024-08-06T13:12:17Z.build

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list