https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7666
Bug ID: 7666 Summary: Non-standard build/test handling may cause build/test failures Product: Spamassassin Version: 3.4.2 Hardware: All OS: All Status: NEW Severity: normal Priority: P2 Component: Building & Packaging Assignee: dev@spamassassin.apache.org Reporter: esert...@yahoo.de Target Milestone: Undefined Created attachment 5635 --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5635&action=edit Dockerfile The attached Dockerfile shows two problems with the current 3.4.2 release, a build and a test problem. * the test problem: a possible setup of CPAN Testers smoke machines is to *test* a distribution without installing it. CPAN.pm normally makes sure that the dependencies are all available in PERL5LIB, so for a test script it looks like the dependencies are already installed. However, it seems that the SpamAssassin test scripts strip out these paths from PERL5LIB, and this leads to test failures like this: http://www.cpantesters.org/cpan/report/b4308f14-f984-11e8-b607-f782ef07057d More test similar test failures may be seen on http://fast-matrix.cpantesters.org/?dist=Mail-SpamAssassin%203.4.2;os=linux;reports=1#sl=6,1 (actually all reports by SREZIC should have the same problem) * the build problem: if the deactivated CMD line in the attached Dockerfile is used instead, then the build fails immediately because of missing prereqs. This is non-standard behavior. A normal CPAN distribution would warn on the missing prerequisites, but still write the Makefile and also the MYMETA.* files. CPAN.pm then would inspect either the Makefile or the MYMETA.* files, install the necessary dependencies, and go on with building and testing. -- You are receiving this mail because: You are the assignee for the bug.