Re: some permissions failures with Archive::Tar::Wrapper

[email protected] (Alceu Rodrigues de Freitas Junior via cpan-testers-discuss)
Newsgroups perl.cpan.testers.discuss
Message-ID <[email protected]>
Em 08/05/2024 14:07, Nigel Horne escreveu:
>
> From the developer’s perspective, it is possible to use Github Actions 
> to verify your code works on Alpine Linux before publishing it to CPAN.
>
> See, for example, 
> https://github.com/nigelhorne/CGI-Info/blob/master/.github/workflows/alpine.yml
>
It is a good idea, in terms of providing regression testing.

The latest release confirmed that Alpine is using Busybox's tar:

http://www.cpantesters.org/cpan/report/bac9a5c4-0db8-11ef-a145-b5ec9c17fb5a

PERL_DL_NONLAZY=1 "/home/cpan/bin/perl/bin/perl5.39.11" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Is GNU tar? 0
# Is BSD tar? 0
# Version information: tar (busybox) 1.36.1
# tar error:

#   Failed test 'testing file permissions'
#   at t/001Basic.t line 131.
#          got: '420'
#     expected: '436'
# Looks like you failed 1 test of 24.
t/001Basic.t .......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/24 subtests
	(less 2 skipped subtests: 21 okay)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.