Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2012 16:44:08 +0300
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        David Wolfskill <david@catwhisker.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Upgrade java/icedtea-web from 1.2_2 -> 1.3 fails: "tar: Pathname in pax header can't be converted to current locale"
Message-ID:  <CA%2B7WWScnorriTzwadarOBx=XNXner5oKOLr=NqXsebqgL%2BVeHg@mail.gmail.com>
In-Reply-To: <20120909123301.GZ1486@albert.catwhisker.org>
References:  <20120908124257.GP1486@albert.catwhisker.org> <20120908155220.GS1486@albert.catwhisker.org> <CA%2B7WWScAsW=Nxb0xbkOfqfq5p=md=bt-o_gys%2BPX%2Bi%2BqFxuzLA@mail.gmail.com> <20120909123301.GZ1486@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 9, 2012 at 3:33 PM, David Wolfskill <david@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWScnorriTzwadarOBx=XNXner5oKOLr=NqXsebqgL%2BVeHg>