emmett1 / lfs-scripts

Automated script to build Multilib LFS system + livecd
GNU General Public License v3.0
97 stars 46 forks source link

gcc-11.2.0 won't install #32

Open sidestepp opened 2 years ago

sidestepp commented 2 years ago

=======> Building '/var/lib/pkg/pkg/gcc#11.2.0-1.pkg.tar.xz'. bsdtar -p -o -C /var/lib/pkg/work/gcc/src -xf /var/lib/pkg/src/gcc-11.2.0.tar.xz bsdtar: Pathname can't be converted from UTF-8 to current locale. bsdtar: Pathname can't be converted from UTF-8 to current locale. bsdtar: Error exit delayed from previous errors. =======> ERROR: Building '/var/lib/pkg/pkg/gcc#11.2.0-1.pkg.tar.xz' failed.

sidestepp commented 2 years ago

when I went back to gcc-11.1.0, it then worked

emmett1 commented 2 years ago

Latest gcc sources wont extract inside chroot using bsdtar. To workaround this issue, add this function above build() function:

bsdtar() { tar $@; }

sidestepp commented 2 years ago

Thanks for your reply

On Mon., Dec. 6, 2021, 6:44 p.m. Emmett1, @.***> wrote:

Latest gcc sources wont extract inside chroot using bsdtar. To workaround this issue, add this function above build() function:

bsdtar() { tar $@ }

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/emmett1/lfs-scripts/issues/32#issuecomment-987441268, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGB5YUNW2LFIUACS7VZIBOTUPVKHRANCNFSM5JPTCCGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.