Opened 15 years ago

Last modified 15 years ago

#156 closed defect

Compilation fails in base2 test phase of 'make maintainer-check' — at Version 3

Reported by: Peter Johansson Owned by: Peter Johansson
Priority: major Milestone: se.lu.thep.wenni 0.7
Component: se.lu.thep.wenni Keywords:
Cc:

Description (last modified by Jari Häkkinen)

Relates to ticket:63

With all the automagic download I thought a simple:

./configure --enable-debug && make

would work, but I get the following error:

javac -encoding UTF8 -cp ./BaseCoreAPI/BASE2CorePlugins.jar:BaseCoreAPI/BASE2Core.jar::./PluginUtilities-0.1pre/PluginUtilities-0.1pre.jar:.build  .build/se/lu/thep/wenni/WeNNI.java
.build/se/lu/thep/wenni/WeNNI.java:58: se.lu.thep.wenni.WeNNI is not abstract and does not override abstract method getAbout() in net.sf.basedb.plugins.AbstractRunBinaryPlugin
public class WeNNI
       ^
.build/se/lu/thep/wenni/WeNNI.java:64: cannot find symbol
symbol  : variable about
location: class se.lu.thep.wenni.WeNNI
                about = new AboutImpl
                ^
.build/se/lu/thep/wenni/WeNNI.java:76: cannot find symbol
symbol  : variable defaultChildName
location: class se.lu.thep.wenni.WeNNI
                defaultChildName = "WeNNI imputed bioassayset";
                ^
.build/se/lu/thep/wenni/WeNNI.java:79: cannot find symbol
symbol  : variable permissions
location: class se.lu.thep.wenni.WeNNI
                permissions.add(new Permissions(Item.EXPERIMENT, null,
                ^
.build/se/lu/thep/wenni/WeNNI.java:81: cannot find symbol
symbol  : variable permissions
location: class se.lu.thep.wenni.WeNNI
                permissions.add(new Permissions(Item.JOB, null,
                ^
.build/se/lu/thep/wenni/WeNNI.java:85: cannot find symbol
symbol  : variable plugin_maintype
location: class se.lu.thep.wenni.WeNNI
                plugin_maintype=Plugin.MainType.ANALYZE;
                ^
.build/se/lu/thep/wenni/WeNNI.java:116: getBinaryPath(java.lang.String) in net.sf.basedb.plugins.AbstractRunBinaryPlugin cannot be applied to (java.lang.Class<capture#292 of ? extends se.lu.thep.wenni.WeNNI>,java.lang.String)
                String[] cmd = { getBinaryPath(this.getClass(),"nni") , "--help" };
                                 ^
.build/se/lu/thep/wenni/WeNNI.java:117: cannot find symbol
symbol  : method execute(java.lang.String[],net.sf.basedb.core.ProgressReporter)
location: class se.lu.thep.wenni.WeNNI
                execute(cmd,progress);
                ^
8 errors

Ideas?

Change History (3)

comment:1 by Peter Johansson, 15 years ago

(In [874]) refs #71

Adding some targets for maintainer to check that everything is OK in all three states. The target maintainer-check is just an aggregate of the three distcheck-* targets (that can be called independently if desired). For distcheck-base1 I hardcoded the '--with-basedir' which perhaps needs to be modified by maintainer. I'm not sure if it's possible (well read important) to set that in a less hard-coded manner, i.e., set it in configure.ac. distcheck-base2 did not work for me due to problems compiling the java code (refs #156).

comment:2 by Jari Häkkinen, 15 years ago

Does your software environment fulfil the requirements stated in the INSTALL doc? Is your java compiler version 1.6? I have no problems compiling the latest revision (883) on my machine.

comment:3 by Jari Häkkinen, 15 years ago

Description: modified (diff)
Summary: Compilation fails in base2 modeCompilation fails in base2 test phase of 'make maintainer-check'

Ok, trying 'make maintainer-check' actually fails with your falure message. So, compiling WeNNI.java works normally but not in distcheck.

Note: See TracTickets for help on using tickets.