From owner-freebsd-bugs@freebsd.org Sat May 30 12:27:50 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 324F5331246 for ; Sat, 30 May 2020 12:27:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49Z1120gHpz3ZSM for ; Sat, 30 May 2020 12:27:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 16D41331245; Sat, 30 May 2020 12:27:50 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 169C8331425 for ; Sat, 30 May 2020 12:27:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Z1116yMRz3ZVP for ; Sat, 30 May 2020 12:27:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DFD2B89CE for ; Sat, 30 May 2020 12:27:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 04UCRn3o056632 for ; Sat, 30 May 2020 12:27:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04UCRnFx056631 for bugs@FreeBSD.org; Sat, 30 May 2020 12:27:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 246670] bsdtar: Fails to extract (UTF-8) under QEMU_EMULATING Date: Sat, 30 May 2020 12:27:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2020 12:27:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246670 --- Comment #6 from commit-hook@freebsd.org --- A commit references this bug: Author: dbaio Date: Sat May 30 12:27:38 UTC 2020 New revision: 537077 URL: https://svnweb.freebsd.org/changeset/ports/537077 Log: textproc/py-sphinx: Fix build (extract) with static bsdtar(1) =3D=3D=3D> Extracting for py37-sphinx-3.0.3,1 =3D> 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 Changes: head/textproc/py-sphinx/Makefile --=20 You are receiving this mail because: You are the assignee for the bug.=