Source: perlimports
Version: 0.000056-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20250429 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[2]: Entering directory '/build/reproducible-path/perlimports-0.000056'
> PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" 
> "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 
> 'blib/arch')" t/*.t t/ExportInspector/*.t t/cpan-modules/*.t
> # 
> # Versions for all modules listed in MYMETA.json (including optional ones):
> # 
> # === Configure Requires ===
> # 
> #     Module                 Want     Have
> #     ------------------- ------- --------
> #     ExtUtils::MakeMaker     any     7.70
> #     perl                v5.10.0 5.040001
> # 
> # === Build Requires ===
> # 
> #     Module              Want Have
> #     ------------------- ---- ----
> #     ExtUtils::MakeMaker  any 7.70
> # 
> # === Test Requires ===
> # 
> #     Module                    Want     Have
> #     ---------------------- ------- --------
> #     ExtUtils::MakeMaker        any     7.70
> #     File::Spec                 any     3.91
> #     File::pushd                any    1.016
> #     Log::Dispatch::Array       any    1.005
> #     PPI::Dumper                any    1.281
> #     Sub::Exporter              any    0.990
> #     Test::Differences          any     0.71
> #     Test::Fatal                any    0.017
> #     Test::More                 any 1.302199
> #     Test::Needs                any 0.002010
> #     Test::RequiresInternet     any     0.05
> #     Test::Script              1.29     1.29
> #     Test::Warnings             any    0.038
> #     lib                        any     0.65
> #     perl                   v5.18.0 5.040001
> # 
> # === Test Recommends ===
> # 
> #     Module         Want     Have
> #     ---------- -------- --------
> #     CPAN::Meta 2.120900 2.150010
> # 
> # === Runtime Requires ===
> # 
> #     Module                           Want     Have
> #     ---------------------------- -------- --------
> #     Capture::Tiny                     any     0.50
> #     Class::Inspector                 1.36     1.36
> #     Cpanel::JSON::XS                  any     4.39
> #     Data::Dumper                      any    2.189
> #     Data::UUID                        any   1.0604
> #     File::Basename                    any     2.86
> #     File::XDG                        1.01     1.03
> #     Getopt::Long::Descriptive         any    0.116
> #     List::Util                        any     1.63
> #     Log::Dispatch                    2.70     2.71
> #     Memoize                           any     1.16
> #     Module::Runtime                   any    0.018
> #     Moo                               any 2.005005
> #     Moo::Role                         any 2.005005
> #     MooX::StrictConstructor           any    0.011
> #     PPI                             1.276    1.281
> #     PPI::Document                     any    1.281
> #     PPIx::Utils::Classification       any    0.003
> #     Path::Iterator::Rule              any    1.015
> #     Path::Tiny                        any    0.148
> #     Perl::Tidy                   20220613 20250105
> #     Pod::Usage                        any     2.03
> #     Ref::Util                         any    0.204
> #     Scalar::Util                      any     1.63
> #     Sereal::Decoder                   any    5.004
> #     Sereal::Encoder                   any    5.004
> #     Sub::HandlesVia                   any 0.050002
> #     Symbol::Get                      0.10     0.12
> #     TOML::Tiny                       0.16     0.20
> #     Text::Diff                        any     1.45
> #     Text::SimpleTable::AutoWidth      any     0.09
> #     Try::Tiny                         any     0.32
> #     Types::Standard                   any 2.004000
> #     feature                           any     1.89
> #     perl                         5.018000 5.040001
> #     strict                            any     1.13
> #     utf8                              any     1.25
> #     warnings                          any     1.70
> # 
> t/00-report-prereqs.t ............ 
> 1..1
> ok 1 - Reported prereqs
> ok
> t/after.t ........................ 
> ok 1 - Moose::after() is not assigned to List::AllUtils
> 1..1
> ok
> t/annotations.t .................. 
> # Subtest: mixed
>     ok 1 - strict
>     ok 2 - pragma not ignored
>     ok 3 - warnings
>     ok 4 - pragma not ignored
>     ok 5 - Carp
>     ok 6 - Carp is ignored
>     ok 7 - POSIX
>     ok 8 - POSIX is not ignored
>     ok 9 - Cwd
>     ok 10 - Cwd is ignored
>     ok 11 - Digest
>     ok 12 - Digest is ignored
>     ok 13 - Encode
>     ok 14 - Encode is not ignored
>     1..14
> ok 1 - mixed
> # Subtest: all
>     ok 1 - use strict; ignored
>     ok 2 - use warnings; ignored
>     ok 3 - use Carp; ignored
>     ok 4 - use Cwd; ignored
>     ok 5 - use Digest; ignored
>     ok 6 - use Encode; ignored
>     ok 7 - use POSIX (); ignored
>     1..7
> ok 2 - all
> # Subtest: via Document.pm
>     ok 1 - tidied_document
>     1..1
> ok 3 - via Document.pm
> 1..3
> ok
> t/args-in-import.t ............... 
> ok 1 - original_imports
> 1..1
> ok
> t/builtin.t ...................... 
> ok 1 - Perl builtin does not get added to POSIX imports
> 1..1
> ok
> t/carp.t ......................... 
> # Subtest: verbose
>     ok 1 - verbose is preserved
>     1..1
> ok 1 - verbose
> # Subtest: no verbose
>     ok 1 - verbose is not inserted
>     1..1
> ok 2 - no verbose
> # Subtest: no imports
>     ok 1 - original imports
>     ok 2 - verbose is not inserted
>     ok 3 - original imports updated
>     1..3
> ok 3 - no imports
> 1..3
> ok
> t/cast-in-regex.t ................ 
> ok 1 - vars
> ok 2 - Did not mistake \A for A() provided by Lingua::EN::Inflect
> 1..2
> ok
> t/cast.t ......................... 
> ok 1 - interpolated func found
> 1..1
> ok
> t/cli-args.t ..................... 
> # Subtest: almost all of the args
>     ok 1 - no exception on args
>     ok 2 - cache
>     ok 3 - ignore
>     ok 4 - ignore_pattern
>     ok 5 - libs
>     ok 6 - log_filename
>     ok 7 - log_level
>     ok 8 - never_export
>     ok 9 - padding
>     ok 10 - preserve_duplicates
>     ok 11 - tidy_whitespace
>     1..11
> ok 1 - almost all of the args
> 1..1
> ok
> t/cli.t .......................... 
> # Subtest: bad path to config file
>     ok 1 - _config_file builder is lazy
>     ok 2 - not found
>     1..2
> ok 1 - bad path to config file
> # Subtest: no config files
>     ok 1 - prints version
>     1..1
> ok 2 - no config files
> # Subtest: no local config file
>     ok 1 - clean exit code
>     ok 2 - file created
>     ok 3 - config file found
>     ok 4 - perlimports.toml already exists
>     ok 5 - non-zero exit code
>     1..5
> ok 3 - no local config file
> # Subtest: help
>     ok 1 - prints help
>     1..1
> ok 4 - help
> # Subtest: verbose help
>     ok 1 - prints help
>     1..1
> ok 5 - verbose help
> # Subtest: filter_paths
>     ok 1
>     1..1
> ok 6 - filter_paths
> # Subtest: --filename
>     ok 1 - parses filename
>     1..1
> ok 7 - --filename
> # Subtest: invalid --filename
>     ok 1 - no STDOUT
>     ok 2 - STDERR contains appropriate error message
>     ok 3 - exit code is error
>     1..3
> ok 8 - invalid --filename
> # Subtest: --lint success
>     ok 1 - success message on STDERR
>     ok 2 - no STDOUT
>     ok 3 - exit code is success
>     1..3
> ok 9 - --lint success
> # Subtest: --lint --json success
>     ok 1 - success message on STDERR
>     ok 2 - no STDOUT
>     ok 3 - exit code is success
>     1..3
> ok 10 - --lint --json success
> # Subtest: --lint failure import args
>     ok 1 - no STDOUT
>     ok 2 - STDERR
>     ok 3 - exit code is error
>     1..3
> ok 11 - --lint failure import args
> # Subtest: --lint failure unused import
>     ok 1 - no STDOUT
>     ok 2 - STDERR
>     ok 3 - exit code is error
>     1..3
> ok 12 - --lint failure unused import
> # Subtest: --lint failure duplicate import
>     ok 1 - no STDOUT
>     ok 2 - STDERR
>     ok 3 - exit code is error
>     1..3
> ok 13 - --lint failure duplicate import
> # Subtest: --lint --json failure duplicate import
>     ok 1 - no STDOUT
>     ok 2 - lint failure as JSON
>     ok 3 - exit code is error
>     1..3
> ok 14 - --lint --json failure duplicate import
> # Subtest: --log-filename
>     ok 1 - parses filename
>     ok 2 - something was logged to file
>     1..2
> ok 15 - --log-filename
> # Subtest: no filename
>     ok 1 - filename missing
>     1..1
> ok 16 - no filename
> # Subtest: --json without --lint
>     ok 1 - meaningless --json flag
>     1..1
> ok 17 - --json without --lint
> # Subtest: --lint with -i
>     ok 1 - trying to edit and lint at once
>     1..1
> ok 18 - --lint with -i
> # Subtest: --ignore-modules
>     ok 1 - stdout
>     1..1
> ok 19 - --ignore-modules
> # Subtest: --ignore-modules-pattern
>     ok 1 - stdout
>     1..1
> ok 20 - --ignore-modules-pattern
> # Subtest: --never-export-modules
>     ok 1 - stdout
>     1..1
> ok 21 - --never-export-modules
> # Subtest: --no-padding
>     ok 1 - no STDERR
>     ok 2 - stdout
>     ok 3 - no STDERR
>     1..3
> ok 22 - --no-padding
> # Subtest: --stdout
>     ok 1 - no STDERR
>     ok 2
>     1..2
> ok 23 - --stdout
> # Subtest: range without end
>     ok 1 - no STDOUT
>     ok 2
>     1..2
> ok 24 - range without end
> # Subtest: range without begin
>     ok 1 - no STDOUT
>     ok 2
>     1..2
> ok 25 - range without begin
> # Subtest: range without --read-stdin
>     ok 1 - no STDOUT
>     ok 2
>     1..2
> ok 26 - range without --read-stdin
> # Subtest: range correct
>     ok 1 - no STDERR
>     ok 2 - range returned on STDOUT
>     1..2
> ok 27 - range correct
> # Subtest: entire document range
>     ok 1 - no STDERR
>     ok 2 - range returned on STDOUT
>     1..2
> ok 28 - entire document range
> # Subtest: STDIN without document range
>     ok 1 - no STDERR
>     ok 2 - range returned on STDOUT
>     1..2
> ok 29 - STDIN without document range
> 1..29
> ok
> t/config-in-import.t ............. 
> ok 1 - config options in import preserved
> 1..1
> ok
> t/Config.t ....................... 
> ok 1 - create_config
> ok 2 - default libs
> ok 3 - file already exists
> # Subtest: defaults
>     ok 1 - no cache
>     ok 2 - empty ignore
>     ok 3 - empty ignore_pattern
>     ok 4 - empty libs
>     ok 5 - empty log_filename
>     ok 6 - log_level is error
>     ok 7 - empty never_export
>     ok 8 - padding on
>     ok 9 - preserve_duplicates on
>     ok 10 - preserve_unused on
>     ok 11 - tidy_whitespace on
>     1..11
> ok 4 - defaults
> 1..4
> ok
> t/cpan-modules/pithub.t .......... 
> ok 1 - removes implicit export for Moo OO class
> 1..1
> ok
> t/cpan-modules/test2-v0.t ........ 
> # Seeded srand with seed '20250429' from local date.
> ok 1 - is not OO class
> 1..1
> ok
> t/datetime.t ..................... 
> ok 1 - DateTime does not import
> 1..1
> ok
> t/do-block.t ..................... 
> ok 1 - noop
> ok 2 - formatted_ppi_statement
> 1..2
> ok
> t/Document.t ..................... 
> ok 1 - Carp
> ok 2 - Data::Dumper
> ok 3 - POSIX
> 1..3
> ok
> t/dump-perl-exports.t ............ 
> ok 1 - Script script/dump-perl-exports compiles
> # Subtest: Moose
>     ok 1 - Script script/dump-perl-exports runs
>     ok 2 - no errors
>     1..2
> ok 2 - Moose
> # Subtest: Moo
>     ok 1 - Script script/dump-perl-exports runs
>     ok 2 - no errors
>     1..2
> ok 3 - Moo
> # Subtest: implied --module
>     ok 1 - Script script/dump-perl-exports runs
>     ok 2 - no errors
>     1..2
> ok 4 - implied --module
> # Subtest: help
>     ok 1 - Script script/dump-perl-exports runs
>     ok 2 - no errors
>     1..2
> ok 5 - help
> # Subtest: libs
>     ok 1 - Script script/dump-perl-exports runs
>     ok 2 - no errors
>     1..2
> ok 6 - libs
> # Subtest: log level
>     ok 1 - Script script/dump-perl-exports runs
>     ok 2 - no errors
>     1..2
> ok 7 - log level
> # Subtest: verbose help
>     ok 1 - Script script/dump-perl-exports runs
>     ok 2 - no errors
>     1..2
> ok 8 - verbose help
> # Subtest: version
>     ok 1 - Script script/dump-perl-exports runs
>     ok 2 - no errors
>     1..2
> ok 9 - version
> # Subtest: Local::ViaExporter
>     ok 1 - Script script/dump-perl-exports runs
>     ok 2 - no errors
>     1..2
> ok 10 - Local::ViaExporter
> # Subtest: Not Found
>     ok 1 - Script script/dump-perl-exports runs
>     ok 2 - error when module not found
>     1..2
> ok 11 - Not Found
> 1..11
> ok
> t/dupes.t ........................ 
> # Subtest: preserve duplicates
>     ok 1 - duplicate use statement removed
>     1..1
> ok 1 - preserve duplicates
> # Subtest: strip duplicates
>     ok 1 - duplicate use statement removed
>     1..1
> ok 2 - strip duplicates
> 1..2
> ok
> t/english.t ...................... 
> ok 1 - -no-match-vars is preserved
> 1..1
> ok
> t/explodes.t ..................... 
> ok 1 - modules which throw exceptions are ignored
> ok 2 - _is_ignored
> 1..2
> ok
> t/export-tags.t .................. 
> ok 1 - export tags converted to symbols
> 1..1
> ok
> t/exported-variables.t ........... 
> ok 1 - some _explicit_exports
> ok 2 - _is_ignored
> ok 3 - formatted_ppi_statement
> 1..3
> ok
> t/ExportInspector/load.t ......... 
> # Subtest: Local::MyOwnMoose
>     ok 1 - explicit exports
>     ok 2 - is OO class
>     ok 3 - class_isa
>     ok 4 - class with imported Moose
>     1..4
> ok 1 - Local::MyOwnMoose
> # Subtest: Test::Most
>     ok 1 - found export
>     ok 2 - found explicit_exports
>     1..2
> ok 2 - Test::Most
> # Subtest: List::Util
>     ok 1 - no implicit exports
>     ok 2 - found explicit_exports
>     1..2
> ok 3 - List::Util
> # Subtest: Local::UsesMoose
>     ok 1 - is oo class
>     ok 2 - Not a Moose class
>     ok 3 - uses Moose
>     ok 4 - ISA Moose::Object
>     1..4
> ok 4 - Local::UsesMoose
> # Subtest: Local::UsesMoo
>     ok 1 - is oo class
>     ok 2 - Not a Moose class
>     ok 3 - ISA Moo::Object
>     1..3
> ok 5 - Local::UsesMoo
> # Subtest: IO::Socket
>     ok 1 - Not a Moose class
>     ok 2 - ISA Exporter
>     ok 3 - at_export
>     ok 4 - at_export_ok
>     ok 5 - at_export_fail
>     ok 6 - at_export_tags
>     ok 7 - no implicit_exports
>     ok 8 - explicit_exports
>     1..8
> ok 6 - IO::Socket
> # Subtest: Local::ViaSubExporter
>     ok 1 - Not a Moose class
>     ok 2 - no ISA
>     ok 3 - at_export
>     ok 4 - no export_ok
>     ok 5 - no export_fail
>     ok 6 - no export_tags
>     ok 7 - no implicit_exports
>     ok 8 - has some explicit exports
>     1..8
> ok 7 - Local::ViaSubExporter
> # Subtest: IO::Socket::INET
>     ok 1 - Not a Moose class
>     ok 2 - ISA IO::Socket
>     ok 3 - at_export
>     ok 4 - at_export_ok
>     ok 5 - at_export_fail
>     ok 6 - at_export_tags
>     ok 7 - no implicit_exports
>     1..7
> ok 8 - IO::Socket::INET
> # Subtest: Local::Explodes
>     ok 1 - has_fatal_error
>     1..1
> ok 9 - Local::Explodes
> ok 10 - no (unexpected) warnings (via done_testing)
> 1..10
> ok
> t/ExportInspector/SubExporter.t .. skipped: Need MetaCPAN::Moose
> t/find-bin.t ..................... 
> ok 1 - module_name
> ok 2 - no longer ignored
> ok 3 - found import
> ok 4 - formatted_ppi_statement
> ok 5 - fully qualified symbol name interpolated into quotes detected
> 1..5
> ok
> t/fully-qualified.t .............. 
> ok 1 - find List::Util
> ok 2 - cannot find Encode
> ok 3 - find JSON::PP
> ok 4 - find HTTP::Tiny
> ok 5 - used modules not removed
> 1..5
> ok
> t/func-in-use.t .................. 
> # Subtest: catdir
>     ok 1 - func in use statement is detected
>     1..1
> ok 1 - catdir
> # Subtest: Mojo::File
>     ok 1 - func in use is recognized
>     1..1
> ok 2 - Mojo::File
> 1..2
> ok
> t/func-in-var.t .................. 
> ok 1 - func in hash key found
> 1..1
> ok
> t/geo-ip.t ....................... 
> ok 1 - _imports
> ok 2 - formatted_ppi_statement
> 1..2
> ok
> t/hash-in-regex.t ................ 
> not ok 1 - var found # TODO Cannot find hash var in regex yet
> #   Failed (TODO) test 'var found'
> #   at t/hash-in-regex.t line 23.
> #          got: 'use strict;
> # use warnings;
> # 
> # use Config ();
> # 
> # sub foo {
> #     return $INC{'Foo.pm'} =~ /^\Q$Config{sitelibexp}/;
> # }
> # '
> #     expected: 'use strict;
> # use warnings;
> # 
> # use Config qw( $Config );
> # 
> # sub foo {
> #     return $INC{'Foo.pm'} =~ /^\Q$Config{sitelibexp}/;
> # }
> # '
> 1..1
> ok
> t/hash-key-expression.t .......... 
> ok 1 - recognizes is_info as an imported symbol
> 1..1
> ok
> t/hash-key.t ..................... 
> ok 1 - does not think hash key is a function
> 1..1
> ok
> t/hash-unquoted-key.t ............ 
> ok 1 - recognizes is_info as a word representing a string
> 1..1
> ok
> t/heredoc.t ...................... 
> ok 1 - var in heredoc found
> 1..1
> ok
> t/ignored-modules.t .............. 
> ok 1 - module not ignored
> ok 2 - module ignored
> ok 3 - Geo::IP is an include
> ok 4 - Geo::IP flagged as ignored
> 1..4
> ok
> t/import-error.t ................. 
> ok 1 - exception on module not found
> 1..1
> ok
> t/interpolation.t ................ 
> ok 1 - vars
> 1..1
> ok
> t/is-ignored.t ................... 
> ok 1 - module name
> ok 2 - is_ignored flag set
> ok 3 - Types::Standard is ignored
> 1..3
> ok
> t/locally-defined-sub.t .......... 
> ok 1 - locally defined sub is not ignored
> 1..1
> ok
> t/lookalike-words.t .............. 
> ok 1 - vars
> ok 2 - croak not mistaken for function
> 1..2
> ok
> t/memoize.t ...................... skipped: Need MooseX::Types::UUID, UUID
> t/meta.t ......................... 
> # Seeded srand with seed '20250429' from local date.
> ok 1 - !meta preserved in import
> 1..1
> ok
> t/method.t ....................... 
> ok 1 - is_success method not added to function imports
> 1..1
> ok
> t/missing-semicolon-in-import.t .. 
> ok 1 - broken imports are untouched
> 1..1
> ok
> t/module-with-inner-packages.t ... 
> not ok 1 - inner packages handled # TODO Cannot yet handle inner packages
> #   Failed (TODO) test 'inner packages handled'
> #   at t/module-with-inner-packages.t line 45.
> #          got: '
> # use warnings;
> # 
> # package Local::WithInnerPkg;
> # 
> # use HTTP::Status qw( HTTP_ACCEPTED HTTP_CREATED HTTP_OK );
> # 
> # sub foo {
> #     HTTP_OK();
> # }
> # 1;
> # 
> # package MyInnerPkgOne;
> # 
> # use HTTP::Status qw( HTTP_ACCEPTED HTTP_CREATED HTTP_OK );
> # 
> # sub foo {
> #     HTTP_CREATED();
> # }
> # 1;
> # 
> # package MyInnerPkgTwo;
> # 
> # use HTTP::Status qw( HTTP_ACCEPTED HTTP_CREATED HTTP_OK );
> # 
> # sub foo {
> #     HTTP_ACCEPTED();
> # }
> # 
> # 1;
> # '
> #     expected: 'use strict;
> # use warnings;
> # 
> # package Local::WithInnerPkg;
> # 
> # use HTTP::Status qw( HTTP_OK );
> # 
> # sub foo {
> #     HTTP_OK();
> # }
> # 1;
> # 
> # package MyInnerPkgOne;
> # 
> # use HTTP::Status qw( HTTP_CREATED );
> # 
> # sub foo {
> #     HTTP_CREATED();
> # }
> # 1;
> # 
> # package MyInnerPkgTwo;
> # 
> # use HTTP::Status qw( HTTP_ACCEPTED );
> # 
> # sub foo {
> #     HTTP_ACCEPTED();
> # }
> # 
> # 1;
> # '
> 1..1
> ok
> t/moo.t .......................... 
> # Subtest: Moo
>     ok 1 - document unchanged
>     1..1
> ok 1 - Moo
> # Subtest: Import::Into
>     ok 1 - tidied_document
>     1..1
> ok 2 - Import::Into
> # Subtest: Uses MyOwnMoo
>     ok 1 - tidied_document
>     1..1
> ok 3 - Uses MyOwnMoo
> 1..3
> ok
> t/moose-types.t .................. 
> ok 1 - formatted_ppi_statement
> 1..1
> ok
> t/moose.t ........................ 
> # Subtest: Moose
>     ok 1 - document unchanged
>     1..1
> ok 1 - Moose
> # Subtest: Import::Into
>     ok 1 - tidied_document
>     1..1
> ok 2 - Import::Into
> # Subtest: Uses MyOwnMoose
>     ok 1 - tidied_document
>     1..1
> ok 3 - Uses MyOwnMoose
> 1..3
> ok
> 
> #   Failed test 'imported types found'
> #   at t/moosex-types-moose.t line 17.
> #          got: 'use MooseX::Types::Moose qw( ArrayRef Str );'
> #     expected: 'use MooseX::Types::Moose qw( ArrayRef );'
> # Looks like you failed 1 test of 1.
> t/moosex-types-moose.t ........... 
> not ok 1 - imported types found
> 1..1
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/1 subtests 
> t/nested-quotes.t ................ 
> ok 1 - vars
> ok 2 - function call in nested quotes detected
> 1..2
> ok
> Attempt to call undefined import method with arguments ("new") via package 
> "LWP::UserAgent" (Perhaps you forgot to load the package?) at (eval 439) line 
> 2.
> t/never-exports.t ................ 
> # Subtest: with version
>     ok 1 - _is_ignored
>     ok 2 - formatted_ppi_statement
>     ok 3 - export inspection bypassed
>     ok 4 - _imports
>     ok 5 - no _explicit_exports
>     1..5
> ok 1 - with version
> # Subtest: without version
>     ok 1 - _is_ignored
>     ok 2 - formatted_ppi_statement
>     ok 3 - export inspection bypassed
>     ok 4 - _imports
>     1..4
> ok 2 - without version
> # Subtest: without incorrect import
>     ok 1 - _is_ignored
>     ok 2 - formatted_ppi_statement
>     ok 3 - export inspection bypassed
>     ok 4 - _imports
>     ok 5 - no _explicit_exports
>     1..5
> ok 3 - without incorrect import
> 1..3
> ok
> t/original-imports.t ............. 
> ok 1 - original imports
> 1..1
> ok
> t/padding.t ...................... 
> ok 1 - list is not padded
> 1..1
> ok
> t/perl-imports.t ................. 
> # Subtest: Getopt::Long
>     ok 1 - module_name
>     ok 2 - Found some _explicit_exports
>     ok 3 - isa_test_builder_module
>     ok 4 - _imports
>     ok 5 - formatted_ppi_statement
>     1..5
> ok 1 - Getopt::Long
> # Subtest: Test::More
>     ok 1 - module_name
>     ok 2 - Found some _explicit_exports
>     ok 3 - isa_test_builder_module
>     ok 4 - _imports
>     ok 5 - formatted_ppi_statement
>     1..5
> ok 2 - Test::More
> # Subtest: pragma
>     ok 1 - formatted_ppi_statement
>     1..1
> ok 3 - pragma
> # Subtest: ViaExporter
>     ok 1 - module_name
>     ok 2 - Found some _explicit_exports
>     ok 3 - isa_test_builder_module
>     ok 4 - _imports
>     ok 5 - formatted_ppi_statement
>     1..5
> ok 4 - ViaExporter
> 1..4
> ok
> t/perl.t ......................... 
> ok 1 - perl use statement ignored
> 1..1
> ok
> t/perlimports.t .................. 
> ok 1 - Script script/perlimports compiles
> # Subtest: provide config file
>     ok 1 - Script script/perlimports runs
>     ok 2 - no errors
>     1..2
> ok 2 - provide config file
> # Subtest: config file not found
>     ok 1 - Script script/perlimports fails
>     ok 2 - not found error
>     1..2
> ok 3 - config file not found
> # Subtest: create config file
>     ok 1 - Script script/perlimports runs
>     ok 2 - no errors
>     ok 3 - default libs
>     ok 4 - Script script/perlimports fails
>     ok 5 - error clobbering file
>     1..5
> ok 4 - create config file
> # Subtest: filename
>     ok 1 - Script script/perlimports runs
>     ok 2 - no errors
>     1..2
> ok 5 - filename
> # Subtest: implied --filename
>     ok 1 - Script script/perlimports runs
>     ok 2 - no errors
>     1..2
> ok 6 - implied --filename
> # Subtest: help
>     ok 1 - Script script/perlimports runs
>     ok 2 - no errors
>     1..2
> ok 7 - help
> # Subtest: libs
>     ok 1 - Script script/perlimports runs
>     ok 2 - no errors
>     1..2
> ok 8 - libs
> # Subtest: log level
>     ok 1 - Script script/perlimports runs
>     ok 2 - no errors
>     1..2
> ok 9 - log level
> # Subtest: help
>     ok 1 - Script script/perlimports runs
>     ok 2 - no errors
>     1..2
> ok 10 - help
> # Subtest: tidy_whitespace
>     ok 1 - Script script/perlimports runs
>     ok 2 - no errors
>     ok 3 - whitespace preserved
>     1..3
> ok 11 - tidy_whitespace
> # Subtest: verbose help
>     ok 1 - Script script/perlimports runs
>     ok 2 - no errors
>     1..2
> ok 12 - verbose help
> # Subtest: version
>     ok 1 - Script script/perlimports runs
>     ok 2 - no errors
>     1..2
> ok 13 - version
> # Subtest: Not Found
>     ok 1 - Script script/perlimports fails
>     ok 2 - error when module not found
>     1..2
> ok 14 - Not Found
> 1..14
> ok
> t/pragma.t ....................... 
> ok 1 - found 4 includes
> ok 2 - is not ignored
> ok 3 - formatted_ppi_statement
> ok 4 - no (unexpected) warnings (via done_testing)
> 1..4
> ok
> t/preserve-some-padding.t ........ 
> ok 1 - list is not padded
> 1..1
> ok
> t/preserve-spaces.t .............. 
> # Subtest: tidy_whitespace
>     ok 1 - arbitrary spacing is preserved
>     1..1
> ok 1 - tidy_whitespace
> # Subtest: disable tidy_whitespace
>     ok 1 - arbitrary spacing is preserved
>     1..1
> ok 2 - disable tidy_whitespace
> 1..2
> ok
> t/qualified-bareword.t ........... 
> ok 1 - vars
> ok 2 - qualified bareword detected as module name
> 1..2
> ok
> t/quoted-var.t ................... 
> ok 1 - is not ignored
> ok 2 - var is detected inside of quotes
> 1..2
> ok
> t/re-export-via-sub-exporter.t ... 
> ok 1 - croak detected
> 1..1
> ok
> t/regex-replacement.t ............ skipped: Need IP::Random 1.200230
> t/require.t ...................... 
> # Subtest: replace top level require via snippet
>     ok 1 - is not ignored
>     ok 2 - formatted_ppi_statement
>     1..2
> ok 1 - replace top level require via snippet
> # Subtest: replace top level require from document
>     ok 1 - is not ignored
>     ok 2 - formatted_ppi_statement
>     1..2
> ok 2 - replace top level require from document
> # Subtest: preserve require inside if block
>     ok 1 - is ignored
>     ok 2 - formatted_ppi_statement
>     1..2
> ok 3 - preserve require inside if block
> # Subtest: preserve require inside postfix if defined
>     ok 1 - is ignored
>     ok 2 - formatted_ppi_statement
>     1..2
> ok 4 - preserve require inside postfix if defined
> # Subtest: do not import fully qualified function calls
>     ok 1 - formatted_ppi_statement
>     1..1
> ok 5 - do not import fully qualified function calls
> # Subtest: preserve require inside postfix if eq
>     ok 1 - is ignored
>     ok 2 - formatted_ppi_statement
>     1..2
> ok 6 - preserve require inside postfix if eq
> # Subtest: require rewritten as use
>     ok 1 - is not ignored
>     ok 2 - formatted_ppi_statement
>     1..2
> ok 7 - require rewritten as use
> # Subtest: require Exporter not rewritten
>     ok 1 - statement is unchanged
>     1..1
> ok 8 - require Exporter not rewritten
> 1..8
> ok
> t/respace-include.t .............. 
> ok 1 - spaces before parens are stripped
> ok 2 - spaces before empty parens are stripped
> ok 3 - spaces before versions are not stripped
> 1..3
> ok
> t/Sandbox.t ...................... 
> ok 1 - first pkg
> ok 2 - second pkg
> ok 3 - names are not the same
> # Subtest: Carp
>     ok 1 - no problems with eval
>     1..1
> ok 4 - Carp
> # Subtest: missing module
>     ok 1 - eval failure
>     1..1
> ok 5 - missing module
> # Subtest: local module
>     ok 1 - no eval failure
>     1..1
> ok 6 - local module
> # Subtest: local module with exception
>     ok 1 - eval failure
>     1..1
> ok 7 - local module with exception
> # Subtest: eval in tidied_document
>     ok 1 - does not update import with eval failure
>     1..1
> ok 8 - eval in tidied_document
> 1..8
> ok
> t/script-with-inner-packages.t ... 
> ok 1 - functions with :: prefix found
> 1..1
> ok
> t/signatures.t ................... 
> ok 1 - tidied_document
> 1..1
> ok
> t/skip-all.t ..................... skipped: Test is broken
> t/socket.t ....................... 
> # Subtest: tidy
>     ok 1 - Two modules with the same exports do not get conflated
>     1..1
> ok 1 - tidy
> # Subtest: lint
>     ok 1 - fails linting
>     ok 2 - linting errors logged
>     1..2
> ok 2 - lint
> 1..2
> ok
> t/sort-imports.t ................. 
> ok 1 - sorted
> 1..1
> ok
> t/switches-in-import.t ........... 
> ok 1 - module switches preserved
> 1..1
> ok
> t/symbol-as-method-call.t ........ skipped: Need Object::Tap
> t/symbol-in-export.t ............. 
> ok 1 - imports in exports found
> 1..1
> ok
> t/test-builder.t ................. 
> ok 1 - isa_test_builder
> 1..1
> ok
> t/test-most.t .................... 
> # Subtest: Test::Most
>     ok 1 - tidied document
>     1..1
> ok 1 - Test::Most
> # Subtest: Test::More
>     ok 1 - tidied document
>     1..1
> ok 2 - Test::More
> 1..2
> ok
> t/tie.t .......................... 
> not ok 1 - tie observed # TODO Cannot yet see packages used by tie
> #   Failed (TODO) test 'tie observed'
> #   at t/tie.t line 18.
> #          got: 'use strict;
> # use warnings;
> # 
> # 
> # tie my %hash, 'Tie::SubstrHash', 1, 1, 1;
> # '
> #     expected: 'use strict;
> # use warnings;
> # 
> # use Tie::SubstrHash ();
> # 
> # tie my %hash, 'Tie::SubstrHash', 1, 1, 1;
> # '
> 1..1
> ok
> t/typeglob.t ..................... 
> ok 1 - translates $CWD to *CWD in import
> 1..1
> ok
> t/unnest-quotes.t ................ 
> ok 1 - no errors in logs
> 1..1
> ok
> t/use-and-require.t .............. 
> ok 1 - require not used to find existing imports
> 1..1
> ok
> t/var-in-hash-key.t .............. 
> ok 1 - var in hash key is found
> 1..1
> ok
> t/var-in-regex.t ................. 
> ok 1 - exported var in regex is detected
> 1..1
> ok
> t/variable.t ..................... 
> ok 1 - variable in block is found
> ok 2 - interpolated_symbols
> 1..2
> ok
> t/warning.t ...................... 
> ok 1 - no Mojo warnings
> 1..1
> ok
> t/with-version.t ................. 
> ok 1 - versions preserved
> 1..1
> ok
> 
> Test Summary Report
> -------------------
> t/moosex-types-moose.t         (Wstat: 256 (exited 1) Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> Files=86, Tests=207, 48 wallclock secs ( 0.25 usr  0.08 sys + 42.55 cusr  
> 5.00 csys = 47.88 CPU)
> Result: FAIL
> Failed 1/86 test programs. 1/207 subtests failed.
> make[2]: *** [Makefile:992: test_dynamic] Error 255
> make[2]: Leaving directory '/build/reproducible-path/perlimports-0.000056'
> dh_auto_test: error: make -j8 test TEST_VERBOSE=1 returned exit code 2


The full build log is available from:
http://qa-logs.debian.net/2025/04/29/perlimports_0.000056-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250429;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250429&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

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.

Reply via email to