Bug#302325: antlr: FTBFS (ppc64/gcc-4.0): Please Build-Depend on 'libgcj-dev' instead of 'libgcj4-dev'

Michael Koch "Michael Koch" <konqueror@gmx.de>, 302325@bugs.debian.org
Thu Mar 31 12:10:05 2005


On Thu, Mar 31, 2005 at 01:26:46PM +0200, Andreas Jochens wrote:
> 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.

There are problems when libgcj-dev and gcc/g++ don't match. So updating
gcj/libgcj-dev to the same version is not enough.

> Currently the ppc64 architecture uses gcc-4.0 as the default compiler
> while the other architectures still use gcc-3.3.

What are the defaults for cpp, gcc and g++ on ppc64 ? If they point to
cpp-4.0, gcc-4.0 and g++-4.0 you just had lack.
 

Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/