aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-sphinx
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2020-05-30 12:27:38 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2020-05-30 12:27:38 +0000
commit3b93b8af613cc89999ae36aacd0ec9b2af467d30 (patch)
tree618b20e4fbe944559c001032c08e77428192dcc1 /textproc/py-sphinx
parentab4a5a5f794ddb1c245c4eaca99b77423c0bb579 (diff)
downloadports-3b93b8af613cc89999ae36aacd0ec9b2af467d30.tar.gz
ports-3b93b8af613cc89999ae36aacd0ec9b2af467d30.zip
textproc/py-sphinx: Fix build (extract) with static bsdtar(1)
===> Extracting for py37-sphinx-3.0.3,1 => SHA256 Checksum OK for python/Sphinx-3.0.3.tar.gz. tar: Pathname can't be converted from UTF-8 to current locale. tar: Error exit delayed from previous errors. *** Error code 1 Issue found at least on arm64.aarch64 and mips.mips64 builds using native-x-tools/poudriere. As /usr/bin/tar is replaced by the binary in /nxb-bin/, pointing EXTRACT_CMD to /usr/bin/bsdtar instead. root@12-mips64-default:/tmp # file /usr/bin/tar /usr/bin/tar: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 12.1, FreeBSD-style, stripped root@12-mips64-default:/tmp # file /usr/bin/bsdtar /usr/bin/bsdtar: ELF 64-bit MSB executable, MIPS, MIPS-III version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, FreeBSD-style, for FreeBSD 12.1, stripped This patch bypass the issue here (all scenarios we have tested), but the problem still exists and it's being tracked in bug 246670. Please, see more details in bug 246618. Thanks to tijl, jbeich, kevans and all people who helped in testing. PR: 246618, 246670 Submitted by: tijl Reported by: jbeich
Notes
Notes: svn path=/head/; revision=537077
Diffstat (limited to 'textproc/py-sphinx')
-rw-r--r--textproc/py-sphinx/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/textproc/py-sphinx/Makefile b/textproc/py-sphinx/Makefile
index 8e6653dfb8c8..0b8047177c5d 100644
--- a/textproc/py-sphinx/Makefile
+++ b/textproc/py-sphinx/Makefile
@@ -50,6 +50,9 @@ CONFLICTS_INSTALL= py*-sphinx18
NO_ARCH= yes
+# Upstream archive contains files with UTF-8 names (#246618)
+EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
+
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=