Bug#302325: antlr: FTBFS (ppc64/gcc-4.0): Please Build-Depend on 'libgcj-dev' instead of 'libgcj4-dev'
Andreas Jochens
Andreas Jochens <aj@andaco.de>, 302325@bugs.debian.org
Thu Mar 31 11:43:05 2005
On 05-Mar-31 12:12, Michael Koch wrote:
> On Thu, Mar 31, 2005 at 12:10:44PM +0200, Andreas Jochens wrote:
> > Package: antlr
> > Version: 2.7.5-2
> > Severity: wishlist
> > Tags: patch
> >
> > Please use the new package 'libgcj-dev' from gcc-defaults
> > instead of 'libgcj4-dev' in the Build-Depends.
> >
> > Regards
> > Andreas Jochens
> >
> > diff -urN ../tmp-orig/antlr-2.7.5/debian/control ./debian/control
> > --- ../tmp-orig/antlr-2.7.5/debian/control 2005-03-24 21:00:01.923173974 +0100
> > +++ ./debian/control 2005-03-24 20:58:57.345296153 +0100
> > @@ -3,7 +3,7 @@
> > Priority: optional
> > Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
> > Uploaders: Arnaud Vandyck <avdyk@debian.org>, John Leuner <jewel@debian.org>, Michael Koch <konqueror@gmx.de>
> > -Build-Depends: debhelper (>= 4), kaffe, fastjar, classpath, jikes-classpath (>= 1.18), autotools-dev, gcj, libgcj4-dev
> > +Build-Depends: debhelper (>= 4), kaffe, fastjar, classpath, jikes-classpath (>= 1.18), autotools-dev, gcj, libgcj-dev
> > Standards-Version: 3.6.1
> >
> > Package: antlr
>
> This will not work when libgcj-dev starts pointing to libgcj5-dev or
> another version of it. The package will need to be redone when gcj
> changes to point to another version of gcj anyway.
Why should this not work?
If gcc-3.3 is the default compiler, gcj will point to gcj-3.3
and libgcj-dev will point to libgcj4-dev.
If gcc-4.0 is the default compiler, gcj will point to gcj-4.0
and libgcj-dev will point to libgcj6-dev.
The gcc-defaults package will take care of this.
Currently the ppc64 architecture uses gcc-4.0 as the default compiler
while the other architectures still use gcc-3.3.
If a package uses 'libgcj-dev' instead of 'libgcj4-dev',
it will build in both cases.
Regards
Andreas Jochens