Package: poco
Version: 1.3.6p1-5.1
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-not-declared

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++  -Iinclude -I/<<PKGBUILDDIR>>/CppUnit/include 
> -I/<<PKGBUILDDIR>>/Foundation/include -I/<<PKGBUILDDIR>>/XML/include 
> -I/<<PKGBUILDDIR>>/Util/include -I/<<PKGBUILDDIR>>/Net/include 
> -I/<<PKGBUILDDIR>>/Crypto/include -I/<<PKGBUILDDIR>>/NetSSL_OpenSSL/include 
> -I/<<PKGBUILDDIR>>/Data/include -I/<<PKGBUILDDIR>>/Data/SQLite/include 
> -I/<<PKGBUILDDIR>>/Data/ODBC/include -I/<<PKGBUILDDIR>>/Data/MySQL/include 
> -I/<<PKGBUILDDIR>>/Zip/include -I/<<PKGBUILDDIR>>/PageCompiler/include -Wall 
> -Wno-sign-compare -DPOCO_BUILD_HOST=dl580gen9-02 -DPOCO_UNBUNDLED 
> -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE  -g -D_DEBUG -fPIC -c src/RSACipherImpl.cpp -o 
> /<<PKGBUILDDIR>>/Crypto/obj/Linux/x86_64/debug_shared/RSACipherImpl.o
> In file included from /usr/include/c++/6/cmath:44:0,
>                  from /usr/include/c++/6/random:38,
>                  from /usr/include/c++/6/bits/stl_algo.h:66,
>                  from /usr/include/c++/6/algorithm:62,
>                  from /<<PKGBUILDDIR>>/Foundation/include/Poco/AutoPtr.h:45,
>                  from include/Poco/Crypto/Cipher.h:45,
>                  from include/Poco/Crypto/RSACipherImpl.h:44,
>                  from src/RSACipherImpl.cpp:37:
> src/RSACipherImpl.cpp:91:4: error: expected identifier before numeric constant
>     OVERFLOW = 11
>     ^
> 
> src/RSACipherImpl.cpp:91:4: error: expected '}' before numeric constant
> src/RSACipherImpl.cpp:91:4: error: expected unqualified-id before numeric 
> constant
> src/RSACipherImpl.cpp:94:18: error: expected unqualified-id before 'const'
>    RSAEncryptImpl(const RSA* pRSA, RSAPaddingMode paddingMode);
>                   ^~~~~
> 
> src/RSACipherImpl.cpp:94:18: error: expected ')' before 'const'
> src/RSACipherImpl.cpp:95:20: error: expected constructor, destructor, or type 
> conversion before ';' token
>    ~RSAEncryptImpl();
>                     ^
> 
> src/RSACipherImpl.cpp:97:27: error: non-member function 'std::size_t 
> Poco::Crypto::{anonymous}::blockSize()' cannot have cv-qualifier
>    std::size_t blockSize() const;
>                            ^~~~~
> 
> src/RSACipherImpl.cpp:107:2: error: expected unqualified-id before 'private'
>   private:
>   ^~~~~~~
> 
> src/RSACipherImpl.cpp:115:2: error: prototype for 
> 'Poco::Crypto::{anonymous}::RSAEncryptImpl::RSAEncryptImpl(const RSA*, 
> RSAPaddingMode)' does not match any in class 
> 'Poco::Crypto::{anonymous}::RSAEncryptImpl'
>   RSAEncryptImpl::RSAEncryptImpl(const RSA* pRSA, RSAPaddingMode paddingMode):
>   ^~~~~~~~~~~~~~
> 
> src/RSACipherImpl.cpp:86:8: error: candidates are: constexpr 
> Poco::Crypto::{anonymous}::RSAEncryptImpl::RSAEncryptImpl(Poco::Crypto::{anonymous}::RSAEncryptImpl&&)
>   class RSAEncryptImpl: public CryptoTransform
>         ^~~~~~~~~~~~~~
> 
> src/RSACipherImpl.cpp:86:8: error:                 constexpr 
> Poco::Crypto::{anonymous}::RSAEncryptImpl::RSAEncryptImpl(const 
> Poco::Crypto::{anonymous}::RSAEncryptImpl&)
> src/RSACipherImpl.cpp:86:8: error:                 
> Poco::Crypto::{anonymous}::RSAEncryptImpl::RSAEncryptImpl()
> src/RSACipherImpl.cpp:125:34: error: definition of implicitly-declared 
> 'virtual Poco::Crypto::{anonymous}::RSAEncryptImpl::~RSAEncryptImpl()'
>   RSAEncryptImpl::~RSAEncryptImpl()
>                                   ^
> 
> src/RSACipherImpl.cpp:131:42: error: no 'std::size_t 
> Poco::Crypto::{anonymous}::RSAEncryptImpl::blockSize() const' member function 
> declared in class 'Poco::Crypto::{anonymous}::RSAEncryptImpl'
>   std::size_t RSAEncryptImpl::blockSize() const
>                                           ^~~~~
> 
> src/RSACipherImpl.cpp:141:33: error: no 'std::streamsize 
> Poco::Crypto::{anonymous}::RSAEncryptImpl::transform(const unsigned char*, 
> std::streamsize, unsigned char*, std::streamsize)' member function declared 
> in class 'Poco::Crypto::{anonymous}::RSAEncryptImpl'
>    std::streamsize   outputLength)
>                                  ^
> 
> src/RSACipherImpl.cpp:181:88: error: no 'std::streamsize 
> Poco::Crypto::{anonymous}::RSAEncryptImpl::finalize(unsigned char*, 
> std::streamsize)' member function declared in class 
> 'Poco::Crypto::{anonymous}::RSAEncryptImpl'
>   std::streamsize RSAEncryptImpl::finalize(unsigned char* output, 
> std::streamsize length)
>                                                                               
>           ^
> 
> In file included from /usr/include/c++/6/cmath:44:0,
>                  from /usr/include/c++/6/random:38,
>                  from /usr/include/c++/6/bits/stl_algo.h:66,
>                  from /usr/include/c++/6/algorithm:62,
>                  from /<<PKGBUILDDIR>>/Foundation/include/Poco/AutoPtr.h:45,
>                  from include/Poco/Crypto/Cipher.h:45,
>                  from include/Poco/Crypto/RSACipherImpl.h:44,
>                  from src/RSACipherImpl.cpp:37:
> src/RSACipherImpl.cpp:201:4: error: expected identifier before numeric 
> constant
>     OVERFLOW = 11
>     ^
> 
> src/RSACipherImpl.cpp:201:4: error: expected '}' before numeric constant
> src/RSACipherImpl.cpp:201:4: error: expected unqualified-id before numeric 
> constant
> src/RSACipherImpl.cpp:204:18: error: expected unqualified-id before 'const'
>    RSADecryptImpl(const RSA* pRSA, RSAPaddingMode paddingMode);
>                   ^~~~~
> 
> src/RSACipherImpl.cpp:204:18: error: expected ')' before 'const'
> src/RSACipherImpl.cpp:205:20: error: expected constructor, destructor, or 
> type conversion before ';' token
>    ~RSADecryptImpl();
>                     ^
> 
> src/RSACipherImpl.cpp:207:27: error: non-member function 'std::size_t 
> Poco::Crypto::blockSize()' cannot have cv-qualifier
>    std::size_t blockSize() const;
>                            ^~~~~
> 
> src/RSACipherImpl.cpp:219:2: error: expected unqualified-id before 'private'
>   private:
>   ^~~~~~~
> 
> src/RSACipherImpl.cpp:227:2: error: 'RSADecryptImpl' does not name a type
>   RSADecryptImpl::RSADecryptImpl(const RSA* pRSA, RSAPaddingMode paddingMode):
>   ^~~~~~~~~~~~~~
> 
> src/RSACipherImpl.cpp:237:2: error: 'RSADecryptImpl' does not name a type
>   RSADecryptImpl::~RSADecryptImpl()
>   ^~~~~~~~~~~~~~
> 
> src/RSACipherImpl.cpp:243:14: error: 'RSADecryptImpl' has not been declared
>   std::size_t RSADecryptImpl::blockSize() const
>               ^~~~~~~~~~~~~~
> 
> src/RSACipherImpl.cpp:243:42: error: non-member function 'std::size_t 
> Poco::blockSize()' cannot have cv-qualifier
>   std::size_t RSADecryptImpl::blockSize() const
>                                           ^~~~~
> 
> src/RSACipherImpl.cpp: In function 'std::size_t Poco::blockSize()':
> src/RSACipherImpl.cpp:245:19: error: '_pRSA' was not declared in this scope
>    return RSA_size(_pRSA);
>                    ^~~~~
...

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to