Bug#893655: libwoodstox-java FTBFS with openjdk-9

Adrian Bunk bunk at debian.org
Tue Mar 20 22:13:28 UTC 2018


Source: libwoodstox-java
Version: 1:4.1.3-1
Severity: serious
Tags: buster sid
Control: fixed -1 1:5.0.3-2
Control: close -1

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libwoodstox-java.html

...

compile.woodstox:
    [javac] Using javac -source 1.4 is no longer supported, switching to 1.6
    [javac] Using javac -target 1.4 is no longer supported, switching to 1.6
    [javac] Compiling 176 source files to /build/1st/libwoodstox-java-4.1.3/build/classes/woodstox
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] warning: [options] source value 1.6 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] /build/1st/libwoodstox-java-4.1.3/src/java/com/ctc/wstx/osgi/WstxBundleActivator.java:29: error: no suitable method found for registerService(String,InputFactoryProviderImpl,Properties)
    [javac]         ctxt.registerService(Stax2InputFactoryProvider.class.getName(), inputP, inputP.getProperties());
    [javac]             ^
    [javac]     method BundleContext.registerService(String[],Object,Dictionary<String,?>) is not applicable
    [javac]       (argument mismatch; String cannot be converted to String[])
    [javac]     method BundleContext.registerService(String,Object,Dictionary<String,?>) is not applicable
    [javac]       (argument mismatch; Properties cannot be converted to Dictionary<String,?>)
    [javac]     method BundleContext.<S#1>registerService(Class<S#1>,S#1,Dictionary<String,?>) is not applicable
    [javac]       (cannot infer type-variable(s) S#1
    [javac]         (argument mismatch; String cannot be converted to Class<S#1>))
    [javac]     method BundleContext.<S#2>registerService(Class<S#2>,ServiceFactory<S#2>,Dictionary<String,?>) is not applicable
    [javac]       (cannot infer type-variable(s) S#2
    [javac]         (argument mismatch; String cannot be converted to Class<S#2>))
    [javac]   where S#1,S#2 are type-variables:
    [javac]     S#1 extends Object declared in method <S#1>registerService(Class<S#1>,S#1,Dictionary<String,?>)
    [javac]     S#2 extends Object declared in method <S#2>registerService(Class<S#2>,ServiceFactory<S#2>,Dictionary<String,?>)
    [javac] /build/1st/libwoodstox-java-4.1.3/src/java/com/ctc/wstx/osgi/WstxBundleActivator.java:31: error: no suitable method found for registerService(String,OutputFactoryProviderImpl,Properties)
    [javac]         ctxt.registerService(Stax2OutputFactoryProvider.class.getName(), outputP, outputP.getProperties());
    [javac]             ^
    [javac]     method BundleContext.registerService(String[],Object,Dictionary<String,?>) is not applicable
    [javac]       (argument mismatch; String cannot be converted to String[])
    [javac]     method BundleContext.registerService(String,Object,Dictionary<String,?>) is not applicable
    [javac]       (argument mismatch; Properties cannot be converted to Dictionary<String,?>)
    [javac]     method BundleContext.<S#1>registerService(Class<S#1>,S#1,Dictionary<String,?>) is not applicable
    [javac]       (cannot infer type-variable(s) S#1
    [javac]         (argument mismatch; String cannot be converted to Class<S#1>))
    [javac]     method BundleContext.<S#2>registerService(Class<S#2>,ServiceFactory<S#2>,Dictionary<String,?>) is not applicable
    [javac]       (cannot infer type-variable(s) S#2
    [javac]         (argument mismatch; String cannot be converted to Class<S#2>))
    [javac]   where S#1,S#2 are type-variables:
    [javac]     S#1 extends Object declared in method <S#1>registerService(Class<S#1>,S#1,Dictionary<String,?>)
    [javac]     S#2 extends Object declared in method <S#2>registerService(Class<S#2>,ServiceFactory<S#2>,Dictionary<String,?>)
    [javac] /build/1st/libwoodstox-java-4.1.3/src/java/com/ctc/wstx/osgi/WstxBundleActivator.java:35: error: no suitable method found for registerService(String,ValidationSchemaFactoryProviderImpl,Properties)
    [javac]             ctxt.registerService(Stax2ValidationSchemaFactoryProvider.class.getName(), impl, impl.getProperties());
    [javac]                 ^
    [javac]     method BundleContext.registerService(String[],Object,Dictionary<String,?>) is not applicable
    [javac]       (argument mismatch; String cannot be converted to String[])
    [javac]     method BundleContext.registerService(String,Object,Dictionary<String,?>) is not applicable
    [javac]       (argument mismatch; Properties cannot be converted to Dictionary<String,?>)
    [javac]     method BundleContext.<S#1>registerService(Class<S#1>,S#1,Dictionary<String,?>) is not applicable
    [javac]       (cannot infer type-variable(s) S#1
    [javac]         (argument mismatch; String cannot be converted to Class<S#1>))
    [javac]     method BundleContext.<S#2>registerService(Class<S#2>,ServiceFactory<S#2>,Dictionary<String,?>) is not applicable
    [javac]       (cannot infer type-variable(s) S#2
    [javac]         (argument mismatch; String cannot be converted to Class<S#2>))
    [javac]   where S#1,S#2 are type-variables:
    [javac]     S#1 extends Object declared in method <S#1>registerService(Class<S#1>,S#1,Dictionary<String,?>)
    [javac]     S#2 extends Object declared in method <S#2>registerService(Class<S#2>,ServiceFactory<S#2>,Dictionary<String,?>)
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 errors
    [javac] 4 warnings

BUILD FAILED
/build/1st/libwoodstox-java-4.1.3/build.xml:210: Compile failed; see the compiler error output for details.

Total time: 1 minute 38 seconds
make: *** [/usr/share/cdbs/1/class/ant.mk:39: debian/stamp-ant-build] Error 1


This is fixed in the version in experimental.



More information about the pkg-java-maintainers mailing list