svn commit: r537077 - head/textproc/py-sphinx
Danilo G. Baio
dbaio at FreeBSD.org
Sat May 30 12:27:38 UTC 2020
Author: dbaio
Date: Sat May 30 12:27:38 2020
New Revision: 537077
URL: https://svnweb.freebsd.org/changeset/ports/537077
Log:
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 at 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 at 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
Modified:
head/textproc/py-sphinx/Makefile
Modified: head/textproc/py-sphinx/Makefile
==============================================================================
--- head/textproc/py-sphinx/Makefile Sat May 30 11:14:00 2020 (r537076)
+++ head/textproc/py-sphinx/Makefile Sat May 30 12:27:38 2020 (r537077)
@@ -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=
More information about the svn-ports-head
mailing list