1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/textproc/py-sphinx
Danilo G. Baio 3b93b8af61 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
2020-05-30 12:27:38 +00:00
..
distinfo
Makefile textproc/py-sphinx: Fix build (extract) with static bsdtar(1) 2020-05-30 12:27:38 +00:00
pkg-descr