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

David Wolfskill david at catwhisker.org
Sun Sep 9 12:33:08 UTC 2012


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120909/e3b09245/attachment.pgp


More information about the freebsd-ports mailing list