[MacPorts] #61630: p5-extutils-makemaker @7.560.0_0: adds -Wno-error=implicit-function-declaration
MacPorts
noreply at macports.org
Mon Nov 23 15:45:51 UTC 2020
#61630: p5-extutils-makemaker @7.560.0_0: adds -Wno-error=implicit-function-
declaration
--------------------------+-----------------------------------
Reporter: chrstphrchvz | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: p5-extutils-makemaker
--------------------------+-----------------------------------
See https://rt.cpan.org/Public/Bug/Display.html?id=133493,
https://github.com/Perl-Toolchain-Gang/ExtUtils-
MakeMaker/blob/v7.56/lib/ExtUtils/MM_Darwin.pm#L65: because many
old/unmaintained CPAN modules have implicit function declarations and fail
to compile using Xcode 12, recent ExtUtils::MakeMaker have been adding
`-Wno-error=implicit-function-declaration` to builds on Darwin. Based on
the explanation I've heard that this can lead to compiling broken software
on macOS for ARM 64-bit, should ExtUtils::MakeMaker not add this flag?
Should MacPorts remove the flag from it for now?
I imagine the currently-affected Perl modules may only be the ones
manually depending on `port:p${perl5.major}-extutils-makemaker`, unless
building without trace mode on a system with `p${perl5.major}-extutils-
makemaker` installed; otherwise modules will build with older
ExtUtils::MakeMaker from `perl${perl5.major}`.
--
Ticket URL: <https://trac.macports.org/ticket/61630>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list