Re: net/sendemail fails after updating Perl

2011-05-30 Thread Mohacsi Janos

Dear All,
I have just submitted an update to net/p5-IO-Socket-INET6.
http://www.freebsd.org/cgi/query-pr.cgi?pr=157427

Sorry for the long delay.

Janos Mohacsi
Head of HBONE+ project
Network Engineer, Deputy Director of Network Planning and Projects
NIIF/HUNGARNET, HUNGARY
Key 70EF9882: DEC2 C685 1ED4 C95A 145F  4300 6F64 7B00 70EF 9882

On Mon, 23 May 2011, Hajimu UMEMOTO wrote:


Hi,

# I've CC'ed the maintainer of p5-IO-Socket-INET6.


On Sat, 21 May 2011 08:36:45 -0400
Jerry je...@seibercom.net said:


jerry The port: /net/sendemail builds fine after the update to Perl;
jerry however, it no longer runs. It terminates with this error message:

jerry Subroutine IO::Socket::INET6::sockaddr_in6 redefined at 
/usr/local/lib/perl5/5.14.0/Exporter.pm line 67.
jerry  at /usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm line 21

I noticed that the p5-IO-Socket-INET6 ports is slightly old (2.65).
The latest version 2.67 fixed this warning message.  Please try 2.67.
The patch to ports/net/p5-IO-Socket-INET6 is attached.
I confirmed that the warning message is not out with 2.67.  However,
it is still warning, and I think it doesn't terminate.  So, I'm not
sure if 2.67 fixes your actual problem, though.

Sincerely,



On Mon, 23 May 2011, Jerry wrote:


On Mon, 23 May 2011 22:09:30 +0900
Hajimu UMEMOTO u...@mahoroba.org articulated:


Hi,

# I've CC'ed the maintainer of p5-IO-Socket-INET6.


On Sat, 21 May 2011 08:36:45 -0400
Jerry je...@seibercom.net said:


jerry The port: /net/sendemail builds fine after the update to
jerry Perl; however, it no longer runs. It terminates with this
jerry error message:

jerry Subroutine IO::Socket::INET6::sockaddr_in6 redefined
jerry at /usr/local/lib/perl5/5.14.0/Exporter.pm line 67.
jerry at /usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm
jerry line 21

I noticed that the p5-IO-Socket-INET6 ports is slightly old (2.65).
The latest version 2.67 fixed this warning message.  Please try 2.67.
The patch to ports/net/p5-IO-Socket-INET6 is attached.
I confirmed that the warning message is not out with 2.67.  However,
it is still warning, and I think it doesn't terminate.  So, I'm not
sure if 2.67 fixes your actual problem, though.


I have confirmed that the program does run even though it emits that
warning. I have noticed that users of spamd  and perhaps others are
experiencing the same phenomena. I am not sure if it causes spamd to
terminate or not.

I won't be able to implement that patch  until this evening though.
I will try it then.

Thanks!

--
Jerry ?
jerry+po...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__



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


Re: net/sendemail fails after updating Perl

2011-05-23 Thread Hajimu UMEMOTO
Hi,

# I've CC'ed the maintainer of p5-IO-Socket-INET6.

 On Sat, 21 May 2011 08:36:45 -0400
 Jerry je...@seibercom.net said:

jerry The port: /net/sendemail builds fine after the update to Perl;
jerry however, it no longer runs. It terminates with this error message:

jerry Subroutine IO::Socket::INET6::sockaddr_in6 redefined at 
/usr/local/lib/perl5/5.14.0/Exporter.pm line 67.
jerry  at /usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm line 21

I noticed that the p5-IO-Socket-INET6 ports is slightly old (2.65).
The latest version 2.67 fixed this warning message.  Please try 2.67.
The patch to ports/net/p5-IO-Socket-INET6 is attached.
I confirmed that the warning message is not out with 2.67.  However,
it is still warning, and I think it doesn't terminate.  So, I'm not
sure if 2.67 fixes your actual problem, though.

Sincerely,
Index: Makefile
diff -u Makefile.orig Makefile
--- Makefile.orig	2010-08-10 01:17:30.0 +0900
+++ Makefile	2011-05-23 20:05:47.0 +0900
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	IO-Socket-INET6
-PORTVERSION=	2.65
+PORTVERSION=	2.67
 CATEGORIES=	net perl5 ipv6
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
Index: distinfo
diff -u distinfo.orig distinfo
--- distinfo.orig	2011-03-21 03:44:26.0 +0900
+++ distinfo	2011-05-23 20:06:02.0 +0900
@@ -1,2 +1,2 @@
-SHA256 (IO-Socket-INET6-2.65.tar.gz) = 05aeeb3effaa1f9f3fa07410a5b2cfc3d07aa366327028ffa427f5c0b2bfb925
-SIZE (IO-Socket-INET6-2.65.tar.gz) = 17686
+SHA256 (IO-Socket-INET6-2.67.tar.gz) = dd90e417cbd37047b71469ec99e79fe89a3bb5103769fc9c76b3c87d8cb019b2
+SIZE (IO-Socket-INET6-2.67.tar.gz) = 18096

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
u...@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: net/sendemail fails after updating Perl

2011-05-23 Thread Jerry
On Mon, 23 May 2011 22:09:30 +0900
Hajimu UMEMOTO u...@mahoroba.org articulated:

 Hi,
 
 # I've CC'ed the maintainer of p5-IO-Socket-INET6.
 
  On Sat, 21 May 2011 08:36:45 -0400
  Jerry je...@seibercom.net said:
 
 jerry The port: /net/sendemail builds fine after the update to
 jerry Perl; however, it no longer runs. It terminates with this
 jerry error message:
 
 jerry Subroutine IO::Socket::INET6::sockaddr_in6 redefined
 jerry at /usr/local/lib/perl5/5.14.0/Exporter.pm line 67.
 jerry at /usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm
 jerry line 21
 
 I noticed that the p5-IO-Socket-INET6 ports is slightly old (2.65).
 The latest version 2.67 fixed this warning message.  Please try 2.67.
 The patch to ports/net/p5-IO-Socket-INET6 is attached.
 I confirmed that the warning message is not out with 2.67.  However,
 it is still warning, and I think it doesn't terminate.  So, I'm not
 sure if 2.67 fixes your actual problem, though.

I have confirmed that the program does run even though it emits that
warning. I have noticed that users of spamd  and perhaps others are
experiencing the same phenomena. I am not sure if it causes spamd to
terminate or not.

I won't be able to implement that patch  until this evening though.
I will try it then.

Thanks!

-- 
Jerry ✌
jerry+po...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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


Re: net/sendemail fails after updating Perl

2011-05-23 Thread Marco Beishuizen

On Mon, 23 May 2011, the wise Jerry wrote:


I have confirmed that the program does run even though it emits that
warning. I have noticed that users of spamd  and perhaps others are
experiencing the same phenomena. I am not sure if it causes spamd to
terminate or not.


In my case spamd sometimes terminates, and sometimes not. I don't know 
when or why unfortunately.


Regards,
Marco

--
Rune's Rule:
If you don't care where you are, you ain't lost.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: net/sendemail fails after updating Perl

2011-05-23 Thread Jerry
On Mon, 23 May 2011 17:52:41 +0200 (CEST)
Marco Beishuizen mb...@xs4all.nl articulated:

 In my case spamd sometimes terminates, and sometimes not. I don't
 know when or why unfortunately.

Did you try the patch from Hajimu UMEMOTO u...@mahoroba.org in a
previous post? I cannot do it until this evening. I am wondering if it
might correct your problem also. I don't use spamd so I cannot test
it myself.

BTW, did you post a PR against the port as well as informing the port
maintainer regarding this abnormality?

-- 
Jerry ✌
jerry+po...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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


Re: net/sendemail fails after updating Perl

2011-05-23 Thread Jerry
On Mon, 23 May 2011 19:09:51 +0200 (CEST)
Marco Beishuizen mb...@xs4all.nl articulated:

 On Mon, 23 May 2011, the wise Jerry wrote:
 
  In my case spamd sometimes terminates, and sometimes not. I don't
  know when or why unfortunately.
 
  Did you try the patch from Hajimu UMEMOTO u...@mahoroba.org in a
  previous post? I cannot do it until this evening. I am wondering if
  it might correct your problem also. I don't use spamd so I cannot
  test it myself.
 
  BTW, did you post a PR against the port as well as informing the
  port maintainer regarding this abnormality?
 
 I use FreeBSD for a long time but I've never done this before. Sounds 
 probably stupid but how does this work (both the patch and a PR)?

OK, I just used the patch and updated the port and all is well.

To patch the port Makefile, cd to /usr/ports/net/p5-IO-Socket-INET6 and
then place the patch into that directory. You can name the patch
anything you like; ie, New_Make for example. Then as a privileged user
(root) run: patch New_Make or whatever you named the patch file. It
will back up your existing Makefile and distinfo files. You can give
the patch command a -C flag to see what it will do without actually
overwriting anything first if you  want. Now, simply update the port;
ie, make clean  make deinstall  make reinstall  make distclean.

You will probably have to restart anything that depends on that port
however for it to take effect. Good luck.

For the PR, I usually use the web based mechanism.
http://www.freebsd.org/send-pr.html. It is pretty self explanatory.

-- 
Jerry ✌
jerry+po...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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


Re: net/sendemail fails after updating Perl

2011-05-23 Thread Marco Beishuizen

On Mon, 23 May 2011, the wise Jerry wrote:


OK, I just used the patch and updated the port and all is well.

To patch the port Makefile, cd to /usr/ports/net/p5-IO-Socket-INET6 and
then place the patch into that directory. You can name the patch
anything you like; ie, New_Make for example. Then as a privileged user
(root) run: patch New_Make or whatever you named the patch file. It
will back up your existing Makefile and distinfo files. You can give
the patch command a -C flag to see what it will do without actually
overwriting anything first if you  want. Now, simply update the port;
ie, make clean  make deinstall  make reinstall  make distclean.

You will probably have to restart anything that depends on that port
however for it to take effect. Good luck.

For the PR, I usually use the web based mechanism.
http://www.freebsd.org/send-pr.html. It is pretty self explanatory.


Yes, all went flawlessly. Spamd now starts without the error. Thanks for 
the help! I'll send the PR too.


Regards,
Marco

--
It takes less time to do a thing right
than it does to explain why you did it wrong.
-- H. W. Longfellow
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: net/sendemail fails after updating Perl

2011-05-23 Thread Jerry
On Mon, 23 May 2011 21:07:27 +0200 (CEST)
Marco Beishuizen mb...@xs4all.nl articulated:

 Yes, all went flawlessly. Spamd now starts without the error. Thanks
 for the help! I'll send the PR too.

Don't thank me, thank Hajimu UMEMOTO u...@mahoroba.org, he was the one
who figured it out. Hopefully the maintainer of the
net/p5-IO-Socket-INET6 port will update it so that this hack isn't
necessary.

-- 
Jerry ✌
jerry+po...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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


Re: net/sendemail fails after updating Perl

2011-05-22 Thread Jerry
On Sun, 22 May 2011 03:14:06 +0100
Jase Thew free...@beardz.net articulated:

 On 21/05/2011 23:30, Jerry wrote:
  On Sat, 21 May 2011 22:38:33 +0400
  Ruslan Mahmatkhanovcvs-...@yandex.ru  articulated:
 
  21.05.2011 22:30, Doug Barton пишет:
 
  Check /usr/local/lib/perl5/ and /usr/local/lib/perl5/site_perl to
  see if you still have modules installed from the previous version
  of perl. If you do, use pkg_info -W to find what module, and
  reinstall it. If you use portmaster, 'portmaster p5' is usually
  sufficient to fix this, but sometimes things other than p5-*
  modules install files in that path.
 
  git and ImageMagick in my case, so may be they should be bumped.
 
  I have a feeling that more will be crawling out of the woodwork. In
  any case, it is a problem that needs solving.
 
 Isn't the recommended practice to reinstall all perl related ports
 after upgrading perl to a new minor version?
 
 Taken from /usr/ports/UPDATING :

[snip]

Been there, done that; however, the problem still exists. If you had
read my original post you would have been aware of that. I know only
enough about Perl to get myself in trouble, so debugging this is not
quite my forte. I am sure that a Perl connoisseur would have no problem
in immediately discovering the source of the conflict.

-- 
Jerry ✌
jerry+po...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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


Re: net/sendemail fails after updating Perl

2011-05-22 Thread Hajimu UMEMOTO
Hi,

 On Sat, 21 May 2011 08:36:45 -0400
 Jerry je...@seibercom.net said:

jerry The port: /net/sendemail builds fine after the update to Perl;
jerry however, it no longer runs. It terminates with this error message:

jerry Subroutine IO::Socket::INET6::sockaddr_in6 redefined at 
/usr/local/lib/perl5/5.14.0/Exporter.pm line 67.
jerry  at /usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm line 21

Perl 5.14 has its own IPv6 support.  I suspect it is conflict with
p5-IO-Socket-INET6.

I found other compatibility issue that 5.14 deesn't has sv_undef,
sv_yes nor sv_no, anymore.  It causes that cyrus-imapd doesn't build
with 5.14.  Perhaps, there are more ports which are affected by this
issue.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
u...@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


net/sendemail fails with perl 5.14 (INET6) (was: Re: net/sendemail fails after updating Perl)

2011-05-22 Thread Ion-Mihai Tetcu
On Sun, 22 May 2011 21:21:44 +0900
Hajimu UMEMOTO u...@mahoroba.org wrote:

 Hi,
 
  On Sat, 21 May 2011 08:36:45 -0400
  Jerry je...@seibercom.net said:
 
 jerry The port: /net/sendemail builds fine after the update to
 jerry Perl; however, it no longer runs. It terminates with this
 jerry error message:
 
 jerry Subroutine IO::Socket::INET6::sockaddr_in6 redefined
 jerry at /usr/local/lib/perl5/5.14.0/Exporter.pm line 67.
 jerry at /usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm
 jerry line 21
 
 Perl 5.14 has its own IPv6 support.  I suspect it is conflict with
 p5-IO-Socket-INET6.

No, a nice thing about this port is that it's self contained (the only
two optional depends, for TLS, are p5-IO-Socket-SSL and p5-Crypt-SSLeay).

The port is at the latest version (released in 2009, h).
Since perl 5.14 is not the default, I marked it broken for now and
ping upstream to see if there's still any active development.
I don't intend to maintain this as a fork ; anyone wanting to take over
maintainership has just to ping me.

 I found other compatibility issue that 5.14 deesn't has sv_undef,
 sv_yes nor sv_no, anymore.  It causes that cyrus-imapd doesn't build
 with 5.14.  Perhaps, there are more ports which are affected by this
 issue.

Any way to detect this at build time? We could od a run on pointy if
that's the case, and at least have a list of problems.


-- 
IOnut - Un^d^dregistered ;) FreeBSD user
  Intellectual Property is   nowhere near as valuable   as Intellect
FreeBSD committer - ite...@freebsd.org, PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature


Re: net/sendemail fails with perl 5.14 (INET6) (was: Re: net/sendemail fails after updating Perl)

2011-05-22 Thread Hajimu UMEMOTO
Hi,

 On Sun, 22 May 2011 15:51:35 +0300
 Ion-Mihai Tetcu ite...@freebsd.org said:

 jerry The port: /net/sendemail builds fine after the update to
 jerry Perl; however, it no longer runs. It terminates with this
 jerry error message:
 
 jerry Subroutine IO::Socket::INET6::sockaddr_in6 redefined
 jerry at /usr/local/lib/perl5/5.14.0/Exporter.pm line 67.
 jerry at /usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm
 jerry line 21
 
 Perl 5.14 has its own IPv6 support.  I suspect it is conflict with
 p5-IO-Socket-INET6.

itetcu No, a nice thing about this port is that it's self contained (the only
itetcu two optional depends, for TLS, are p5-IO-Socket-SSL and 
p5-Crypt-SSLeay).

Okay, net/sendemail itself doesn't depend on p5-IO-Socket-INET6,
directly.  However, it seems that p5-IO-Socket-SSL has an option to
enable IPv6 support which is off by default.  When an IPv6 option is
enabled, p5-IO-Socket-SSL depends on p5-IO-Socket-INET6.

/usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm imports
sockaddr_in6() from Socket6.  However, 5.14 has sockaddr_in6() in
/usr/local/lib/perl5/5.14.0/mach/Socket.pm.  It seems to me that
IO::Socket::INET6 has to import sockaddr_in6() conditionally, now.

itetcu The port is at the latest version (released in 2009, h).
itetcu Since perl 5.14 is not the default, I marked it broken for now and
itetcu ping upstream to see if there's still any active development.
itetcu I don't intend to maintain this as a fork ; anyone wanting to take over
itetcu maintainership has just to ping me.

I agreed.  5.14 is not the default.

 I found other compatibility issue that 5.14 deesn't has sv_undef,
 sv_yes nor sv_no, anymore.  It causes that cyrus-imapd doesn't build
 with 5.14.  Perhaps, there are more ports which are affected by this
 issue.

itetcu Any way to detect this at build time? We could od a run on pointy if
itetcu that's the case, and at least have a list of problems.

Yes, I found this at build time.  I committed the workaround for
cyrus-imapd23 and cyrus-imapd24, already.

http://www.freebsd.org/cgi/cvsweb.cgi/ports/mail/cyrus-imapd24/files/patch-perl%3A%3Aimap%3A%3AIMAP.xs#rev1.3

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
u...@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: net/sendemail fails after updating Perl

2011-05-22 Thread Marco Beishuizen

On Sat, 21 May 2011, the wise Jerry wrote:


The port: /net/sendemail builds fine after the update to Perl;
however, it no longer runs. It terminates with this error message:

Subroutine IO::Socket::INET6::sockaddr_in6 redefined at 
/usr/local/lib/perl5/5.14.0/Exporter.pm line 67.
at /usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm line 21

This is a FreeBSD 8.2-STABLE amd64 machine. I followed the directions
in the UPDATING file when upgrading Perl and then even did a reboot to
insure everything would start up correctly. The only errors I received
when updating Perl were regarding graphics/graphviz which was
previously reported and www/web-gtk2 for which a fix is not yet
ready.


I'm getting this same error message with spamd:

...
/usr/local/etc/rc.d/sa-spamd restart
Stopping spamd.
Waiting for PIDS: 44108.
Starting spamd.
Subroutine IO::Socket::INET6::sockaddr_in6 redefined at 
/usr/local/lib/perl5/5.14.0/Exporter.pm line 67.

 at /usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm line 21
...

Marco

--
Doctors and lawyers must go to school for years and years, often with
little sleep and with great sacrifice to their first wives.
-- Roy G. Blount, Jr.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: net/sendemail fails after updating Perl

2011-05-22 Thread Ruslan Mahmatkhanov

22.05.2011 02:30, Jerry пишет:

On Sat, 21 May 2011 22:38:33 +0400
Ruslan Mahmatkhanovcvs-...@yandex.ru  articulated:


21.05.2011 22:30, Doug Barton пишет:


Check /usr/local/lib/perl5/ and /usr/local/lib/perl5/site_perl to
see if you still have modules installed from the previous version
of perl. If you do, use pkg_info -W to find what module, and
reinstall it. If you use portmaster, 'portmaster p5' is usually
sufficient to fix this, but sometimes things other than p5-*
modules install files in that path.


git and ImageMagick in my case, so may be they should be bumped.


I have a feeling that more will be crawling out of the woodwork. In any
case, it is a problem that needs solving.


No, it just took my mind that switching to the 5.14,
is not mandatory so bumping this ports will be
pointless to all users (and they are most of users)
who decide to stay with old perl - they just end up
with unneeded superfluous rebuilds. And those who
want to be on the edge with perl should follow
UPDATING entry (rebuild all that depends on perl)
or resolve such issues manually.
But they surely should be bumped when ports tree will
be switched to 5.14 as a main perl version.

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


Re: net/sendemail fails after updating Perl

2011-05-22 Thread Jase Thew

On 22/05/2011 12:13, Jerry wrote:


[snip]

Been there, done that; however, the problem still exists. If you had
read my original post you would have been aware of that.


Yes, you are quite right - I apologise for only having scanned your OP.

Regards,

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


Re: net/sendemail fails after updating Perl

2011-05-22 Thread Jerry
On Sun, 22 May 2011 19:00:52 +0200 (CEST)
Marco Beishuizen mb...@xs4all.nl articulated:

{SNIP}

 I'm getting this same error message with spamd: 
 ...
 /usr/local/etc/rc.d/sa-spamd restart
 Stopping spamd.
 Waiting for PIDS: 44108.
 Starting spamd.
 Subroutine IO::Socket::INET6::sockaddr_in6 redefined at 
 /usr/local/lib/perl5/5.14.0/Exporter.pm line 67.
   at /usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm line 21

Did you file a PR against it? IMHO, the more PRs filed against this
problem, the sooner it will be resolved.


-- 
Jerry ✌
jerry+po...@seibercom.net

 ''~``
( o o )
+--.oooO--(_)--Oooo.--+
| |
|.oooO|
|(   )   Oooo.|
+-\ ((   )+
   \_)) /
 (_/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: net/sendemail fails after updating Perl

2011-05-22 Thread Sahil Tandon
On Sun, 2011-05-22 at 21:18:24 +0400, Ruslan Mahmatkhanov wrote:

 22.05.2011 02:30, Jerry пишет:
 I have a feeling that more will be crawling out of the woodwork. In
 any case, it is a problem that needs solving.
 
 No, it just took my mind that switching to the 5.14, is not mandatory
 so bumping this ports will be pointless to all users (and they are
 most of users) who decide to stay with old perl - they just end up
 with unneeded superfluous rebuilds. And those who want to be on the
 edge with perl should follow UPDATING entry (rebuild all that depends
 on perl) or resolve such issues manually.  But they surely should be
 bumped when ports tree will be switched to 5.14 as a main perl
 version.

Exactly.  5.14 is not default; the whole point is for users and
volunteers to contribute with constructive feedback and patches to
improve integration with FreeBSD.  It should come as no surprise that
this is an iterative process with unavoidable bumps along the way.

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


Re: net/sendemail fails after updating Perl

2011-05-21 Thread Doug Barton

On 05/21/2011 05:36, Jerry wrote:

The port: /net/sendemail builds fine after the update to Perl;
however, it no longer runs. It terminates with this error message:

Subroutine IO::Socket::INET6::sockaddr_in6 redefined at 
/usr/local/lib/perl5/5.14.0/Exporter.pm line 67.
  at /usr/local/lib/perl5/site_perl/5.14.0/IO/Socket/INET6.pm line 21


Check /usr/local/lib/perl5/ and /usr/local/lib/perl5/site_perl to see if 
you still have modules installed from the previous version of perl. If 
you do, use pkg_info -W to find what module, and reinstall it. If you 
use portmaster, 'portmaster p5' is usually sufficient to fix this, but 
sometimes things other than p5-* modules install files in that path.



hth,

Doug

--

Nothin' ever doesn't change, but nothin' changes much.
-- OK Go

Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price.  :)  http://SupersetSolutions.com/

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


Re: net/sendemail fails after updating Perl

2011-05-21 Thread Ruslan Mahmatkhanov

21.05.2011 22:30, Doug Barton пишет:


Check /usr/local/lib/perl5/ and /usr/local/lib/perl5/site_perl to see if you
still have modules installed from the previous version of perl. If you do, use
pkg_info -W to find what module, and reinstall it. If you use portmaster,
'portmaster p5' is usually sufficient to fix this, but sometimes things other
than p5-* modules install files in that path.


git and ImageMagick in my case, so may be they should be bumped.

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


Re: net/sendemail fails after updating Perl

2011-05-21 Thread Jerry
On Sat, 21 May 2011 22:38:33 +0400
Ruslan Mahmatkhanov cvs-...@yandex.ru articulated:

 21.05.2011 22:30, Doug Barton пишет:
 
  Check /usr/local/lib/perl5/ and /usr/local/lib/perl5/site_perl to
  see if you still have modules installed from the previous version
  of perl. If you do, use pkg_info -W to find what module, and
  reinstall it. If you use portmaster, 'portmaster p5' is usually
  sufficient to fix this, but sometimes things other than p5-*
  modules install files in that path.
 
 git and ImageMagick in my case, so may be they should be bumped.

I have a feeling that more will be crawling out of the woodwork. In any
case, it is a problem that needs solving.

-- 
Jerry ✌
jerry+po...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

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


Re: net/sendemail fails after updating Perl

2011-05-21 Thread Jase Thew

On 21/05/2011 23:30, Jerry wrote:

On Sat, 21 May 2011 22:38:33 +0400
Ruslan Mahmatkhanovcvs-...@yandex.ru  articulated:


21.05.2011 22:30, Doug Barton пишет:


Check /usr/local/lib/perl5/ and /usr/local/lib/perl5/site_perl to
see if you still have modules installed from the previous version
of perl. If you do, use pkg_info -W to find what module, and
reinstall it. If you use portmaster, 'portmaster p5' is usually
sufficient to fix this, but sometimes things other than p5-*
modules install files in that path.


git and ImageMagick in my case, so may be they should be bumped.


I have a feeling that more will be crawling out of the woodwork. In any
case, it is a problem that needs solving.



Isn't the recommended practice to reinstall all perl related ports after 
upgrading perl to a new minor version?


Taken from /usr/ports/UPDATING :

20110517:
  AFFECTS: users of lang/perl*
  AUTHOR: s...@freebsd.org

  lang/perl5.14 is out. If you want to switch to it from, for example
  lang/perl5.12, that is:

  Portupgrade users:
0) Fix pkgdb.db (for safety):
pkgdb -Ff

1) Reinstall new version of Perl (5.14):
env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f 
perl-5.12.\*


2) Reinstall everything that depends on Perl:
portupgrade -fr perl

  Portmaster users:
portmaster -o lang/perl5.14 lang/perl5.12

Conservative:
portmaster p5-

Comprehensive (but perhaps overkill):
portmaster -r perl-

  Note: If the perl- glob matches more than one port you will need to
specify the name of the Perl directory in /var/db/pkg explicitly.

Regards,

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