Bug 273194 - devel/aarch64-none-elf-gcc: Work around aarch64 extraction bug
Summary: devel/aarch64-none-elf-gcc: Work around aarch64 extraction bug
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Emmanuel Vadot
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-18 03:43 UTC by Jose Luis Duran
Modified: 2023-08-23 08:08 UTC (History)
0 users

See Also:
manu: maintainer-feedback+


Attachments
Work around aarch64 extraction bug (837 bytes, patch)
2023-08-18 03:43 UTC, Jose Luis Duran
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Luis Duran 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(-)