-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fix mac-fsevents-pm to build and run on macOS beyond X #1182
base: master
Are you sure you want to change the base?
Conversation
From the upstream changelog:
Please try updating to the latest and try again. And this looks like the test failure in 04flags.t: skaji/Mac-FSEvents#7 |
I did not find any newer versions on CPAN, and the Github repo does not have any releases – do you know of any location to download 0.22 as source? |
It's there on CPAN. It looks like it just changed maintainer, so our URL has to be edited to the new owner: -Source: mirror:cpan:authors/id/R/RH/RHOELZ/Mac-FSEvents-%v.tar.gz
+Source: mirror:cpan:authors/id/S/SK/SKAJI/Mac-FSEvents-%v.tar.gz |
CPAN-module bundles are also reachable by bundle name (rather than author-id), which do not vary when the author or maintainer changes. See for example, |
Interesting, actually it's the inverse now: the test has changed the expected output to 2 in 0.22, but is still returning 1 on macOS 10.13 – under 15.1 it's now passing both on arm64 and x86_64. Will try to test on 10.14 as well when I get the chance. |
They are on the same CPAN mirrors, so that would certainly be more robust. But would also need to identify the categories (which are in |
Foo-Bar-Whatever.tar.gz are in by-module/Foo |
Indeed on 10.14.6 that test still returns 1 with (system) perl 5.18.4, 5.30.3 and 5.34.1, making it fail, so really seems to reflect just the way the fs behave on the different OS versions rather than a "correct" or "incorrect" result. So should the version be patched to expect either the old or the new result depending on system version, and if so, up to what version? |
For me on 13.6 (x86_64), 0.22 As to how it was able to build previously, I added pm5282-pm5303 on a 10.14.6 machine, so it knew about that OS, even in the old v0.14. |
Adding Perl 5.34.1 version; package did not even build to the Makefile creation step on 15.1 – it is unclear how it would ever have built on recent macOS since
MacVersion.pm
has been explicitly testing for$major == 10
.Not sure if the
@arch
combinations here will work for everything from 11.0-15.0, so should be checked on some other systems.I tested for arm64 and x86_64 on Sequoia, both with one test failure, which probably points to a real issue:
i.e.
is returning 2 events where only 1 should be found.
Out of my perl depth to investigate this further.
As a check I also built on 10.14, which is passing all tests both before and with this patch.