git: 63476029ed36 - main - devel/py-wheel: Fix extraction when cross-building the port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 22 Dec 2022 13:52:09 UTC
The branch main has been updated by nivit:
URL: https://cgit.FreeBSD.org/ports/commit/?id=63476029ed362a75484925a4a3425517b262849b
commit 63476029ed362a75484925a4a3425517b262849b
Author: Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2022-12-22 13:46:08 +0000
Commit: Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2022-12-22 13:49:59 +0000
devel/py-wheel: Fix extraction when cross-building the port
Override EXTRACT_CMD and pass the variable LC_ALL to fix the extraction
of the distfile.
The build fails when cross-building the port with the following error:
=> SHA256 Checksum OK for wheel-0.38.4.tar.gz.
tar: Pathname can't be converted from UTF-8 to current locale.
tar: Error exit delayed from previous errors.
PR: 268500
Reported by: <bas@area536.com>
---
devel/py-wheel/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/devel/py-wheel/Makefile b/devel/py-wheel/Makefile
index 63cb68486d24..ffee000b6db7 100644
--- a/devel/py-wheel/Makefile
+++ b/devel/py-wheel/Makefile
@@ -13,6 +13,8 @@ LICENSE= MIT
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
+# see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268500
+EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
NO_ARCH= yes
OPTIONS_DEFINE= PIP SIGNATURE