Upgrade java/icedtea-web from 1.2_2 -> 1.3 fails: "tar: Pathname in pax header can't be converted to current locale"

Kimmo Paasiala kpaasial at gmail.com
Sun Sep 9 13:44:10 UTC 2012


On Sun, Sep 9, 2012 at 3:33 PM, David Wolfskill <david at catwhisker.org> wrote:
> On Sat, Sep 08, 2012 at 07:00:24PM +0300, Kimmo Paasiala wrote:
>> ...
>> I can extract the tar file on 9-STABLE, my locale settings are the
>> defaults for root:
>>
>> # locale
>> LANG=
>> LC_CTYPE="C"
>> LC_COLLATE="C"
>> LC_TIME="C"
>> LC_NUMERIC="C"
>> LC_MONETARY="C"
>> LC_MESSAGES="C"
>> LC_ALL=
>>
>> Try unsetting LANG and LC_ALL.
>> ....
>
> I just tried a further experiment, while running head (@r240235): I
> issued
>
>         tar tvf /usr/ports/distfiles/icedtea-web-1.3.tar.gz
>
> The error messages are worded slightly differently:
>
> g1-227(10.0-C)[4] tar -tvf /usr/ports/distfiles/icedtea-web-1.3.tar.gz
> drwxrwxr-x  0 dbhole dbhole      0 Aug 27 12:37 icedtea-web-1.3/
> ...
> drwxrwxr-x  0 dbhole dbhole      0 Aug 27 12:36 icedtea-web-1.3/tests/reproducers/signed/Spaces can be everywhere signed/resources/
> tar: Pathname can't be converted from UTF-8 to current locale.
> -rw-rw-r--  0 dbhole dbhole   2421 Aug 27 12:36 icedtea-web-1.3/tests/reproducers/signed/Spaces can be everywhere signed/resources/NotOnly spaces can kill \304\233\305\241\304\215\305\231\305\276 too signed.jnlp
> ...
> drwxrwxr-x  0 dbhole dbhole      0 Aug 27 12:36 icedtea-web-1.3/tests/reproducers/simple/Spaces can be everywhere/resources/
> tar: Pathname can't be converted from UTF-8 to current locale.
> -rw-rw-r--  0 dbhole dbhole   2388 Aug 27 12:36 icedtea-web-1.3/tests/reproducers/simple/Spaces can be everywhere/resources/NotOnly spaces can kill \304\233\305\241\304\215\305\231\305\276 too.jnlp
> ...
> -rw-rw-r--  0 dbhole dbhole   5756 Aug 27 12:36 icedtea-web-1.3/README
> tar: Error exit delayed from previous errors.
> g1-227(10.0-C)[5]
>
>
> So the issue appears to be how to handle UTF-8 pathnames on the
> file system in question.
>
> I'm using a fairly plain UFS with soft updates.
>
> Peace,
> david
> --
> David H. Wolfskill                              david at catwhisker.org
> Depriving a girl or boy of an opportunity for education is evil.
>
> See http://www.catwhisker.org/~david/publickey.gpg for my public key.

See if the the file with a UTF-8 filename gets extracted despite the
error message.

I have three different FreeBSD 9 system, one is ZFS and other two are
UFS. I can do 'make extract patch' on all of them for java/icedtea-web
without an error. They all report the same error though if I manually
view or extract the tar file, the files extract fine despite the error
message.


More information about the freebsd-ports mailing list