Debian Bug report logs - #566901
Please split out scripts depending on headed JRE

Package: libbatik-java; Maintainer for libbatik-java is Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>; Source for libbatik-java is src:batik.

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

Date: Fri, 16 Oct 2009 23:15:01 UTC

Severity: wishlist

Tags: patch

Reply or subscribe to this bug.

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 Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#551294; Package fop. (Fri, 16 Oct 2009 23:15: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 Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Fri, 16 Oct 2009 23:15: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: fop: needlessly depends on -jre instead of -jre-headless
Date: Fri, 16 Oct 2009 23:04:03 +0000
[Message part 1 (text/plain, inline)]
Package: fop
Version: 1:0.95.dfsg-5
Severity: wishlist

I have a server with no graphical interface whatsoever.  On this server,
some users use asciidoc to build webpages and PDFs; hence, fop is
installed.  This is not a problem, since by default fop runs headless.
However, fop depends on openjdk-6-jre | java2-runtime.  The former
(which is the runtime I'm using) depends on libaccess-bridge-java-jni,
which pulls in the entirety of GTK, along with all its dependencies.

Obviously, this is a complete waste of disk space (and a good
opportunity for additional security bugs).  Since by default fop runs
headless, please depend on openjdk-6-jre-headless and recommend or
suggest openjdk-6-jre.

-- 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

Versions of packages fop depends on:
ii  default-jre [java2-runtim 1.6-33         Standard Java or Java compatible R
ii  java-wrappers             0.1.15         wrappers for java executables
ii  libavalon-framework-java  4.2.0-4        Common framework for Java server a
ii  libbatik-java             1.7-4          xml.apache.org SVG Library
ii  libbsf-java               1:2.4.0-3      Bean Scripting Framework to suppor
ii  libcommons-io-java        1.4-2          Common useful IO related classes
ii  libcommons-logging-java   1.1.1-5        commmon wrapper interface for seve
ii  libxalan2-java            2.7.1-5        XSL Transformations (XSLT) process
ii  libxerces2-java           2.9.1-4        Validating XML parser for Java wit
ii  libxml-commons-external-j 1.3.04-2       XML Commons external code - DOM, S
ii  libxmlgraphics-commons-ja 1.3.1.dfsg-2   reusable components used by Batik 
ii  libxp6                    1:1.0.0.xsf1-2 X Printing Extension (Xprint) clie
ii  libxt6                    1:1.0.6-1      X11 toolkit intrinsics library
ii  libxtst6                  2:1.0.3-1      X11 Testing -- Resource extension 
ii  openjdk-6-jre [java2-runt 6b16-1.6.1-2   OpenJDK Java runtime, using Hotspo

Versions of packages fop recommends:
ii  libsaxon-java                 1:6.5.5-5  The Saxon XSLT Processor

Versions of packages fop suggests:
ii  fop-doc                    1:0.95.dfsg-5 Documentation for fop
ii  libservlet2.4-java         5.0.30-8      Servlet 2.4 and JSP 2.0 Java class

-- 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)]

Bug 551294 cloned as bugs 551545, 551546, 551547, 551548. Request was from "brian m. carlson" <sandals@crustytoothpaste.ath.cx> to control@bugs.debian.org. (Sun, 18 Oct 2009 23:12:09 GMT) Full text and rfc822 format available.

Bug reassigned from package 'fop' to 'libbatik-java'. Request was from "brian m. carlson" <sandals@crustytoothpaste.ath.cx> to control@bugs.debian.org. (Sun, 18 Oct 2009 23:12:15 GMT) Full text and rfc822 format available.

Bug No longer marked as found in versions fop/1:0.95.dfsg-5. Request was from "brian m. carlson" <sandals@crustytoothpaste.ath.cx> to control@bugs.debian.org. (Sun, 18 Oct 2009 23:12:16 GMT) Full text and rfc822 format available.

Changed Bug title to 'libbatik-java: needlessly depends on -jre instead of -jre-headless' from 'fop: needlessly depends on -jre instead of -jre-headless' Request was from "brian m. carlson" <sandals@crustytoothpaste.ath.cx> to control@bugs.debian.org. (Sun, 18 Oct 2009 23:12:17 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#551545; Package libbatik-java. (Tue, 17 Nov 2009 13:48:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Onkar Shinde <onkarshinde@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Tue, 17 Nov 2009 13:48:06 GMT) Full text and rfc822 format available.

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

From: Onkar Shinde <onkarshinde@ubuntu.com>
To: 551545@bugs.debian.org
Date: Tue, 17 Nov 2009 19:10:37 +0530
Batik includes some classes (such as used by squiggle) which are
related to GUI. But I agree that most of the classes do not use and
Swing/ATK APIs.

I would prefer splitting the launcher scripts for various programs
such as squiggle, rasterizer in a separate binary package called
batik. This package will then have dependency on -jre and
libbatik-java will have dependency on -jre-headless. This can be done
when packaging next upstream release.


Onkar




Bug 551545 cloned as bug 566901. Request was from Vincent Fourmond <fourmond@gmail.com> to control@bugs.debian.org. (Mon, 25 Jan 2010 20:57:04 GMT) Full text and rfc822 format available.

Changed Bug title to 'Please split out scripts depending on headed JRE' from 'libbatik-java: needlessly depends on -jre instead of -jre-headless' Request was from Vincent Fourmond <fourmond@gmail.com> to control@bugs.debian.org. (Mon, 25 Jan 2010 20:57:08 GMT) Full text and rfc822 format available.

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:52:00 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#566901; Package libbatik-java. (Thu, 17 Oct 2013 16:18:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Markus Koschany <apo@gambaru.de>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Thu, 17 Oct 2013 16:18:04 GMT) Full text and rfc822 format available.

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

From: Markus Koschany <apo@gambaru.de>
To: Vincent Fourmond <fourmond@debian.org>
Cc: 725461@bugs.debian.org, 566901@bugs.debian.org
Subject: Re: Bug#725461: batik: FTBFS: Unable to find a javac compiler
Date: Thu, 17 Oct 2013 18:15:22 +0200
[Message part 1 (text/plain, inline)]
Control: tags 566901 patch

Hi Vincent,

On 17.10.2013 15:07, Vincent Fourmond wrote:
[...]
>   I don't have the time to review the patch right now. I can have a
> look this week-end, if you want more eyes, but if you feel confident
> about the current state, I don't mind an upload as-is.

No worries. Tony Mancill has uploaded the bug fixes for #725461 already.
Now I'm attaching the debdiff with all the changes to split the package
into libbatik-java and batik.

I can confirm that these rdeps still build fine with those changes:

scilab-full-bin
umlet
sweethome3d-furniture-editor
sweethome3d
scilab-full-bin
osmosis (FTBFS because of a another bug)
libjeuclid-core-java
libjcharts-java
libjaxe-java
libjasperreports3.7-java
libjasperreports-java
freeplane
freemind-plugins-svg
libfop-java
libflamingo-java
ditaa

As you said verifying that everything works as intended is time
consuming. Therefore I have targeted the new revision for experimental.
I suggest to ask the maintainers/uploaders of these rdeps to confirm
that their packages still work fine with the new version as soon as it
enters experimental. Hopefully this will speed things up a little.

Regards,

Markus
[batik.debdiff (text/plain, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Added tag(s) patch. Request was from Markus Koschany <apo@gambaru.de> to 566901-submit@bugs.debian.org. (Thu, 17 Oct 2013 16:18:04 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#566901; Package libbatik-java. (Thu, 17 Oct 2013 17:15:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vincent Fourmond <fourmond@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Thu, 17 Oct 2013 17:15:05 GMT) Full text and rfc822 format available.

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

From: Vincent Fourmond <fourmond@debian.org>
To: Markus Koschany <apo@gambaru.de>
Cc: 725461 <725461@bugs.debian.org>, 566901@bugs.debian.org
Subject: Re: Bug#725461: batik: FTBFS: Unable to find a javac compiler
Date: Thu, 17 Oct 2013 19:12:52 +0200
  Hi Markus,

On Thu, Oct 17, 2013 at 6:15 PM, Markus Koschany <apo@gambaru.de> wrote:
> Control: tags 566901 patch
>
> Hi Vincent,
>
> On 17.10.2013 15:07, Vincent Fourmond wrote:
> [...]
>>   I don't have the time to review the patch right now. I can have a
>> look this week-end, if you want more eyes, but if you feel confident
>> about the current state, I don't mind an upload as-is.
>
> No worries. Tony Mancill has uploaded the bug fixes for #725461 already.
> Now I'm attaching the debdiff with all the changes to split the package
> into libbatik-java and batik.
>
> I can confirm that these rdeps still build fine with those changes:
>
> scilab-full-bin
> umlet
> sweethome3d-furniture-editor
> sweethome3d
> scilab-full-bin
> osmosis (FTBFS because of a another bug)
> libjeuclid-core-java
> libjcharts-java
> libjaxe-java
> libjasperreports3.7-java
> libjasperreports-java
> freeplane
> freemind-plugins-svg
> libfop-java
> libflamingo-java
> ditaa

  Good job for checking all that !

> As you said verifying that everything works as intended is time
> consuming. Therefore I have targeted the new revision for experimental.
> I suggest to ask the maintainers/uploaders of these rdeps to confirm
> that their packages still work fine with the new version as soon as it
> enters experimental. Hopefully this will speed things up a little.

  That's definitely the way to go. I can review/sponsor this upload
this week-end if you wish.

  Cheers,

      Vincent



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#566901; Package libbatik-java. (Thu, 17 Oct 2013 19:57:11 GMT) Full text and rfc822 format available.

Acknowledgement sent to Markus Koschany <apo@gambaru.de>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (Thu, 17 Oct 2013 19:57:11 GMT) Full text and rfc822 format available.

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

From: Markus Koschany <apo@gambaru.de>
To: Vincent Fourmond <fourmond@debian.org>
Cc: 725461 <725461@bugs.debian.org>, 566901@bugs.debian.org
Subject: Re: Bug#725461: batik: FTBFS: Unable to find a javac compiler
Date: Thu, 17 Oct 2013 21:54:07 +0200
[Message part 1 (text/plain, inline)]
Hi Vincent,

On 17.10.2013 19:12, Vincent Fourmond wrote:
[...]
>   Good job for checking all that !

You're welcome.

> 
>> As you said verifying that everything works as intended is time
>> consuming. Therefore I have targeted the new revision for experimental.
>> I suggest to ask the maintainers/uploaders of these rdeps to confirm
>> that their packages still work fine with the new version as soon as it
>> enters experimental. Hopefully this will speed things up a little.
> 
>   That's definitely the way to go. I can review/sponsor this upload
> this week-end if you wish.

Alright, thank you! I forgot to close #566901 in debian/changelog.
Updated debdiff is attached.

Cheers,

Markus




[batik.debdiff (text/plain, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 04:45:31 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.