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


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

Re: Status of antlr4 in Debian

From Pierre Gruet <pgt@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: Status of antlr4 in Debian
Date 2022-10-27 18:00 +0200
Message-ID <Fldst-h6Qe-11@gated-at.bofh.it> (permalink)
References <FkPTb-gRY4-9@gated-at.bofh.it> <FkRrX-gSYs-11@gated-at.bofh.it> <FkVvz-gViD-11@gated-at.bofh.it> <FkVFf-gVlT-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Hi Thorsten,

Le 26/10/2022 à 22:57, Thorsten Glaser a écrit :
> Hi Pierre,
> 
>>     java.io.InvalidClassException:  org.antlr.v4.runtime.atn.ATN;
>>     Could not deserialize ATN with version 4 (expected 3)
> 
> what exactly does it deserialise there?

There are 6 .java source files generated with ANTLR 4.10 in the upstream 
tarball, and the exception is raised because of them.

I am grateful you asked, because then I saw the original .g4 files were 
also shipped by upstream...

> 
> Is this maybe something that we should build from source in the
> Debian packaging instead?

... and thus I could successfully generate their .java files by calling 
the Debian-packaged antlr4 as part of the build process.

> 
> That would also solve your issue, probaby with less effort and
> additionally more DFSG-correctness ☺
> 

Indeed! Thanks again for this suggestion which solved my issue of the day!

> bye,
> //mirabilos

Best,

-- 
Pierre

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Find similar


Thread

Status of antlr4 in Debian Pierre Gruet <pgt@debian.org> - 2022-10-26 16:50 +0200
  Re: Status of antlr4 in Debian Emmanuel Bourg <ebourg@apache.org> - 2022-10-26 18:30 +0200
    Re: Status of antlr4 in Debian Pierre Gruet <pgt@debian.org> - 2022-10-26 22:50 +0200
      Re: Status of antlr4 in Debian Thorsten Glaser <t.glaser@tarent.de> - 2022-10-26 23:00 +0200
        Re: Status of antlr4 in Debian Pierre Gruet <pgt@debian.org> - 2022-10-27 18:00 +0200

csiph-web