it complains about a deprecated API and then fails compilation Reproducible: Always Steps to Reproduce: 1. emerge bsf-rhino 2. 3. Actual Results: compile: [javac] Compiling 23 source files to /var/tmp/portage/bsf-2.3.0-r2/work/bsf-2.3.0/src/bsf/build/classes [javac] /var/tmp/portage/bsf-2.3.0-r2/work/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/JsContextStub.java:201: cannot resolve symbol [javac] symbol : method getThisObj () [javac] location: class org.mozilla.javascript.NativeCall [javac] obj = call.getThisObj(); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 1 error BUILD FAILED Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 x86_64) ================================================================= System uname: 2.6.10-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 14:42:07)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r5 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -march=k8 -funit-at-a-time -frename-registers -fweb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=k8 -funit-at-a-time -frename-registers -fweb" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks parallel-fetch sandbox" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="it_IT.UTF-8" LC_ALL="it_IT.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aalib acl acpi adns alsa apache2 app-crypt/gnupg:idea app-crypt/gpgme:smime arts artswrappersuid audiofile avi bash-completion berkdb bidi bigger-fonts bitmap-fonts bootsplash caps cdda cddb cdio cdparanoia cdr cluster crypt cups curl dba dev-dotnet/mono:nptl dev-util/eric:idl directfb divx4linux doc dts dv dvd dvdr dvdread encode esd faad fam fbcon ffmpeg flac font-server fortran fpx freetype gd gdbm gdm gif gimpprint gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 guile hal httpd icq imagemagick imap imlib innodb ipv6 ithreads jabber jack java jbig jp2 jpeg jpeg2k junit kde kde-base/kdeadmin:foreign-package kde-base/kdeadmin:foreign-sysvinit kde-base/kdemultimedia:cdparanoia ladcca lcms ldap libcaca libwww live lzo lzw lzw-tiff mad maildir makecheck media-sound/museseq:fluidsynth mikmod motif mozilla mp3 mpeg multilib mysql ncurses net-misc/openssh:X509 net-misc/openssh:chroot net-misc/openssh:sftplogging net-misc/openssh:skey net-www/apache:threads net-www/mozilla-firefox:xprint net-www/mozilla:mozp3p net-www/mozilla:mozsvg network nls nptl nsl nvidia ogg oggvorbis openexr opengl oss pam pcre pdflib perl png python qt readline rrdtool rtc samba sasl sdl slang speex spell ssl stream svg sys-devel/libperl:threads tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vim-with-x vorbis wmf xine xml xml2 xmms xpm xprint xrandr xv xvid xvmc zeo zlib linguas_en linguas_it" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
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.