Package: shibboleth-sp Version: 1.3f.dfsg1-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. (Currently not available for i386, but for amd64, powerpc and ia64. I hope to have i386 binaries in the archive in ~3 weeks.) > Automatic build of shibboleth-sp_1.3f.dfsg1-2 on coconut0 by sbuild/ia64 0.49 ... > ShibbolethTrust.cpp:289: error: 'auto_ptr' was not declared in this scope > ShibbolethTrust.cpp:289: error: expected primary-expression before 'char' > ShibbolethTrust.cpp:289: error: expected `;' before 'char' > ShibbolethTrust.cpp:290: error: 'kn' was not declared in this scope > ShibbolethTrust.cpp:294: error: 'auto_ptr' was not declared in this scope > ShibbolethTrust.cpp:294: error: expected primary-expression before 'char' > ShibbolethTrust.cpp:294: error: expected `;' before 'char' > ShibbolethTrust.cpp:295: error: 'kn' was not declared in this scope > ShibbolethTrust.cpp:310: warning: value computed is not used > ShibbolethTrust.cpp:318: warning: value computed is not used > ShibbolethTrust.cpp: In member function 'virtual > bool<unnamed>::ShibbolethTrust::validate(const saml::SAMLSignedObject&, const > shibboleth::IRoleDescriptor*, shibboleth::ITrust*)': > ShibbolethTrust.cpp:493: error: 'auto_ptr' was not declared in this scope > ShibbolethTrust.cpp:493: error: expected primary-expression before '>' token > ShibbolethTrust.cpp:493: error: 'x' was not declared in this scope > make[3]: *** [ShibbolethTrust.lo] Error 1 --- adfs/listener.cpp~ 2007-04-04 11:09:30.000000000 +0000 +++ adfs/listener.cpp 2007-04-04 11:09:37.000000000 +0000 @@ -26,6 +26,7 @@ #include <log4cpp/FixedContextCategory.hh> #include <xercesc/framework/MemBufInputSource.hpp> +#include <memory> using namespace std; using namespace log4cpp; --- shib/ShibbolethTrust.cpp~ 2007-04-04 10:06:10.000000000 +0000 +++ shib/ShibbolethTrust.cpp 2007-04-04 10:06:18.000000000 +0000 @@ -30,6 +30,8 @@ #include <xsec/dsig/DSIGKeyInfoX509.hpp> #include <xsec/enc/OpenSSL/OpenSSLCryptoX509.hpp> +#include <memory> + using namespace shibboleth; using namespace saml; using namespace log4cpp; --- shib/ScopedAttribute.cpp~ 2007-04-04 10:07:49.000000000 +0000 +++ shib/ScopedAttribute.cpp 2007-04-04 10:07:56.000000000 +0000 @@ -25,6 +25,7 @@ #include "internal.h" #include <xercesc/util/regx/RegularExpression.hpp> #include <log4cpp/Category.hh> +#include <memory> using namespace shibboleth; using namespace saml; --- shib-target/MemoryListener.cpp~ 2007-04-04 10:09:44.000000000 +0000 +++ shib-target/MemoryListener.cpp 2007-04-04 10:09:51.000000000 +0000 @@ -23,6 +23,7 @@ */ #include "internal.h" +#include <memory> using namespace std; using namespace log4cpp; --- shib-target/RPCListener.cpp~ 2007-04-04 10:11:18.000000000 +0000 +++ shib-target/RPCListener.cpp 2007-04-04 10:12:54.000000000 +0000 @@ -25,6 +25,7 @@ #include <saml/saml.h> // need this to "prime" the xmlsec-constrained windows.h declaration #include <shib-target/shibrpc.h> #include "internal.h" +#include <memory> #ifdef HAVE_UNISTD_H # include <unistd.h> --- shib-target/shib-ccache.cpp~ 2007-04-04 10:13:34.000000000 +0000 +++ shib-target/shib-ccache.cpp 2007-04-04 10:13:40.000000000 +0000 @@ -24,6 +24,7 @@ */ #include "internal.h" +#include <memory> #if HAVE_UNISTD_H # include <unistd.h> --- shib-target/shib-ini.cpp~ 2007-04-04 10:19:04.000000000 +0000 +++ shib-target/shib-ini.cpp 2007-04-04 10:19:00.000000000 +0000 @@ -28,6 +28,7 @@ #include <sys/types.h> #include <sys/stat.h> +#include <memory> using namespace std; using namespace saml; --- shib-target/shib-target.cpp~ 2007-04-04 10:20:43.000000000 +0000 +++ shib-target/shib-target.cpp 2007-04-04 10:20:53.000000000 +0000 @@ -32,6 +32,7 @@ #include <sstream> #include <fstream> #include <stdexcept> +#include <memory> #include <shib/shib-threads.h> #include <xercesc/util/Base64.hpp> --- shib-target/XMLRequestMapper.cpp~ 2007-04-04 10:22:02.000000000 +0000 +++ shib-target/XMLRequestMapper.cpp 2007-04-04 10:22:12.000000000 +0000 @@ -25,6 +25,7 @@ #include "internal.h" #include <log4cpp/Category.hh> +#include <memory> using namespace std; using namespace log4cpp; --- test/shibtest.cpp~ 2007-04-04 10:28:03.000000000 +0000 +++ test/shibtest.cpp 2007-04-04 10:28:10.000000000 +0000 @@ -15,6 +15,7 @@ */ #include "../shib-target/shib-target.h" +#include <memory> using namespace std; using namespace saml; --- test/posttest.cpp~ 2007-04-04 10:43:39.000000000 +0000 +++ test/posttest.cpp 2007-04-04 10:45:00.000000000 +0000 @@ -15,6 +15,7 @@ */ #include "../shib/shib.h" +#include <memory> #include <sstream> #include <openssl/bio.h> --- apache/mod_apache.cpp~ 2007-04-04 11:44:27.000000000 +0000 +++ apache/mod_apache.cpp 2007-04-04 11:44:38.000000000 +0000 @@ -52,6 +52,7 @@ #include <fstream> #include <sstream> +#include <memory> #ifdef HAVE_UNISTD_H #include <unistd.h> // for getpid() --- siterefresh/siterefresh.cpp~ 2007-04-04 10:24:44.000000000 +0000 +++ siterefresh/siterefresh.cpp 2007-04-04 10:24:52.000000000 +0000 @@ -25,6 +25,7 @@ #include <shib-target/shib-target.h> #include <fstream> +#include <memory> #include <log4cpp/Category.hh> #include <log4cpp/OstreamAppender.hh> #include <xercesc/framework/URLInputSource.hpp> --- xmlproviders/XMLAAP.cpp~ 2007-04-04 11:01:44.000000000 +0000 +++ xmlproviders/XMLAAP.cpp 2007-04-04 11:01:53.000000000 +0000 @@ -25,6 +25,7 @@ #include "internal.h" #include <log4cpp/Category.hh> +#include <memory> using namespace shibboleth; using namespace saml; --- xmlproviders/XMLAccessControl.cpp~ 2007-04-04 11:03:25.000000000 +0000 +++ xmlproviders/XMLAccessControl.cpp 2007-04-04 11:03:32.000000000 +0000 @@ -24,6 +24,7 @@ #include <shib-target/shib-target.h> #include <log4cpp/Category.hh> +#include <memory> #ifndef HAVE_STRCASECMP # define strcasecmp stricmp --- xmlproviders/XMLCredentials.cpp~ 2007-04-04 11:04:09.000000000 +0000 +++ xmlproviders/XMLCredentials.cpp 2007-04-04 11:04:19.000000000 +0000 @@ -28,6 +28,7 @@ #include <sys/stat.h> #include <log4cpp/Category.hh> +#include <memory> using namespace shibboleth; using namespace saml; --- xmlproviders/XMLMetadata.cpp~ 2007-04-04 11:04:40.000000000 +0000 +++ xmlproviders/XMLMetadata.cpp 2007-04-04 11:04:59.000000000 +0000 @@ -38,6 +38,7 @@ #include <xsec/enc/OpenSSL/OpenSSLCryptoX509.hpp> #include <xsec/framework/XSECException.hpp> #include <xsec/framework/XSECProvider.hpp> +#include <memory> using namespace shibboleth; using namespace saml; --- xmlproviders/XMLTrust.cpp~ 2007-04-04 11:07:22.000000000 +0000 +++ xmlproviders/XMLTrust.cpp 2007-04-04 11:07:32.000000000 +0000 @@ -37,6 +37,8 @@ #include <xsec/enc/XSECCryptoException.hpp> #include <xsec/enc/XSECKeyInfoResolverDefault.hpp> +#include <memory> + using namespace shibboleth; using namespace saml; using namespace log4cpp; -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

