develooper Front page | perl.cpan.testers.discuss | Postings from November 2020

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

Thread Next
From:
David Cantrell
Date:
November 2, 2020 12:13
Subject:
Re: ExtUtils::CBuilder: Apple have started to apply -Werror bydefault, breaking XS
Message ID:
20201102114814.GA16406@bytemark.barnyard.co.uk
[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

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About