Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11543

TableHeaderScopeTestCase.java:[115,50] error: no interface expected here

From Mathieu Malaterre <malat@debian.org>
Newsgroups linux.debian.maint.java
Subject TableHeaderScopeTestCase.java:[115,50] error: no interface expected here
Date 2020-02-17 08:00 +0100
Message-ID <zAIxQ-4dK-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi there,

I tried update fop to version 2.4 (this required updating batik). I
did not realize that it did not build under sid (2.4 builds fine on
buster). Could someone comment on the compilation error, so that I can
forward something meaningful upstream:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile
(default-testCompile) on project fop-core: Compilation failure:
Compilation failure:
[ERROR] /<<PKGBUILDDIR>>/fop-core/src/test/java/org/apache/fop/pdf/TableHeaderScopeTestCase.java:[115,50]
error: no interface expected here
[ERROR] /<<PKGBUILDDIR>>/fop-core/src/test/java/org/apache/fop/render/intermediate/IFStructureTreeBuilderTestCase.java:[146,57]
error: no interface expected here
[ERROR] /<<PKGBUILDDIR>>/fop-core/src/test/java/org/apache/fop/pdf/TableHeaderScopeTestCase.java:[112,15]
error: no suitable method found for argThat(IsScopeAttribute)
[ERROR]     method Matchers.<T#1>argThat(ArgumentMatcher<T#1>) is not applicable
[ERROR]       (cannot infer type-variable(s) T#1
[ERROR]         (argument mismatch; IsScopeAttribute cannot be
converted to ArgumentMatcher<T#1>))
[ERROR]     method Matchers.<T#2>argThat(Matcher<T#2>) is not applicable
[ERROR]       (cannot infer type-variable(s) T#2
[ERROR]         (argument mismatch; IsScopeAttribute cannot be
converted to Matcher<T#2>))
[ERROR]   where T#1,T#2 are type-variables:
[ERROR]     T#1 extends Object declared in method
<T#1>argThat(ArgumentMatcher<T#1>)
[ERROR]     T#2 extends Object declared in method <T#2>argThat(Matcher<T#2>)
[ERROR] /<<PKGBUILDDIR>>/fop-core/src/test/java/org/apache/fop/pdf/TableHeaderScopeTestCase.java:[123,8]
error: method does not override or implement a method from a supertype
[ERROR] /<<PKGBUILDDIR>>/fop-core/src/test/java/org/apache/fop/render/intermediate/IFStructureTreeBuilderTestCase.java:[155,19]
error: no suitable method found for argThat(AttributesMatcher)
[ERROR]     method Matchers.<T#1>argThat(ArgumentMatcher<T#1>) is not applicable
[ERROR]       (cannot infer type-variable(s) T#1
[ERROR]         (argument mismatch; AttributesMatcher cannot be
converted to ArgumentMatcher<T#1>))
[ERROR]     method Matchers.<T#2>argThat(Matcher<T#2>) is not applicable
[ERROR]       (cannot infer type-variable(s) T#2
[ERROR]         (argument mismatch; AttributesMatcher cannot be
converted to Matcher<T#2>))
[ERROR]   where T#1,T#2 are type-variables:
[ERROR]     T#1 extends Object declared in method
<T#1>argThat(ArgumentMatcher<T#1>)
[ERROR]     T#2 extends Object declared in method <T#2>argThat(Matcher<T#2>)
[ERROR] -> [Help 1]


ref:

https://buildd.debian.org/status/fetch.php?pkg=fop&arch=all&ver=1%3A2.4-1&stamp=1581891917&raw=0


Thanks for help,

Back to linux.debian.maint.java | Previous | Next | Find similar


Thread

TableHeaderScopeTestCase.java:[115,50] error: no interface expected here Mathieu Malaterre <malat@debian.org> - 2020-02-17 08:00 +0100

csiph-web