Summary: | dev-java/bsf-2.3.0-r2 fails emerge | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Simone Piunno <pioppo> |
Component: | [OLD] Library | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Simone Piunno
2005-03-13 05:37:04 UTC
that was already fixed, please do 'emerge sync' and try again. feel free to reopen if you still experiencing such problems. emerge sync doesn't help, the problem is still there. that was the bug where it was fixed, if you still have this problem then you've got an old ebuild in an local overlay or something. the bug itself is fixed. *** This bug has been marked as a duplicate of 75578 *** I'm afraid I have to insist, there's no such overlay. The bug is still there. roentgen ~ # equery which bsf /usr/portage/dev-java/bsf/bsf-2.3.0-r2.ebuild roentgen ~ # ls -l /usr/portage/dev-java/bsf/bsf-2.3.0-r2.ebuild -rw-r--r-- 1 root root 1615 29 gen 22:36 /usr/portage/dev-java/bsf/bsf-2.3.0-r2.ebuild roentgen ~ # md5sum /usr/portage/dev-java/bsf/bsf-2.3.0-r2.ebuild 6a78704b99e7f4dd7f6aed70d827c0e2 /usr/portage/dev-java/bsf/bsf-2.3.0-r2.ebuild roentgen ~ # grep OVERLAY /etc/make.conf PORTDIR_OVERLAY=/usr/local/portage roentgen ~ # find /usr/local/portage|grep bsf roentgen ~ # ls /usr/local/portage/dev-java/bsf/ ls: /usr/local/portage/dev-java/bsf/: No such file or directory roentgen ~ # equery which rhino /usr/portage/dev-java/rhino/rhino-1.6.1-r1.ebuild roentgen ~ # grep SLOT /usr/portage/dev-java/rhino/rhino-1.6.1-r1.ebuild SLOT="1.6" roentgen ~ # grep SLOT /usr/portage/dev-java/rhino/rhino-1.5* SLOT="1.5" roentgen ~ # grep rhino /usr/portage/dev-java/bsf/bsf-2.3.0-r2.ebuild SRC_URI="http://cvs.apache.org/dist/jakarta/bsf/v2.3.0rc1/src/bsf-src-2.3.0.tar.gz mirror://gentoo/bsf-rhino-1.5.patch.bz2" IUSE="doc jython rhino jikes" rhino? ( =dev-java/rhino-1.5* ) epatch ${WORKDIR}/bsf-rhino-1.5.patch if use rhino; then java-pkg_jar-from rhino-1.5 || die "Missing rhino" use rhino && cp="${cp}:$(java-config -p rhino-1.5)" in this case, re-emerge rhino-1.5, afterwards everything should be fine did it actualy update rhino? what is the output of equery list -i rhino try emerge -uvD bsf roentgen ~ # equery list -i rhino [ Searching for package 'rhino' in all categories among: ] * installed packages [I--] [ ] dev-java/rhino-1.5.5-r1 (1.5) [I--] [M ] dev-java/rhino-1.6.1 (1.6) I don't have the rhino use flag, so it doesn't depend on it: roentgen ~ # emerge -uvDp bsf These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild NS ] dev-java/servletapi-2.4-r1 +doc -jikes 0 kB [ebuild U ] dev-java/bsh-2.0_beta2 [2.0_beta1-r1] +doc -gnome -jikes +junit +kde +readline 1,049 kB [ebuild N ] dev-java/bsf-2.3.0-r2 +doc -jikes -jython -rhino 0 kB Anyway, I've re-emerged rhino, both 1.5 and 1.6, and then launched emerge -uvD bsh. It fails while installing bsh: roentgen ~ # emerge -uvD bsf Calculating dependencies ...done! >>> emerge (1 of 2) dev-java/bsh-2.0_beta2 to / >>> md5 src_uri ;-) bsh-2.0b2-src.jar >>> md5 src_uri ;-) beanshell-icon.png >>> Unpacking source... * Applying bsh2-build.patch ... [ ok ] * Applying bsh2-readline.patch ... [ ok ] >>> Source unpacked. Could not find package bsf-2.3 Buildfile: build.xml builddir: compile: [javac] Compiling 148 source files to /var/tmp/portage/bsh-2.0_beta2/work/Be anShell/classes [javac] /var/tmp/portage/bsh-2.0_beta2/work/BeanShell/bsf/src/TestBshBSF.jav a:2: package org.apache.bsf does not exist [javac] import org.apache.bsf.*; [javac] ^ [javac] /var/tmp/portage/bsh-2.0_beta2/work/BeanShell/bsf/src/TestBshBSF.jav a:8: cannot resolve symbol [javac] symbol : class BSFException [javac] location: class TestBshBSF [javac] throws BSFException [javac] ^ [javac] /var/tmp/portage/bsh-2.0_beta2/work/BeanShell/bsf/src/bsh/util/BeanS hellBSFEngine.java:12: package org.apache.bsf does not exist [javac] import org.apache.bsf.*; [javac] ^ [javac] /var/tmp/portage/bsh-2.0_beta2/work/BeanShell/bsf/src/bsh/util/BeanS hellBSFEngine.java:13: package org.apache.bsf.util does not exist ... tons of these errors ... [javac] /var/tmp/portage/bsh-2.0_beta2/work/BeanShell/bsf/src/bsh/util/BeanS hellBSFEngine.java:256: cannot resolve symbol [javac] symbol : class BSFException [javac] location: class bsh.util.BeanShellBSFEngine [javac] throw new BSFException("bsh internal error: "+e. toString()); [javac] ^ [javac] 38 errors [javac] 9 warnings BUILD FAILED /var/tmp/portage/bsh-2.0_beta2/work/BeanShell/build.xml:132: Compile failed; see the compiler error output for details. How come bsh is a dependency of bsf and fails because bsf is not there??? Isn't it a circular dependency problem? another circular dependency. please try: emerge -uvD bsf OK, this time it worked. Thank you! Nonetheless, I think there's something wrong here. Portage is supposed to work out dependencies automatically, I shouldn't have to figure them out by trial and error. Same bug here. a manual emerge rhino emerge bsf Fixed things. marking as fixed wrt comment #9, thanks for your report. |