Re: Circular build dependencies in antlr3
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
Reply to: