An emerge dev-java/ant-1.6.0-r3 always wants to install ant-optional as well Reproducible: Always Steps to Reproduce: 1.emerge dev-java/ant -p 2. 3. Actual Results: These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-java/ant-1.6.0-r3 [ebuild N ] dev-java/bsh-1.3.0 [ebuild N ] dev-java/log4j-1.2.8 [ebuild N ] dev-java/commons-logging-1.0.3 [ebuild N ] dev-java/regexp-1.3 [ebuild N ] dev-java/jdepend-2.6 [ebuild N ] dev-java/jython-2.1-r2 [ebuild N ] dev-java/commons-net-1.0.0 [ebuild N ] dev-java/rhino-1.5_rc4-r1 [ebuild N ] dev-java/jzlib-1.0.3 [ebuild N ] dev-java/jsch-0.1.13 [ebuild N ] dev-java/bcel-5.1 [ebuild N ] dev-java/xerces-2.6.1 [ebuild N ] dev-java/xalan-2.5.2 [ebuild N ] dev-java/antlr-2.7.2 [ebuild N ] dev-java/oro-2.0.8 [ebuild N ] dev-java/blackdown-jdk-1.4.1 [ebuild N ] dev-java/commons-collections-2.1-r3 [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.0-r3 Expected Results: These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-java/ant-1.6.0-r3 System VM is Sun 1.4, I think the dependencies in the ebuild are wrong
This isn't a bug. ant-optional is a pdepend for ant. I'm not sure what you are trying to say. For now, I'll say this is fixed as I see no problem with this. ant-optional has use flags for all the optional support that ant may have.
from the ant-1.6.0-r2 ebuild: PDEPEND="optional-tasks? ( =dev-java/ant-optional-1.6.0-r2 )" from the ant-1.6.0-r3 ebuild: PDEPEND="=dev-java/ant-optional-1.6.0-r3" I don't have optional-tasks in my USE flags. With 1.6.0-r2 ant-optional will only be emerged when this USE flag is set, in ant-1.6.0-r3 it will always be emerged, even if I don't want it. ...and ant-optional doesn't have any USE flags beside javamail and doc.
I removed the flags from ant-optional cause they were causing more troubles than help (People never looks at packages USE flags, and were reporting a lot of bugs), that should be that way but i was forced tired of closing bugs telling people to check their flags. Also ant-optional is no longer enabled via a USE flag (ant binary package installs it by default), and also its going to cause a lot more of troubles. Im sorry but ill close this as wontfix. Thanks anyway. =)
This seems to go against the whole gentoo philosophy of allowing customibility and not making people install crapo they don't need (As far as I'm concerned ant-optional is extra cruft that I don't need nor want). Is there a possibility to make an ant-ant package for people who just want ant and make ant a meta package?
I can't see why there is a ant-optional anyway... Why call it "optional" when it's "mandatory"?
We had ant-optional before being split into a bunch of diff seperate use flags. When we did this, it turned out that people started to complain that other stuff won't compile because they didn't have the proper use flag set. It caused way too many problems so we decided to just lump everything together. Read Adrian's post :)
WHY WOULD I HAVE TO INSTALL JYTHON if i want to use ant? i think this example is a good example to show that ant-optional should be OPTIONAL at least.. look at all the other stuff... try "emerge -pv mplayer xine-lib gst-plugins" all of them are kind-of plugin based, and all of them allow you to specify what you need and what not. for example look at gstreamer..with some USE flags for example i would be able to completely disable audio (-oss -alsa -arts -esd -jack). of course noone really does that. but what if someone wants? there are many reasons why i like gentoo, and the USE flags are one of them. we should teach people how to use USE flags, and not force LOTS of UNNECESSARY dependencies on them.
This ebuild has bugged me for a while now. Why not use something like a no-optional USE flag, so by default satifying those people who dont seem to know how to 'use' their own systems yet, but allows us people who dont want any of the ant-optional packages to set the flag and not install them? This seems to be slightly against the norm for USE flags, but it gives us the choice, right?
I agree with the previous comments that this is a mistake. You obviously don't work with a dial-up modem if you think loading 17 unneccessary packages is acceptable.
I agree with everybody else. Why do i have to install a package that is named ant-optional? The name already states that it should be optional. It even wants to install jython as dependency!!! Please make it optional again. I bumped into this after ant-1.6.2-r3 became stable. All this extra stuff it wants to install adds up to 47,113 kB to download for stuff I'll never need.
Oh, come on. -------------------------------------------------------------------------------- fry ~ # emerge -tauv --deep dev-java/ant These are the packages that I would merge, in reverse order: Calculating dependencies ...done! [ebuild N ] dev-java/ant-optional-1.6.2-r2 -javamail 6,134 kB [ebuild N ] dev-java/jdepend-2.6 -doc -jikes 371 kB [ebuild N ] dev-java/junit-3.8.1 435 kB [ebuild N ] dev-java/commons-beanutils-1.6.1-r1 -doc -jikes -junit 144 kB [ebuild N ] dev-java/commons-collections-3.1 -doc -jikes 1,110 kB [ebuild N ] dev-java/antlr-2.7.3 1,316 kB [ebuild N ] dev-java/xalan-2.6.0 -doc 5,737 kB [ebuild N ] dev-java/bcel-5.1 -doc -jikes 12,338 kB [ebuild N ] dev-java/regexp-bin-1.3 -doc 124 kB [ebuild N ] dev-java/jsch-0.1.15 -doc -jikes 180 kB [ebuild N ] dev-java/jzlib-1.0.5 -doc -jikes 48 kB [ebuild N ] dev-java/rhino-1.5_rc5 -doc -jikes 1,505 kB [ebuild N ] dev-java/commons-net-1.2.2 -doc -jikes 174 kB [ebuild N ] dev-java/oro-2.0.8 -doc -jikes 337 kB [ebuild N ] dev-java/jython-bin-2.1-r4 -doc 2,715 kB [ebuild N ] dev-java/xerces-2.6.2-r1 -doc 5,200 kB [ebuild N ] dev-java/commons-logging-1.0.4 -doc -jikes -junit 98 kB [ebuild N ] dev-java/avalon-logkit-bin-1.2.2 -doc 409 kB [ebuild N ] dev-java/log4j-1.2.8 -doc 2,454 kB [ebuild N ] dev-java/bsh-2.0_beta1 -gnome -kde 274 kB [ebuild N ] dev-java/blackdown-jdk-1.4.1 -doc 118,889 kB [ebuild U ] dev-java/ant-1.6.2-r3 [1.5.4-r1] -doc 6,134 kB [nomerge ] sys-apps/man-1.5m-r1 +nls [nomerge ] sys-apps/cronbase-0.3.1 [nomerge ] sys-devel/bison-1.875 -debug +nls -static -(uclibc) [nomerge ] sys-devel/m4-1.4.1 -bootstrap +nls [ebuild U ] sys-devel/libtool-1.5.2-r5 [1.4.3-r4] -(uclibc) 3,117 kB [nomerge ] sys-devel/autoconf-2.59-r4 [nomerge ] dev-lang/perl-5.8.4 +berkdb -debug -doc +gdbm -threads -(uclibc) [nomerge ] sys-libs/db-4.1.25_p1-r3 -doc +java +tcltk [nomerge ] dev-java/sun-jdk-1.4.2.05 -doc -gnome -jce -kde -mozilla [ebuild U ] dev-java/java-config-1.2.10 [1.2.9] 15 kB Total size of downloads: 169,269 kB Do you want me to merge these packages? [Yes/No] -------------------------------------------------------------------------------- This is ridiculous. 170 MB for ant? There's got to be some other way to deal with this, people. You're making everyone download and compile huge amounts of sources just because you don't want to tell them that they may need to download optional stuff?