I recently had trouble building Digest::SHA256:
http://paste.scsys.co.uk/592749
and a few other XS modules. This only happens on my machines that are
running Mac OS Catalina with the latest version of XCode. Older machines
can build it Just Fine. It appears that some time recently Apple in
their wisdom decided that -Werror should be turned on by default.
The correct fix, of course, is for lazy programmers to fix their damned
modules, but that ain't gonna happen. Plenty of them are stable and not
actively maintained.
I have raised a ticket (with a patch for at least a partial fix) against
ExtUtils::MakeMaker:
https://rt.cpan.org/Ticket/Display.html?id=133493
Some kind of similar fix will also be needed in ExtUtils::CBuilder,
which is maintained by p5p, as that is used by Module::Build. I would
create a patch myself, but I don't have an example of an XS build
failure that uses that so that I can test my patch. I'm sure they exist
though.
--
David Cantrell | A machine for turning tea into grumpiness
http://paste.scsys.co.uk/592749
and a few other XS modules. This only happens on my machines that are
running Mac OS Catalina with the latest version of XCode. Older machines
can build it Just Fine. It appears that some time recently Apple in
their wisdom decided that -Werror should be turned on by default.
The correct fix, of course, is for lazy programmers to fix their damned
modules, but that ain't gonna happen. Plenty of them are stable and not
actively maintained.
I have raised a ticket (with a patch for at least a partial fix) against
ExtUtils::MakeMaker:
https://rt.cpan.org/Ticket/Display.html?id=133493
Some kind of similar fix will also be needed in ExtUtils::CBuilder,
which is maintained by p5p, as that is used by Module::Build. I would
create a patch myself, but I don't have an example of an XS build
failure that uses that so that I can test my patch. I'm sure they exist
though.
--
David Cantrell | A machine for turning tea into grumpiness