Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2012 05:33:01 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Kimmo Paasiala <kpaasial@gmail.com>
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:  <20120909123301.GZ1486@albert.catwhisker.org>
In-Reply-To: <CA%2B7WWScAsW=Nxb0xbkOfqfq5p=md=bt-o_gys%2BPX%2Bi%2BqFxuzLA@mail.gmail.com>
References:  <20120908124257.GP1486@albert.catwhisker.org> <20120908155220.GS1486@albert.catwhisker.org> <CA%2B7WWScAsW=Nxb0xbkOfqfq5p=md=bt-o_gys%2BPX%2Bi%2BqFxuzLA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--3x4RsK4fNlfzJGUz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
> # locale
> LANG=3D
> LC_CTYPE=3D"C"
> LC_COLLATE=3D"C"
> LC_TIME=3D"C"
> LC_NUMERIC=3D"C"
> LC_MONETARY=3D"C"
> LC_MESSAGES=3D"C"
> LC_ALL=3D
>=20
> 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/
=2E..
drwxrwxr-x  0 dbhole dbhole      0 Aug 27 12:36 icedtea-web-1.3/tests/repro=
ducers/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/repro=
ducers/signed/Spaces can be everywhere signed/resources/NotOnly spaces can =
kill \304\233\305\241\304\215\305\231\305\276 too signed.jnlp
=2E..
drwxrwxr-x  0 dbhole dbhole      0 Aug 27 12:36 icedtea-web-1.3/tests/repro=
ducers/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/repro=
ducers/simple/Spaces can be everywhere/resources/NotOnly spaces can kill \3=
04\233\305\241\304\215\305\231\305\276 too.jnlp
=2E..
-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]=20


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
--=20
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.

--3x4RsK4fNlfzJGUz
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlBMjH0ACgkQmprOCmdXAD3TfACfZdB6wdIC4rxIhZ1DRFkVCiBc
nOMAnRVJA9ICuflnWPMkERU3L+cAG8CC
=TAeA
-----END PGP SIGNATURE-----

--3x4RsK4fNlfzJGUz--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120909123301.GZ1486>