Debian Bug report logs - #551300
java-common: policy mandates java?-runtime even for headless packages

version graph

Package: java-common; Maintainer for java-common is Debian Java Mailing List <debian-java@lists.debian.org>; Source for java-common is src:java-common.

Reported by: "brian m. carlson" <sandals@crustytoothpaste.net>

Date: Sat, 17 Oct 2009 00:36:01 UTC

Severity: normal

Found in version java-common/0.33

Done: Damien Raude-Morvan <drazzib@drazzib.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Java Mailing List <debian-java@lists.debian.org>:
Bug#551300; Package java-common. (Sat, 17 Oct 2009 00:36:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "brian m. carlson" <sandals@crustytoothpaste.ath.cx>:
New Bug report received and forwarded. Copy sent to Debian Java Mailing List <debian-java@lists.debian.org>. (Sat, 17 Oct 2009 00:36:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "brian m. carlson" <sandals@crustytoothpaste.ath.cx>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: java-common: policy mandates java?-runtime even for headless packages
Date: Sat, 17 Oct 2009 00:25:38 +0000
[Message part 1 (text/plain, inline)]
Package: java-common
Version: 0.33
Severity: normal

The Debian Java Policy, which is present in this package, states (§2.3):

  Programs must depend on java-virtual-machine and the needed runtime
  environment (java1-runtime and/or java2-runtime).

(Similar text is present in §2.1 and §2.2.)

This is problematic, because this pulls in a huge number of dependencies
that are unneeded for packages that run headless.  For openjdk-6, which
is the default runtime on amd64, this involves the installation of the
entirety of GTK and its associated libraries, which are not needed on
machines that have neither a monitor nor an X server, such as servers.

Please fix the policy so that it does not mandate the installation of a
full JRE when a headless JRE would suffice.  This is priority normal
because it requires every Java program or library to depend on lots of
code that has no place on a server.

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

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

java-common depends on no packages.

java-common recommends no packages.

Versions of packages java-common suggests:
ii  default-jre                   1.6-33     Standard Java or Java compatible R
ii  equivs                        2.0.7-0.1  Circumvent Debian package dependen

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Mailing List <debian-java@lists.debian.org>:
Bug#551300; Package java-common. (Sat, 17 Oct 2009 07:48:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Niels Thykier <niels@thykier.net>:
Extra info received and forwarded to list. Copy sent to Debian Java Mailing List <debian-java@lists.debian.org>. (Sat, 17 Oct 2009 07:48:05 GMT) Full text and rfc822 format available.

Message #10 received at 551300@bugs.debian.org (full text, mbox):

From: Niels Thykier <niels@thykier.net>
To: "brian m. carlson" <sandals@crustytoothpaste.ath.cx>, 551300@bugs.debian.org
Subject: Re: Bug#551300: java-common: policy mandates java?-runtime even for headless packages
Date: Sat, 17 Oct 2009 09:34:51 +0200
[Message part 1 (text/plain, inline)]
brian m. carlson wrote:
> Package: java-common
> Version: 0.33
> Severity: normal
> 
> The Debian Java Policy, which is present in this package, states (§2.3):
> 
>   Programs must depend on java-virtual-machine and the needed runtime
>   environment (java1-runtime and/or java2-runtime).
> 
> (Similar text is present in §2.1 and §2.2.)
> 
> This is problematic, because this pulls in a huge number of dependencies
> that are unneeded for packages that run headless.  For openjdk-6, which
> is the default runtime on amd64, this involves the installation of the
> entirety of GTK and its associated libraries, which are not needed on
> machines that have neither a monitor nor an X server, such as servers.
> 
> Please fix the policy so that it does not mandate the installation of a
> full JRE when a headless JRE would suffice.  This is priority normal
> because it requires every Java program or library to depend on lots of
> code that has no place on a server.
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.31-trunk-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> java-common depends on no packages.
> 
> java-common recommends no packages.
> 
> Versions of packages java-common suggests:
> ii  default-jre                   1.6-33     Standard Java or Java compatible R
> ii  equivs                        2.0.7-0.1  Circumvent Debian package dependen
> 
> -- no debconf information
> 

Hi Brian

We are working on updating the policy to better fit the current times.
If you look at packages such libgnujmi-java [1], we are already
"extending" the interpretation of this particularly cause to allow the
headless versions.

If you are interested, you can see a draft of the coming policy here[2].
Though there will be changes in that draft based on this feedback [3].

~Niels
[1] http://packages.debian.org/sid/libgnujmi-java
[2] http://www.student.dtu.dk/~s072425/debian/policy/
[3]
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg698708.html

[signature.asc (application/pgp-signature, attachment)]

Changed Bug submitter to '"brian m. carlson" <sandals@crustytoothpaste.net>' from '"brian m. carlson" <sandals@crustytoothpaste.ath.cx>' Request was from "brian m. carlson" <sandals@crustytoothpaste.net> to control@bugs.debian.org. (Thu, 03 Feb 2011 20:51:50 GMT) Full text and rfc822 format available.

Reply sent to Damien Raude-Morvan <drazzib@drazzib.com>:
You have taken responsibility. (Sat, 17 Aug 2013 18:57:09 GMT) Full text and rfc822 format available.

Notification sent to "brian m. carlson" <sandals@crustytoothpaste.net>:
Bug acknowledged by developer. (Sat, 17 Aug 2013 18:57:09 GMT) Full text and rfc822 format available.

Message #17 received at 551300-done@bugs.debian.org (full text, mbox):

From: Damien Raude-Morvan <drazzib@drazzib.com>
To: 551300-done@bugs.debian.org
Subject: java-common: policy mandates java?-runtime even for headless packages
Date: Sat, 17 Aug 2013 20:55:00 +0200
[Message part 1 (text/plain, inline)]
Hi,

Sylvestre has updated / cleaned up the policy which now say :

  Programs must depend on the needed runtime environment
  (default-jre and/or default-jre-headless if need a GUI or not).

So this issue could be closed.

Regards,
-- 
Damien
[Message part 2 (text/html, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 15 Sep 2013 07:25:39 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 00:26:52 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.