Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^6: Building Perl 5.28.0 on OpenBSD 6.4 -current

by khw (Novice)
on Nov 14, 2018 at 22:49 UTC ( #1225825=note: print w/replies, xml ) Need Help??


in reply to Re^5: Building Perl 5.28.0 on OpenBSD 6.4 -current
in thread Building Perl 5.28.0 on OpenBSD 6.4 -current

Having investigated further, the test is wrong, and you should just ignore the failures

These are syntactically illegal setlocale() calls on OpenBSD, and so properly return failure. (The standard does not dictate a syntax for these, and different OS's are free to choose whatever they want. The tests use a syntax that is valid on Linux and Darwin.)

On threaded builds, I wrote the code to accept different setlocale() syntaxes, but I didn't want to perturb (hence possibly break) anything on non-threaded builds, which is all that locales had worked under prior to 5.28.

I will fix blead to skip these tests on unthreaded builds on OpenBSD, but I doubt that this problem will be considered severe enough to have the fix make it into a 5.28 maintenance release.

  • Comment on Re^6: Building Perl 5.28.0 on OpenBSD 6.4 -current

Replies are listed 'Best First'.
Re^7: Building Perl 5.28.0 on OpenBSD 6.4 -current
by khw (Novice) on Mar 23, 2019 at 18:49 UTC
    Some further info. I didn't previously fully appreciate that the locale handling mechanism in openbsd is deliberately crippled out of security concerns. So testing of it, thinking it fully works, is going to fail. 5.30 will have new detection facilities for this sort of platform. Alpine linux or anything using the musl libc also has the same behavior.
Re^7: Building Perl 5.28.0 on OpenBSD 6.4 -current
by fishy (Pilgrim) on Nov 17, 2018 at 10:29 UTC

    Thank you for your information and all your effort put into Perl!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1225825]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2019-07-15 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?