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