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 15:16:21 UTC 2012


On Sun, Sep 9, 2012 at 6:12 PM, David Wolfskill <david at catwhisker.org> wrote:
> On Sun, Sep 09, 2012 at 04:44:08PM +0300, Kimmo Paasiala wrote:
> $...
>> > 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.
>> ...
>> See if the the file with a UTF-8 filename gets extracted despite the
>> error message.
>
> Huh; interesting point.  Yes, it appears that they do:
>
> g1-227(8.3-S)[12] ls -Fs icedtea-web-1.3/tests/reproducers/signed/Spaces\ can\ be\ everywhere\ signed/resources/
> 4 NotOnly spaces can kill ?????????? too signed.jnlp
> 4 Spaces can be everywhere1 signed.jnlp
> 4 Spaces can be everywhere2 signed.jnlp
> 4 SpacesCanBeEverywhere1signed.jnlp
> 4 spaces applet Tests signed.html
> g1-227(8.3-S)[13] ls -Fs icedtea-web-1.3/tests/reproducers/simple/Spaces\ can\ be\ everywhere/resources/
> 4 NotOnly spaces can kill ?????????? too.jnlp
> 4 Spaces can be everywhere1.jnlp
> 4 Spaces can be everywhere2.jnlp
> 4 SpacesCanBeEverywhere1.jnlp
> 4 spaces applet Tests.html
> g1-227(8.3-S)[14]
>
> (The files with names that display as having '?' in their names would be
> the files in question.)
>
>> 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.
>
> Hmmm.....  How do you do that?  :-}  Even trying a simple approach:
>
> g1-227(8.3-S)[1] cd /usr/ports/java/icedtea-web/
> g1-227(8.3-S)[2] sudo make
> Password:
> ===>  License GPLv2 accepted by the user
> ===>  Found saved configuration for icedtea-web-1.2_2
> ===>  Extracting for icedtea-web-1.3
> => SHA256 Checksum OK for icedtea-web-1.3.tar.gz.
>
> IMPORTANT: To build IcedTea-Web 1.3, you have to turn on 'ICEDTEA' option
> for java/openjdk6 (default).  Otherwise, it will neither build nor work.
>
> tar: Pathname in pax header can't be converted to current locale.
> tar: Pathname in pax header can't be converted to current locale.
> tar: Error exit delayed from previous errors.
> *** Error code 1
>
> Stop in /common/ports/java/icedtea-web.
> *** Error code 1
>
> Stop in /common/ports/java/icedtea-web.
> g1-227(8.3-S)[3]
>
>
> I *suppose* I could try manually extracting it, then -- using the
> observation that the files actually are extracted -- hack the work/.*
> files to convince the ports infrastructure that the extraction is
> already completed OK, but that's just... wrong.
>
> Thanks for your help so far!
>
> 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.

Hmm, you're using sudo(1) and that means you enviroment may not be
completely clean. Log on as root using 'su -l' and see if it makes a
difference.


More information about the freebsd-ports mailing list