Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155443 - app-editors/jedit-4.3_pre7 ebuild fails
Summary: app-editors/jedit-4.3_pre7 ebuild fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-16 20:13 UTC by Peter Ansell
Modified: 2006-11-17 14:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ansell 2006-11-16 20:13:32 UTC
Currently the new jedit-4.3_pre7 build seems to fail with a missing ant target. See below:

BUILD FAILED
Target `javadoc' does not exist in this project. 

Total time: 44 seconds

!!! ERROR: app-editors/jedit-4.3_pre7 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  jedit-4.3_pre7.ebuild, line 57:   Called eant 'build' 'javadoc' 'docs-html' '-
Dgentoo.classpath=/usr/share/gnu-regexp-1/lib/gnu-regexp.jar'
  java-utils-2.eclass, line 1345:   Called die

!!! eant failed
!!! If you need support, post the topmost build error, and the call stack if rel
evant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6_beta2"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
and of course, the output of emerge --info
Comment 1 Peter Ansell 2006-11-16 21:10:42 UTC
The following bug comes up when as I am using jEdit (I emerged jedit with USE="-doc" to get around the previous problem:

java.lang.NoClassDefFoundError: gnu/regexp/REException
	at bufferlist.BufferList.handlePropertiesChanged(Unknown Source)
	at bufferlist.BufferList.<init>(Unknown Source)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
	at bsh.Reflect.constructObject(Reflect.java:620)
	at bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:123)
	at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:114)
	at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62)
	at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
	at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
	at bsh.Interpreter.eval(Interpreter.java:645)
	at bsh.Interpreter.eval(Interpreter.java:739)
	at bsh.Interpreter.eval(Interpreter.java:728)
	at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:432)
	at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:396)
	at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(DockableWindowFactory.java:412)
	at org.gjt.sp.jedit.gui.DockableWindowManager.showDockableWindow(DockableWindowManager.java:322)
	at org.gjt.sp.jedit.gui.PanelWindowContainer$ActionHandler.actionPerformed(PanelWindowContainer.java:423)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:269)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1778)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


I have gnu-regexp installed:

"emerge gnu-regexp -av

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-java/gnu-regexp-1.1.4-r2  USE="doc -source" 0 kB "

Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-11-17 06:32:11 UTC
the original post, and the second are two different issues.

Presumably, the first is being caused when built with USE=javadoc? Hard to say without seeing your emerge --info. It should be a matter of figuring out what the javadoc target is named.

The second is that the gnu-regexp isn't getting on the classpath. jedit is being invoked via java -jar /path/to/jedit.jar, and using java -jar ignores any classpath. The fix is to change the dolauncher call to specify the main class to run instead of which jar to execute.
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2006-11-17 14:25:50 UTC
Fixed both issues earlier today. Thanks for reporting.