Scott Ellentuch wrote on 4/04/24 9:43 am:
File attached. However, I don't see any smoking gun.

I've verified the problem. I ran sudo make test in a directory tree in /tmp with world r-x access, and got the error in t/spamd_client.t as well as in t/spamc_optL.t. I don't know why you didn't see the second of those, but that doesn't matter for fixing it.

It looks like the fix to bug 5529 was only a partial solution, made even worse by the way that it put nothing in place to ensure that newly created tests would not have the same problem as the ones it "fixed".

I'll open a new bug for this and finish the job bug 5529 started.

However, it remains a good idea to not run the tests as root.
Even if you need root to install SpamAssassin you can do it either by using

  perl Makefile.PL < /dev/null
  make
  make test
  sudo make install

or if you have been using sudo cpan to do the installation, instead use cpanm with the -S option. That option allows you to run cpanm as non-root and it does the sudo make install for you.

If you do that it will work before I fix the bug.

 Sidney

Reply via email to