In dealing with http://www.nntp.perl.org/group/perl.cpan.testers.discuss/2015/12/msg3764.html and https://rt.cpan.org/Ticket/Display.html?id=110631 . EUMM never uses make tool preprocessor logic (no !IF, .IF, "if("). I believe that is because it is unportable. The solution for that bug was, if UNINST=1, install to 'perl' not 'site'.

Since I can't use preprocessor logic, I created a solution, that if "UNINST=1" is passed to the make tool, as in "make install UNINST=1", the "==> Your Makefile has been rebuilt. <==" code triggers and the Makefile is rebuilt with INSTALLDIRS=perl by Makefile.PL.

For a human watched install this is fine, "perl Makefile.PL<enter>make install UNINST=1<enter><see "Your Makefile has been rebuilt" warning in console so repeat command>make install UNINST=1<enter><module now built>". CPANTesters doesn't try "make [all/install/test/????] UNINST=1" a 2nd time http://www.cpantesters.org/cpan/report/19f17ce8-af26-11e5-9a42-4da8aef69d38 after the "==> Your Makefile has been rebuilt. <==" code executes on the first "make [all/install/test/????] UNINST=1".

Therefore, on CPANTesters, I get massive "UNKNOWNS" for 6.05_04 that introduced the UNINST=1 fix. http://www.cpantesters.org/distro/X/XSConfig?grade=1&perlmat=1&patches=1&oncpan=2&distmat=1&perlver=ALL&osname=ALL&version=6.05_04

If the user did "perl Makefile.PL UNINST=1<enter>make install<enter>" instead of "perl Makefile.PL<enter>make install UNINST=1<enter>" the Makefile regeneration logic WILL NOT run and everything will build like normal. It is the "perl Makefile.PL<enter>make install UNINST=1<enter>" recipe which is the problem.

So how to fix this problem, run "make $(MAKECMDGOALS/MAKETARGETS)" as a recipe from "$(FIRST_MAKEFILE) :" target instead of " $(FALSE)"? Or try looking up the CPAN/M/MINUS settings of the tester box in Makefile.PL for the UNINST=1 string and "exit 0" with no Makefile written from Makefile.PL if this is such a tester box. Any other ideas?

PS, an interesting report https://www.mail-archive.com/cpan-testers@perl.org/msg577101.html I found with a different problem, tarballs with mtimes from the future (light travels faster than plant earth rotates).

Reply via email to