kisslinux / repo

KISS Linux - Official Repositories
https://kisslinux.github.io
MIT License
400 stars 100 forks source link

question on perl test failures #335

Closed dkwo closed 2 years ago

dkwo commented 2 years ago

This is more of a question than an issue.

With your config options, do you get any test failure for perl 5.34? (make check) I was packaging it for Void linux, and x86_64-musl was failing

run/locale.t                                                       (Wstat: 0 Tests: 40 Failed: 2)
  Failed tests:  38-39
../lib/locale.t                                                    (Wstat: 0 Tests: 682 Failed: 1)
  Failed test:  450

I wonder whether your config options (or alpine linux patches perhaps) do avoid such failures.

Thanks.

dylanaraps commented 2 years ago

Hello, I am yet to have time to look into this. No need to close this.

dylanaraps commented 2 years ago
Failed 2 tests out of 2525, 99.92% okay.
    ../cpan/Socket/t/getaddrinfo.t
    op/magic.t
cpan/Socket/t/getaddrinfo ........................................ #   Failed test '$err == 0 for host=cpan.perl.org/service=ftp/socktype=STREAM'
#   at t/getaddrinfo.t line 77.
#          got: -8
#     expected: 0
#   Failed test '@res has results'
#   at t/getaddrinfo.t line 79.
# Looks like you failed 2 tests of 31.
FAILED at test 22
  t/op/magic ....................................................... ps: unrecognized option: p
  BusyBox v1.34.0 (2021-09-10 21:26:18 EEST) multi-call binary.                   

  Usage: ps [-o COL1,COL2=HEADER] [-T]                                            

  Show list of processes                                                          

      -o COL1,COL2=HEADER Select columns for display                              
      -T          Show threads                                                    
  FAILED--unexpected output at test 102  
dylanaraps commented 2 years ago

Alpine skip the magic test: https://git.alpinelinux.org/aports/tree/main/perl/skip-test-due-to-busybox-ps.patch

They also skip this test which seems to pass here(?): https://git.alpinelinux.org/aports/tree/main/perl/musl-skip-dst-test.patch

Regarding the other failing test see: https://sourceware.org/bugzilla/show_bug.cgi?id=15726

dkwo commented 2 years ago

Thanks, I was not sure it was appropriate to bother you about this. I found out that (most of) my test errors go away if I use Configure instead of configure, as most distros (including KISS) already do.

dkwo commented 2 years ago

Regarding the other failing test see: https://sourceware.org/bugzilla/show_bug.cgi?id=15726

isn't this about glibc though?

dylanaraps commented 2 years ago

The musl author is in that thread so I assume musl is also affected.