From nobody Fri May 12 17:15:31 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QHwPv4kq4z4BG81; Fri, 12 May 2023 17:15:31 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QHwPv4BlGz4Vx9; Fri, 12 May 2023 17:15:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683911731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2NK8Es53ryyV3llbncpxeIBPEa7rCbwsZ+Q0J+hQ+qw=; b=yLiutCrKFpeNcYfyJ7fwxqzw1OH2kajYohoUAL4PaIPls25jJy1vLy0OQVnl6wKENnaABr bqcLODBa3CvG27WKi07o+IpYIzHPP/pEGTKPL8rsHRTnNnF6WH++f1g+zB3WCq9JUTaUXn sJoGtoLmkH7tee1Pz0A67mxw/U3OMBXqdf2mVxjTTAaUGJqUWzjLTSaYqnDueZhHBhjM1R XxbmoQSYjVesaiD04+jR12clqtDDw+42YzoVuG/frvVzvzPqme/nRvKrltdRjc2ynYiauZ i/P72tB8iJbOQ8pyvQ5L2EdKyWrSkysmy8RyDr2ydL7Wfd9XbKVOCroVNenNzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683911731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2NK8Es53ryyV3llbncpxeIBPEa7rCbwsZ+Q0J+hQ+qw=; b=mQxsPquroKKWXAg5oz9cO/Kbh0HOxmhkLhkvj/ASer5qbnb7J49j1ZRNqxq3pzBxPWny4h 24AM/fn++Lc+i7ShUMqLfjq7DMW338QHHsCSZYZrHtBlj1pj8RqEhiSkoy/vz9KsjPTolI 28RpeifKPsrTAZpXVcemdoUMC9H0CS+tq8EKVKJPMVqcloZSNz6HjDlSENWCxlasTc2TXx vGRQpMaGCyIJnfJjlFlWUFYcsZiomipxXqDn51q5k3BZSeHyFoED8XY2Mcz9m8pOMrdznV 2Hl8QQLefWjHnOdLy3gbK92arrN889enFOFzlP3SRanDUBDajOUau64Pl3o9pg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683911731; a=rsa-sha256; cv=none; b=qC1tjwPYoDT+gsdtnPkPk/ILvcIQLP1GIunqd4tzcyJrHf06wWnli/fgcYs0NnyVL68nEC I7xVVnjOJJ1JPiRCPwwl1ju70L6MpValiMgSE3nMbQcoeNtMSl4INBzyroQh/Fv5KaVoQg Li+I2Suns5pWGAGGwzR2NmjUMyAV10GksQH/lnRPsahlPlIGgv81o/bYtT7i7y6vh24vFt 4RLs2Y6Lx56PmLy69p7bqsT+uQwtfUjMxxjuLweHQPluULlEtMMyNJXUX6aWA+gliqjCwh lnoOU+WjgoMvA5asrDqUeoI4k0jZnQ9gZJKBxIn3thRFKHl/QjcsLO2uEUnj3Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4QHwPv3DpkzkCY; Fri, 12 May 2023 17:15:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34CHFV04013249; Fri, 12 May 2023 17:15:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34CHFV96013248; Fri, 12 May 2023 17:15:31 GMT (envelope-from git) Date: Fri, 12 May 2023 17:15:31 GMT Message-Id: <202305121715.34CHFV96013248@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Lorenzo Salvadore Subject: git: 2cbbd136ada7 - 2023Q2 - lang/gcc11: Work around aarch64 extraction bug List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q2 X-Git-Reftype: branch X-Git-Commit: 2cbbd136ada7dc9207759b698830d5a9d58b22df Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q2 has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=2cbbd136ada7dc9207759b698830d5a9d58b22df commit 2cbbd136ada7dc9207759b698830d5a9d58b22df Author: Lorenzo Salvadore AuthorDate: 2023-05-10 15:11:05 +0000 Commit: Lorenzo Salvadore CommitDate: 2023-05-12 17:15:17 +0000 lang/gcc11: Work around aarch64 extraction bug Extraction fails with poudriere on aarch64 with the following error: => SHA256 Checksum OK for gcc-11.3.0.tar.xz. tar: Pathname can't be converted from UTF-8 to current locale. tar: Pathname can't be converted from UTF-8 to current locale. tar: Error exit delayed from previous errors. Enforcing use of bsdtar works around the issue. The issue is specific to lang/gcc11 and lang/gcc12: no other GCC port is affected. See also bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246670. PR: 271052 Reported by: Vidar Karlsen Reviewed by: gerald, mikael (cherry picked from commit 22530ba28be79b947e617dc1288896bfc3c6f6ef) --- lang/gcc11/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lang/gcc11/Makefile b/lang/gcc11/Makefile index ab6d3d08bd34..be843694e895 100644 --- a/lang/gcc11/Makefile +++ b/lang/gcc11/Makefile @@ -62,6 +62,15 @@ CONFIGURE_ARGS+= --disable-multilib .include +# Extraction fails with poudriere on aarch64 for GCC 11. +# It seems that the bug is specific to lang/gcc11 and lang/gcc12 only. +# No other GCC port is affected. +# See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271052 +# and https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246670 +.if ${ARCH} == aarch64 +EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar +.endif + .if ${ARCH} == amd64 CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL}