Project

General

Profile

Actions

Bug #10688

closed

Giant fails to build with Boost v1.57.0

Added by Ken Dreyer about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
giant
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Fedora Rawhide (what will become Fedora 22) is about to update Boost to v1.57.0.

Ceph needed a small patch in order to build with Boost 1.57.0. The patch from the Fedora Boost maintainer (Petr Machata <>) is attached.

The patch simply substitutes boost/optional.hpp for boost/optional/optional_io.hpp:

-#include <boost/optional.hpp>
+#include <boost/optional/optional_io.hpp>

Petr's comment from Fedora's dist-git log:

Keep the old behavior in one case, where a std::map is printed, and the corresponding operator<< isn't available.

I asked Petr further about this, and he said

the problem with ceph and the fix is the same as described here: https://github.com/jthornber/thin-provisioning-tools/issues/18#issuecomment-71828811


Files

ceph-0.87-boost157.patch (4.29 KB) ceph-0.87-boost157.patch Ken Dreyer, 01/29/2015 04:29 PM
Actions #2

Updated by Ken Dreyer about 9 years ago

  • Status changed from New to Fix Under Review

patch submitted to master: https://github.com/ceph/ceph/pull/3537

Actions #3

Updated by Loïc Dachary about 9 years ago

  • Backport set to giant
Actions #4

Updated by Loïc Dachary about 9 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Loïc Dachary about 9 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF