Bug#829111: spock: FTBFS: exception IOException is never thrown in body of corresponding try statement
Daniel Schepler
dschepler at gmail.com
Thu Jun 30 15:53:47 UTC 2016
Source: spock
Version: 0.7-groovy-2.0-2
Severity: serious
>From my pbuilder build log:
...
dh_auto_build -O--buildsystem=ant
ant -Duser.name debian
Buildfile: /build/spock-0.7-groovy-2.0/debian/build.xml
init:
[mkdir] Created dir: /build/spock-0.7-groovy-2.0/dist
build.core:
[mkdir] Created dir: /build/spock-0.7-groovy-2.0/spock-core/build
[groovyc] Compiling 350 source files to
/build/spock-0.7-groovy-2.0/spock-core/build
[groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException:
startup failed:
[groovyc] Compile error during compilation with javac.
[groovyc] warning: [options] bootstrap class path not set in
conjunction with -source 1.5
[groovyc] warning: [options] source value 1.5 is obsolete and will
be removed in a future release
[groovyc] warning: [options] target value 1.5 is obsolete and will
be removed in a future release
[groovyc] warning: [options] To suppress warnings about obsolete
options, use -Xlint:-options.
[groovyc] /build/spock-0.7-groovy-2.0/spock-core/src/main/java/spock/lang/Specification.java:46:
warning: '_' used as an identifier
[groovyc] public static final Object _ = Wildcard.INSTANCE;
[groovyc] ^
[groovyc] (use of '_' as an identifier might not be supported in
releases after Java SE 8)
[groovyc] /build/spock-0.7-groovy-2.0/spock-core/src/main/java/org/spockframework/runtime/ConfigurationScriptLoader.java:129:
error: exception IOException is never thrown in body of corresponding
try statement
[groovyc] } catch (IOException e) {
[groovyc] ^
[groovyc] Note: Some input files use or override a deprecated API.
[groovyc] Note: Recompile with -Xlint:deprecation for details.
[groovyc] 1 error
[groovyc] 5 warnings
[groovyc]
[groovyc]
[groovyc] 1 error
BUILD FAILED
/build/spock-0.7-groovy-2.0/debian/build.xml:82: The following error
occurred while executing this line:
/build/spock-0.7-groovy-2.0/debian/build.xml:122: Compilation Failed
Total time: 3 seconds
dh_auto_build: ant -Duser.name debian returned exit code 1
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--
Daniel Schepler
More information about the pkg-java-maintainers
mailing list