[Bug 286895] lang/gnat12: fails QEMU'd ARM64, tar: Pathname can't be converted from UTF-8 to current locale
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 May 2025 01:22:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286895
Bug ID: 286895
Summary: lang/gnat12: fails QEMU'd ARM64, tar: Pathname can't
be converted from UTF-8 to current locale
Product: Ports & Packages
Version: Latest
Hardware: arm64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: thierry@FreeBSD.org
Reporter: agh@riseup.net
Flags: maintainer-feedback?(thierry@FreeBSD.org)
Assignee: thierry@FreeBSD.org
While attempting to use poudriere, and qemu-user-static-devel to cross build an
ARM64 lang/gnat12 on an AMD64 host, the following error was observed:
> ===========================================================================
> =======================<phase: extract-depends>============================
> ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
> ===========================================================================
> =======================<phase: extract >============================
> ===== env: NO_DEPENDS=yes USER=pkgbuild UID=65532 GID=65532
> ===> License GPLv2 GPLv3 GPLv3RLE accepted by the user
> ===> Fetching all distfiles required by gnat12-12.3.0 for building
> ===> Extracting for gnat12-12.3.0
> => SHA256 Checksum OK for gcc-12.3.0.tar.xz.
> => SHA256 Checksum OK for gnat-aarch64-freebsd.14-12.2.0_6.tar.xz.
> tar: Pathname can't be converted from UTF-8 to current locale.
> tar: Pathname can't be converted from UTF-8 to current locale.
> tar: Error exit delayed from previous errors.
> ===> Failed to extract "/portdistfiles//gcc-12.3.0.tar.xz".
> *** Error code 1
Previous (or current) similar PRs,
bug #271052 (lang/gcc12 fails on arm64: tar: Pathname can't be converted from
UTF-8 to current locale.)
bug #262048 ([exp-run] switch ports tree locale to C.UTF-8)
bug #246670 (bsdtar: Fails to extract (UTF-8) under QEMU_EMULATING)
Solutions:
https://cgit.freebsd.org/ports/commit/?id=5b4cadb23cbc2db23d7e2a40c16abd3e862fcf62
https://cgit.freebsd.org/ports/commit/?id=2cbbd136ada7dc9207759b698830d5a9d58b22df
--
You are receiving this mail because:
You are the assignee for the bug.