Re: Problems upgrading SpamAssassin

2009-02-23 Thread Manfred Usselmann
On Mon, 16 Feb 2009 09:58:37 -0800
Tankko tan...@gmail.com wrote:

 I am having problems up grading SpamAssassin.  The get the following
 errors when I do portupgrade.  I hand corrected the first error by
 following the instructions listed below, then this error showed.
 Before I go though and hand correct these one by one, I thought I'd
 ask if I was doing something wrong.
 
 P.S. I ran perl-after-upgrade after upgrading perl.


Did you run 

  perl-after-upgrade -f

?

Without '-f' it just tells you what it would do...

Manfred

-- 
Manfred Usselmann usselman...@icg-online.de

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problems upgrading SpamAssassin

2009-02-16 Thread Tankko
I am having problems up grading SpamAssassin.  The get the following
errors when I do portupgrade.  I hand corrected the first error by
following the instructions listed below, then this error showed.
Before I go though and hand correct these one by one, I thought I'd
ask if I was doing something wrong.

P.S. I ran perl-after-upgrade after upgrading perl.

Thanks


===  Installing for p5-Socket6-0.23
===   p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found
===   Generating temporary packing list
===  Checking if net/p5-Socket6 already installed
===   p5-Socket6-0.23 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 net/p5-Socket6
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/net/p5-Socket6.
*** Error code 1

Stop in /usr/ports/net/p5-IO-INET6.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems upgrading SpamAssassin

2009-02-16 Thread Mel
On Monday 16 February 2009 08:58:37 Tankko wrote:
 I am having problems up grading SpamAssassin.  The get the following
 errors when I do portupgrade.  I hand corrected the first error by
 following the instructions listed below, then this error showed.
 Before I go though and hand correct these one by one, I thought I'd
 ask if I was doing something wrong.

 P.S. I ran perl-after-upgrade after upgrading perl.

We need the line that says:
  ===  p5-IO-INET6 depends on file

That line is probably faulty.
Also please list:
grep ^PERL /etc/make.conf

 ===  Installing for p5-Socket6-0.23
 ===   p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found
 ===   Generating temporary packing list
 ===  Checking if net/p5-Socket6 already installed
 ===   p5-Socket6-0.23 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 net/p5-Socket6
   without deleting it first, set the variable FORCE_PKG_REGISTER
   in your environment or the make install command line.
 *** Error code 1

 Stop in /usr/ports/net/p5-Socket6.
 *** Error code 1

 Stop in /usr/ports/net/p5-IO-INET6.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems upgrading SpamAssassin

2009-02-16 Thread Tankko

 We need the line that says:
  ===  p5-IO-INET6 depends on file

 That line is probably faulty.

This is the closest thing I can find to p5-IO-INET6 in the build output.

===  Installing for p5-Net-DNS-0.65
===   p5-Net-DNS-0.65 depends on executable: ipcount - found
===   p5-Net-DNS-0.65 depends on file:
/usr/local/lib/perl5/site_perl/5.8.9/Digest/HMAC_MD5.pm - found
===   p5-Net-DNS-0.65 depends on file:
/usr/local/lib/perl5/site_perl/5.8.9/IO/Socket/INET6.pm - not found
===Verifying install for
/usr/local/lib/perl5/site_perl/5.8.9/IO/Socket/INET6.pm in
/usr/ports/net/p5-IO-INET6
===  Extracting for p5-IO-Socket-INET6-2.56
= MD5 Checksum OK for IO-Socket-INET6-2.56.tar.gz.
= SHA256 Checksum OK for IO-Socket-INET6-2.56.tar.gz.
===   p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 - found
===  Patching for p5-IO-Socket-INET6-2.56
===   p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 - found
===   p5-IO-Socket-INET6-2.56 depends on file:
/usr/local/lib/perl5/site_perl/5.8.9/mach/Socket6.pm - not found
===Verifying install for
/usr/local/lib/perl5/site_perl/5.8.9/mach/Socket6.pm in
/usr/ports/net/p5-Socket6
===  Extracting for p5-Socket6-0.23
= MD5 Checksum OK for Socket6-0.23.tar.gz.
= SHA256 Checksum OK for Socket6-0.23.tar.gz.
===   p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found
===  Patching for p5-Socket6-0.23
===   p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found
===   p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found
===  Configuring for p5-Socket6-0.23

 Also please list:
 grep ^PERL /etc/make.conf

This is what is listed in /etc/make.conf

# added by use.perl 2009-02-16 09:12:57
PERL_VER=5.8.9
PERL_VERSION=5.8.9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems upgrading SpamAssassin

2009-02-16 Thread Mel
On Monday 16 February 2009 10:04:43 Tankko wrote:
  We need the line that says:
   ===  p5-IO-INET6 depends on file
 
  That line is probably faulty.

 This is the closest thing I can find to p5-IO-INET6 in the build output.

 ===  Installing for p5-Net-DNS-0.65
 ===   p5-Net-DNS-0.65 depends on executable: ipcount - found
 ===   p5-Net-DNS-0.65 depends on file:
 /usr/local/lib/perl5/site_perl/5.8.9/Digest/HMAC_MD5.pm - found
 ===   p5-Net-DNS-0.65 depends on file:
 /usr/local/lib/perl5/site_perl/5.8.9/IO/Socket/INET6.pm - not found
 ===Verifying install for
 /usr/local/lib/perl5/site_perl/5.8.9/IO/Socket/INET6.pm in
 /usr/ports/net/p5-IO-INET6
 ===  Extracting for p5-IO-Socket-INET6-2.56
 = MD5 Checksum OK for IO-Socket-INET6-2.56.tar.gz.
 = SHA256 Checksum OK for IO-Socket-INET6-2.56.tar.gz.
 ===   p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 -
 found ===  Patching for p5-IO-Socket-INET6-2.56
 ===   p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 -
 found ===   p5-IO-Socket-INET6-2.56 depends on file:
 /usr/local/lib/perl5/site_perl/5.8.9/mach/Socket6.pm - not found

If:
# grep 'Socket6.pm' /var/db/pkg/p5-Socket6*/+CONTENTS

gives something with site_perl/5.8.8, you:
pkg_delete -f p5-Socket6-*

Then go back to building what you were building.

If the output is empty, then still do the pkg_delete -f, then install 
p5-Socket6. Then run the above command again. If it's still empty, the port 
doesn't install Socket6.pm and p5-IO-Socket-INET6 port is broken because of 
it OR the pkg-plist for p5-Socket6 is broken. Either way a send-pr(1) is 
needed.

If the output is anything else, please list here.


 This is what is listed in /etc/make.conf

 # added by use.perl 2009-02-16 09:12:57
 PERL_VER=5.8.9
 PERL_VERSION=5.8.9

That's correct.


-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems upgrading SpamAssassin

2009-02-16 Thread Tankko
 If:
 # grep 'Socket6.pm' /var/db/pkg/p5-Socket6*/+CONTENTS

 gives something with site_perl/5.8.8, you:
 pkg_delete -f p5-Socket6-*

 Then go back to building what you were building.

 If the output is empty, then still do the pkg_delete -f, then install
 p5-Socket6. Then run the above command again. If it's still empty, the port
 doesn't install Socket6.pm and p5-IO-Socket-INET6 port is broken because of
 it OR the pkg-plist for p5-Socket6 is broken. Either way a send-pr(1) is
 needed.

 If the output is anything else, please list here.


I ran the grep, and it did come back with site_perl/5.8.8, so I ran:

pkg_delete -f p5-Socket6-*
pkgdb -F
portupgrade p5-Mail-SpamAssassin

and I get the following errors:

---cut---
Writing Makefile for IO::Socket::INET6
===  Building for p5-IO-Socket-INET6-2.56
cp lib/IO/Socket/INET6.pm blib/lib/IO/Socket/INET6.pm
Manifying blib/man3/IO::Socket::INET6.3
===  Installing for p5-IO-Socket-INET6-2.56
===   p5-IO-Socket-INET6-2.56 depends on file:
/usr/local/lib/perl5/site_perl/5.8.9/mach/Socket6.pm - found
===   p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 - found
===   p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 - found
===   Generating temporary packing list
===  Checking if net/p5-IO-INET6 already installed
===   p5-IO-Socket-INET6-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 net/p5-IO-INET6
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/net/p5-IO-INET6.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems upgrading SpamAssassin

2009-02-16 Thread Mel
On Monday 16 February 2009 11:19:35 Tankko wrote:
  If:
  # grep 'Socket6.pm' /var/db/pkg/p5-Socket6*/+CONTENTS
 
  gives something with site_perl/5.8.8, you:
  pkg_delete -f p5-Socket6-*
 
  Then go back to building what you were building.
 
  If the output is empty, then still do the pkg_delete -f, then install
  p5-Socket6. Then run the above command again. If it's still empty, the
  port doesn't install Socket6.pm and p5-IO-Socket-INET6 port is broken
  because of it OR the pkg-plist for p5-Socket6 is broken. Either way a
  send-pr(1) is needed.
 
  If the output is anything else, please list here.

 I ran the grep, and it did come back with site_perl/5.8.8, so I ran:

 pkg_delete -f p5-Socket6-*
 pkgdb -F
 portupgrade p5-Mail-SpamAssassin

 and I get the following errors:

 ---cut---
 Writing Makefile for IO::Socket::INET6
 ===  Building for p5-IO-Socket-INET6-2.56
 cp lib/IO/Socket/INET6.pm blib/lib/IO/Socket/INET6.pm
 Manifying blib/man3/IO::Socket::INET6.3
 ===  Installing for p5-IO-Socket-INET6-2.56
 ===   p5-IO-Socket-INET6-2.56 depends on file:
 /usr/local/lib/perl5/site_perl/5.8.9/mach/Socket6.pm - found
 ===   p5-IO-Socket-INET6-2.56 depends on file: /usr/local/bin/perl5.8.9 -
 found ===   p5-IO-Socket-INET6-2.56 depends on file:
 /usr/local/bin/perl5.8.9 - found ===   Generating temporary packing list
 ===  Checking if net/p5-IO-INET6 already installed
 ===   p5-IO-Socket-INET6-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 net/p5-IO-INET6
   without deleting it first, set the variable FORCE_PKG_REGISTER
   in your environment or the make install command line.

Same issue, different package. Apparently perl-after-upgrade didn't do it's 
job.
I would:
portupgrade -f p5-*

Then go back to upgrade spamassasin.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems upgrading SpamAssassin

2009-02-16 Thread Wojciech Puchar

so do make deinstall and make install /usr/ports/net/p5-Socket6



===  Installing for p5-Socket6-0.23
===   p5-Socket6-0.23 depends on file: /usr/local/bin/perl5.8.9 - found
===   Generating temporary packing list
===  Checking if net/p5-Socket6 already installed
===   p5-Socket6-0.23 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 net/p5-Socket6
 without deleting it first, set the variable FORCE_PKG_REGISTER
 in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/net/p5-Socket6.
*** Error code 1

Stop in /usr/ports/net/p5-IO-INET6.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problems upgrading SpamAssassin

2009-02-16 Thread Tankko
 Same issue, different package. Apparently perl-after-upgrade didn't do it's
 job.
 I would:
 portupgrade -f p5-*

 Then go back to upgrade spamassasin.
 --
 Mel

OK, this solved the problem.   Everything upgrades fine now.  Thank
you very much for all your help.  Not sure why this happened in the
first place.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org