Subject: | Net-NfDump build system is breaking perl installations |
The new EUMM tests exercise building static XS libs. That uses the "makeaperl" logic, which searches the perl installation for all *.a, assuming them all to be valid XS with a boot_* symbol.
https://metacpan.org/source/TPODER/Net-NfDump-1.06/libnf_perl/Makefile.PL has the following:
sub MY::top_targets {
[...]
all :: static
pure_all :: static
static :: libnf_perl$(LIB_EXT)
[...]
The "static" target triggers the EUMM code to put *.a files under blib. That gets installed, but isn't valid XS, violating the (I hope you'll agree, reasonable) assumption that all such *.a will be valid XS.
I am working on making Archive::Unzip::Burst not do that, so if you're interested in copying the pattern I use there, please look at its repo: https://github.com/mohawk2/Archive-Unzip-Burst