[pkg-gnupg-maint] Bug#853431: gpgme1.0: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:31:51 UTC 2017


Package: src:gpgme1.0
Version: 1.8.0-3
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/gpgme1.0_1.8.0-3_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-7/porting_to.html

[...]
make[6]: *** [qgpgmebackend.lo] Error 1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lang/cpp/src -I../../../src -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fpic -DBUILDING_QGPGME -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c multideletejob.cpp -o multideletejob.o >/dev/null 2>&1
qgpgmechangeexpiryjob.cpp: In member function 'virtual GpgME::Error QGpgME::QGpgMEChangeExpiryJob::start(const GpgME::Key&, const QDateTime&)':
qgpgmechangeexpiryjob.cpp:81:14: error: 'bind' is not a member of 'std'
     run(std::bind(&change_expiry, std::placeholders::_1, key, expiry));
              ^~~~
qgpgmechangeexpiryjob.cpp:81:14: note: suggested alternative: 'find'
     run(std::bind(&change_expiry, std::placeholders::_1, key, expiry));
              ^~~~
              find
qgpgmechangeexpiryjob.cpp:81:40: error: 'std::placeholders' has not been declared
     run(std::bind(&change_expiry, std::placeholders::_1, key, expiry));
                                        ^~~~~~~~~~~~
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lang/cpp/src -I../../../src -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fpic -DBUILDING_QGPGME -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c qgpgmesecretkeyexportjob.cpp -o qgpgmesecretkeyexportjob.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lang/cpp/src -I../../../src -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fpic -DBUILDING_QGPGME -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c gpgme_backend_debug.cpp -o gpgme_backend_debug.o >/dev/null 2>&1
In file included from qgpgmechangeexpiryjob.h:39:0,
                 from qgpgmechangeexpiryjob.cpp:38:
threadedjobmixin.h: In instantiation of 'void QGpgME::_detail::Thread<T_result>::run() [with T_result = std::tuple<GpgME::Error, QString, GpgME::Error>]':
qgpgmechangeexpiryjob.moc:111:1:   required from here
threadedjobmixin.h:113:30: error: 'm_function' was not declared in this scope
         m_result = m_function();
                    ~~~~~~~~~~^~
threadedjobmixin.h:113:30: note: suggested alternative: 'setFunction'
         m_result = m_function();
                    ~~~~~~~~~~^~
                    setFunction
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lang/cpp/src -I../../../src -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fpic -DBUILDING_QGPGME -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c qgpgmerefreshkeysjob.cpp -o qgpgmerefreshkeysjob.o >/dev/null 2>&1
Makefile:830: recipe for target 'qgpgmechangeexpiryjob.lo' failed
make[6]: *** [qgpgmechangeexpiryjob.lo] Error 1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lang/cpp/src -I../../../src -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fpic -DBUILDING_QGPGME -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c defaultkeygenerationjob.cpp -o defaultkeygenerationjob.o >/dev/null 2>&1
make[6]: Leaving directory '/<<PKGBUILDDIR>>/lang/qt/src'
Makefile:690: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory '/<<PKGBUILDDIR>>/lang/qt/src'
Makefile:458: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lang/qt'
Makefile:457: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lang'
Makefile:522: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
Makefile:452: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j64 returned exit code 2
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the pkg-gnupg-maint mailing list