ceph FTBFS with boost1.58

Bug #1483403 reported by Matthias Klose
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ceph (Debian)
Fix Released
Unknown
ceph (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

see https://launchpad.net/ubuntu/+source/ceph/0.94.2-0ubuntu2

libtool: compile: g++ -DHAVE_CONFIG_H -I. -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D_GNU_SOURCE -DCEPH_LIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DCEPH_PKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/ceph\" -DGTEST_HAS_TR1_TUPLE=0 -D_FORTIFY_SOURCE=2 -I/usr/include/nss -I/usr/include/nspr -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic -ftemplate-depth-1024 -Wnon-virtual-dtor -Wno-invalid-offsetof -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wstrict-null-sentinel -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c mon/MDSMonitor.cc -fPIC -DPIC -o mon/.libs/MDSMonitor.o
In file included from /usr/include/boost/optional/optional.hpp:28:0,
                 from /usr/include/boost/optional/optional_io.hpp:19,
                 from ./include/encoding.h:289,
                 from ./include/uuid.h:8,
                 from ./include/types.h:21,
                 from mon/OSDMonitor.h:28,
                 from mon/OSDMonitor.cc:21:
/usr/include/boost/variant/get.hpp: In instantiation of 'typename boost::add_reference<const U>::type boost::strict_get(const boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>&) [with U = int; T0 = std::__cxx11::basic_string<char>; T1 = bool; T2 = long int; T3 = double; T4 = std::vector<std::__cxx11::basic_string<char> >; T5 = boost::detail::variant::void_; T6 = boost::detail::variant::void_; T7 = boost::detail::variant::void_; T8 = boost::detail::variant::void_; T9 = boost::detail::variant::void_; T10 = boost::detail::variant::void_; T11 = boost::detail::variant::void_; T12 = boost::detail::variant::void_; T13 = boost::detail::variant::void_; T14 = boost::detail::variant::void_; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_; typename boost::add_reference<const U>::type = const int&]':
/usr/include/boost/variant/get.hpp:299:25: required from 'typename boost::add_reference<const U>::type boost::get(const boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>&) [with U = int; T0 = std::__cxx11::basic_string<char>; T1 = bool; T2 = long int; T3 = double; T4 = std::vector<std::__cxx11::basic_string<char> >; T5 = boost::detail::variant::void_; T6 = boost::detail::variant::void_; T7 = boost::detail::variant::void_; T8 = boost::detail::variant::void_; T9 = boost::detail::variant::void_; T10 = boost::detail::variant::void_; T11 = boost::detail::variant::void_; T12 = boost::detail::variant::void_; T13 = boost::detail::variant::void_; T14 = boost::detail::variant::void_; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_; typename boost::add_reference<const U>::type = const int&]'
./common/cmdparse.h:47:26: required from 'bool cmd_getval(CephContext*, const cmdmap_t&, std::__cxx11::string, T&) [with T = int; cmdmap_t = std::map<std::__cxx11::basic_string<char>, boost::variant<std::__cxx11::basic_string<char>, bool, long int, double, std::vector<std::__cxx11::basic_string<char> > > >; std::__cxx11::string = std::__cxx11::basic_string<char>]'
mon/OSDMonitor.cc:3002:54: required from here
/usr/include/boost/variant/get.hpp:195:5: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>'
     BOOST_STATIC_ASSERT_MSG(
     ^
make[5]: *** [mon/OSDMonitor.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
Makefile:16163: recipe for target 'mon/OSDMonitor.lo' failed

Tags: ftbfs patch

Related branches

Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

Upstream bug report and fix at http://tracker.ceph.com/issues/11576 (LP won't track it).

tags: added: patch
Revision history for this message
Martin Pitt (pitti) wrote :

uploaded, thank you!

Changed in ceph (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

updated debdiff

Changed in ceph (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ceph - 0.94.2-0ubuntu3

---------------
ceph (0.94.2-0ubuntu3) wily; urgency=medium

  * Fix compile failure with boost 1.58 (LP: #1483403):
    - src/mon/OSDMonitor.cc: remove unused variable (Ceph issue #11576)

 -- Tiago Stürmer Daitx <email address hidden> Mon, 10 Aug 2015 18:36:48 -0300

Changed in ceph (Ubuntu):
status: Fix Committed → Fix Released
Changed in ceph (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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