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 2026-09-25 at 22:46 BST, Taylor R Campbell wrote:

Date: Fri, 25 Sep 2026 22:38:28 +0100
From: Jonathan Perkin <jperkin%pkgsrc.org@localhost>

* On 2026-09-25 at 21:19 BST, Taylor R Campbell wrote:

>Caveat: The bsdtar shipped in NetBSD _base_ is happy to do iconv
>conversions (if NetBSD knows about them).  The bsdtar shipped in
>_pkgsrc_ is built without any iconv support, because it is a
>statically linked bootstrap thing and iconv complicates the bootstrap
>story yadda yadda yadda.

If building archivers/bsdtar with iconv support helps avoid some of
these issues then we should just do that.  It's not in the core
bootstrap path - it's only pulled in as a post-bootstrap dependency if a
package declares EXTRACT_USING=bsdtar and the host system does not
provide one.

bsdtar may not be, but libarchive is as a mandatory dependency of
pkg_install, and we only have one way to build libarchive at the
moment which both bootstrap and pkg_install and archivers/bsdtar all
share, as far as I'm aware.

bootstrap and pkg_install build their own internal copy of libarchive and statically link it, so the main libarchive package would still be free to be fully-featured.

Unless there are extra patches I have that I'm forgetting about (I know my pkgin-is-statically-linked-too patch is custom).

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index