From owner-freebsd-ports@FreeBSD.ORG Sun Sep 9 13:44:10 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E20FC106566C for ; Sun, 9 Sep 2012 13:44:09 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8FDCD8FC08 for ; Sun, 9 Sep 2012 13:44:09 +0000 (UTC) Received: by vbmv11 with SMTP id v11so2071769vbm.13 for ; Sun, 09 Sep 2012 06:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MqO8Rqu4J0dP1XIl5MpqldBaf7KVS4dUvXvICUmawoE=; b=fgikrHSqmgEpId6wOBOJgAVZ94SzuuFTfxpyFM13tvEmtQG097V3T9xjR5lBRdoFZ6 Xb9wPRtmAtmcdWd4ObS8ENCV77RMNHDiP34QdW6ZtpI/G30NayIviNCQJpoACHxKESuk vw1OCxOYuR3pFXN7xIEa4no+imc7DNeDQaeJT1czYivVFjlIqWOX28IOByIcOGKdh9n6 smjhP9N5m/CPLUVWKnGouiDbUSF0pI7iVkeMudo/jX+pI6VVZpvaNgubXs2W4rMlz6V3 Qf4go+/dF46oYSFR7AEHSvT3lxjNAAnCTA2ComDGYP7h20/ElaTKAdvfd0/BO9eTBR5C 4tAQ== MIME-Version: 1.0 Received: by 10.58.201.73 with SMTP id jy9mr16426345vec.29.1347198248458; Sun, 09 Sep 2012 06:44:08 -0700 (PDT) Received: by 10.58.230.134 with HTTP; Sun, 9 Sep 2012 06:44:08 -0700 (PDT) In-Reply-To: <20120909123301.GZ1486@albert.catwhisker.org> References: <20120908124257.GP1486@albert.catwhisker.org> <20120908155220.GS1486@albert.catwhisker.org> <20120909123301.GZ1486@albert.catwhisker.org> Date: Sun, 9 Sep 2012 16:44:08 +0300 Message-ID: From: Kimmo Paasiala To: David Wolfskill Content-Type: text/plain; charset=UTF-8 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" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2012 13:44:10 -0000 On Sun, Sep 9, 2012 at 3:33 PM, David Wolfskill 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.