Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 426280 - app-editors/jedit-4.5.2 doesn't build - Java severe exception
Summary: app-editors/jedit-4.5.2 doesn't build - Java severe exception
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-12 08:23 UTC by Helmut Jarausch
Modified: 2012-07-13 12:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,6.45 KB, text/plain)
2012-07-12 08:26 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2012-07-12 08:23:42 UTC

    
Comment 1 Helmut Jarausch 2012-07-12 08:25:24 UTC
jedit-4.5.2 fails to build with
   [script] Jul 12, 2012 10:15:40 AM org.apache.bsf.BSFManager loadScriptingEngine
   [script] SEVERE: Exception :
   [script] java.lang.ClassNotFoundException: bsh.util.BeanShellBSFEngine

GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.33"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"

emerge --info app-editors/jedit
Portage 2.2.0_alpha116 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.15-r2, 3.5.0-rc6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.0-rc6-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.1
Timestamp of tree: Thu, 12 Jul 2012 06:15:01 +0000
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p36
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.4_pre20120708::progress, 3.2.4_pre20120708::progress, 3.3_pre20120708::progress
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.6.3, 4.7.1, 4.8.0_pre9999::local
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo local sunrise science
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/lib/neatx/home"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=native -O2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LANG="en_US.iso88591"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/sunrise /usr/local/portage/layman/science"
SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac acl acpi alsa amd64 atm avahi berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fortran fuse gdbm gfortran gif gimp gnome gpm gtk gtk2 iconv ipv6 jpeg kde lapack lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt qt3support qt4 readline sdl session smp spell sqlite sqlite3 sse sse2 sse3 sse4a ssl startup-notification svg tcl tcpd threads tiff tk truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="ati radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-editors/jedit-4.4.2-r1 was built with the following:
USE="doc (multilib)"
Comment 2 Helmut Jarausch 2012-07-12 08:26:00 UTC
Created attachment 317976 [details]
build log
Comment 3 BillWho 2012-07-12 13:36:16 UTC
Same  condition here!

>>> Emerging (1 of 1) app-editors/jedit-4.5.2
 * jedit4.5.2source.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                        [ ok ]
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 * Using: oracle-jdk-bin-1.7
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
>>> Unpacking source...
>>> Unpacking jedit4.5.2source.tar.bz2 to /var/tmp/portage/app-editors/jedit-4.5.2/work
>>> Source unpacked in /var/tmp/portage/app-editors/jedit-4.5.2/work
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
>>> Preparing source in /var/tmp/portage/app-editors/jedit-4.5.2/work/jEdit ...
>>> Source prepared.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
>>> Configuring source in /var/tmp/portage/app-editors/jedit-4.5.2/work/jEdit ...
Rewriting attributes
Rewriting ./build.xml
>>> Source configured.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
>>> Compiling source in /var/tmp/portage/app-editors/jedit-4.5.2/work/jEdit ...
 * Using following ANT_TASKS:  ant-nodeps ant-apache-bsf ant-contrib bsh
Buildfile: /var/tmp/portage/app-editors/jedit-4.5.2/work/jEdit/build.xml

init:
     [echo] Buildfile for jedit (/var/tmp/portage/app-editors/jedit-4.5.2/work/jEdit/build.xml)

check-ivy:

download-ivy:

init-ivy:

retrieve:

setup:
   [script] Jul 12, 2012 8:29:38 AM org.apache.bsf.BSFManager loadScriptingEngine
   [script] SEVERE: Exception :
   [script] java.lang.ClassNotFoundException: bsh.util.BeanShellBSFEngine
   [script] 	at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365)
   [script] 	at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315)
   [script] 	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068)
   [script] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
   [script] 	at org.apache.bsf.BSFManager.loadScriptingEngine(BSFManager.java:693)
   [script] 	at org.apache.bsf.BSFManager.exec(BSFManager.java:485)
   [script] 	at org.apache.tools.ant.util.optional.ScriptRunner.executeScript(ScriptRunner.java:100)
   [script] 	at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:52)
   [script] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
   [script] 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
   [script] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [script] 	at java.lang.reflect.Method.invoke(Method.java:601)
   [script] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
   [script] 	at org.apache.tools.ant.Task.perform(Task.java:348)
   [script] 	at org.apache.tools.ant.Target.execute(Target.java:392)
   [script] 	at org.apache.tools.ant.Target.performTasks(Target.java:413)
   [script] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
   [script] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
   [script] 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
   [script] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
   [script] 	at org.apache.tools.ant.Main.runBuild(Main.java:811)
   [script] 	at org.apache.tools.ant.Main.startAnt(Main.java:217)
   [script] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
   [script] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
   [script] 

BUILD FAILED
/var/tmp/portage/app-editors/jedit-4.5.2/work/jEdit/build.xml:92: java.lang.ClassNotFoundException: bsh.util.BeanShellBSFEngine
	at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365)
	at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315)
	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
	at org.apache.bsf.BSFManager.loadScriptingEngine(BSFManager.java:693)
	at org.apache.bsf.BSFManager.exec(BSFManager.java:485)
	at org.apache.tools.ant.util.optional.ScriptRunner.executeScript(ScriptRunner.java:100)
	at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:52)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:392)
	at org.apache.tools.ant.Target.performTasks(Target.java:413)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.Main.runBuild(Main.java:811)
	at org.apache.tools.ant.Main.startAnt(Main.java:217)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 1 second
 * ERROR: app-editors/jedit-4.5.2 failed (compile phase):
 *   eant failed
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 4066:  Called java-pkg-2_src_compile
 *   environment, line 2040:  Called eant 'build' '-f' 'build.xml' '-Divy.jar.present=true' '-Divy.done=true'
 *   environment, line  576:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 * 
 * If you need support, post the output of `emerge --info '=app-editors/jedit-4.5.2'`,
 * the complete build log and the output of `emerge -pqv '=app-editors/jedit-4.5.2'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.7  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.7.0.5"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/app-editors/jedit-4.5.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-editors/jedit-4.5.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-editors/jedit-4.5.2/work/jEdit'
 * S: '/var/tmp/portage/app-editors/jedit-4.5.2/work/jEdit'
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

>>> Failed to emerge app-editors/jedit-4.5.2, Log file:

>>>  '/var/tmp/portage/app-editors/jedit-4.5.2/temp/build.log'

 * Messages for package app-editors/jedit-4.5.2:

 * ERROR: app-editors/jedit-4.5.2 failed (compile phase):
 *   eant failed
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 4066:  Called java-pkg-2_src_compile
 *   environment, line 2040:  Called eant 'build' '-f' 'build.xml' '-Divy.jar.present=true' '-Divy.done=true'
 *   environment, line  576:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 * 
 * If you need support, post the output of `emerge --info '=app-editors/jedit-4.5.2'`,
 * the complete build log and the output of `emerge -pqv '=app-editors/jedit-4.5.2'`.
 * The complete build log is located at '/var/tmp/portage/app-editors/jedit-4.5.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-editors/jedit-4.5.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-editors/jedit-4.5.2/work/jEdit'
 * S: '/var/tmp/portage/app-editors/jedit-4.5.2/work/jEdit'
r
Comment 4 Janick Martinez Esturo 2012-07-12 19:31:49 UTC
I have exactly the same problem here on Sabayon 9.
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2012-07-13 09:43:43 UTC
Does rebuilding dev-java/bsh with USE=bsf help?
Comment 6 Helmut Jarausch 2012-07-13 10:25:20 UTC
(In reply to comment #5)
> Does rebuilding dev-java/bsh with USE=bsf help?

Yes, that fixes it.

Many thanks!
(Someone has to fix the ebuild to require this.)

Helmut.
Comment 7 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2012-07-13 12:10:48 UTC
Fixed in CVS, thanks.