syncevolution FTBFS on yakkety: cannot convert ‘const boost::shared_ptr<SyncEvo::Logger>’ to ‘bool’

Bug #1613405 reported by Jeremy Bícha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
syncevolution (Debian)
Fix Released
Unknown
syncevolution (Ubuntu)
Fix Released
High
Unassigned

Bug Description

syncevolution fails to build from source in yakkety. Full build log attached.

./src/syncevo/Logging.h: In member function ‘SyncEvo::Logger::Handle::operator bool() const’:
./src/syncevo/Logging.h:258:41: error: cannot convert ‘const boost::shared_ptr<SyncEvo::Logger>’ to ‘bool’ in return
         operator bool () const { return m_logger; }
                                         ^~~~~~~~
In file included from ./src/syncevo/util.h:25:0,
                 from ./src/syncevo/ConfigFilter.h:22,
                 from src/syncevo/ConfigFilter.cpp:23:
./src/syncevo/Logging.h: In member function ‘SyncEvo::Logger::Handle::operator bool() const’:
./src/syncevo/Logging.h:258:41: error: cannot convert ‘const boost::shared_ptr<SyncEvo::Logger>’ to ‘bool’ in return
         operator bool () const { return m_logger; }
                                         ^~~~~~~~
In file included from ./src/syncevo/util.h:25:0,
                 from ./src/syncevo/GLibSupport.h:27,
                 from ./src/syncevo/EDSClient.h:29,
                 from src/syncevo/EDSClient.cpp:20:
./src/syncevo/Logging.h: In member function ‘SyncEvo::Logger::Handle::operator bool() const’:
./src/syncevo/Logging.h:258:41: error: cannot convert ‘const boost::shared_ptr<SyncEvo::Logger>’ to ‘bool’ in return
         operator bool () const { return m_logger; }
                                         ^~~~~~~~
In file included from ./src/syncevo/util.h:25:0,
                 from ./src/syncevo/GLibSupport.h:27,
                 from src/gdbusxx/gdbus-cxx-bridge.cpp:24:
./src/syncevo/Logging.h: In member function ‘SyncEvo::Logger::Handle::operator bool() const’:
./src/syncevo/Logging.h:258:41: error: cannot convert ‘const boost::shared_ptr<SyncEvo::Logger>’ to ‘bool’ in return
         operator bool () const { return m_logger; }
                                         ^~~~~~~~
Makefile:7896: recipe for target 'src/syncevo/src_syncevo_libsyncevolution_la-IdentityProvider.lo' failed

Tags: ftbfs

Related branches

Revision history for this message
Jeremy Bícha (jbicha) wrote :
Changed in syncevolution (Debian):
status: Unknown → Fix Released
Jeremy Bícha (jbicha)
Changed in syncevolution (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package syncevolution - 1.5.1+16.10.20160820-0ubuntu1

---------------
syncevolution (1.5.1+16.10.20160820-0ubuntu1) yakkety; urgency=medium

  [ Tino Mettler ]
  * Add 0003-Add-missing-casts-from-shared_ptr-to-bool-to-fix-FTB.patch
    to add missing casts from shared_ptr to bool, fixes FTBFS with GCC 6
  * Fix remaining FTBFS with GCC 6 by downgrading the C++ dialect to gnu++98
    (Closes: #811624) (LP: #1613405)

 -- Jeremy Bicha <email address hidden> Sat, 20 Aug 2016 04:20:39 +0000

Changed in syncevolution (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.