Your message dated Wed, 2 Mar 2016 17:34:24 -0800
with message-id <[email protected]>
and subject line Re: Bug#811900: 1.6.1 builds fine in Fedora w/ GCC6
has caused the Debian Bug report #811900,
regarding poco: FTBFS with GCC 6: misc errors
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
811900: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811900
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: poco
Version: 1.3.6p1-5.1
Severity: important
User: [email protected]
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

--- End Message ---
--- Begin Message ---
* Scott Talbert <[email protected]> [2016-02-07 17:39]:
> The latest release 1.6.1 builds fine in Fedora with GCC6, so upgrading to
> the latest version should resolve this.

In fact, 1.3.6p1-5.1 builds fine with GCC 6 6-20160228-1.  I guess
this was a GCC 6 bug.

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

--- End Message ---

Reply via email to