[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#227587: marked as done ([PROPOSAL] Java library dependencies)

Your message dated Mon, 05 Apr 2010 22:14:15 +0000
with message-id <E1NyuYh-0008P5-LR@ries.debian.org>
and subject line Bug#227587: fixed in java-common 0.35
has caused the Debian Bug report #227587,
regarding [PROPOSAL] Java library dependencies
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

227587: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=227587
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: java-common
Version: 0.22
Severity: wishlist

I propose to change the following paragraph in section 2.4. of the Debian Java policy

> Java libraries must depend on the needed runtime environment
> (java1-runtime and/or java2-runtime) but should not depend (only
> suggest) java-virtual-machine.


Java library packages must depend on other library packages if they can't be used without them. If other libraries are only required by parts of the library, they should suggest the required library package instead.


1. Currently library packages are not required to depend on other
   libraries that they use. A dependency should not be used when only
   parts of a library require other libraries, for example as in
   ant-optional.jar. It's then up to the packager of a Java application
   to decide which other JARs are really required.

2. Dependencies on java*-runtime don't make a lot of sense:

   java*-runtime are both virtual packages and packages always
   should depend on "real_package | virtual_package" (so apt and others
   know what to do when they are first installed). Most Java libraries
   have a dependency like "classpath | java1-runtime | java2-runtime".
   This will keep them from migration to testing since the real package
   that provides java*-runtime might not be available for all

   It's almost impossible to determine if a library works with
   java1-runtime and/or java2-runtime. This can only be decided when
   you have an applications that uses the library. For example, tomcat4
   can now be run with Kaffe 1.1.3 so a lot of libtomcat4-java's
   dependencies actually work without a full "Java 2 runtime
   environment" although they depend on "java2-runtime".

3. Depending on java-common (IIRC this was mandated by a previos version
   of the Java Policy) is also not needed since there's nothing but
   documentation in java-common. This might change if we put some
   scripts to automatically generate a class path in java-common.

4. Libraries are supposed to work with any JVM so depending on
   known-to-work JVM packages is also not sensible: One library might
   depend on kaffe, another one on sablevm. An application which uses
   them both might work with Kaffe but dpkg would insist on installing
   SableVM even if it's not required.

To summarize: I'd like to move the task of determining the actual dependencies to the packagers of Java applications. They can test them with specific JVM packages and know which "optional" JARs are required to run the application.


--- End Message ---
--- Begin Message ---
Source: java-common
Source-Version: 0.35

We believe that the bug you reported is fixed in the latest version of
java-common, which is due to be installed in the Debian FTP archive:

  to main/j/java-common/default-jdk-builddep_1.6-35_amd64.deb
  to main/j/java-common/default-jdk-doc_0.35_all.deb
  to main/j/java-common/default-jdk_1.6-35_amd64.deb
  to main/j/java-common/default-jre-headless_1.6-35_amd64.deb
  to main/j/java-common/default-jre_1.6-35_amd64.deb
  to main/j/java-common/java-common_0.35.dsc
  to main/j/java-common/java-common_0.35.tar.gz
  to main/j/java-common/java-common_0.35_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 227587@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Niels Thykier <niels@thykier.net> (supplier of updated java-common package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Mon, 05 Apr 2010 18:01:40 +0200
Source: java-common
Binary: java-common default-jre default-jre-headless default-jdk default-jdk-doc default-jdk-builddep
Architecture: source all amd64
Version: 0.35
Distribution: unstable
Urgency: low
Maintainer: Debian Java Mailing List <debian-java@lists.debian.org>
Changed-By: Niels Thykier <niels@thykier.net>
 default-jdk - Standard Java or Java compatible Development Kit
 default-jdk-builddep - Standard Java or Java compatible build dependencies
 default-jdk-doc - Standard Java or Java compatible Development Kit (documentation)
 default-jre - Standard Java or Java compatible Runtime
 default-jre-headless - Standard Java or Java compatible Runtime (headless)
 java-common - Base of all Java packages
Closes: 227587 505166
 java-common (0.35) unstable; urgency=low
   * Added myself to Uploaders.
   * Added myself to the list of Authors of the Java Policy.
   * Integrated adapted parts of the FOSDEM06 proposal into the Java
     - Java libraries are no longer required to depend on a JVM
     (Closes: #227587, #505166)
   * Updated to java-faq to match the online version.
   * Bumped debhelper compat to 7.
     - Added missing ${misc:Depends}
   * Use the version from the changelog rather than the dir to determine
     the debian "revision" of the default-* packages. It is more robust.
   * Removed old publish rule - the policy is updated automatically after
     upload now.
   * Updated the rules to update the java faq.
   * Converted source to 3.0 (native).
   * Bumped Standards-Version to 3.8.4 - no changes required.
   * Set DM-Upload-Allowed.
   * Removed self suggest in default-jre.
   * Fixed a spelling mistake in README.Debian.
   * Removed Arnaud Vandyck from Uploaders - Thanks for your work on this
 34e3d6b0af6408a6efbe5853fe850729f6d77421 1246 java-common_0.35.dsc
 1d9a9ee7090631b35aefe91f39b5b81926c669e6 59122 java-common_0.35.tar.gz
 b5010ab343bfc45d39be1b1c33626c7b1b27e09b 74288 java-common_0.35_all.deb
 bd0abf4080fff08364b03a9d7aba93d50e9b10fe 6410 default-jdk-doc_0.35_all.deb
 3a94246020ad30e6115dcddff7e28542888b2b29 1028 default-jre_1.6-35_amd64.deb
 5b73aa8ab857b6a8eb74609344ddb93919e32b71 6644 default-jre-headless_1.6-35_amd64.deb
 9c0286625b443aee2812b39b443665362eacd1e2 1020 default-jdk_1.6-35_amd64.deb
 13ec7350e38077ba6f9ddcc1c85cc956d843b72d 990 default-jdk-builddep_1.6-35_amd64.deb
 cb01777782acd6090223d001f0f519ffd21ad1db500ca706394015ff35c6a1d1 1246 java-common_0.35.dsc
 b88dd00dc8ef466d12920fa3db46a12866359c3cc7ea27118789e7f1ae3f0793 59122 java-common_0.35.tar.gz
 80615bc0d85a2d4bed7916df7acfdb9af7a68520f83d1912a7314c5cf115b6e4 74288 java-common_0.35_all.deb
 c8a40c43e274237ed827caf187fa1d484f482c4e97f609382de1d0b07f0cb411 6410 default-jdk-doc_0.35_all.deb
 232c4d34ef003bf3c1a68f3d45af7d1df65418de052bf8f5e065cae99cd4b2ab 1028 default-jre_1.6-35_amd64.deb
 5975e90fa1b3faa266d5d4578257f7d8094501330ed69f9013feca3233852cea 6644 default-jre-headless_1.6-35_amd64.deb
 f67d00b899dc5006ba2bf5a3ae206cc6a76d8e8cc0dc02c47817e8ffb9af7a29 1020 default-jdk_1.6-35_amd64.deb
 da515d1fe8f485cdbec20a74012471816feaee119eefd0c836eefac570cd6253 990 default-jdk-builddep_1.6-35_amd64.deb
 ce99ae974c3c636e3d426abeecba5d1c 1246 java optional java-common_0.35.dsc
 74684067cb6ef55097435fee404022a2 59122 java optional java-common_0.35.tar.gz
 2cbf65046b1c804b2086b1a92a634858 74288 java optional java-common_0.35_all.deb
 e5575a14eb4bafed34b501909702fb19 6410 doc optional default-jdk-doc_0.35_all.deb
 1cc5426ceec82ab5dc44f641992f0a03 1028 java optional default-jre_1.6-35_amd64.deb
 460d7e8ec3debf66f4e93fb572cef90e 6644 java optional default-jre-headless_1.6-35_amd64.deb
 b04d42802165b7fdb571205f7d2a1709 1020 java optional default-jdk_1.6-35_amd64.deb
 56991b6fca9ac879e70d96f1de95deeb 990 java optional default-jdk-builddep_1.6-35_amd64.deb

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---

Reply to: