Bug#1093339: libcatmandu-perl: FTBFS: Failed 4/178 test programs. 8/2133 subtests failed.
Santiago Vila
sanvila at debian.org
Fri Jan 17 18:53:36 GMT 2025
Package: src:libcatmandu-perl
Version: 1.2021-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
/usr/bin/perl Build.PL --installdirs vendor --config "optimize=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" --config "ld=x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro"
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Catmandu' version '1.2021'
dh_auto_build
/usr/bin/perl Build
[... snipped ...]
ok 201
ok 202
ok 203 - T::ImportIs->can('is_regex_ref')
ok 204 - T::ImportIs->can('is_maybe_regex_ref')
ok 205
ok 206
ok 207 - T::ImportCheck->can('check_regex_ref')
ok 208 - T::ImportCheck->can('check_maybe_regex_ref')
ok 209
ok 210
ok 211 - no autovivication in is_regex_ref
ok 212 - Catmandu::Util->can('is_glob_ref')
ok 213 - Catmandu::Util->can('is_maybe_glob_ref')
ok 214 - Catmandu::Util->can('check_glob_ref')
ok 215 - Catmandu::Util->can('check_maybe_glob_ref')
ok 216 - T::ImportAll->can('is_glob_ref')
ok 217 - T::ImportAll->can('is_maybe_glob_ref')
ok 218 - T::ImportAll->can('check_glob_ref')
ok 219 - T::ImportAll->can('check_maybe_glob_ref')
ok 220
ok 221
ok 222
ok 223
ok 224 - T::ImportIs->can('is_glob_ref')
ok 225 - T::ImportIs->can('is_maybe_glob_ref')
ok 226
ok 227
ok 228 - T::ImportCheck->can('check_glob_ref')
ok 229 - T::ImportCheck->can('check_maybe_glob_ref')
ok 230
ok 231
ok 232 - no autovivication in is_glob_ref
ok 233 - Catmandu::Util->can('is_value')
ok 234 - Catmandu::Util->can('is_maybe_value')
ok 235 - Catmandu::Util->can('check_value')
ok 236 - Catmandu::Util->can('check_maybe_value')
ok 237 - T::ImportAll->can('is_value')
ok 238 - T::ImportAll->can('is_maybe_value')
ok 239 - T::ImportAll->can('check_value')
ok 240 - T::ImportAll->can('check_maybe_value')
ok 241
ok 242
ok 243
ok 244
ok 245 - T::ImportIs->can('is_value')
ok 246 - T::ImportIs->can('is_maybe_value')
ok 247
ok 248
ok 249 - T::ImportCheck->can('check_value')
ok 250 - T::ImportCheck->can('check_maybe_value')
ok 251
ok 252
ok 253 - no autovivication in is_value
ok 254 - Catmandu::Util->can('is_string')
ok 255 - Catmandu::Util->can('is_maybe_string')
ok 256 - Catmandu::Util->can('check_string')
ok 257 - Catmandu::Util->can('check_maybe_string')
ok 258 - T::ImportAll->can('is_string')
ok 259 - T::ImportAll->can('is_maybe_string')
ok 260 - T::ImportAll->can('check_string')
ok 261 - T::ImportAll->can('check_maybe_string')
ok 262
ok 263
ok 264
ok 265
ok 266 - T::ImportIs->can('is_string')
ok 267 - T::ImportIs->can('is_maybe_string')
ok 268
ok 269
ok 270 - T::ImportCheck->can('check_string')
ok 271 - T::ImportCheck->can('check_maybe_string')
ok 272
ok 273
ok 274 - no autovivication in is_string
ok 275 - Catmandu::Util->can('is_number')
ok 276 - Catmandu::Util->can('is_maybe_number')
ok 277 - Catmandu::Util->can('check_number')
ok 278 - Catmandu::Util->can('check_maybe_number')
ok 279 - T::ImportAll->can('is_number')
ok 280 - T::ImportAll->can('is_maybe_number')
ok 281 - T::ImportAll->can('check_number')
ok 282 - T::ImportAll->can('check_maybe_number')
ok 283
ok 284
ok 285
ok 286
ok 287 - T::ImportIs->can('is_number')
ok 288 - T::ImportIs->can('is_maybe_number')
ok 289
ok 290
ok 291 - T::ImportCheck->can('check_number')
ok 292 - T::ImportCheck->can('check_maybe_number')
ok 293
ok 294
ok 295 - no autovivication in is_number
ok 296 - Catmandu::Util->can('is_integer')
ok 297 - Catmandu::Util->can('is_maybe_integer')
ok 298 - Catmandu::Util->can('check_integer')
ok 299 - Catmandu::Util->can('check_maybe_integer')
ok 300 - T::ImportAll->can('is_integer')
ok 301 - T::ImportAll->can('is_maybe_integer')
ok 302 - T::ImportAll->can('check_integer')
ok 303 - T::ImportAll->can('check_maybe_integer')
ok 304
ok 305
ok 306
ok 307
ok 308 - T::ImportIs->can('is_integer')
ok 309 - T::ImportIs->can('is_maybe_integer')
ok 310
ok 311
ok 312 - T::ImportCheck->can('check_integer')
ok 313 - T::ImportCheck->can('check_maybe_integer')
ok 314
ok 315
ok 316 - no autovivication in is_integer
ok 317 - Catmandu::Util->can('is_natural')
ok 318 - Catmandu::Util->can('is_maybe_natural')
ok 319 - Catmandu::Util->can('check_natural')
ok 320 - Catmandu::Util->can('check_maybe_natural')
ok 321 - T::ImportAll->can('is_natural')
ok 322 - T::ImportAll->can('is_maybe_natural')
ok 323 - T::ImportAll->can('check_natural')
ok 324 - T::ImportAll->can('check_maybe_natural')
ok 325
ok 326
ok 327
ok 328
ok 329 - T::ImportIs->can('is_natural')
ok 330 - T::ImportIs->can('is_maybe_natural')
ok 331
ok 332
ok 333 - T::ImportCheck->can('check_natural')
ok 334 - T::ImportCheck->can('check_maybe_natural')
ok 335
ok 336
ok 337 - no autovivication in is_natural
ok 338 - Catmandu::Util->can('is_positive')
ok 339 - Catmandu::Util->can('is_maybe_positive')
ok 340 - Catmandu::Util->can('check_positive')
ok 341 - Catmandu::Util->can('check_maybe_positive')
ok 342 - T::ImportAll->can('is_positive')
ok 343 - T::ImportAll->can('is_maybe_positive')
ok 344 - T::ImportAll->can('check_positive')
ok 345 - T::ImportAll->can('check_maybe_positive')
ok 346
ok 347
ok 348
ok 349
ok 350 - T::ImportIs->can('is_positive')
ok 351 - T::ImportIs->can('is_maybe_positive')
ok 352
ok 353
ok 354 - T::ImportCheck->can('check_positive')
ok 355 - T::ImportCheck->can('check_maybe_positive')
ok 356
ok 357
ok 358 - no autovivication in is_positive
ok 359
ok 360
ok 361 - Catmandu::Util->can('require_package')
ok 362
ok 363 - T::ImportAll->can('require_package')
ok 364 - T::ImportMisc->can('require_package')
ok 365 - Catmandu::Util->can('use_lib')
ok 366
ok 367 - T::ImportAll->can('use_lib')
ok 368 - T::ImportMisc->can('use_lib')
ok 369 - Catmandu::Util->can('io')
ok 370
ok 371 - T::ImportAll->can('io')
ok 372 - T::ImportIo->can('io')
ok 373 - Catmandu::Util->can('read_file')
ok 374
ok 375 - T::ImportAll->can('read_file')
ok 376 - T::ImportIo->can('read_file')
ok 377 - Catmandu::Util->can('read_yaml')
ok 378
ok 379 - T::ImportAll->can('read_yaml')
ok 380 - T::ImportIo->can('read_yaml')
ok 381 - Catmandu::Util->can('read_json')
ok 382
ok 383 - T::ImportAll->can('read_json')
ok 384 - T::ImportIo->can('read_json')
ok 385 - Catmandu::Util->can('parse_data_path')
ok 386
ok 387 - T::ImportAll->can('parse_data_path')
ok 388 - T::ImportData->can('parse_data_path')
ok 389 - Catmandu::Util->can('get_data')
ok 390
ok 391 - T::ImportAll->can('get_data')
ok 392 - T::ImportData->can('get_data')
ok 393 - Catmandu::Util->can('set_data')
ok 394
ok 395 - T::ImportAll->can('set_data')
ok 396 - T::ImportData->can('set_data')
ok 397 - Catmandu::Util->can('delete_data')
ok 398
ok 399 - T::ImportAll->can('delete_data')
ok 400 - T::ImportData->can('delete_data')
ok 401 - Catmandu::Util->can('data_at')
ok 402
ok 403 - T::ImportAll->can('data_at')
ok 404 - T::ImportData->can('data_at')
ok 405 - Catmandu::Util->can('array_exists')
ok 406
ok 407 - T::ImportAll->can('array_exists')
ok 408 - T::ImportArray->can('array_exists')
ok 409 - Catmandu::Util->can('array_group_by')
ok 410
ok 411 - T::ImportAll->can('array_group_by')
ok 412 - T::ImportArray->can('array_group_by')
ok 413 - Catmandu::Util->can('array_pluck')
ok 414
ok 415 - T::ImportAll->can('array_pluck')
ok 416 - T::ImportArray->can('array_pluck')
ok 417 - Catmandu::Util->can('array_to_sentence')
ok 418
ok 419 - T::ImportAll->can('array_to_sentence')
ok 420 - T::ImportArray->can('array_to_sentence')
ok 421 - Catmandu::Util->can('array_sum')
ok 422
ok 423 - T::ImportAll->can('array_sum')
ok 424 - T::ImportArray->can('array_sum')
ok 425 - Catmandu::Util->can('array_includes')
ok 426
ok 427 - T::ImportAll->can('array_includes')
ok 428 - T::ImportArray->can('array_includes')
ok 429 - Catmandu::Util->can('array_any')
ok 430
ok 431 - T::ImportAll->can('array_any')
ok 432 - T::ImportArray->can('array_any')
ok 433 - Catmandu::Util->can('array_uniq')
ok 434
ok 435 - T::ImportAll->can('array_uniq')
ok 436 - T::ImportArray->can('array_uniq')
ok 437 - Catmandu::Util->can('array_split')
ok 438
ok 439 - T::ImportAll->can('array_split')
ok 440 - T::ImportArray->can('array_split')
ok 441 - Catmandu::Util->can('hash_merge')
ok 442
ok 443 - T::ImportAll->can('hash_merge')
ok 444 - T::ImportHash->can('hash_merge')
ok 445 - Catmandu::Util->can('as_utf8')
ok 446
ok 447 - T::ImportAll->can('as_utf8')
ok 448 - T::ImportString->can('as_utf8')
ok 449 - Catmandu::Util->can('trim')
ok 450
ok 451 - T::ImportAll->can('trim')
ok 452 - T::ImportString->can('trim')
ok 453 - Catmandu::Util->can('capitalize')
ok 454
ok 455 - T::ImportAll->can('capitalize')
ok 456 - T::ImportString->can('capitalize')
ok 457 - Catmandu::Util->can('human_number')
ok 458
ok 459 - T::ImportAll->can('human_number')
ok 460 - T::ImportHuman->can('human_number')
ok 461 - Catmandu::Util->can('human_content_type')
ok 462
ok 463 - T::ImportAll->can('human_content_type')
ok 464 - T::ImportHuman->can('human_content_type')
ok 465 - Catmandu::Util->can('human_byte_size')
ok 466
ok 467 - T::ImportAll->can('human_byte_size')
ok 468 - T::ImportHuman->can('human_byte_size')
ok 469 - Catmandu::Util->can('xml_declaration')
ok 470
ok 471 - T::ImportAll->can('xml_declaration')
ok 472 - T::ImportXML->can('xml_declaration')
ok 473 - Catmandu::Util->can('xml_escape')
ok 474
ok 475 - T::ImportAll->can('xml_escape')
ok 476 - T::ImportXML->can('xml_escape')
ok 477 - io from code_ref read
ok 478 - getline
ok 479 - io from code_ref write
ok 480 - print
ok 481 - io IO::Handle instance
ok 482 - read_file
ok 483 - read_io
ok 484 - write_file
ok 485 - read_file
ok 486 - read_yaml
ok 487 - read_json
ok 488 - join_path
ok 489 - normalize_path
ok 490 - segmented_path
ok 491 - parse_data_path
ok 492 - get_data(foo)
ok 493 - get_data(foo2)
ok 494 - get_data(3)
ok 495 - get_data(1)
ok 496 - get_data($first)
ok 497 - get_data($last)
ok 498 - get_data(*)
ok 499 - set_data 1
ok 500 - set_data 2
ok 501 - set_data 3
ok 502 - set_data 4
ok 503 - set_data 5
ok 504 - set_data 6
ok 505 - set_data 7
ok 506 - set_data 8
ok 507 - set_data 9
ok 508 - set_data 1
ok 509 - set_data 2
ok 510 - set_data 3
ok 511 - set_data 4
ok 512 - set_data 5
ok 513 - set_data 6
ok 514 - delete_data 1
ok 515 - delete_data 2
ok 516 - delete_data 3
ok 517 - delete_data 4
ok 518 - delete_data 5
ok 519 - delete_data 6
ok 520 - delete_data 7
ok 521 - data_at 1
ok 522 - data_at 2
ok 523 - data_at 3
ok 524 - data_at 4
ok 525 - data_at 5
ok 526 - data_at 5
ok 527 - data_at 6
ok 528 - data_at 6
ok 529 - array_exists 1
ok 530 - !array_exists
ok 531 - array_group_by
ok 532 - array_pluck
ok 533 - array_sum
ok 534 - array_includes
ok 535 - !array_includes
ok 536 - array_any
ok 537 - array_any
ok 538 - array_to_sentence
ok 539 - array_to_sentence
ok 540 - array_rest
ok 541 - array_uniq
ok 542 - hash_merge
ok 543 - as_utf8
ok 544 - trim
ok 545 - capitalize
ok 546 - is_same
ok 547 - is_different
ok 548 - check_same
ok 549 - ! check_same
ok 550 - check_different
ok 551 - ! check_different
ok 552 - is_able
ok 553 - ! is_able
ok 554 - ! is_able
ok 555 - check_able
ok 556 - ! check_able
ok 557 - check_maybe_able
ok 558 - ! check_maybe_able
ok 559 - is_instance
ok 560 - ! is_instance
ok 561 - ! is_instance
ok 562 - check_instance
ok 563 - ! check_instance
ok 564 - ! check_maybe_instance
ok 565 - ! check_maybe_instance
ok 566 - human_number
ok 567 - human_byte_size
ok 568 - human_byte_size
ok 569 - human_byte_size
ok 570 - human_byte_size
ok 571 - human_content_type
ok 572 - xml_declaration
ok 573 - xml_escape
1..573
ok
t/Catmandu-Validator-Mock.t ..............
ok 1 - use Catmandu::Validator::Mock;
ok 2 - require Catmandu::Validator::Mock;
ok 3 - all items valid by default
ok 4 - all items invalid if reject is true
ok 5 - default error message
ok 6 - custom error message
1..6
ok
t/Catmandu-Validator-Simple.t ............
ok 1 - use Catmandu::Validator::Simple;
ok 2 - require Catmandu::Validator::Simple;
ok 3 - Catmandu::Validator::Simple->can('validate_data')
ok 4 - threw Regexp ((?^:handler should be a CODE reference))
ok 5 - validate - success
ok 6 - validate - fails
ok 7 - last_errors returns error message
1..7
ok
t/Catmandu-Validator.t ...................
ok 1 - use Catmandu::Validator;
ok 2 - require Catmandu::Validator;
ok 3 - threw Regexp ((?^:missing validate_data))
ok 4 - T::Validator->can('is_valid')
ok 5 - T::Validator->can('validate')
ok 6 - threw Regexp ((?^:Cannot validate data of this type))
ok 7 - validate() - success
ok 8 - validate() - fails
ok 9 - last_errors returns errors
ok 10 - is_valid returns 1
ok 11 - is_valid returns 0
ok 12 - validate, after_callback - success
ok 13 - validate, after_callback - called
ok 14 - valid_count
ok 15 - invalid_count
ok 16 - validate, error_field 1
ok 17 - validate, error_field 2
ok 18 - validate, after_callback - valid
ok 19 - validate, after_callback - invalid
ok 20 - validate (array) - valid records returned
ok 21 - validate - invalid records returned
ok 22 - validate (iterator) - iterator returned
1..22
ok
t/Catmandu.t .............................
ok 1 - use Catmandu;
ok 2 - require Catmandu;
ok 3 - 'logger test' isa 'Log::Any::Proxy'
ok 4 - 'logger test' isa 'Log::Any::Adapter::Test'
ok 5 - debug log
ok 6 - info log
ok 7 - info log
ok 8 - get current path
ok 9 - got default_load_path
ok 10 - got default_load_path 2
ok 11 - load and conf test
ok 12 - default store
ok 13 - default fixer
ok 14 - default importer
ok 15 - default exporter
ok 16 - 'importer test' isa 'Catmandu::Importer::YAML'
ok 17 - 'importer test' isa 'Catmandu::Importer::Mock'
ok 18 - 'exporter test' isa 'Catmandu::Exporter::YAML'
ok 19 - 'exporter test' isa 'Catmandu::Exporter::CSV'
ok 20 - 'store test' isa 'Catmandu::Store::Hash'
ok 21 - 'store test' isa 'Catmandu::Store::Hash'
ok 22 - 'fixer test' isa 'Catmandu::Fix'
ok 23 - 'validator test' isa 'Catmandu::Validator::Mock'
ok 24
ok 25
ok 26 - export_to_string
ok 27 - root
ok 28 - roots
ok 29 - default_importer_package
ok 30 - default_exporter_package
ok 31
ok 32 - reload config
ok 33
ok 34
ok 35
ok 36
1..36
ok
t/author-pod-syntax.t .................... skipped: these tests are for testing by the author
Test Summary Report
-------------------
t/Catmandu-CLI.t (Wstat: 1280 (exited 5) Tests: 17 Failed: 5)
Failed tests: 3-6, 17
Non-zero exit status: 5
t/Catmandu-Cmd-convert.t (Wstat: 65280 (exited 255) Tests: 2 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/Catmandu-Cmd-export.t (Wstat: 65280 (exited 255) Tests: 3 Failed: 1)
Failed test: 3
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/Catmandu-Cmd-import.t (Wstat: 512 (exited 2) Tests: 4 Failed: 2)
Failed tests: 3-4
Non-zero exit status: 2
Files=178, Tests=2133, 38 wallclock secs ( 0.31 usr 0.18 sys + 23.31 cusr 3.97 csys = 27.77 CPU)
Result: FAIL
Failed 4/178 test programs. 8/2133 subtests failed.
dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 255
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202501/
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 could not 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:libcatmandu-perl, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-perl-maintainers
mailing list