Subject: | Mojolicious-Plugin-RenderFile-0.09.tar.gz cannot be extracted on some freebsd9 systems |
The tar/pax on FreeBSD 9 refuses to extract the Mojolicious-Plugin-RenderFile-0.09.tar.gz if the current locale is not a UTF-8 one:
$ env LC_ALL=C tar tfvz ~cpansand/.cpan/sources/authors/id/K/KO/KOORCHIK/Mojolicious-Plugin-RenderFile-0.09.tar.gz
...
tar: Pathname in pax header can't be converted to current locale.
-rw-r--r-- 2 koorchik staff 66 May 16 2014 Mojolicious-Plugin-RenderFile-0.09/t/\346\274\242\345\255\227.txt
...
tar: Error exit delayed from previous errors.
Same with LC_ALL=de_DE.ISO8859-1. It works if I set LC_ALL=de_DE.UTF-8.
This means that it's not possible to install the module out of the box using the CPAN shell:
...
CPAN: Digest::SHA loaded ok (v5.95)
Checksum for /home/cpansand/.cpan/sources/authors/id/K/KO/KOORCHIK/Mojolicious-Plugin-RenderFile-0.09.tar.gz ok
tar: Pathname in pax header can't be converted to current locale.
tar: Error exit delayed from previous errors.
Uncompressed /home/cpansand/.cpan/sources/authors/id/K/KO/KOORCHIK/Mojolicious-Plugin-RenderFile-0.09.tar.gz successfully
Using Tar:/usr/bin/tar xf "Mojolicious-Plugin-RenderFile-0.09.tar":
tar: Pathname in pax header can't be converted to current locale.
tar: Error exit delayed from previous errors.
Couldn't untar Mojolicious-Plugin-RenderFile-0.09.tar: child exited with value 1
CPAN: File::Temp loaded ok (v0.2304)
KOORCHIK/Mojolicious-Plugin-RenderFile-0.09.tar.gz
Had problems unarchiving. Please build manually
...
Maybe it would be more portable to not include the problematic file into the tarball, but create it during "make test".