Open frikiluser opened 2 years ago
The new glibc version is failing to identify combining characters. Elliott and I were just talking about that on the list a few days ago, bionic can't do it when statically linked and it looks like glibc's had a regression? (Does it need a locale set now, or something?)
This certainly looks similar to the macOS failure when you're in the C locale. I thought we already hard-coded a utf8 locale in this test for that reason though?
On Wed, Oct 27, 2021, 22:55 Rob Landley @.***> wrote:
The new glibc version is failing to identify combining characters. Elliott and I were just talking about that on the list a few days ago, bionic can't do it when statically linked and it looks like glibc's had a regression? (Does it need a locale set now, or something?)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/landley/toybox/issues/300#issuecomment-953525123, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMVLEWHIPKULYKG3L7SXN53UJDQWFANCNFSM5G3IRSHA . 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.
What does it do if they haven't got a utf8 locale installed?
No idea, I'm a default install kind of guy 😃 but, yeah, that sounds plausible. Ask the submitter for an strace?
On Wed, Oct 27, 2021, 23:05 Rob Landley @.***> wrote:
What does it do if they haven't got a utf8 locale installed?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/landley/toybox/issues/300#issuecomment-953529585, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMVLEWCQDJKP7OIKLEVQS3DUJDR4JANCNFSM5G3IRSHA . 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.
I'm trying to figure out how we'd add a test guard for this in the test suite. "locale -a" is a glibc command, I wouldn't expect musl or bionic to have it. Can't really build a test C program in the test suite. (It should be able to run on an existing toybox binary in a target system, without a compiler.) Hmmm...
needs utf8 locale for utf8 tests to pass.
I may still need to track this issue: devuan caligula has gcc 8.3 with glibc 2.28 so my TEST_HOST isn't currently hitting this, but may when I upgrade. If this is another permanent gnu regression ala "static builds used to be able to getpwnam() but lost that ability in a version 'upgrade'" or a distro regression ala "all red hat systems could build a statically linked hello world until they moved libc.a into a separate package that isn't installed by default", then I need to at least be able to probe for the breakage and disable the test on systems where they did this.
FTR: 0.8.8 works in my building environment (Debian Sid)
Thanks!
Hi,
After building toybox using gcc-11.2 on a Debian Sid environment I've found that
cut
test doesn't PASS.The output is:
An hexdump of the diff may help:
Followed build steps:
Please, let me know if you can't reproduce the issue. I can reproduce the problem in a clean and reproducible environment.
Best regards,