spamassassin build failure

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Mar 26 08:17:27 UTC 2006


On Sat, Mar 25, 2006 at 10:18:41PM -0500, Michael P. Soulier wrote:
> Hi there,
> 
> I'm trying to build spamassassin from ports. 
> 
> So, I go to /usr/ports/mail/p5-Mail-SpamAssassin and make. 
> 
> ===>  Checking if devel/p5-Test-Harness already installed
> ===>   p5-Test-Harness-2.56 is already installed
>       You may wish to ``make deinstall'' and install this port again
>       by ``make reinstall'' to upgrade it properly.
>       If you really wish to overwrite the old port of devel/p5-Test-Harness
>       without deleting it first, set the variable "FORCE_PKG_REGISTER"
>       in your environment or the "make install" command line.
> *** Error code 1
> 
> Whoops. Well, lets upgrade with portupgrade then, since it wants to upgrade. 
> 
> [msoulier at kanga p5-Mail-SpamAssassin]$ sudo portupgrade -vR p5-Test-Harness
> --->  Session started at: Sat, 25 Mar 2006 22:16:12 -0500
> ** No need to upgrade 'perl-5.8.8' (>= perl-5.8.8). (specify -f to force)
> ** No need to upgrade 'p5-Test-Harness-2.56' (>= p5-Test-Harness-2.56).
> (specify -f to force)
> --->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
>         - lang/perl5.8 (perl-5.8.8)
>         - devel/p5-Test-Harness (p5-Test-Harness-2.56)
> --->  Packages processed: 0 done, 2 ignored, 0 skipped and 0 failed
> --->  Session ended at: Sat, 25 Mar 2006 22:16:15 -0500 (consumed 00:00:02)
> 
> Whoops. Apparently it doesn't need to upgrade. 
> 
> Should I make deinstall? And if so, why, since it doesn't need to upgrade?

Did you run the perl-after-upgrade script with the '-f' flag so it
actually does anything?  This symptom occurs when the pkg system
thinks a package is installed (because there's an entry in
/var/db/pkgs) but perl can't find the corresponding module, because
it's in /usr/local/lib/perl5/site_perl/5.8.X with X != 8.

Forcing a reinstall of p5-Test-Harness would also work.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060326/64a04925/attachment.pgp


More information about the freebsd-questions mailing list