FreeBSD Bugzilla – Attachment 242079 Details for
Bug 271052
lang/gcc12 fails on arm64: tar: Pathname can't be converted from UTF-8 to current locale.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
workaround
0001-lang-gcc12-Work-around-aarch64-extraction-bug.patch (text/plain), 1.43 KB, created by
Lorenzo Salvadore
on 2023-05-09 16:08:29 UTC
(
hide
)
Description:
workaround
Filename:
MIME Type:
Creator:
Lorenzo Salvadore
Created:
2023-05-09 16:08:29 UTC
Size:
1.43 KB
patch
obsolete
>From 6c2771bdee2998623c4913d9f1c52930c4c2b8a6 Mon Sep 17 00:00:00 2001 >From: Lorenzo Salvadore <salvadore@FreeBSD.org> >Date: Tue, 9 May 2023 17:26:00 +0200 >Subject: [PATCH] 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. > >Using GNU tar works around the issue. The issue is specific to this >port; in particular lang/gcc12-devel and lang/gcc13 are not affected. > >PR: 271052 >Reported by: Vidar Karlsen <vidar@karlsen.tech> >--- > lang/gcc12/Makefile | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/lang/gcc12/Makefile b/lang/gcc12/Makefile >index 56ade38b3832..eb6cca263e82 100644 >--- a/lang/gcc12/Makefile >+++ b/lang/gcc12/Makefile >@@ -23,6 +23,15 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils > BUILD_DEPENDS+= runtest:misc/dejagnu > .endif > >+# Extraction fails on aarch64 for GCC 12 with bsdtar. >+# It seems that the bug is specific to GCC 12 only. >+# No other GCC port is affected. >+# See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271052 >+.if ${ARCH} == aarch64 >+EXTRACT_DEPENDS+= gtar>0:archivers/gtar >+EXTRACT_CMD= gtar >+.endif >+ > USES= compiler:c++11-lang cpe gmake iconv libtool makeinfo perl5 tar:xz > USE_BINUTILS= yes > USE_PERL5= build >-- >2.39.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 271052
:
241711
|
242079
|
242083
|
242096