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


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

Re: Status of antlr4 in Debian

Path csiph.com!news.mixmin.net!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Pierre Gruet <pgt@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: Status of antlr4 in Debian
Date Thu, 27 Oct 2022 18:00:01 +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>
X-Original-To Thorsten Glaser <t.glaser@tarent.de>
X-Mailbox-Line From debian-java-request@lists.debian.org Thu Oct 27 15:54:29 2022
Old-Return-Path <pgt@debian.org>
X-Amavis-Spam-Status No, score=-11.801 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, MDO_DATING14=0.1, NICE_REPLY_A=-0.001, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -3.5
MIME-Version 1.0
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2
Content-Language fr-FR
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------lp5ZkyNlOcgz5GpKuu1DsMcf"
X-Mailing-List <debian-java@lists.debian.org> archive/latest/23107
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/5aed170a-9775-a205-595c-4188e1062eca@debian.org
Approved robomod@news.nic.it
Lines 64
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-java@lists.debian.org
X-Original-Date Thu, 27 Oct 2022 17:53:56 +0200
X-Original-Message-ID <5aed170a-9775-a205-595c-4188e1062eca@debian.org>
X-Original-References <c9ca287f-0d44-325f-9fc7-d95db2fc0aad@debian.org> <9e929ccb-7ae1-fe97-715c-308ab13d850e@apache.org> <254dafbd-1ea8-dca1-df9d-15786bd59fa6@debian.org> <93a26c93-7c73-2a83-43b4-af491cc1f721@tarent.de>
Xref csiph.com linux.debian.maint.java:12467

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