[FFE]Update to antlr3 version 3.2

Bug #814819 reported by Andrew Ross
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
antlr3 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

>> Information for Feature Freeze Exception <<

Reason:
Support merge of latest version of jython from Debian (currently lagging) which won't build with antlr3 > 3.1.
antlr3 3.2 has been in Debian unstable since 2010-06-26.
Sync blocked until now due to use of maven build system in 3.1 plus.

Upstream Changelog: see attached

Build log: see attached

Testing and Impact:
Installed and rebuilt reverse-build-dependencies - see #13.
These packages (aside from drools which needs fixing as well) will require a no-change rebuild with this new version of antlr3.

>> Original Bug Report <<

The Ubuntu version of antlr3 is still 3.0 rather than 3.2 as in Debian. It should be possible to build version 3.2 without maven therefore avoiding needing to pull maven-debian-helper and dependencies into main for now.

Related branches

Revision history for this message
Andrew Ross (rockclimb) wrote :

I've prepared a possible upload to fix this bug.

Revision history for this message
Andrew Ross (rockclimb) wrote :
Revision history for this message
Andrew Ross (rockclimb) wrote :
Revision history for this message
James Page (james-page) wrote :

Andrew - thanks for preparing this patch - please can we put it on hold for a few days.

Its possible that we will be able to demote antlr3 to universe in which case some of the challenges around this package disappear.

Thanks

James

Revision history for this message
Andrew Ross (rockclimb) wrote :

Sure - demoting to universe would be the best option as then the Debian packages can come through unchanged. Another option might be to make it possible to be in main and build-depend on packages in universe, so long as you don't need them at runtime.

Changed in antlr3 (Ubuntu):
importance: Undecided → Low
Revision history for this message
James Page (james-page) wrote : Re: [Bug 814819] Re: Update to antlr3 version 3.2

On Mon, 2011-07-25 at 17:50 +0000, Andrew Ross wrote:
> Sure - demoting to universe would be the best option as then the
> Debian
> packages can come through unchanged. Another option might be to make
> it
> possible to be in main and build-depend on packages in universe, so
> long
> as you don't need them at runtime.

Well demotion to Universe is now possible as eucalyptus which was
pulling it into main has been demoted.

However I know that Ubuntu is behind on jython and that the latest
version needs antlr3 >= 3.1 - as this is still in main I am reluctant to
re-sync antlr3 with Debian so I think this change still makes sense.

Unless anyone else has a different opinion...

--
James Page
Ubuntu Server Developer

Revision history for this message
Andrew Ross (rockclimb) wrote : Re: Update to antlr3 version 3.2

Is there actually any reason why jython is in main? It's rdepends appear to be in universe.

Revision history for this message
James Page (james-page) wrote : Re: [Bug 814819] Re: Update to antlr3 version 3.2

On Fri, 2011-07-29 at 08:23 +0000, Andrew Ross wrote:
> Is there actually any reason why jython is in main? It's rdepends appear
> to be in universe.

ant -> libbsf-java -> jython
    -> liblog4j1.2-java -> libmx4j-java -> jython

All in main (no plans to demote ant)

--
James Page
Ubuntu Server Developer

Revision history for this message
Andrew Ross (rockclimb) wrote : Re: Update to antlr3 version 3.2

Ah, I didn't check for suggets in the build dependencies.

Revision history for this message
Andrew Ross (rockclimb) wrote :

Is there a decision on this? It seems like it would be good to test it sooner rather than later.

The only other option I can think of that's not been discussed is to create an antlr3.0 package which provides antlr3 and have the new package in main and the normal antlr3 in universe.

Andy

Revision history for this message
James Page (james-page) wrote : Re: [Bug 814819] Re: Update to antlr3 version 3.2

On Tue, 2011-08-09 at 21:39 +0000, Andrew Ross wrote:
> Is there a decision on this? It seems like it would be good to test it
> sooner rather than later.
>
> The only other option I can think of that's not been discussed is to
> create an antlr3.0 package which provides antlr3 and have the new
> package in main and the normal antlr3 in universe.

I think we should push this as-is into main - in order to support a
jython upgrade we need the later version there as well.

Cheers

James

--
James Page
Ubuntu Server Developer

Changed in antlr3 (Ubuntu):
status: New → Confirmed
Revision history for this message
Gediminas Paulauskas (menesis) wrote : Re: Update to antlr3 version 3.2

I have created Bug #828816 requesting a jython upgrade to Debian version.

James Page (james-page)
summary: - Update to antlr3 version 3.2
+ [FFe]Update to antlr3 version 3.2
summary: - [FFe]Update to antlr3 version 3.2
+ [FFE]Update to antlr3 version 3.2
Revision history for this message
James Page (james-page) wrote :

I did a quick rebuild test with this new version of antlr3:

Reverse Build-depends in universe:
---------------------------------

eclipselink: OK
drools: FTBFS (I think it needs 3.0 - generated files seem to be included in upstream source.)
svnkit: OK
forked-daapd: FTBFS (* but might not be antlr)
jabref: OK

Found a total of 5 reverse build-depend(s) for antlr3.

Revision history for this message
James Page (james-page) wrote :

drools is only used by eucalyptus.

Revision history for this message
James Page (james-page) wrote :

The FTBFS issues generated in the drools package can be resolved by re-generating the language definitions at build time so this should not be to much of a headache to fix (assuming drools will still be required in universe).

forked-daapd is not FTBFS due to antlr3 so not relevant to the scope of this FFE.

Revision history for this message
James Page (james-page) wrote :
description: updated
Revision history for this message
James Page (james-page) wrote :
description: updated
Changed in antlr3 (Ubuntu):
status: Confirmed → New
Revision history for this message
Michael Casadevall (mcasadevall) wrote :

Given the package is in universe, and the regressions are relatively straightforward to fix, I'm approving this.

Ack.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package antlr3 - 3.2.is.3.2-0ubuntu1

---------------
antlr3 (3.2.is.3.2-0ubuntu1) oneiric; urgency=low

  * Back to genuine 3.2 release (LP: #814819)
  * Include an ant build script to avoid needing mavenhelper.
 -- Andrew Ross <email address hidden> Mon, 18 Jul 2011 19:28:32 +0100

Changed in antlr3 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.