[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#268461: xfree86: FTBFS: wrong Build-Depends libstdc++-5-dev



[Steve Langasek dropped from CC.]

On Sat, Oct 23, 2004 at 01:26:57PM +0200, Andreas Jochens wrote:
> Branden,
> 
> first of all I would like to apologize for the duplicate bug report
> which I filed on this subject.

Apology accepted.

> > For xlibmesa-glu-dev's Depends: line to be accurate, don't I need to
> > preferentially build-depend on the same C++ library?

(xfree86 will no longer build-depend on a libstdc++-dev package as of the
next package release.)

> Why does xlibmesa-glu-dev still preferentially depend on 'libstdc++5-dev'? 

1) It links against libstdc++, so you need the -dev version of the package
   installed to link objects linked to libGLU at compile time.  All (well,
   to my knowledge) -dev library packages follow this convention.
2) Pure virtual dependencies are bad.
3) I had to pick something, and to ease life for woody backporters I picked
   a package name that was still in existence on woody.

If your environment requires a different libstdc++-dev package, make sure
it's installed.

> I am certainly not entitled to give any advice on release issues, 
> but I am quite sure that the C++ ABI from gcc-3.3 will be used for 
> sarge. The archive is not (yet) clean with respect to gcc-3.4. 
> More than 600 bug reports with patches have been filed to the BTS to 
> resolve the FTBFS issues with gcc-3.4. About two thirds of those
> patches have already been accepted by the maintainers and uploaded
> to the archive. The number of packages which do not build with gcc-3.4
> is decreasing every day but currently there are still more than 200 
> packages which FTBFS with gcc-3.4.
> 
> Nevertheless, the Build-Depends (and also the Depends of 
> xlibmesa-glu-dev) on the old libstdc++5-dev from gcc-3.2 
> is outdated and should be dropped in any case.

I disagree.

> If you do not like to drop it for some reason, please consider to add
> '[!amd64]' to the (Build-)Depends on libstdc++5-dev because otherwise
> autobuilding of xfree86 fails since we do not have gcc-3.2 and
> libstdc++5-dev on amd64.

The Build-Depends is gone and should rectify any problems in this area.

A package providing libstdc++-dev is Build-Essential; any sane build
environment is going to have one installed before trying to do work with
xlibmesa-glu-dev.

-- 
G. Branden Robinson                |       Yesterday upon the stair,
Debian GNU/Linux                   |       I met a man who wasn't there.
branden@debian.org                 |       He wasn't there again today,
http://people.debian.org/~branden/ |       I think he's from the CIA.

Attachment: signature.asc
Description: Digital signature


Reply to: