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

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Mathieu Malaterre <malat@debian.org>
Newsgroups linux.debian.maint.java
Subject TableHeaderScopeTestCase.java:[115,50] error: no interface expected here
Date Mon, 17 Feb 2020 08:00:03 +0100
Message-ID <zAIxQ-4dK-17@gated-at.bofh.it> (permalink)
X-Original-To Debian Java List <debian-java@lists.debian.org>
X-Mailbox-Line From debian-java-request@lists.debian.org Mon Feb 17 06:58:30 2020
Old-Return-Path <mathieu.malaterre@gmail.com>
X-Amavis-Spam-Status No, score=-5.997 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, MDO_CABLE_TV3=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=no autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-ot1-f48.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/HKbcg0vdATxUjqngTCeAdIMIjLTBoleZUQZI1Evk4Y=; b=BRUKdMnMi+1etFB6w90MajgLkZlqC7m3ovJTBgncA9nTl+mKtIY8q0D6V+D7Ewi7kq KuRKQ3WMZDGK5xQ1usqZlSYkWAY+Q+AgZBV/jtLQC9IZapYirDIeI+Li30NJN461o22o pmNC4WSbCr2Bg9OAaWF3RTGosP4cEDCl8AaMFfSwnSb+uIKM9tw205+HgIXQRFGiEIB9 7hPfWJELG24MTW2p8tuQMmYNOlWp0dP74Q4llY6982rUqeX8BqXwsQSHxJPOe2BBYCcv p9Ef8EEmmDiAowSANOulgceCdkRRYQZmlTgP3Y5JiihQBq+TeQCN1s0TXzDR2OutcpiG csYw==
X-Gm-Message-State APjAAAUF4rOONMj8/kZ4GgPjTd+LU1CwTKapjPyYqcgVv7fCuguy4kfE /IXM0ObfbbrAVPFH0cf/9KRchdHCjb1OWsQQDZeM/OHk2sg=
X-Google-SMTP-Source APXvYqzvVFIXd0TUQnZIhjaAhN0+4lkkq13kJqc2IjuUoxJPpzqXA+VA7AVHZAJFuPETibb/74NA2dEYk7TkfkO4DSg=
X-Received by 2002:a9d:170a:: with SMTP id i10mr10992863ota.284.1581922694384; Sun, 16 Feb 2020 22:58:14 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-java@lists.debian.org> archive/latest/22106
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/CA+7wUsytOmBiHtxPJcpzjo9Abf7c-3PLCt0THufr9Jxm4Tvkdg@mail.gmail.com
Approved robomod@news.nic.it
Lines 54
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 17 Feb 2020 07:58:03 +0100
X-Original-Message-ID <CA+7wUsytOmBiHtxPJcpzjo9Abf7c-3PLCt0THufr9Jxm4Tvkdg@mail.gmail.com>
Xref csiph.com linux.debian.maint.java:11543

Show key headers only | 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 | Unroll thread


Thread

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

csiph-web