From nobody Fri May 12 15:40:08 2023 X-Original-To: dev-commits-ports-main@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 4QHtHr66GBz4B8qB; Fri, 12 May 2023 15:40:08 +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 4QHtHr5Lmbz4CYP; Fri, 12 May 2023 15:40:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683906008; 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=FRmYi8yfqR8Siq6b5mtj8XPLpPRqQyW5LxdVLcr1QQ8=; b=qSphl8uKIUNt+J+cHGLlVYCQl0rBg3K/pzIPFN3odTfPclHBsFyqKta5zH3GKcqnGLICup TLD6oW/7Zy00oMO67Dy+QWnGvNjbsjVmFLv1EbyHY7xbS/c6bywZfRrR9aq6vxn//J6ato RvIZTOG8btDb7sIie/rp86LZI1ObvcUUvctoa1aBrbbSbn+lMlm9ufLUH04PGhUFcrvHku L9wWZ9M9tGeQsfTR4z6DdMb9FF50urw42i0Am1w4lbLItmTDWa8kgUKNzTDV8o17VXBy5C SOW7g1pkw2w5/QrF6M48WOyrM5yjdt7YBjEl1roU9S/gGb2/liXYcnrsR9Yofw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683906008; 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=FRmYi8yfqR8Siq6b5mtj8XPLpPRqQyW5LxdVLcr1QQ8=; b=YzmLkCUo+AeQxMTHS0AL2kmQloprPvkw63YtGySp5gmLRTiBskbbnx7DLSXgMewVv/F5me VN9rHHmXtcLb/ILsMVvBgZzXguH0W0dnD2Pf/+pIcq49RBnkWpjXAnqJzZ2fZ78GXUOsGD sDlI+9onf3dfNdXUy9SvEoY9Fi1cmJ7rRhCiGcf+XacmI3r8nhV91rkKAXIb/UEkOffr6s r42gz31NpuqGbztEhgJ3nblETXyMwArdQ3O71dGpYakPpjz6BUXcnMKJj/wEGW6NDYYfkS s9HBaeQbUMrQ0tFv5ERty+ggjCaA2r84m5YatdLY/OdmRtwZYh8O/ctzdKnc2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683906008; a=rsa-sha256; cv=none; b=VLylu1/NqKq/Axhx2uunSmz/RjFneXUf3Gg1ZwTnIusxXI39rOqh68R4wtg9U7mGM07fOH a38Y5izHrTSvNSg6nXI3K7HAFkIFa7OyounXq/uvkjc9WZ55rNYMZ9Doe2F3ZvygUO78Yb oxYrMqVJXoH3Ylf9WbUtcVZlXBB42P3yDnaA173nzrneB3WXPv6+1hU1/bmF6AkMQ/8MdT 8hotOC0rjVYDDth8p5Bl066nh4evmEJE37DYI/xc4Sj5EzrzXECnr1CGl9mMVQNO1tiiTV Ikw1dNLXFU1XUfqKxVdTneXdMZDOKiy5A4J/WvkqY2uYzCg4C/7ieWXkt4+tZQ== 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 4QHtHr4Nykzgq5; Fri, 12 May 2023 15:40:08 +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 34CFe8Wt050516; Fri, 12 May 2023 15:40:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34CFe8ol050513; Fri, 12 May 2023 15:40:08 GMT (envelope-from git) Date: Fri, 12 May 2023 15:40:08 GMT Message-Id: <202305121540.34CFe8ol050513@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Lorenzo Salvadore Subject: git: 22530ba28be7 - main - lang/gcc11: Work around aarch64 extraction bug List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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/main X-Git-Reftype: branch X-Git-Commit: 22530ba28be79b947e617dc1288896bfc3c6f6ef Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=22530ba28be79b947e617dc1288896bfc3c6f6ef commit 22530ba28be79b947e617dc1288896bfc3c6f6ef Author: Lorenzo Salvadore AuthorDate: 2023-05-10 15:11:05 +0000 Commit: Lorenzo Salvadore CommitDate: 2023-05-12 15:39:38 +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 --- lang/gcc11/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lang/gcc11/Makefile b/lang/gcc11/Makefile index 7b184ec951bf..125f50646178 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}