[EMAIL PROTECTED] wrote on 12/15/2003 03:29:21: > I grabbed the pre 5.8.3 kit mentioned in: > > http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-12/msg00588.html > > compiled with: Compaq C S6.5-002 on OpenVMS Alpha V7.3-1 > and obtained these test failures: > > lib/ExtUtils/t/Constant..............FAILED at test 27 These test failures are partially due to the "recompile everything" property of generated descrip.mms files as well as due to a possible flaw in the setup of the default clean target. The Constant.t test failures are nominally due to the presence of the unexpected exttest.obj file in the directory. However a run of `mmk clean` deletes *.obj. But by the time that `mmk clean` is run two runs of mmk have occurred: `mmk all` and `mmk test` with a spurious recompilation on the second invokation we wind up with exttest.obj;1 and exttest.obj;2. The run of `mmk clean` deletes only exttest.obj;2 and leaves exttest.obj;1 behind. Hence the test failures for lib/ExtUtils/t/Constant.t. A fix for the spurious compilation on the run of `mmk test` could fix this test failure, but we might want to think about whether we want to turn clean from this: # Delete temporary files but do not touch installed files. We don't delete # the Descrip.MMS here so that a later make realclean still has it to use. clean :: clean_subdirs $(RM_F) *.Map *.Dmp *.Lis *.cpp *.$(DLEXT) *$(OBJ_EXT) *$(LIB_EXT) *.Opt $(BOOTSTRAP) $(BASEEXT).bso .MM_Tmp $(RM_RF) blibdirs perlmain.c exttest.c [.blib.arch.auto.ExtTest]extralibs.all $(RM_RF) [.blib.arch.auto.ExtTest]extralibs.ld pm_to_blib.ts pm_to_blib blib Makeaperl.MMS to instead read: # Delete temporary files but do not touch installed files. We don't delete # the Descrip.MMS here so that a later make realclean still has it to use. clean :: clean_subdirs $(RM_F) *.Map;* *.Dmp;* *.Lis;* *.cpp;* *.$(DLEXT);* *$(OBJ_EXT);* *$(LIB_EXT);* *.Opt;* $(BOOTSTRAP);* $(BASEEXT).bso;* .MM_Tmp;* $(RM_RF) blibdirs perlmain.c;* exttest.c;* [.blib.arch.auto.ExtTest]extralibs.all;* $(RM_RF) [.blib.arch.auto.ExtTest]extralibs.ld;* pm_to_blib.ts;* pm_to_blib.;* blib Makeaperl.MMS;* By the way I suspect we can get rid of the extra mmk all target now for VMS since that bug (two all targets per descrip.mms file) does appear to be fixed now. Peter Prymmer
