Bug 273194

Summary: devel/aarch64-none-elf-gcc: Work around aarch64 extraction bug
Product: Ports & Packages Reporter: Jose Luis Duran <jlduran>
Component: Individual Port(s)Assignee: Emmanuel Vadot <manu>
Status: Closed FIXED    
Severity: Affects Only Me Flags: manu: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271052
Attachments:
Description Flags
Work around aarch64 extraction bug none

Description Jose Luis Duran freebsd_committer freebsd_triage 2023-08-18 03:43:56 UTC
Created attachment 244182 [details]
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.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-08-23 08:08:16 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e11dd88cce755848a90e711154cf83185f24aa52

commit e11dd88cce755848a90e711154cf83185f24aa52
Author:     Jose Luis Duran <jlduran@gmail.com>
AuthorDate: 2023-08-23 08:06:17 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
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(-)