Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2006 09:17:15 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: spamassassin build failure
Message-ID:  <20060326081715.GA22633@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20060326031840.GC12075@tigger.digitaltorque.ca>
References:  <20060326031840.GC12075@tigger.digitaltorque.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

--SLDf9lqlvOQaIe6s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 25, 2006 at 10:18:41PM -0500, Michael P. Soulier wrote:
> Hi there,
>=20
> I'm trying to build spamassassin from ports.=20
>=20
> So, I go to /usr/ports/mail/p5-Mail-SpamAssassin and make.=20
>=20
> =3D=3D=3D>  Checking if devel/p5-Test-Harness already installed
> =3D=3D=3D>   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-Harne=
ss
>       without deleting it first, set the variable "FORCE_PKG_REGISTER"
>       in your environment or the "make install" command line.
> *** Error code 1
>=20
> Whoops. Well, lets upgrade with portupgrade then, since it wants to upgra=
de.=20
>=20
> [msoulier@kanga p5-Mail-SpamAssassin]$ sudo portupgrade -vR p5-Test-Harne=
ss
> --->  Session started at: Sat, 25 Mar 2006 22:16:12 -0500
> ** No need to upgrade 'perl-5.8.8' (>=3D perl-5.8.8). (specify -f to forc=
e)
> ** No need to upgrade 'p5-Test-Harness-2.56' (>=3D 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:0=
2)
>=20
> Whoops. Apparently it doesn't need to upgrade.=20
>=20
> 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 !=3D 8.

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

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW

--SLDf9lqlvOQaIe6s
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFEJk4L8Mjk52CukIwRArcZAJ9yQ2wKQfrBLEwnVzaqDUFJXKpWZQCgiSsy
RmT9Wc/Hu1O7EnSZZOZffa8=
=oYPI
-----END PGP SIGNATURE-----

--SLDf9lqlvOQaIe6s--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060326081715.GA22633>