Date: Sun, 9 Sep 2012 18:16:20 +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%2B7WWSegaGgav5yaBY5hCW99u4CoWDs7q0Y9xKQUa3SVGBCqtg@mail.gmail.com> In-Reply-To: <20120909151215.GA3357@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> <CA%2B7WWScnorriTzwadarOBx=XNXner5oKOLr=NqXsebqgL%2BVeHg@mail.gmail.com> <20120909151215.GA3357@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 9, 2012 at 6:12 PM, David Wolfskill <david@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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSegaGgav5yaBY5hCW99u4CoWDs7q0Y9xKQUa3SVGBCqtg>