Re: ExtUtils::CBuilder: Apple have started to apply -Werror by default, breaking XS

[email protected] (David Cantrell)
Newsgroups perl.perl5.porters,perl.cpan.testers.discuss
Message-ID <[email protected]>
[CCed cpan-testers-discuss]

On Sun, Nov 01, 2020 at 02:57:04PM +0000, Alberto Sim?es wrote:

> Released a new version of EU::CB
> Lets wait for CPAN Testers and see if we have any relevant feedback.
> If everything looks fine, I will produce a proper patch including the Changes file as well.

CPAN testers will tell you whether EU::CB passes its own tests or not,
but the error this fixes isn't amenable to CPAN-testers finding it and
correctly reporting it fixed.

The problem is that without this some XS modules that use EU::CB will
fail to build. And then the testers will go "oh, it didn't build, I
won't report anything at all". That's because most build failures are
something like the testing machine not having some C library installed
that the XS module depends on and so shouldn't generate a failure
report.

To verify that this patched release is correct people need to, manually,
do this on Mac OS Catalina with the latest XCode:

* with the previous version of EU::CB installed, find something XSy that
  uses it, and which fails to build because of
  -Werror=implicit-function-declaration
* then install this new EU::CB and make sure that the build now succeeds.

-- 
David Cantrell | Enforcer, South London Linguistic Massive
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.