[Debian-astro-maintainers] Bug#894407: starjava-ttools FTBFS with openjdk-9

Adrian Bunk bunk at debian.org
Thu Mar 29 22:08:26 UTC 2018


Source: starjava-ttools
Version: 3.1.2-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/starjava-ttools.html

...
run-tests:
    [junit] Testsuite: uk.ac.starlink.ttools.FactoryTest
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.824 sec
    [junit] 
    [junit] WARNING: An illegal reflective access operation has occurred
    [junit] WARNING: Illegal reflective access by org.python.core.PySystemState (file:/usr/share/java/jython-2.7.1.jar) to method java.io.Console.encoding()
    [junit] WARNING: Please consider reporting this to the maintainers of org.python.core.PySystemState
    [junit] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
    [junit] WARNING: All illegal access operations will be denied in a future release
    [junit] Testsuite: uk.ac.starlink.ttools.JyStiltsTest
    [junit] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
    [junit] 
    [junit] Testcase: warning(junit.framework.TestSuite$1):	FAILED
    [junit] Exception in constructor: testScripts (Traceback (most recent call last):
    [junit]   File "<string>", line 1, in <module>
    [junit]   File "/build/1st/starjava-ttools-3.1.2/build/etc/stilts.py", line 30, in <module>
    [junit]     _recursivelyAddJar(java.io.File('/usr/share/java/starlink-ttools.jar'))
    [junit] AttributeError: 'javapackage' object has no attribute 'io'
    [junit] 
    [junit] 	at org.python.core.Py.AttributeError(Py.java:207)
    [junit] 	at org.python.core.PyObject.noAttributeError(PyObject.java:1032)
    [junit] 	at org.python.core.PyObject.__getattr__(PyObject.java:1027)
    [junit] 	at stilts$py.f$0(/build/1st/starjava-ttools-3.1.2/build/etc/stilts.py:10289)
    [junit] 	at stilts$py.call_function(/build/1st/starjava-ttools-3.1.2/build/etc/stilts.py)
    [junit] 	at org.python.core.PyTableCode.call(PyTableCode.java:171)
    [junit] 	at org.python.core.PyCode.call(PyCode.java:18)
    [junit] 	at org.python.core.imp.createFromCode(imp.java:436)
    [junit] 	at org.python.core.imp.createFromSource(imp.java:396)
    [junit] 	at org.python.core.imp.loadFromSource(imp.java:667)
    [junit] 	at org.python.core.imp.find_module(imp.java:551)
    [junit] 	at org.python.core.imp.import_next(imp.java:838)
    [junit] 	at org.python.core.imp.import_module_level(imp.java:957)
    [junit] 	at org.python.core.imp.importName(imp.java:1057)
    [junit] 	at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
    [junit] 	at org.python.core.PyObject.__call__(PyObject.java:450)
    [junit] 	at org.python.core.__builtin__.__import__(__builtin__.java:1232)
    [junit] 	at org.python.core.imp.importOne(imp.java:1076)
    [junit] 	at org.python.pycode._pyx3.f$0(<string>:1)
    [junit] 	at org.python.pycode._pyx3.call_function(<string>)
    [junit] 	at org.python.core.PyTableCode.call(PyTableCode.java:171)
    [junit] 	at org.python.core.PyCode.call(PyCode.java:18)
    [junit] 	at org.python.core.Py.runCode(Py.java:1614)
    [junit] 	at org.python.core.Py.exec(Py.java:1658)
    [junit] 	at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:267)
    [junit] 	at uk.ac.starlink.ttools.JyStiltsTest.<init>(JyStiltsTest.java:35)
    [junit] 	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [junit] 	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    [junit] 	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    [junit] 	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
    [junit] 	at junit.framework.TestSuite.createTest(TestSuite.java:54)
    [junit] 	at junit.framework.TestSuite.addTestMethod(TestSuite.java:280)
    [junit] 	at junit.framework.TestSuite.<init>(TestSuite.java:140)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:504)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1205)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1048)
    [junit] )
    [junit] junit.framework.AssertionFailedError: Exception in constructor: testScripts (Traceback (most recent call last):
    [junit]   File "<string>", line 1, in <module>
    [junit]   File "/build/1st/starjava-ttools-3.1.2/build/etc/stilts.py", line 30, in <module>
    [junit]     _recursivelyAddJar(java.io.File('/usr/share/java/starlink-ttools.jar'))
    [junit] AttributeError: 'javapackage' object has no attribute 'io'
    [junit] 
    [junit] 	at org.python.core.Py.AttributeError(Py.java:207)
    [junit] 	at org.python.core.PyObject.noAttributeError(PyObject.java:1032)
    [junit] 	at org.python.core.PyObject.__getattr__(PyObject.java:1027)
    [junit] 	at stilts$py.f$0(/build/1st/starjava-ttools-3.1.2/build/etc/stilts.py:10289)
    [junit] 	at stilts$py.call_function(/build/1st/starjava-ttools-3.1.2/build/etc/stilts.py)
    [junit] 	at org.python.core.PyTableCode.call(PyTableCode.java:171)
    [junit] 	at org.python.core.PyCode.call(PyCode.java:18)
    [junit] 	at org.python.core.imp.createFromCode(imp.java:436)
    [junit] 	at org.python.core.imp.createFromSource(imp.java:396)
    [junit] 	at org.python.core.imp.loadFromSource(imp.java:667)
    [junit] 	at org.python.core.imp.find_module(imp.java:551)
    [junit] 	at org.python.core.imp.import_next(imp.java:838)
    [junit] 	at org.python.core.imp.import_module_level(imp.java:957)
    [junit] 	at org.python.core.imp.importName(imp.java:1057)
    [junit] 	at org.python.core.ImportFunction.__call__(__builtin__.java:1280)
    [junit] 	at org.python.core.PyObject.__call__(PyObject.java:450)
    [junit] 	at org.python.core.__builtin__.__import__(__builtin__.java:1232)
    [junit] 	at org.python.core.imp.importOne(imp.java:1076)
    [junit] 	at org.python.pycode._pyx3.f$0(<string>:1)
    [junit] 	at org.python.pycode._pyx3.call_function(<string>)
    [junit] 	at org.python.core.PyTableCode.call(PyTableCode.java:171)
    [junit] 	at org.python.core.PyCode.call(PyCode.java:18)
    [junit] 	at org.python.core.Py.runCode(Py.java:1614)
    [junit] 	at org.python.core.Py.exec(Py.java:1658)
    [junit] 	at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:267)
    [junit] 	at uk.ac.starlink.ttools.JyStiltsTest.<init>(JyStiltsTest.java:35)
    [junit] 	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [junit] 	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    [junit] 	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    [junit] 	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
    [junit] )
    [junit] 
    [junit] 

BUILD FAILED
/build/1st/starjava-ttools-3.1.2/build.xml:1502: Test uk.ac.starlink.ttools.JyStiltsTest failed

Total time: 17 seconds
make[1]: *** [debian/rules:12: override_dh_auto_test] Error 1



More information about the Debian-astro-maintainers mailing list