Java build on rawhide
by Orion Poplawski
This seems new. I'm try to build plplot in rawhide and getting the
following. This seems to be pointing to a pretty fundamental issue with
the java install. This was working a bit ago.
cd /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java
&& /usr/bin/javac -classpath
/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java
/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java/config.java
-d /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java
----------
1. ERROR in
/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java/config.java
(at line 1)
// -*-java-*-
^
The type java.lang.Object cannot be resolved. It is indirectly
referenced from required .class files
----------
2. ERROR in
/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java/config.java
(at line 1)
// -*-java-*-
^
The type java.lang.String cannot be resolved. It is indirectly
referenced from required .class files
----------
3. ERROR in
/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java/config.java
(at line 23)
public class config {
^^^^^^
Implicit super constructor Object() is undefined for default
constructor. Must define an explicit constructor
----------
4. ERROR in
/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java/config.java
(at line 25)
public final static String libname = "plplotjavac_wrap.so";
^^^^^^
String cannot be resolved to a type
----------
5. ERROR in
/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/bindings/java/config.java
(at line 26)
public final static String libdir = "/usr/lib/plplot5.9.0";
^^^^^^
String cannot be resolved to a type
----------
5 problems (5 errors)make[2]: ***
[bindings/java/plplot/core/config.class] Error 255
Suggestions?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
15 years, 7 months
NullPointerException in autotools propaties page
by Shunichi Fuji
hi, i have got NullPointer error in project propaties page on autotools-plugins.
in AutotoolsDefaultBuildDirHandler, sometimes AutotoolsDefaultBuildDirHandler("status")
returned null. (it happen that didn't add configure to Used tools, didn't
push apply button, when builder is autotools.)
just aviod by continue.
in MakeGenerator, at similler situation. when didn't apply tool-chain yet, but values are
changed. then push ok to invoke this.
if buildDir isn't null, return new Path(buildDir).
otherwise return null. the caller of this function may handle by set to default build value.
(at least in cdt-HEAD)
i'm not sure this is a correct way from a design viewpoint.
btw, i saw `FIXME: Use holder to set option value, not the "option" parameter`.
it may be related?
but i didnt see deeply yet. so i just put only a quick patch here.
### Eclipse Workspace Patch 1.0
#P com.redhat.eclipse.cdt.autotools
Index: src/com/redhat/eclipse/cdt/autotools/AutotoolsDefaultBuildDirHandler.java
===================================================================
RCS file: /cvs/eclipse/autotools/com.redhat.eclipse.cdt.autotools/src/com/redhat/eclipse/cdt/autotools/AutotoolsDefaultBuildDirHandler.java,v
retrieving revision 1.4
diff -u -r1.4 AutotoolsDefaultBuildDirHandler.java
--- src/com/redhat/eclipse/cdt/autotools/AutotoolsDefaultBuildDirHandler.java 30 Oct 2007 22:36:17 -0000 1.4
+++ src/com/redhat/eclipse/cdt/autotools/AutotoolsDefaultBuildDirHandler.java 20 Feb 2008 12:06:59 -0000
@@ -61,6 +61,7 @@
continue;
}
ITool tool = config.getToolFromOutputExtension("status"); //$NON-NLS-1$
+ if (tool == null) continue;
// We now want to get the builddir option for the tool. If we use
// getOptionById(), we must know the full id which in our case has a generated
// numeric extension at the end. Otherwise, the base builddir option id
Index: src/com/redhat/eclipse/cdt/autotools/MakeGenerator.java
===================================================================
RCS file: /cvs/eclipse/autotools/com.redhat.eclipse.cdt.autotools/src/com/redhat/eclipse/cdt/autotools/MakeGenerator.java,v
retrieving revision 1.35
diff -u -r1.35 MakeGenerator.java
--- src/com/redhat/eclipse/cdt/autotools/MakeGenerator.java 28 Jan 2008 20:45:12 -0000 1.35
+++ src/com/redhat/eclipse/cdt/autotools/MakeGenerator.java 20 Feb 2008 12:07:00 -0000
@@ -105,6 +105,7 @@
private void initializeBuildConfigDirs() {
ITool tool = cfg.getToolFromOutputExtension("status"); //$NON-NLS-1$
+ if (tool == null) return;
IOption[] options = tool.getOptions();
for (int i = 0; i < options.length; ++i) {
String id = options[i].getId();
@@ -251,7 +252,9 @@
* @see org.eclipse.cdt.managedbuilder.makegen.IManagedBuilderMakefileGenerator#getBuildWorkingDir()
*/
public IPath getBuildWorkingDir() {
- return new Path(buildDir);
+ if (this.buildDir != null)
+ return new Path(buildDir);
+ return null;
}
/*
15 years, 7 months
Unable to GNU AutoBuild a simple HelloWorld console application
by Dan Thurman
I am testing Eclipse on F8, and I have checkout HelloWorld
from my SVN repository and into my workspace, choosing
GNU AutoBuild but apparently it is unable to auto-build.
The error I have reported is:
**** Clean-only build of configuration Build (GNU) for project
HelloWorld ****
make -k distclean
make: *** No rule to make target `distclean'.
Buildfile generation error occurred..
Not possible to generate Makefile and no existing Makefile found
Build stopped..
So what is the problem
15 years, 7 months
Re: Orphaning packages
by Devrim GÜNDÜZ
Hi,
On Sat, 2008-02-09 at 20:21 +0100, Lubomir Kundrak wrote:
> > I apologize if any bugs you reported have not been acted upon
> recently.
> > If some brave soul would like to take over, I can provide guidance,
> > though it may be somewhat sporadic.
>
> Devrim helped a lot with tomcat5 and IIRC expressed some interest in
> maintaining it, so adding him to Cc, in case he didn't notice. Maybe
> he is the brave soul to take over some other packages as well.
:)
I took 7 more packages. If we cannot find to maintain the rest of the
orphaned packages, I'll take them, too.
Regards,
--
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/
15 years, 7 months
Orphaning packages
by Vivek Lakshmanan
Hello,
I have been unable to provide necessary attention to a number of java
packages I owned for the last little while, and I am afraid my
schedule is only going to get tighter in the future. As a result I
have orphaned the following packages:
bea-stax
byaccj
classpathx-jaf
classpathx-jaxp
crytpix-asn1
isorelax
jakarta-commons-collections
jakarta-commons-pool
java_cup
jaxen
jaxen-bootstrap
jgroups
jlex
jzlib
ldapjdk
log4j
regexp
saxon
saxon8
tanukiwrapper
tomcat5
velocity
xalan-j2
xmlrpc
I apologize if any bugs you reported have not been acted upon recently.
If some brave soul would like to take over, I can provide guidance,
though it may be somewhat sporadic.
Vivek
15 years, 7 months
Get ready for Fosdem - Free Java Meeting
by Mark Wielaard
In just two weeks, 22 and 23 February, the Free Java Meeting will take
place during Fosdem in Brussels, Belgium.
There is a dynamic program with lots of (short) talks and space for
discussions on the state of the various free java projects, mobile java,
the VM and the Distro Rumble, the free java factory, cool stuff,
freedom, compatibility, community and planning all the exciting stuff we
are going to do together in the next year.
So if you are interested in Debian-java, GNU Classpath, OpenJDK,
JikesRVM, Fedora-java, IKVM.NET, JamVM, Jalimo, Mobile&Embedded, Kaffe,
Gentoo-java, IcedTea, JNode, MIDPath, FBToolkit, Brandweg, Duchess,
IcePick, HotSpot, "Zero", Ubuntu-java, GCJ and much, much more. Then
please come and join us.
More information on the program, who will be there and other activities
at http://fosdem.org/2008/schedule/devroom/freejava and
http://wiki.debian.org/Java/DevJam/2008/Fosdem
Best of all, it is all free.
You only have to pay the beer yourself *)
Hope to see you all there!
*) FOSDEM '08 is a free and non-commercial event organized by the
community, for the community. Its goal is to provide Free Software and
Open Source developers a place to meet. http://fosdem.org/
15 years, 7 months
Get ready for Fosdem - Free Java Meeting
by Mark Wielaard
In just two weeks, 22 and 23 February, the Free Java Meeting will take
place during Fosdem in Brussels, Belgium.
There is a dynamic program with lots of (short) talks and space for
discussions on the state of the various free java projects, mobile java,
the VM and the Distro Rumble, the free java factory, cool stuff,
freedom, compatibility, community and planning all the exciting stuff we
are going to do together in the next year.
So if you are interested in Debian-java, GNU Classpath, OpenJDK,
JikesRVM, Fedora-java, IKVM.NET, JamVM, Jalimo, Mobile&Embedded, Kaffe,
Gentoo-java, IcedTea, JNode, MIDPath, FBToolkit, Brandweg, Duchess,
IcePick, HotSpot, "Zero", Ubuntu-java, and much, much more. Then please
come and join us.
More information on the program, who will be there and other activities
at http://fosdem.org/2008/schedule/devroom/freejava and
http://wiki.debian.org/Java/DevJam/2008/Fosdem
Best of all, it is all free.
You only have to pay the beer yourself *)
Hope to see you all there!
*) FOSDEM '08 is a free and non-commercial event organized by the
community, for the community. Its goal is to provide Free Software and
Open Source developers a place to meet. http://fosdem.org/
15 years, 8 months