New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Faulty detection of macOS version in perl5.28 #17077
Comments
From mojca@macports.orgAccording to one of our users the platform version detection on Darwin The log In addition to that the version detection further on is strange. I Probably related commit: Mojca |
From @tonycozOn Tue, 02 Jul 2019 16:40:36 -0700, mojca@macports.org wrote:
A space in the host name seems kind of broken. The code that extracts the version starts with: if $test -f $uname; then The value of $uname is from uname -a lowercased by tr. The set X ... and shift set $1 etc to the space separated values from that (shift removed the "X") The code that I think ends up extracting the version on darwin is this fallback code: *) case "$osname" in For my system uname -a | tr 'A-Z' 'a-z' is: darwin pallas.tony.develop-help.com 17.7.0 darwin kernel version 17.7.0: wed apr 24 21:17:24 pdt 2019; root:xnu-4570.71.45~1/release_x86_64 x86_64 so $1 is "darwin" and $3 is 17.7.0 Maybe we'll need to add an extra guess to the list starting at : Half the following guesses are probably wrong... If you have better though I'm not sure what filename we'd check. Tony |
The RT System itself - Status changed from 'new' to 'open' |
From mojca@macports.orgOn Wed, 3 Jul 2019 at 07:54, Tony Cook via RT wrote:
To clarify: I'm not claiming there is a space, just guessing that this
Why do you need to check for any filenames? What's wrong with "uname Mojca |
Migrated from rt.perl.org#134259 (status was 'open')
Searchable as RT134259$
The text was updated successfully, but these errors were encountered: