Package: opensaml
Version: 1.1a-2
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). Some background of this can be found at
http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot (20070326-1 or higher)
from unstable.
> Automatic build of opensaml_1.1a-2 on coconut0 by sbuild/ia64 0.49
...
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -pthread -O2 -DNDEBUG -MT
> SAMLArtifact.lo -MD -MP -MF .deps/SAMLArtifact.Tpo -c SAMLArtifact.cpp -fPIC
> -DPIC -o .libs/SAMLArtifact.o
> SAMLArtifact.cpp: In static member function 'static std::string
> saml::SAMLArtifactType0001::generateSourceId(const char*)':
> SAMLArtifact.cpp:115: error: 'auto_ptr' was not declared in this scope
> SAMLArtifact.cpp:115: error: expected primary-expression before '>' token
> SAMLArtifact.cpp:115: error: 'hasher' was not declared in this scope
> SAMLArtifact.cpp:117: error: expected primary-expression before 'char'
> SAMLArtifact.cpp:117: error: expected `;' before 'char'
> SAMLArtifact.cpp:119: error: request for member 'get' in 'dup', which is of
> non-class type 'int ()(int)throw ()'
> SAMLArtifact.cpp:119: error: request for member 'get' in 'dup', which is of
> non-class type 'int ()(int)throw ()'
> make[4]: *** [SAMLArtifact.lo] Error 1
(Note to upstream: I put the #include in the header file rather than
in individual .cpp files because many files make use of auto_ptr)
--- saml/saml.h~ 2007-04-02 20:06:39.000000000 +0000
+++ saml/saml.h 2007-04-02 20:06:57.000000000 +0000
@@ -58,6 +58,7 @@
// STL headers
#include <map>
+#include <memory>
#include <set>
#include <stack>
#include <string>
--- saml/SAMLAudienceRestrictionCondition.cpp~ 2007-04-02 20:09:15.000000000
+0000
+++ saml/SAMLAudienceRestrictionCondition.cpp 2007-04-02 20:09:17.000000000
+0000
@@ -200,4 +200,4 @@
}
return false;
}
-#endif
\ No newline at end of file
+#endif
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]