Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255133 - Create a java virtual for jms
Summary: Create a java virtual for jms
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-16 06:00 UTC by Jonwiz
Modified: 2009-05-23 11:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonwiz 2009-01-16 06:00:05 UTC
Why is dev-java/fop dependent on sun-jms?
What if I want a nice slim fop package for creating pdfs, but not all this java messaging system stuff which is pulled in by avalon-framework + avalon-logkit.

There should be a '-jms' USE VARIABLE for the fop ebuild.
Or a 'minimal' USE VARIABLE to just get the basic necessary fop tool.

It was a pain to do manual fetch for sun-jms from their website when I won't even use it.

Reproducible: Always

Steps to Reproduce:
1.emerge -av fop
2.pulls in tonnes of unnecessary packages
3.The sun-jms fetch restriction cannot be circumvented through USE variables
for people not wanting it.




portage-2.1.6.4
dev-java/fop-0.93-r1
x11-base/xorg-x11-7.4



emerge --info


Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-glibc2.0
Timestamp of tree: Fri, 16 Jan 2009 04:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ http://open-systems.ufl.edu/mirrors/gentoo ftp://mir.zyrianes.net/gentoo/ http://ftp.heanet.ie/pub/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 acl alsa apache2 avi berkdb bzip2 cgi cli cracklib crypt cups curl dbus directfb divx4linux dri dv dvd dvdread encode fame fastcgi ffmpeg firefox foomaticdb fortran gd gdbm gpm gtk hal iconv ipv6 isdnlog java joystick midi mmx mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl php png ppds pppd print python qt quicktime readline reflection sdk server session soap spl sse ssl startup-notification subtitles sysfs tcpd tk unicode usb vncviewer vorbis win32codecs x86 xorg xscreensaver zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth auth_dbm auth_anon auth_digest authz_host alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id unique_id filter proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2009-01-16 14:02:28 UTC
(In reply to comment #0)
> Why is dev-java/fop dependent on sun-jms?
> What if I want a nice slim fop package for creating pdfs, but not all this java
> messaging system stuff which is pulled in by avalon-framework + avalon-logkit.
> 
> There should be a '-jms' USE VARIABLE for the fop ebuild.
> Or a 'minimal' USE VARIABLE to just get the basic necessary fop tool.
> 

Don't see a dep on jms:
betelgeuse@pena /usr/portage/dev-java/fop $ grep jms /var/cache/edb/dep/usr/portage/dev-java/fop*
betelgeuse@pena /usr/portage/dev-java/fop $

betelgeuse@pena /usr/portage/dev-java/fop $ grep jms *
betelgeuse@pena /usr/portage/dev-java/fop $

Try using emerge --tree to see what's really pulling it in.
Comment 2 Jonwiz 2009-01-16 16:59:22 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Why is dev-java/fop dependent on sun-jms?
> > What if I want a nice slim fop package for creating pdfs, but not all this java
> > messaging system stuff which is pulled in by avalon-framework + avalon-logkit.
> > 
> > There should be a '-jms' USE VARIABLE for the fop ebuild.
> > Or a 'minimal' USE VARIABLE to just get the basic necessary fop tool.
> > 
> 
> Don't see a dep on jms:
> betelgeuse@pena /usr/portage/dev-java/fop $ grep jms
> /var/cache/edb/dep/usr/portage/dev-java/fop*
> betelgeuse@pena /usr/portage/dev-java/fop $
> 
> betelgeuse@pena /usr/portage/dev-java/fop $ grep jms *
> betelgeuse@pena /usr/portage/dev-java/fop $
> 
> Try using emerge --tree to see what's really pulling it in.
> 
I know the dependency, it's this:
fop > avalon-framework > avalon-logkit > sun-jms !

Comment 3 Jonwiz 2009-01-16 17:07:11 UTC
Here's the equery depends results.

equery d sun-jms

[ Searching for packages depending on sun-jms... ]
dev-java/avalon-logkit-2.1-r2 (dev-java/sun-jms)

equery d avalon-logkit

[ Searching for packages depending on avalon-logkit... ]
dev-java/avalon-framework-4.2.0-r1 (=dev-java/avalon-logkit-2*)
dev-java/commons-logging-1.1.1 (avalon-logkit? dev-java/avalon-logkit:1.2)

equery d avalon-framework

[ Searching for packages depending on avalon-framework... ]
dev-java/commons-logging-1.1.1 (avalon-framework? dev-java/avalon-framework:4.2)
dev-java/fop-0.93-r1 (dev-java/avalon-framework:4.2)

Comment 4 Petteri Räty (RETIRED) gentoo-dev 2009-05-23 11:02:31 UTC
A jms virtual has been created and everything is using that.