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


Groups > linux.debian.maint.java > #10210 > unrolled thread

Re: Bug#877941: igv: FTBFS: SVGTest.java:111: error: cannot access Localizable

Started byAndreas Tille <tille@debian.org>
First post2017-12-05 11:40 +0100
Last post2017-12-16 11:50 +0100
Articles 5 — 3 participants

Back to article view | Back to linux.debian.maint.java

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Bug#877941: igv: FTBFS: SVGTest.java:111: error: cannot access  Localizable Andreas Tille <tille@debian.org> - 2017-12-05 11:40 +0100
    Re: Bug#877941: igv: FTBFS: SVGTest.java:111: error: cannot access  Localizable Emmanuel Bourg <ebourg@apache.org> - 2017-12-05 11:50 +0100
      Bug#877941: igv: FTBFS: SVGTest.java:111: error: cannot access Localizable Andreas Tille <tille@debian.org> - 2017-12-05 14:20 +0100
        Bug#877941: igv: FTBFS: SVGTest.java:111: error: cannot access Localizable Emmanuel Bourg <ebourg@apache.org> - 2017-12-05 19:10 +0100
          Bug#877941: igv: FTBFS: SVGTest.java:111: error: cannot access Localizable Markus Koschany <apo@debian.org> - 2017-12-16 11:50 +0100

#10210 — Re: Bug#877941: igv: FTBFS: SVGTest.java:111: error: cannot access Localizable

FromAndreas Tille <tille@debian.org>
Date2017-12-05 11:40 +0100
SubjectRe: Bug#877941: igv: FTBFS: SVGTest.java:111: error: cannot access Localizable
Message-ID<uTiNP-1sx-5@gated-at.bofh.it>
Hi Emmanuel,

On Tue, Dec 05, 2017 at 11:06:23AM +0100, Emmanuel Bourg wrote:
> Hi Andreas,
> 
> You have to build depend on openjfx, not libopenjfx-java. The
> description of libopenjfx-java has this:
> 
> "This package contains the Java libraries only, installing it won't add
> the JavaFX classes to the default classpath automatically. The
> integration with the JRE is provided by the openjfx package"

Ahhhh, thanks a lot for reading aloud the docs for me (and sorry for
bothering you about this :-( ).

Unfortunately there is one remaining issue:


compile:
    [javac] Compiling 906 source files to /build/igv-2.4.4+dfsg/tmp
    [javac] /build/igv-2.4.4+dfsg/src/org/broad/igv/ui/svg/SVGTest.java:111: error: cannot access Localizable
    [javac]              DOMImplementation domImpl = GenericDOMImplementation.getDOMImplementation();
    [javac]                                                                  ^
    [javac]   class file for org.apache.batik.i18n.Localizable not found
    [javac] /build/igv-2.4.4+dfsg/src/org/broad/igv/ui/svg/SVGTest.java:126: error: cannot access XMLConstants
    [javac]              svgGenerator.stream(out, false);
    [javac]                          ^
    [javac]   class file for org.apache.batik.util.XMLConstants not found
    [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] 2 errors

BUILD FAILED
/build/igv-2.4.4+dfsg/build.xml:179: Compile failed; see the compiler error output for details.


Any hint how to solve this one?

Thanks as always for the quick help

      Andreas.

-- 
http://fam-tille.de

[toc] | [next] | [standalone]


#10211

FromEmmanuel Bourg <ebourg@apache.org>
Date2017-12-05 11:50 +0100
Message-ID<uTiXw-1vE-13@gated-at.bofh.it>
In reply to#10210
Le 05/12/2017 à 11:31, Andreas Tille a écrit :

> Ahhhh, thanks a lot for reading aloud the docs for me (and sorry for
> bothering you about this :-( ).

No need to be sorry, this wasn't obvious ;)


> Any hint how to solve this one?

I don't know, maybe it needs a more recent version of Batik?

[toc] | [prev] | [next] | [standalone]


#10212 — Bug#877941: igv: FTBFS: SVGTest.java:111: error: cannot access Localizable

FromAndreas Tille <tille@debian.org>
Date2017-12-05 14:20 +0100
SubjectBug#877941: igv: FTBFS: SVGTest.java:111: error: cannot access Localizable
Message-ID<uTl90-35u-11@gated-at.bofh.it>
In reply to#10211
Hi Emmanuel,

On Tue, Dec 05, 2017 at 11:47:37AM +0100, Emmanuel Bourg wrote:
> > Any hint how to solve this one?
> 
> I don't know, maybe it needs a more recent version of Batik?

Hmmm, the lib/batik*.jar files removed from the upstream tarball contain
files from 2008 - one of these has version 1.7 in the file name while I
was building against 1.9.

Should I approach upstream about this issue?  I'm not sure whether I'll
just get the hint to use JAR files shipped with the source tarball ...
:-(

Kind regards

       Andreas.

-- 
http://fam-tille.de

[toc] | [prev] | [next] | [standalone]


#10214 — Bug#877941: igv: FTBFS: SVGTest.java:111: error: cannot access Localizable

FromEmmanuel Bourg <ebourg@apache.org>
Date2017-12-05 19:10 +0100
SubjectBug#877941: igv: FTBFS: SVGTest.java:111: error: cannot access Localizable
Message-ID<uTpPk-62u-9@gated-at.bofh.it>
In reply to#10212
Le 05/12/2017 à 18:48, Andreas Tille a écrit :

> So either I'm doing this CLASSPATH definition wrong or it does not help.

I think you have to use "export CLASSPATH" in debian/rules

[toc] | [prev] | [next] | [standalone]


#10231 — Bug#877941: igv: FTBFS: SVGTest.java:111: error: cannot access Localizable

FromMarkus Koschany <apo@debian.org>
Date2017-12-16 11:50 +0100
SubjectBug#877941: igv: FTBFS: SVGTest.java:111: error: cannot access Localizable
Message-ID<uXicy-OU-7@gated-at.bofh.it>
In reply to#10214

[Multipart message — attachments visible in raw view] — view raw

Am 05.12.2017 um 19:13 schrieb Andreas Tille:
> On Tue, Dec 05, 2017 at 07:05:23PM +0100, Emmanuel Bourg wrote:
>> Le 05/12/2017 à 18:48, Andreas Tille a écrit :
>>
>>> So either I'm doing this CLASSPATH definition wrong or it does not help.
>>
>> I think you have to use "export CLASSPATH" in debian/rules
> 
> No change. :-(

Hi,

the missing class is in /usr/share/java/batik.jar. So you just need to
include it like that in your build.xml file, respectively update
01-build.xml patch. Just tested it, works for me.

<include name="batik.jar" />

Regards,

Markus

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.java


csiph-web