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


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

Re: Status of antlr4 in Debian

From Emmanuel Bourg <ebourg@apache.org>
Newsgroups linux.debian.maint.java
Subject Re: Status of antlr4 in Debian
Date 2022-10-26 18:30 +0200
Message-ID <FkRrX-gSYs-11@gated-at.bofh.it> (permalink)
References <FkPTb-gRY4-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Pierre,

Le 26/10/2022 à 16:47, Pierre Gruet a écrit :

> My question is: apart from time to work on the package, is there any 
> reason we should remain with antlr4 4.7.2 in Debian although 4.11.1 has 
> been released upstream?

Yes, antlr is the kind of package you don't want to upgrade, because 
it's likely to break another package and debugging a language grammar 
without upstream consent is really the last thing you want to do. So as 
long as it works, I'm not touching it :)

The safe way to upgrade antlr4 is to:
- check the version used by the reverse dependencies
- if the lowest version used is above the package version, then upgrade
- if the version you need is still higher, checkout the project, update 
the antlr dependency and run the upstream test suite (not from the 
Debian package build since tests are sometime disabled)
- if all goes well, upgrade the antl4 package
- if if not, clone the package to keep the previous version (we had to 
do this with antlr 3.2)

Good luck!

Emmanuel Bourg

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next 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