From nobody Fri May 12 17:15:32 2023 X-Original-To: dev-commits-ports-branches@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 4QHwPw5hcDz4BFt1; Fri, 12 May 2023 17:15:32 +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 4QHwPw53G7z4VxX; Fri, 12 May 2023 17:15:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683911732; 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=dB2qajyZWn/6PmFahR4ue7WuLBJuNM0jx8gIsCsHL9k=; b=QFOQYcBFeXKc2URH8kK8YFWYMfhdE6z8axZd7rlsn1z5K1MDwVvkBlrI18A1z5o1URzTda CROolk9Pq40nRh9CJ6q1GyT6QDOa0rnlPVGe/D2qe0sL9ncixZownkLPrOw6vdaxYLcvKj 0exgTQrwOetuB7MeVKOwE1ed3rkwGV5LId19TcqrKSOAuvq2wgL5VfQIc2qyblMCUIcEtc RIZ1UBMaBGhEo0MJUDI402MJbW3VuEIdWUIlKKnLQhHBpiuGrxRRfJdqZAW1SuS98OR557 Uf/pKIxvRlIVKnFSkF6ZdSdvx4b6dzIioUuzmYlRd+I/MwCoPWoBDX2w3hHeNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683911732; 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=dB2qajyZWn/6PmFahR4ue7WuLBJuNM0jx8gIsCsHL9k=; b=wR5dqsFrIN87nYnXLOfZcZdYQk6uyjtE10V0wFv2sPJyCicZBnc+ev3YWu9lymhd5u8mh8 YWYfYEQCvwLIM8zjChpCqjDPcDOF43jEy5dT33M2VGoMsZFVGBym1t6aTx6iFUOAI3OxdF zZQegWza2hhtOoyB5LX7HP9usd8DbwJlHljYNFyhDEPdsuoUCF3amHGS6WJfBuLJWzFf0h DLPnFHfvTdmhRw/S6kt0Qf3c9tMQCdbqMF3afHQwWuLNyZPUH6nfSp/LTD66RtbvPAZzG7 6AQPECdACfTFCfF7H4wPuQyvnBW8kQlboy46jcR5qei27VDMowqjKor+tao2fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683911732; a=rsa-sha256; cv=none; b=CaXq/oNdsi01PWTv3g+43JxDPGaUcy61JPN4VSOwREuC9abFgdf2yK24mEOA83dECJvH91 kMnhPRvunhhqFH7mnSKLLK4ph0ygTIK6+YmCf+VzpZ1NL+MwxiEmQYb1Zh0eDzcQ1hBD2o Qah2jKodoFHQh0wMBo/dQlSIpU78Lih7G2xn7OY3GaURopqZAkPC7GzPpRRb1IGCWF+UlN 0fv5sAFbz+QkkdnI56srNkCHNG5XwqumMXpdbYu+yDnIR9RC/SNXcnGRKbfPr6/dtEcYKy VvPUn3fN9GGtoBFXp6VgrY7y2xpyZGNg6vMMbPd8tkYrltEzPxHr2aZpgD0D3g== 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 4QHwPw48K7zjs5; Fri, 12 May 2023 17:15:32 +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 34CHFWu8013268; Fri, 12 May 2023 17:15:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34CHFWTa013267; Fri, 12 May 2023 17:15:32 GMT (envelope-from git) Date: Fri, 12 May 2023 17:15:32 GMT Message-Id: <202305121715.34CHFWTa013267@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: 8e62ef365129 - 2023Q2 - lang/gcc12: Work around aarch64 extraction bug List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@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: 8e62ef36512902760104fb756edba5cb0704bb0f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q2 has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=8e62ef36512902760104fb756edba5cb0704bb0f commit 8e62ef36512902760104fb756edba5cb0704bb0f Author: Lorenzo Salvadore AuthorDate: 2023-05-09 15:26:00 +0000 Commit: Lorenzo Salvadore CommitDate: 2023-05-12 17:15:18 +0000 lang/gcc12: Work around aarch64 extraction bug Extraction fails with poudriere on aarch64 with the following error: => SHA256 Checksum OK for gcc-12.2.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 5b4cadb23cbc2db23d7e2a40c16abd3e862fcf62) --- lang/gcc12/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lang/gcc12/Makefile b/lang/gcc12/Makefile index 24895e8dc2d5..f671c8a1da6d 100644 --- a/lang/gcc12/Makefile +++ b/lang/gcc12/Makefile @@ -62,6 +62,15 @@ CONFIGURE_ARGS+= --disable-multilib .include +# Extraction fails with poudriere on aarch64 for GCC 12. +# 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}