Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58389 - Azureus Dependencies not necessary
Summary: Azureus Dependencies not necessary
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 61794
  Show dependency tree
 
Reported: 2004-07-26 05:20 UTC by Peter Leugner
Modified: 2005-01-29 02:18 UTC (History)
4 users (show)

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 Peter Leugner 2004-07-26 05:20:45 UTC
emerge azureus-bin  -p

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-java/ant-1.6.2-r1
[ebuild  N    ] dev-java/xerces-2.6.2-r1
[ebuild  N    ] dev-java/bsh-2.0_beta1
[ebuild  N    ] dev-java/avalon-logkit-1.2.2
[ebuild  N    ] dev-java/commons-logging-1.0.4
[ebuild  N    ] dev-java/regexp-1.3
[ebuild  N    ] dev-java/jdepend-2.7
[ebuild  N    ] dev-java/jython-2.1-r3
[ebuild  N    ] dev-java/oro-2.0.8
[ebuild  N    ] dev-java/commons-net-1.2.2
[ebuild  N    ] dev-java/rhino-1.5_rc5
[ebuild  N    ] dev-java/jzlib-1.0.5
[ebuild  N    ] dev-java/jsch-0.1.16
[ebuild  N    ] dev-java/bcel-5.1
[ebuild  N    ] dev-java/xalan-2.6.0
[ebuild  N    ] dev-java/antlr-2.7.4
[ebuild  N    ] dev-java/commons-collections-3.1
[ebuild  N    ] dev-java/commons-beanutils-1.6.1-r1
[ebuild  N    ] dev-java/junit-3.8.1
[ebuild  N    ] dev-java/ant-optional-1.6.2-r1
[ebuild  N    ] dev-java/commons-lang-2.0-r1
[ebuild  N    ] dev-java/commons-cli-1.0-r4
[ebuild  N    ] net-libs/linc-1.0.3
[ebuild  N    ] dev-java/systray4j-2.4
[ebuild  N    ] net-p2p/azureus-bin-2.1.0.4

None of these dependencies are necessary to run Azureus-bin! If you download the package yourself and extract it into some directory, it runs totally fine without any of the above packages. Why is it necessary to install all these java packages, if I don't need them?

Reproducible: Always
Steps to Reproduce:
1.emerge azureus-bin  -p
2.
3.

Actual Results:  
emerge azureus-bin  -p

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-java/ant-1.6.2-r1
[ebuild  N    ] dev-java/xerces-2.6.2-r1
[ebuild  N    ] dev-java/bsh-2.0_beta1
[ebuild  N    ] dev-java/avalon-logkit-1.2.2
[ebuild  N    ] dev-java/commons-logging-1.0.4
[ebuild  N    ] dev-java/regexp-1.3
[ebuild  N    ] dev-java/jdepend-2.7
[ebuild  N    ] dev-java/jython-2.1-r3
[ebuild  N    ] dev-java/oro-2.0.8
[ebuild  N    ] dev-java/commons-net-1.2.2
[ebuild  N    ] dev-java/rhino-1.5_rc5
[ebuild  N    ] dev-java/jzlib-1.0.5
[ebuild  N    ] dev-java/jsch-0.1.16
[ebuild  N    ] dev-java/bcel-5.1
[ebuild  N    ] dev-java/xalan-2.6.0
[ebuild  N    ] dev-java/antlr-2.7.4
[ebuild  N    ] dev-java/commons-collections-3.1
[ebuild  N    ] dev-java/commons-beanutils-1.6.1-r1
[ebuild  N    ] dev-java/junit-3.8.1
[ebuild  N    ] dev-java/ant-optional-1.6.2-r1
[ebuild  N    ] dev-java/commons-lang-2.0-r1
[ebuild  N    ] dev-java/commons-cli-1.0-r4
[ebuild  N    ] net-libs/linc-1.0.3
[ebuild  N    ] dev-java/systray4j-2.4
[ebuild  N    ] net-p2p/azureus-bin-2.1.0.4


Expected Results:  
emerge azureus-bin  -p

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] net-p2p/azureus-bin-2.1.0.4
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-07-26 06:00:55 UTC
use emerge -pv to see all USE-Flags, then turn off all unneeded
 USE="-junit -jikes" 
Comment 2 Peter Leugner 2004-07-26 07:14:05 UTC
Doesn't help :-(

emerge azureus-bin -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-java/ant-1.6.2-r1  -doc  6,134 kB
[ebuild  N    ] dev-java/xerces-2.6.2-r1  -doc  5,200 kB
[ebuild  N    ] dev-java/bsh-2.0_beta1  -gnome +kde  274 kB
[ebuild  N    ] dev-java/avalon-logkit-1.2.2  -doc  409 kB
[ebuild  N    ] dev-java/commons-logging-1.0.4  -doc -jikes -junit  98 kB
[ebuild  N    ] dev-java/regexp-1.3  -doc  124 kB
[ebuild  N    ] dev-java/jdepend-2.7  -doc -jikes  371 kB
[ebuild  N    ] dev-java/jython-2.1-r3   2,715 kB
[ebuild  N    ] dev-java/oro-2.0.8  -doc -jikes  337 kB
[ebuild  N    ] dev-java/commons-net-1.2.2  -doc -jikes  174 kB
[ebuild  N    ] dev-java/rhino-1.5_rc5  -doc -jikes  1,505 kB
[ebuild  N    ] dev-java/jzlib-1.0.5  -doc -jikes  48 kB
[ebuild  N    ] dev-java/jsch-0.1.16  -doc -jikes  184 kB
[ebuild  N    ] dev-java/bcel-5.1  -doc -jikes  12,338 kB
[ebuild  N    ] dev-java/xalan-2.6.0  -doc  5,737 kB
[ebuild  N    ] dev-java/antlr-2.7.4   1,319 kB
[ebuild  N    ] dev-java/commons-collections-3.1  -doc -jikes  1,110 kB
[ebuild  N    ] dev-java/commons-beanutils-1.6.1-r1  -doc -jikes -junit  144 kB
[ebuild  N    ] dev-java/junit-3.8.1   435 kB
[ebuild  N    ] dev-java/ant-optional-1.6.2-r1  -javamail  6,134 kB
[ebuild  N    ] dev-java/commons-lang-2.0-r1  -doc -jikes -junit  430 kB
[ebuild  N    ] dev-java/commons-cli-1.0-r4  -doc -jikes -junit  36 kB
[ebuild  N    ] net-libs/linc-1.0.3  -debug  238 kB
[ebuild  N    ] dev-java/systray4j-2.4  -jikes  85 kB
[ebuild  N    ] net-p2p/azureus-bin-2.1.0.4  +gtk +kde  10,332 kB
Comment 3 Jon Hood (RETIRED) gentoo-dev 2004-08-03 17:23:46 UTC
Many of these dependencies are needed for azureus to interface correctly with your desktop environment. If you don't want all those extras, try:
# USE="-*" emerge azureus-bin

The only major dependencies in the ebuild are:
dev-java/commons-cli
dev-java/log4j
dev-java/junit
>=virtual/jre-1.4
>=net-libs/linc-1.0.3

which are all needed in some way for certain functions available in azureus to function. While azureus will function without all these dependencies, it will lose some of its abilities.
Comment 4 Peter Leugner 2004-08-26 15:08:09 UTC
How can junit (which has most of the dependencies) be a dependency of a binary package? Junit is used to test (source code) java packages in development. What functionality would I lose, if there wasn't junit?
Comment 5 ra 2004-08-29 17:23:51 UTC
The workaround doesn't work.

Here are the dependencies when running "USE="-*" emerge azureus-bin -puDv" (azureus-bin already installed and working previously)

[ebuild  N    ] dev-java/blackdown-jdk-1.4.1  -doc  118,889 kB
[ebuild  N    ] dev-java/ant-1.6.2-r3  -doc  0 kB
[ebuild  N    ] dev-java/avalon-logkit-bin-1.2.2  -doc  409 kB
[ebuild  N    ] dev-java/xerces-2.6.2-r1  -doc  1,574 kB
[ebuild  N    ] dev-java/jython-bin-2.1-r4  -doc  2,715 kB
[ebuild  N    ] dev-java/oro-2.0.8  -doc -jikes  337 kB
[ebuild  N    ] dev-java/commons-net-1.2.2  -doc -jikes  174 kB
[ebuild  N    ] dev-java/rhino-1.5_rc5  -doc -jikes  1,505 kB
[ebuild  N    ] dev-java/jzlib-1.0.5  -doc -jikes  48 kB
[ebuild  N    ] dev-java/jsch-0.1.15  -doc -jikes  180 kB
[ebuild  N    ] dev-java/regexp-bin-1.3  -doc  124 kB
[ebuild  N    ] dev-java/bcel-5.1  -doc -jikes  12,338 kB
[ebuild  N    ] dev-java/xalan-2.5.2  -doc  5,603 kB
[ebuild  N    ] dev-java/antlr-2.7.3   1,316 kB
[ebuild  N    ] dev-java/commons-collections-3.1  -doc -jikes  1,110 kB
[ebuild  N    ] dev-java/commons-beanutils-1.6.1-r1  -doc -jikes -junit  144 kB
[ebuild  N    ] dev-java/jdepend-2.6  -doc -jikes  371 kB
[ebuild  N    ] dev-java/ant-optional-1.6.2-r2  -javamail  0 kB

The azureus package is supposed to be binary, so why all the dev tools?
Comment 6 gad.kadosh 2004-09-23 12:47:40 UTC
the deps of this ebuild indeed seem strange for a binary ebuild. gentoo shouldn't install more than needed or wanted by the user, so I believe this ebuild should be checked again. also it seems that this ebuild is always in testing (~x86), which i don't see much reason for, since some of the versions are here for some time and there's a very little number of bugs about it.
Comment 7 Jon Hood (RETIRED) gentoo-dev 2004-11-06 09:32:21 UTC
revdep-rebuild spits out mean messages if linc is not installed; is it safe to really remove this from the dependencies? (see #64446)
Comment 8 Alexandru Toma 2004-11-14 15:25:08 UTC
I can't speak about recent versions, but when I tried Azureus quite a few months ago, it didn't need any dependencies... not a single one. This is really overkill for a binary package. I don't want to install all those programs just to run Azureus.
Comment 9 Alexandru Toma 2004-11-14 15:29:57 UTC
> it didn't need any dependencies... not a single one
No dependencies but the JRE, of course... I wasn't clear enough.

Also, what happened to the Motif version? I see that the 2.2.0.0 ebuild installs the GTK version by default. Shouldn't I be given a choice? I very much prefer the Motif version to the GTK one.
Comment 10 Chris Nicola 2004-12-10 18:48:10 UTC
I second this motion.  Even the azureus website specifically states the only thing it needs is the JRE.  What are these other dependancies for anyways.  Can whoever made this ebuild please give us a rundown of what exactly they are for?  'Needed to interface with your desktop' makes absolutely no sense sense 'desktop' is a relative term for Linux users.

For the time being the best solution is to run:
emerge --nodeps azureus-bin
Comment 11 Ryan Hill (RETIRED) gentoo-dev 2004-12-10 19:35:38 UTC
log4j and console-cli are required for running azureus headless (ie background in console mode).  but that isn't a feature of the base program itself, and in fact does not even require the base program to do.  a user wanting to use azureus as a headless bittorrent manager requires only the Azureus.jar file and the two afforementioned packages.  azureus-bin is not needed at all.  

http://azureus.aelitis.com/wiki/index.php/SnapshotJar

the program is not 'dependent' on them.  thus, they are not dependencies.

junit is a java testing framework.  it is not needed for normal operation.  i don't know where anyone would get the idea that it is.

linc i don't know much about.  i've never heard of it before.  the reason revdep-rebuild would complain about it missing is because it's listed as a dependency.

i've worked with azureus for the past 12 months. i've written half their wiki.  trust me, and everyone else that has installed azureus --oneshot --nodep and enjoyed perfectly normal operation.  all that is needed for azureus is Sun JRE and one of the 4 different Linux tarballs from http://azureus.sourceforge.net/download.php (GTK, Motif, AMD64, or PPC)
Comment 12 Jon Hood (RETIRED) gentoo-dev 2004-12-10 19:58:40 UTC
azureus-bin-2.2.0.0 was tested and fixed in portage. I wasn't able to verify other versions. Thanks for the input and fixes :)
Comment 13 rabbitambulance 2005-01-26 05:06:22 UTC
come on. azureus-bin still wants to install a 100 meg's worth of crap on my system. am i the only one who finds that massively exaggerated?
Comment 14 ra 2005-01-26 06:27:13 UTC
Thats due to the kde CFLAG, which tries to install dev-java/systray4j - which for some reason requires compilation, even though Java is cross-platform and wouldn't benefit from local compling.
Comment 15 rabbitambulance 2005-01-26 06:52:09 UTC
it most certainly isn't, since i have -kde in my useflags.
Comment 16 Ryan Hill (RETIRED) gentoo-dev 2005-01-28 23:21:50 UTC
what version of azureus-bin are you emerging?  this was fixed for versions >=2.2.0.0, which are masked at the moment.  i just tried emerging 2.2.0.2 and had no troubles.
Comment 17 rabbitambulance 2005-01-29 02:18:28 UTC
woop. i hereby declare myself an idiot and apologize. i typoed azureus in my keywords file, thus eternally emerging the x86 one, which isn't fixed yet. sorry.