From nobody Wed Aug 23 08:07:15 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 4RVzMl2cpPz4rGm4; Wed, 23 Aug 2023 08:07:15 +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 4RVzMl22CRz4f6V; Wed, 23 Aug 2023 08:07:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692778035; 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=Qw4pRUkkxYHc64882veBgEq7X4AmrQ6gIahSiWAGV3A=; b=p5dVH8ym6zrZ9U5JIKybOYUL7YUVZwdJ1EdxTkHkrPl4HvpkZy0AzS1+NL7sUoyftD7FLN fbBA7VpH9C87sWAMuohNsaFrKzOT6r0pS2LdoTPFUFW3kQlrhrPOx/d75uhIRgziGOhFWt bwmdrv0hDPYII2sphQNFobV0ii5gqQELwgM307SDuHGHjVl1Wwg51HlZol/zUB5yTbiVNq Z1xW5Zzg0XiDsxqFN+7vL8q8aXepQWR9cnvLI2xP7O3KBIaJmcVeY4ymajUKsY2eErZCRs rzcW1ysacrzHi0aDNuXUAWc3wC2cCtTkPSiu6K8C1QVPGJvf5fgXukzXPVq3qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692778035; 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=Qw4pRUkkxYHc64882veBgEq7X4AmrQ6gIahSiWAGV3A=; b=a7G4CpP5IR/XcIztKct3W71wRgiehcmJhawGzzlUEeQFmTqSEAHy4Y7mAlSzHFxmuSecET /AUEmdp/nl0/xu2QJ5wHCMRmw1Fl1P/BPBoXADN99qjKSdjRw2AblixFdNJCDK+Nty30vf RAf0HZ3MtZHk634it48zMTfyMIWvROy9GemQmHYvaw0f3sP/AoYGxebpUImJEHvPdxwGOT lZRRYT23oKPsdrZ00URz+Gt1I/iQQZYpCXjEeMxRS+fSm4vA2JgydnbUBs2wNfBVnCuWLZ 9I9SkPyVUE3VOcWATsFhGt+V130JYwYVgOrtqTvywk/80iRpGzUarwe1ZG5rvw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692778035; a=rsa-sha256; cv=none; b=JrxuvU5QZPJtNpNmINZJBUEY6EnaSMe+LRY2lKC8PuNBUfmd/oSN+LwNBPIR51/V96pPIr loXDuw0Ggd2wDq6rNz8AmFAyfk7aH7xdiowlCfZUc8IV2U8WGUg/+dc/E8VyYHrfaooY3U j2R101pDP/24ndEQYoxpKu1v0ZZP23fPU6QYECUxNbCcT896xc98bV3fIPZyiTgc2EQkZx fY0w/BB/Pyip8xhK4v250S96nqioTQOQT1UXvdwZk9kqC7knusBoEz9+M2kGTR4xaoZFd6 nYl2EIVEFoXrEAJSnm18+wz46zvWUvwB0A/XIU+sAgFfb/FGi5j1pLgJI8GweA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RVzMl16XWzdZf; Wed, 23 Aug 2023 08:07:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37N87Fl4079339; Wed, 23 Aug 2023 08:07:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37N87FRj079336; Wed, 23 Aug 2023 08:07:15 GMT (envelope-from git) Date: Wed, 23 Aug 2023 08:07:15 GMT Message-Id: <202308230807.37N87FRj079336@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emmanuel Vadot Subject: git: e11dd88cce75 - main - devel/aarch64-none-elf-gcc: 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: manu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e11dd88cce755848a90e711154cf83185f24aa52 Auto-Submitted: auto-generated The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/ports/commit/?id=e11dd88cce755848a90e711154cf83185f24aa52 commit e11dd88cce755848a90e711154cf83185f24aa52 Author: Jose Luis Duran AuthorDate: 2023-08-23 08:06:17 +0000 Commit: Emmanuel Vadot CommitDate: 2023-08-23 08:06:59 +0000 devel/aarch64-none-elf-gcc: 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 the use of bsdtar works around the issue. The issue is specific to lang/gcc11 and lang/gcc12: no other GCC port is affected. Apply the same fix used to fix bug #271052. PR: 273194 --- devel/aarch64-none-elf-gcc/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/devel/aarch64-none-elf-gcc/Makefile b/devel/aarch64-none-elf-gcc/Makefile index 7e5308d703e3..f1d9fdad1322 100644 --- a/devel/aarch64-none-elf-gcc/Makefile +++ b/devel/aarch64-none-elf-gcc/Makefile @@ -1,6 +1,6 @@ PORTNAME= gcc PORTVERSION?= 11.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= GCC PKGNAMEPREFIX?= aarch64-none-elf- @@ -53,6 +53,15 @@ INSTALL_TARGET= install-gcc install-target-libgcc .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 + post-patch: @${REINPLACE_CMD} -e '/LIBSTDCXX/ s/stdc\+\+/c\+\+/g ' \ ${WRKSRC}//gcc/cp/g++spec.c