← Back to team overview

openjdk team mailing list archive

Bug#685276: openjdk-7-jre: Version number is < 7

 

Package: openjdk-7-jre
Version: 7~u3-2.1.1-3
Severity: normal

Dear Maintainer,

The version number "7~..." comes before version 7 according to the Debian
rules. e.g.

dpkg: dependency problems prevent configuration of test-java:
 test-java depends on openjdk-7-jre (>= 7); however:
  Version of openjdk-7-jre:amd64 on system is 7~u3-2.1.1-3.

Since Java 7 was released last year, I'm assuming this is a mistake.

This is a problem for 0install (the zeroinstall-injector Debian package), since
a package that specifies a Java dependency with e.g.

  <runner interface="http://repo.roscidus.com/java/openjdk-jre";>
    <version not-before='7'/>
  </runner>

will fail to accept the Debian package as a valid candidate. The current
version of 0install in the archive stops parsing the version at ~, and so
reports all versions as "7" (which works, but isn't very good). The Git version
interprets ~ (correctly, I think) as a pre-release marker and so fails to work
with the Debian package.

If you think this isn't a bug, let me know and I'll add a suitable workaround
to 0install upstream (e.g. replacing "~u" with "." for the Java packages). I
may do this anyway to support older systems, but it would be good to know what
your plans are for future versions.

(OpenSUSE versions look like e.g. 1.6.0.0_b24.1.11.3-6.2 and Fedora ones are
like 1.7.0.5, so a bit of massaging will always be needed)

Thanks,


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

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openjdk-7-jre depends on:
ii  libasound2               1.0.25-4
ii  libatk-wrapper-java-jni  0.30.4-2
ii  libatk1.0-0              2.4.0-2
ii  libc6                    2.13-35
ii  libcairo2                1.12.2-2
ii  libcups2                 1.5.3-2
ii  libfontconfig1           2.9.0-7
ii  libfreetype6             2.4.9-1
ii  libgdk-pixbuf2.0-0       2.26.1-1
ii  libgif4                  4.1.6-9.1
ii  libgl1-mesa-glx          8.0.4-1
ii  libglib2.0-0             2.32.3-1
ii  libgtk2.0-0              2.24.10-1
ii  libjpeg8                 8d-1
ii  libpango1.0-0            1.30.0-1
ii  libpng12-0               1.2.49-2
ii  libpulse0                2.0-4
ii  libx11-6                 2:1.5.0-1
ii  libxext6                 2:1.3.1-2
ii  libxi6                   2:1.6.1-1
ii  libxinerama1             2:1.1.2-1
ii  libxrandr2               2:1.3.2-2
ii  libxrender1              1:0.9.7-1
ii  libxtst6                 2:1.2.1-1
ii  openjdk-7-jre-headless   7~u3-2.1.1-3
ii  zlib1g                   1:1.2.7.dfsg-13

Versions of packages openjdk-7-jre recommends:
ii  libgconf2-4       3.2.5-1
ii  libgnome2-0       2.32.1-2
ii  libgnomevfs2-0    1:2.24.4-1
ii  ttf-dejavu-extra  2.33-2

Versions of packages openjdk-7-jre suggests:
pn  icedtea-7-plugin  <none>

-- no debconf information