Package: debtags
Version: 1.5.4
Severity: important
Tags: patch
Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
A patch is below.
> Automatic build of debtags_1.5.4 on bigsur by sbuild/mips 1.94
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/tagcoll-1.6 -g
> -Wall -O2 -Wall -O0 -MT ChildProcess.o -MD -MP -MF ".deps/ChildProcess.Tpo"
> -c -o ChildProcess.o ChildProcess.cc; \
> then mv -f ".deps/ChildProcess.Tpo" ".deps/ChildProcess.Po"; else rm -f
> ".deps/ChildProcess.Tpo"; exit 1; fi
> ChildProcess.h:95: error: extra qualification 'ChildProcess::' on member
> 'fork'
> make[3]: *** [ChildProcess.o] Error 1
> make[3]: Leaving directory `/build/tbm/debtags-1.5.4/tools'
--- ./tools/ChildProcess.h~ 2006-03-16 20:37:06.000000000 +0000
+++ ./tools/ChildProcess.h 2006-03-16 20:37:10.000000000 +0000
@@ -92,7 +92,7 @@
/// For a subprocess to run proc.
/// After this function exits successfully, `proc' can safely be
deleted.
- pid_t ChildProcess::fork() throw (Tagcoll::SystemException);
+ pid_t fork() throw (Tagcoll::SystemException);
/// Fork a subprocess to run proc. If one of the std*fd variables is
/// non-null, create a pipe connected to the corresponding file
descriptor
It then fails with the following bug that's probably a bug in your
other package (which I just reported):
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/tagcoll-1.6 -g
-Wall -O2 -Wall -O0 -MT instantiations.o -MD -MP -MF
".deps/instantiations.Tpo" -c -o instantiations.o instantiations.cc; \
then mv -f ".deps/instantiations.Tpo" ".deps/instantiations.Po"; else
rm -f ".deps/instantiations.Tpo"; exit 1; fi
/usr/include/tagcoll-1.6/tagcoll/CardinalityStore.cc: In member function ‘void
Tagcoll::CardinalityStore<ITEM, TAG>::TagContainer::add(const TAG&, int) [with
ITEM =
aptFront::cache::entity::PackageT<aptFront::cache::component::PackagesPointer>,
TAG = aptFront::cache::entity::Facet]’:
instantiations.cc:18: instantiated from here
/usr/include/tagcoll-1.6/tagcoll/CardinalityStore.cc:89: error: no matching
function for call to ‘find(const aptFront::cache::entity::Facet&)’
/usr/include/tagcoll-1.6/tagcoll/CardinalityStore.cc: In member function ‘void
Tagcoll::CardinalityStore<ITEM, TAG>::TagContainer::del(const TAG&, int) [with
ITEM =
aptFront::cache::entity::PackageT<aptFront::cache::component::PackagesPointer>,
TAG = aptFront::cache::entity::Facet]’:
instantiations.cc:18: instantiated from here
/usr/include/tagcoll-1.6/tagcoll/CardinalityStore.cc:99: error: no matching
function for call to ‘find(const aptFront::cache::entity::Facet&)’
/usr/include/tagcoll-1.6/tagcoll/CardinalityStore.cc: In member function ‘void
Tagcoll::CardinalityStore<ITEM, TAG>::TagContainer::add(const TAG&, int) [with
ITEM =
aptFront::cache::entity::PackageT<aptFront::cache::component::PackagesPointer>,
TAG = aptFront::cache::entity::Tag]’:
instantiations.cc:20: instantiated from here
/usr/include/tagcoll-1.6/tagcoll/CardinalityStore.cc:89: error: no matching
function for call to ‘find(const aptFront::cache::entity::Tag&)’
/usr/include/tagcoll-1.6/tagcoll/CardinalityStore.cc: In member function ‘void
Tagcoll::CardinalityStore<ITEM, TAG>::TagContainer::del(const TAG&, int) [with
ITEM =
aptFront::cache::entity::PackageT<aptFront::cache::component::PackagesPointer>,
TAG = aptFront::cache::entity::Tag]’:
instantiations.cc:20: instantiated from here
/usr/include/tagcoll-1.6/tagcoll/CardinalityStore.cc:99: error: no matching
function for call to ‘find(const aptFront::cache::entity::Tag&)’
make: *** [instantiations.o] Error 1
--
Martin Michlmayr
http://www.cyrius.com/