Package: openjdk-6-jdk
Version: 6b18~pre2-1
Severity: normal

This might be related to #560056, but it's not directly caused by
bindv6only (it happens with either setting).
Instead I suspect that it's caused by the workaround for that bug
(ipv4-mapped-ipv6-addresses.diff)

I'm using eclipse 3.5 SR1 (from upstream) and when trying to connect to
the software repositories I get:

!ENTRY org.eclipse.equinox.p2.ui 4 0 2010-03-17 15:51:45.812
!MESSAGE Unable to load the repository 
http://download.eclipse.org/releases/galileo
!STACK 1
[cut]
Caused by: java.net.ConnectException: Invalid argument
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
        at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
        at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
        at java.net.Socket.connect(Socket.java:542)
[cut]

With strace I see lots of:

4976  socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 90
4976  setsockopt(90, SOL_IPV6, IPV6_V6ONLY, [0], 4) = -1 EINVAL (Invalid 
argument)
4976  close(90)                         = 0

Sun JVM works (at least with bindv6only=0)

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openjdk-6-jdk depends on:
ii  dpkg                    1.15.5.6         Debian package management system
ii  libc6                   2.10.2-6         Embedded GNU C Library: Shared lib
ii  libx11-6                2:1.3.3-2        X11 client-side library
ii  openjdk-6-jre           6b18~pre2-1      OpenJDK Java runtime, using Hotspo
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages openjdk-6-jdk recommends:
ii  libxt-dev                     1:1.0.7-1  X11 toolkit intrinsics library (de

Versions of packages openjdk-6-jdk suggests:
pn  openjdk-6-demo                <none>     (no description available)
pn  openjdk-6-source              <none>     (no description available)
pn  visualvm                      <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to