Package: shibboleth-sp
Version: 1.3f.dfsg1-3
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).

Apologies for filing yet another bug.  I thought the header clean-ups
were done but then some more changes happened.  I hope it's really
over now.

You can reproduce this problem with gcc-snapshot (20070422-1 or higher)
from unstable. (Currently not available for i386, but for amd64 and
and ia64.  I hope to have i386 binaries in the archive in the near
future.)

> Automatic build of shibboleth-sp_1.3f.dfsg1-3 on em64t by sbuild/amd64 0.53
...
> if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H 
> -I. -I. -I..     -pthread -Wall -g -O2 -Wall -O2 -DNDEBUG -MT shib-mlp.lo -MD 
> -MP -MF ".deps/shib-mlp.Tpo" -c -o shib-mlp.lo shib-mlp.cpp; \
>       then mv -f ".deps/shib-mlp.Tpo" ".deps/shib-mlp.Plo"; else rm -f 
> ".deps/shib-mlp.Tpo"; exit 1; fi
> shib-mlp.cpp: In member function 'void 
> shibtarget::ShibMLP::insert(saml::SAMLException&)':
> shib-mlp.cpp:288: error: must #include <typeinfo> before using typeid
> shib-mlp.cpp:288: error: must #include <typeinfo> before using typeid
> make[4]: *** [shib-mlp.lo] Error 1

--- shib-target/shib-mlp.cpp~   2007-04-26 16:42:41.000000000 +0000
+++ shib-target/shib-mlp.cpp    2007-04-26 16:42:49.000000000 +0000
@@ -26,6 +26,7 @@
 
 #include <sstream>
 #include <ctype.h>
+#include <typeinfo>
 #include <xercesc/util/XercesDefs.hpp>
 #include <log4cpp/Category.hh>
 

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to