From owner-freebsd-ports@FreeBSD.ORG Sun Sep 9 15:16:21 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 B6F481065670 for ; Sun, 9 Sep 2012 15:16:21 +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 66EB38FC0A for ; Sun, 9 Sep 2012 15:16:20 +0000 (UTC) Received: by vbmv11 with SMTP id v11so2139470vbm.13 for ; Sun, 09 Sep 2012 08:16:20 -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=h7g9LHL9a7XWz4H+7L2jt7EN6MfC3QqUiW0EEcmdnQE=; b=XTt9i5+51JlLpjton/21kHSIt6anbWhnxUIFcQDzl7B9y1ARk9PbuNU5lTQJAlgE2P 8x/+b2+IjJtUZFBmu6OM0633fJ83Jm7gT+NCgA4Y1lOAKU7CJoXcAshV2WQp661KXXYK u58ElGsBaeWQa/fRkGtvvOP1vRJhydz0eajFP2t/ilI/pXAD6GnXTf/ccZu1fk7Tl1YK lh2ApYg8sQAyDDsK18oK91bHeVDBSaiQPSUboLjzWr3XPZGY0UWMU7vHrlNMoU73CwbV B3AABvCd2Ez7kLhBRtpIjlQkowYC5xv44kll0SOo6hyn8mNPXlrIx/sfAOp69fAFTspd QALA== MIME-Version: 1.0 Received: by 10.52.38.168 with SMTP id h8mr12399064vdk.93.1347203780464; Sun, 09 Sep 2012 08:16:20 -0700 (PDT) Received: by 10.58.230.134 with HTTP; Sun, 9 Sep 2012 08:16:20 -0700 (PDT) In-Reply-To: <20120909151215.GA3357@albert.catwhisker.org> References: <20120908124257.GP1486@albert.catwhisker.org> <20120908155220.GS1486@albert.catwhisker.org> <20120909123301.GZ1486@albert.catwhisker.org> <20120909151215.GA3357@albert.catwhisker.org> Date: Sun, 9 Sep 2012 18:16:20 +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 15:16:21 -0000 On Sun, Sep 9, 2012 at 6:12 PM, David Wolfskill 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.