Re: Implementation certification procedure

Julian Mehnle <[email protected]> Wed, 20 Aug 2008 14:00:34 +0000
Newsgroups gmane.mail.spam.spf.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stefano Bagnara wrote:
> Try to remove the "-Plocal" and give it one more try, please.
> Here it works with and without "-Plocal", but maybe in your environment
> it is not possible to have an offline build for this.

Now I got somewhat further, but it still failed:

- ----------8<----------8<----------8<----------8<----------8<----------
...
[INFO] [surefire:test]
[INFO] Surefire report directory: /home/julian/tmp/apache-jspf-0.9.6/target/surefire-reports
org.apache.maven.surefire.booter.SurefireExecutionException: Unable to create test class 'org.apache.james.jspf.SPF1ParserTest'; nested exception is java.lang.ClassNotFoundException: 
org.apache.james.jspf.SPF1ParserTest not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebooterxp0dwr.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}; nested 
exception is org.apache.maven.surefire.testset.TestSetFailedException: Unable to create test class 'org.apache.james.jspf.SPF1ParserTest'; nested exception is java.lang.ClassNotFoundException: 
org.apache.james.jspf.SPF1ParserTest not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebooterxp0dwr.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
org.apache.maven.surefire.testset.TestSetFailedException: Unable to create test class 'org.apache.james.jspf.SPF1ParserTest'; nested exception is java.lang.ClassNotFoundException: 
org.apache.james.jspf.SPF1ParserTest not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebooterxp0dwr.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
java.lang.ClassNotFoundException: org.apache.james.jspf.SPF1ParserTest not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebooterxp0dwr.jar], 
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.90)
   at java.lang.ClassLoader.loadClass(libgcj.so.90)
   at java.lang.ClassLoader.loadClass(libgcj.so.90)
   at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:87)
   at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:209)
   at org.apache.maven.surefire.Surefire.run(Surefire.java:156)
   at java.lang.reflect.Method.invoke(libgcj.so.90)
   at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
   at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /home/julian/tmp/apache-jspf-0.9.6/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Wed Aug 20 13:54:54 GMT 2008
[INFO] Final Memory: 34M/58M
[INFO] ------------------------------------------------------------------------
- ---------->8---------->8---------->8---------->8---------->8----------

> > > The same difficulties I find with Mail::SPF testsuites and pyspf
> > > testsuites..
> >
> > What difficulties?  I'd very much like to make testing Mail::SPF as
> > easy as possible.
>
> The difficulties of running a perl environment on my machine.
> Not knowing perl is not so easy as you describe it in the INSTALL, but
> I understand this is extremely easy for a perl developer that is the
> target of your product.

No, this has nothing to do with Perl other than you need to have Perl
installed.  Everything else is just what INSTALL tells you.

I appreciate your helping me getting jSPF to build, though.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkisI4MACgkQwL7PKlBZWjvDegCfVi/+Yp7+7qoz0lXyEFidzyY+
mTcAnRamKAcdUtw7bG3jAPIe+XD/gIlf
=kFQG
-----END PGP SIGNATURE-----