tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: tar: Can't translate pathname 'xxx' to UTF-8
On Fri, Sep 25, 2026 at 07:11:15PM +0000, Taylor R Campbell wrote:
> > Date: Fri, 25 Sep 2026 20:43:26 +0200
> > From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
> >
> > I think I've seen comments about a similar issue before. What would be
> > the correct way to fix this ?
>
> What platform is this on and in what stage of the build did it happen?
It's NetBSD 11.0/amd64, with pkgsrc-2026Q3.
>
> You may be thinking of this thread, and of its resolution of setting
> LC_CTYPE.UTF-8 in EXTRACT_ENV (on NetBSD), after I fixed a bug in
> NetBSD's libarchive/bsdtar so that it would not silently suppress an
> underlying error:
>
> https://mail-index.netbsd.org/tech-userlevel/2026/08/24/msg015051.html
> https://mail-index.netbsd.org/tech-userlevel/2026/08/24/msg015069.html
> https://mail-index.netbsd.org/pkgsrc-changes/2026/08/24/msg352989.html
I checked, I have this change in my tree
>
> However, it is subtly different.
>
> Your error message is:
>
> tar: ./kicad-10.0.6/...: Can't translate pathname './kicad-10.0.6/...' to UTF-8
>
> The error message wiz reported is:
>
> tar: Pathname can't be converted from UTF-8 to current locale
>
> You appear to have had this issue before, in 2023, with a similar but
> not quite identical pathname:
>
> https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027628.html
>
> It is unclear whether you resolved it then, because at the time you
> concluded the failure was actually somewhere else in the build:
>
> > forget this, I focused on the tar error but it's not what causes the package
> > to fail.
> > I shouldn't look at pbulk output before first coffee :)
thanks; and again the build did not stop on the tar error, it's a missing
dependancy in the build phase. Sorry for the noise
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index