Bug#732999: X11::Protocol fails to connect to X servers over IPv6

Ivan Shmakov ivan at siamics.net
Fri Apr 11 17:31:37 UTC 2014


>>>>> gregor herrmann <gregoa at debian.org> writes:
>>>>> On Mon, 23 Dec 2013 18:54:58 +0000, Ivan Shmakov wrote:

[…]
 
 >> An (untested) change is MIMEd.

 > Could you please:

 > - provide a proper quilt patch against our git repo patch instead of
 > instructions what needs to be done where

	Sure; MIMEd.

	BTW, I choose to use IO::Socket::IP (which I also suggest for
	adding to Recommends:) instead of IO::Socket::INET6, as the
	former is expected to end up in the Perl “core”.

 > - actually test the changes :)

	I’ve briefly tested the change.  For instance, with 0.56-4:

$ perl zkgqj6rkxouaqmkzrhqukdem6d.perl 
Can't connect to display `violet.siamics.net:1': Invalid argument at /usr/share/perl5/X11/Protocol.pm line 2270.
$ 

	0.56-5, no IO::Socket::IP installed:

$ perl zkgqj6rkxouaqmkzrhqukdem6d.perl 
Can't connect to display `violet.siamics.net:1': Invalid argument at /usr/share/perl5/X11/Protocol.pm line 2270.
$ 

	0.56-5, IO::Socket::IP:

$ perl zkgqj6rkxouaqmkzrhqukdem6d.perl 
_NET_WM_WINDOW_TYPE → ["a\1\0\0", 4, 32, 0]
_NET_SUPPORTING_WM_CHECK → ["\16\0\xA0\0", 33, 32, 0]
_NET_WM_NAME → ["Openbox", 306, 8, 0]
WM_CLASS → ["", 31, 8, 0]
WM_TRANSIENT_FOR → ["\2\0\0\0", 33, 32, 0]
WM_LOCALE_NAME → ["C", 31, 8, 0]
…

-- 
FSF associate member #7257
-------------- next part --------------
A non-text attachment was scrubbed...
Name: io-socket-ip.patch
Type: text/x-diff
Size: 816 bytes
Desc: Use IO::Socket::IP if available (or IO::Socket::INET if not)
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140411/eb7d0874/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 1291 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140411/eb7d0874/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zkgqj6rkxouaqmkzrhqukdem6d.perl
Type: text/x-perl
Size: 1535 bytes
Desc: Test X11::Protocol vs. IPv6
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140411/eb7d0874/attachment.pl>


More information about the pkg-perl-maintainers mailing list