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


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

Re: Circular build dependencies in antlr3

From Emmanuel Bourg <ebourg@apache.org>
Newsgroups linux.debian.maint.java
Subject Re: Circular build dependencies in antlr3
Date 2015-09-23 10:30 +0200
Message-ID <qbNB7-76g-3@gated-at.bofh.it> (permalink)
References <qbMlH-5p4-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 23/09/2015 08:50, Sergey Basalaev a écrit :

> So now I'm stuck. How do you build packages with such circular dependencies?
> I checked previous versions of both packages in git, but it's still
> unclear for me how they were built in the first place.

Hi Sergey,

I used an intermediary version of antlr (3.3) locally to build
stringtemplate4 the first time, and then I built antlr 3.5.2 with
stringtemplate4.

The sequence is:
1. Upgrade antlr3/3.2 to the version 3.3
2. Build stringtemplate 4.0.6 with antlr 3.3
3. Upgrade antlr3 to the version 3.5.2
4. Upgrade stringtemplate4 to the version 4.0.8

I realize now that I haven't handled this circular dependency in the
best way for Debian derivatives, my apologies. This caused a similar
issue to the Ubuntu Java maintainers, and they ended up using the .deb
from Debian to bootstrap the build.

Emmanuel Bourg

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


Thread

Circular build dependencies in antlr3 Sergey Basalaev <sbasalaev@gmail.com> - 2015-09-23 09:10 +0200
  Re: Circular build dependencies in antlr3 Emmanuel Bourg <ebourg@apache.org> - 2015-09-23 10:30 +0200
    Re: Circular build dependencies in antlr3 Sergey Basalaev <sbasalaev@gmail.com> - 2015-09-23 13:50 +0200

csiph-web