Created attachment 398000 [details] build.log With Java 8 (dev-java/oracle-jdk-bin) can't portage build this Package (all Versions).
Before anyone wastes too much time on this, upstream is dead. It's required by things that are probably also dead or outdated.
*** Bug 549098 has been marked as a duplicate of this bug. ***
If you set the "javascript" USE flag globally and ant installed (dev-java/ant sets +bfs and so depend on ant-apache-bsf) you will "need" this package. dev-java/ant-apache-bsf-1.9.2::gentoo USE="javascript* -python -tcl" 0 KiB dev-java/bsf-2.4.0-r1:2.3::gentoo USE="javascript* -doc -examples -python -source -tcl" 0 KiB dev-java/rhino-1.7.2-r2:1.6::gentoo USE="-doc -examples -source" 0 KiB dev-java/xml-xmlbeans-1.0.4_pre20041217-r1:1::gentoo USE="-doc -source" 0 KiB So, perhaps we should drop the package and the support from tree (pre20041217 indicates this is rather old) and if upstream is dead, too...
(In reply to James Le Cuirot from comment #1) > Before anyone wastes too much time on this, upstream is dead. It's required > by things that are probably also dead or outdated. ...which, in turn, are required by things that aren't. I ran into this while getting things set up to build code for some of my Bitcoin miners, which are controlled by routers that run OpenWRT: http://wiki.openwrt.org/doc/howto/buildroot.exigence Their Gentoo-specific documentation calls for installing some prerequisites with the following incantation before grabbing their source tree from GitHub: echo \ app-arch/{bzip2,fastjar,sharutils,unzip,zip} \ app-text/asciidoc dev-java/{icedtea:7,jikes,oracle-jdk-bin} \ dev-libs/{libusb-compat,libxslt,openssl} dev-util/intltool \ dev-vcs/{git,mercurial} net-misc/{rsync,wget} \ net-wireless/b43-fwcutter sys-apps/{gawk,util-linux} \ sys-devel/{bc,bin86,binutils,dev86,flex,gcc[gcj],gettext} \ sys-libs/{ncurses,zlib} virtual/{cdrtools,perl-ExtUtils-MakeMaker} \ x11-libs/gtk+:2 \ | sed 's/\s/\n/g' \ | sort \ | sudo tee /etc/portage/sets/openwrt-prerequisites \ && sudo emerge -DuvNa '@openwrt-prerequisites' This is what triggered an error for me. Switching the system VM from oracle-jdk-bin-1.8 to oracle-jdk-bin-1.7 got the build back on track.
(In reply to Scott Alfter from comment #4) > (In reply to James Le Cuirot from comment #1) > > Before anyone wastes too much time on this, upstream is dead. It's required > > by things that are probably also dead or outdated. > > ...which, in turn, are required by things that aren't. I ran into this > while getting things set up to build code for some of my Bitcoin miners, > which are controlled by routers that run OpenWRT. I'm sorry but as much as I respect the OpenWRT project (I use it myself), the Java parts of that incantation are just nonsensical. Why would you need icedtea *and* Oracle's JDK? And Jikes!? Jikes is beyond dead, the last release was 10 years ago! Their Debian dependency list references just the Jikes parser generator so perhaps the compiler itself isn't used but whatever requires that really should use something else now. In any case, I have built OpenWRT on Gentoo many times and at least for the parts you're likely to select, I'm pretty certain you don't need Java at all. As for where xml-xmlbeans comes into it, I have no idea. It's not obvious from that list.
I'm afraid we can't get rid of dev-java/xml-xmlbeans so easily: gentoo-desktop ~ # equery depends dev-java/xml-xmlbeans * These packages depend on dev-java/xml-xmlbeans: dev-java/rhino-1.7.2-r2 (=dev-java/xml-xmlbeans-1*) gentoo-desktop ~ # equery depends dev-java/rhino * These packages depend on dev-java/rhino: app-office/libreoffice-4.4.5.2 (libreoffice_extensions_scripting-javascript ? dev-java/rhino:1.6) dev-java/icedtea-7.2.6.1 (javascript ? dev-java/rhino:1.6) dev-java/icedtea-web-1.5.1-r1 (javascript ? dev-java/rhino:1.6) dev-java/netbeans-ide-8.0.2 (dev-java/rhino:1.6) I can get rid of the javascript use flag, but still netbeans needs it.
(In reply to darkbasic from comment #6) > I'm afraid we can't get rid of dev-java/xml-xmlbeans so easily We are aware of the rdeps. Rhino has just been bumped and the newest version doesn't use this.
Really? Because I still can't find any :1.6 version of Rhino which doesn't rely on dev-java/xml-xmlbeans:1 :(
mons(In reply to darkbasic from comment #8) > Really? Because I still can't find any :1.6 version of Rhino which doesn't > rely on dev-java/xml-xmlbeans:1 :( monsieurp, is there a reason why you bumped the rhino SLOT from 1.6?
well I figured it must be a different API now since the xml-xmlbeans support was dropped, isn't it?
(In reply to Patrice Clement from comment #10) > well I figured it must be a different API now since the xml-xmlbeans support > was dropped, isn't it? From what I can see, the dependence on xmlbeans was entirely internal. In any case, we do allow for a little change, as long as it doesn't affect any existing revdeps and there aren't many to test here.
| Author: Patrice Clement <monsieurp@gentoo.org> | Date: Wed Aug 12 16:04:13 2015 +0000 | | dev-java/rhino: reduce SLOT back to 1.6. | | Package-Manager: portage-2.2.18 | Signed-off-by: Patrice Clement <monsieurp@gentoo.org> | | create mode 100644 dev-java/rhino/rhino-1.7.7-r1.ebuild
Where is 1.7.7 coming from? Looking on https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino/Download_Rhino, I see up to 1.7.6, with 1.7.5 (1.7R5) being the latest 'qualified release'.
(In reply to Andrew John Hughes from comment #13) > Where is 1.7.7 coming from? Looking on > https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino/ > Download_Rhino, I see up to 1.7.6, with 1.7.5 (1.7R5) being the latest > 'qualified release'. https://github.com/mozilla/rhino/releases/tag/Rhino1_7_7_RELEASE
I have just stabilised rhino-1.7.7 and the only dep still relying on xml-xmlbeans now is sci-mathematics/isabelle, which is a MOOOOOONSTER ebuild. Dear sci devs, would kindly bump isabelle? http://www.cl.cam.ac.uk/research/hvg/Isabelle/index.html There's a 2015 version and I'm pretty sure you guys can do away with the xml-xmlbeans dep by now. We would like to see off this ebuild ASAP and remove it from Portage as it has been moved into the Attic by the Apache folks (see http://xmlbeans.apache.org/). We will then mask xml-xmlbeans once you've completed the bump and stabilised isabelle. Thank you!
*** Bug 565652 has been marked as a duplicate of this bug. ***
(In reply to Patrice Clement from comment #15) > I have just stabilised rhino-1.7.7 and the only dep still relying on > xml-xmlbeans now is sci-mathematics/isabelle, which is a MOOOOOONSTER ebuild. > > Dear sci devs, would you kindly bump isabelle? > > http://www.cl.cam.ac.uk/research/hvg/Isabelle/index.html > > There's a 2015 version and I'm pretty sure you guys can do away with the > xml-xmlbeans dep by now. We would like to see off this ebuild ASAP and > remove it from Portage as it has been moved into the Attic by the Apache > folks (see http://xmlbeans.apache.org/). We will then mask xml-xmlbeans once > you've completed the bump and stabilise isabelle. Thank you! Please?
isabelle has been bumped and :1 has been removed. Closing.