Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/ceph/, sys-cluster/ceph/files/
Date: Thu, 05 Sep 2019 00:26:57
Message-Id: 1567643182.3f0a4e3725a08365ab41262a0719c285d1382d85.chutzpah@gentoo
1 commit: 3f0a4e3725a08365ab41262a0719c285d1382d85
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Thu Sep 5 00:26:22 2019 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 5 00:26:22 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f0a4e37
7
8 sys-cluster/ceph: Version bump to 14.2.3
9
10 Copyright: Sony Interactive Entertainment Inc.
11 Package-Manager: Portage-2.3.75, Repoman-2.3.17
12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
13
14 sys-cluster/ceph/Manifest | 2 +-
15 .../{ceph-14.2.2.ebuild => ceph-14.2.3.ebuild} | 17 +-
16 .../ceph/files/ceph-14.2.0-boost-sonames.patch | 334 ---------------------
17 .../ceph-14.2.3-boost-1.6-python-sonames.patch | 26 ++
18 ...ost-1.70.patch => ceph-14.2.3-boost-1.70.patch} | 42 ---
19 ...names.patch => ceph-14.2.3-boost-sonames.patch} | 32 +-
20 6 files changed, 48 insertions(+), 405 deletions(-)
21
22 diff --git a/sys-cluster/ceph/Manifest b/sys-cluster/ceph/Manifest
23 index 61a1acb646d..0655ed2e6b6 100644
24 --- a/sys-cluster/ceph/Manifest
25 +++ b/sys-cluster/ceph/Manifest
26 @@ -3,4 +3,4 @@ DIST ceph-12.2.12.tar.gz 77467762 BLAKE2B a5224432121db9ef49c1e22771d847399df2f7
27 DIST ceph-12.2.8.tar.gz 77243685 BLAKE2B 37c34396a0c276b8d79735e14934ac70da024822c2a060061531c234e03e5d41aad6c41dc64b05c2ce47f03287d0cae9ef9bed67e4a0861b6380c8ce1de4ea69 SHA512 91c5c11aaeef701b3e31c9f8a1192b6b79fd34f3b96c61595c65173c98bfce0009c5b7c9b29764f5e4d4b1f5ac2ca7109fed5ae598c176aba717a34a132fabac
28 DIST ceph-13.2.5.tar.gz 91006057 BLAKE2B 68551e2f54d78aff7b0e9ec3c62e6a3394dd7c23e80924a5b400cd9666a05a42e5f22445deee4040f1b78201c6a6660b283109878d4c92d845821bff831c8a5e SHA512 6daea524523f829e725609328ea71f416b2c3a9530fa8956720a7bc69dc08e55a169654f500704579dc9ba693f04eedd7e04614c0850e9ab1169cd45f19039f8
29 DIST ceph-13.2.6.tar.gz 90808224 BLAKE2B cd7b4f4838eafc9dd580102cbb5247b86a153f90127f81355b556f32dbbacd2d7fb0144d15f99869a318a7148d2f50a9f995eb05aee056d7a5843830ede5702c SHA512 1e9c08d16b14447bf6b8bb72144e053aa9d5cf390bb4a6e878869e38895d3698073502fe9c4f8b775a3da872b920444bd01260105d3a839e53cf90cd27c6ab9c
30 -DIST ceph-14.2.2.tar.gz 117536881 BLAKE2B 2926c3d6fde5e9540d4e797dabf61451ce78e5d2f8d382d192fd8c1759620075860ab0cea7512330f2965d11e4b37a0ecce4fa11d9c5d256ecc884fa5f604922 SHA512 1ce61fb75e331cca39aaa8c0498bbb3cb874edb22ea45a4c2d82171b5e0c7c4ab2b081674b77177d5e612a0efdfa01de10a4becc4a7ee0eed1b2b3d358a72dc1
31 +DIST ceph-14.2.3.tar.gz 118349530 BLAKE2B db73d6adeca84426eee1b47a8ee68c4f94ee7a61e60ef1127153d19e02472a658877ebb7adfad5b4725d2c8c38855636bad1c44e79a3d3c397b56f74bf4b53fa SHA512 3d02e766a1d53d39355ee88738dd0233dc02f8a3cb44935194cb538b888507de8f8acdd99bf7890895f68795a310f53e2a8652305d5f2be5212efbd9046bd3a9
32
33 diff --git a/sys-cluster/ceph/ceph-14.2.2.ebuild b/sys-cluster/ceph/ceph-14.2.3.ebuild
34 similarity index 94%
35 rename from sys-cluster/ceph/ceph-14.2.2.ebuild
36 rename to sys-cluster/ceph/ceph-14.2.3.ebuild
37 index 0f25b21d3b7..f440a49160c 100644
38 --- a/sys-cluster/ceph/ceph-14.2.2.ebuild
39 +++ b/sys-cluster/ceph/ceph-14.2.3.ebuild
40 @@ -152,6 +152,7 @@ PATCHES=(
41 "${FILESDIR}/ceph-14.2.0-dpdk-cflags.patch"
42 "${FILESDIR}/ceph-14.2.0-link-crc32-statically.patch"
43 "${FILESDIR}/ceph-14.2.0-cython-0.29.patch"
44 + "${FILESDIR}/ceph-14.2.3-boost-1.70.patch"
45 )
46
47 # dpdk and ninja don't get along
48 @@ -177,12 +178,6 @@ user_setup() {
49 pkg_pretend() {
50 check-reqs_export_vars
51 check-reqs_pkg_pretend
52 -
53 - if use system-boost && has_version '~dev-libs/boost-1.70.0'; then
54 - ewarn "Building with boost-1.70 is experimental, and may cause runtime"
55 - ewarn "failures. Disable the system-boost USE flag to use bundled boost"
56 - ewarn "if you want an upstream supported configuration."
57 - fi
58 }
59
60 pkg_setup() {
61 @@ -196,12 +191,10 @@ src_prepare() {
62 cmake-utils_src_prepare
63
64 if use system-boost; then
65 - if has_version '~dev-libs/boost-1.70.0'; then
66 - eapply "${FILESDIR}/ceph-14.2.0-boost-1.70-sonames.patch" \
67 - "${FILESDIR}/ceph-14.2.0-boost-1.70.patch"
68 - else
69 - eapply "${FILESDIR}/ceph-14.2.0-boost-sonames.patch"
70 - fi
71 + eapply "${FILESDIR}/ceph-14.2.3-boost-sonames.patch"
72 +
73 + has_version '>=dev-libs/boost-1.70.0' || \
74 + eapply "${FILESDIR}/ceph-14.2.3-boost-1.6-python-sonames.patch"
75 fi
76
77 sed -i -r "s:DESTINATION .+\\):DESTINATION $(get_bashcompdir)\\):" \
78
79 diff --git a/sys-cluster/ceph/files/ceph-14.2.0-boost-sonames.patch b/sys-cluster/ceph/files/ceph-14.2.0-boost-sonames.patch
80 deleted file mode 100644
81 index 497d5953051..00000000000
82 --- a/sys-cluster/ceph/files/ceph-14.2.0-boost-sonames.patch
83 +++ /dev/null
84 @@ -1,334 +0,0 @@
85 -diff --git a/CMakeLists.txt b/CMakeLists.txt
86 -index dbabecbe97..d12b696bb5 100644
87 ---- a/CMakeLists.txt
88 -+++ b/CMakeLists.txt
89 -@@ -640,7 +640,7 @@ set(BOOST_HEADER_COMPONENTS container)
90 -
91 - if(WITH_MGR)
92 - list(APPEND BOOST_COMPONENTS
93 -- python${MGR_PYTHON_VERSION_MAJOR}${MGR_PYTHON_VERSION_MINOR})
94 -+ python-${MGR_PYTHON_VERSION_MAJOR}.${MGR_PYTHON_VERSION_MINOR})
95 - endif()
96 - if(WITH_BOOST_CONTEXT)
97 - list(APPEND BOOST_COMPONENTS context coroutine)
98 -diff --git a/cmake/modules/FindBoost.cmake b/cmake/modules/FindBoost.cmake
99 -index bfab4ca436..90ed0cbb17 100644
100 ---- a/cmake/modules/FindBoost.cmake
101 -+++ b/cmake/modules/FindBoost.cmake
102 -@@ -1181,10 +1181,10 @@ endif()
103 - # on all platforms to keep end user code free from platform dependent
104 - # code. Also provide convenience targets to disable autolinking and
105 - # enable dynamic linking.
106 --if(NOT TARGET Boost::diagnostic_definitions)
107 -- add_library(Boost::diagnostic_definitions INTERFACE IMPORTED)
108 -- add_library(Boost::disable_autolinking INTERFACE IMPORTED)
109 -- add_library(Boost::dynamic_linking INTERFACE IMPORTED)
110 -+if(NOT TARGET boost_diagnostic_definitions)
111 -+ add_library(boost_diagnostic_definitions INTERFACE IMPORTED)
112 -+ add_library(boost_disable_autolinking INTERFACE IMPORTED)
113 -+ add_library(boost_dynamic_linking INTERFACE IMPORTED)
114 - endif()
115 - if(WIN32)
116 - # In windows, automatic linking is performed, so you do not have
117 -@@ -1205,11 +1205,11 @@ if(WIN32)
118 - # code to emit a #pragma message each time a library is selected
119 - # for linking.
120 - set(Boost_LIB_DIAGNOSTIC_DEFINITIONS "-DBOOST_LIB_DIAGNOSTIC")
121 -- set_target_properties(Boost::diagnostic_definitions PROPERTIES
122 -+ set_target_properties(boost_diagnostic_definitions PROPERTIES
123 - INTERFACE_COMPILE_DEFINITIONS "BOOST_LIB_DIAGNOSTIC")
124 -- set_target_properties(Boost::disable_autolinking PROPERTIES
125 -+ set_target_properties(boost_disable_autolinking PROPERTIES
126 - INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_NO_LIB")
127 -- set_target_properties(Boost::dynamic_linking PROPERTIES
128 -+ set_target_properties(boost_dynamic_linking PROPERTIES
129 - INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_DYN_LINK")
130 - endif()
131 -
132 -@@ -2018,52 +2018,52 @@ if(Boost_FOUND)
133 - endif()
134 -
135 - foreach(COMPONENT ${Boost_FIND_COMPONENTS})
136 -- if(_Boost_IMPORTED_TARGETS AND NOT TARGET Boost::${COMPONENT})
137 -+ if(_Boost_IMPORTED_TARGETS AND NOT TARGET boost_${COMPONENT})
138 - string(TOUPPER ${COMPONENT} UPPERCOMPONENT)
139 - if(Boost_${UPPERCOMPONENT}_FOUND)
140 - if(Boost_USE_STATIC_LIBS)
141 -- add_library(Boost::${COMPONENT} STATIC IMPORTED)
142 -+ add_library(boost_${COMPONENT} STATIC IMPORTED)
143 - else()
144 - # Even if Boost_USE_STATIC_LIBS is OFF, we might have static
145 - # libraries as a result.
146 -- add_library(Boost::${COMPONENT} UNKNOWN IMPORTED)
147 -+ add_library(boost_${COMPONENT} UNKNOWN IMPORTED)
148 - endif()
149 - if(Boost_INCLUDE_DIRS)
150 -- set_target_properties(Boost::${COMPONENT} PROPERTIES
151 -+ set_target_properties(boost_${COMPONENT} PROPERTIES
152 - INTERFACE_INCLUDE_DIRECTORIES "${Boost_INCLUDE_DIRS}")
153 - endif()
154 - if(EXISTS "${Boost_${UPPERCOMPONENT}_LIBRARY}")
155 -- set_target_properties(Boost::${COMPONENT} PROPERTIES
156 -+ set_target_properties(boost_${COMPONENT} PROPERTIES
157 - IMPORTED_LINK_INTERFACE_LANGUAGES "CXX"
158 - IMPORTED_LOCATION "${Boost_${UPPERCOMPONENT}_LIBRARY}")
159 - endif()
160 - if(EXISTS "${Boost_${UPPERCOMPONENT}_LIBRARY_RELEASE}")
161 -- set_property(TARGET Boost::${COMPONENT} APPEND PROPERTY
162 -+ set_property(TARGET boost_${COMPONENT} APPEND PROPERTY
163 - IMPORTED_CONFIGURATIONS RELEASE)
164 -- set_target_properties(Boost::${COMPONENT} PROPERTIES
165 -+ set_target_properties(boost_${COMPONENT} PROPERTIES
166 - IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX"
167 - IMPORTED_LOCATION_RELEASE "${Boost_${UPPERCOMPONENT}_LIBRARY_RELEASE}")
168 - endif()
169 - if(EXISTS "${Boost_${UPPERCOMPONENT}_LIBRARY_DEBUG}")
170 -- set_property(TARGET Boost::${COMPONENT} APPEND PROPERTY
171 -+ set_property(TARGET boost_${COMPONENT} APPEND PROPERTY
172 - IMPORTED_CONFIGURATIONS DEBUG)
173 -- set_target_properties(Boost::${COMPONENT} PROPERTIES
174 -+ set_target_properties(boost_${COMPONENT} PROPERTIES
175 - IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX"
176 - IMPORTED_LOCATION_DEBUG "${Boost_${UPPERCOMPONENT}_LIBRARY_DEBUG}")
177 - endif()
178 - if(_Boost_${UPPERCOMPONENT}_DEPENDENCIES)
179 - unset(_Boost_${UPPERCOMPONENT}_TARGET_DEPENDENCIES)
180 - foreach(dep ${_Boost_${UPPERCOMPONENT}_DEPENDENCIES})
181 -- list(APPEND _Boost_${UPPERCOMPONENT}_TARGET_DEPENDENCIES Boost::${dep})
182 -+ list(APPEND _Boost_${UPPERCOMPONENT}_TARGET_DEPENDENCIES boost_${dep})
183 - endforeach()
184 - if(COMPONENT STREQUAL "thread")
185 - list(APPEND _Boost_${UPPERCOMPONENT}_TARGET_DEPENDENCIES Threads::Threads)
186 - endif()
187 -- set_target_properties(Boost::${COMPONENT} PROPERTIES
188 -+ set_target_properties(boost_${COMPONENT} PROPERTIES
189 - INTERFACE_LINK_LIBRARIES "${_Boost_${UPPERCOMPONENT}_TARGET_DEPENDENCIES}")
190 - endif()
191 - if(_Boost_${UPPERCOMPONENT}_COMPILER_FEATURES)
192 -- set_target_properties(Boost::${COMPONENT} PROPERTIES
193 -+ set_target_properties(boost_${COMPONENT} PROPERTIES
194 - INTERFACE_COMPILE_FEATURES "${_Boost_${UPPERCOMPONENT}_COMPILER_FEATURES}")
195 - endif()
196 - endif()
197 -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
198 -index 1b1f19d464..21c222280f 100644
199 ---- a/src/CMakeLists.txt
200 -+++ b/src/CMakeLists.txt
201 -@@ -353,12 +353,12 @@ set(ceph_common_objs
202 - set(ceph_common_deps
203 - json_spirit erasure_code arch crc32
204 - ${LIB_RESOLV}
205 -- Boost::thread
206 -- Boost::system
207 -- Boost::random
208 -- Boost::program_options
209 -- Boost::date_time
210 -- Boost::iostreams
211 -+ boost_thread
212 -+ boost_system
213 -+ boost_random
214 -+ boost_program_options
215 -+ boost_date_time
216 -+ boost_iostreams
217 - ${BLKID_LIBRARIES}
218 - ${Backtrace_LIBRARIES}
219 - ${BLKIN_LIBRARIES}
220 -@@ -518,7 +518,7 @@ if (WITH_CEPHFS)
221 - ceph_mds.cc)
222 - add_executable(ceph-mds ${ceph_mds_srcs})
223 - target_link_libraries(ceph-mds mds ${CMAKE_DL_LIBS} global-static ceph-common
224 -- Boost::thread)
225 -+ boost_thread)
226 - install(TARGETS ceph-mds DESTINATION bin)
227 - endif()
228 -
229 -diff --git a/src/crimson/CMakeLists.txt b/src/crimson/CMakeLists.txt
230 -index d7b58521d4..e1533af33f 100644
231 ---- a/src/crimson/CMakeLists.txt
232 -+++ b/src/crimson/CMakeLists.txt
233 -@@ -106,8 +106,8 @@ target_link_libraries(crimson-common
234 - PRIVATE
235 - crc32
236 - crimson::cflags
237 -- Boost::iostreams
238 -- Boost::random
239 -+ boost_iostreams
240 -+ boost_random
241 - ${NSS_LIBRARIES} ${NSPR_LIBRARIES} OpenSSL::Crypto)
242 -
243 - set(crimson_auth_srcs
244 -diff --git a/src/mgr/CMakeLists.txt b/src/mgr/CMakeLists.txt
245 -index 252fb3e5e3..3f3823a68e 100644
246 ---- a/src/mgr/CMakeLists.txt
247 -+++ b/src/mgr/CMakeLists.txt
248 -@@ -26,7 +26,7 @@ target_include_directories(ceph-mgr SYSTEM PRIVATE "${PYTHON_INCLUDE_DIRS}")
249 - target_link_libraries(ceph-mgr
250 - osdc client heap_profiler
251 - global-static ceph-common
252 -- Boost::python${MGR_PYTHON_VERSION_MAJOR}${MGR_PYTHON_VERSION_MINOR}
253 -+ boost_python-${MGR_PYTHON_VERSION_MAJOR}.${MGR_PYTHON_VERSION_MINOR}
254 - ${MGR_PYTHON_LIBRARIES} ${CMAKE_DL_LIBS} ${GSSAPI_LIBRARIES})
255 - set_target_properties(ceph-mgr PROPERTIES
256 - POSITION_INDEPENDENT_CODE ${EXE_LINKER_USE_PIE})
257 -diff --git a/src/rbd_replay/CMakeLists.txt b/src/rbd_replay/CMakeLists.txt
258 -index e9d3804c5f..5c6eb58de1 100644
259 ---- a/src/rbd_replay/CMakeLists.txt
260 -+++ b/src/rbd_replay/CMakeLists.txt
261 -@@ -36,7 +36,7 @@ if(HAVE_BABELTRACE)
262 - global
263 - babeltrace
264 - babeltrace-ctf
265 -- Boost::date_time
266 -+ boost_date_time
267 - )
268 - install(TARGETS rbd-replay-prep DESTINATION bin)
269 - endif(HAVE_BABELTRACE)
270 -diff --git a/src/rgw/CMakeLists.txt b/src/rgw/CMakeLists.txt
271 -index ccc4f74cfe..854aa6e5e9 100644
272 ---- a/src/rgw/CMakeLists.txt
273 -+++ b/src/rgw/CMakeLists.txt
274 -@@ -199,7 +199,7 @@ if(WITH_CURL_OPENSSL)
275 - endif()
276 -
277 - if(WITH_BOOST_CONTEXT)
278 -- target_link_libraries(rgw_a PRIVATE Boost::coroutine Boost::context)
279 -+ target_link_libraries(rgw_a PRIVATE boost_coroutine boost_context)
280 - endif()
281 -
282 - set(rgw_libs rgw_a)
283 -@@ -341,7 +341,7 @@ if(WITH_RADOSGW_AMQP_ENDPOINT)
284 - target_link_libraries(rgw_admin_user PRIVATE RabbitMQ::RabbitMQ)
285 - endif()
286 - if(WITH_BOOST_CONTEXT)
287 -- target_link_libraries(rgw_admin_user PRIVATE Boost::coroutine Boost::context)
288 -+ target_link_libraries(rgw_admin_user PRIVATE boost_coroutine boost_context)
289 - endif()
290 -
291 - if(WITH_TESTS)
292 -diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt
293 -index 20a64fd41b..a8bb323614 100644
294 ---- a/src/test/CMakeLists.txt
295 -+++ b/src/test/CMakeLists.txt
296 -@@ -158,7 +158,7 @@ add_executable(ceph_omapbench
297 - )
298 - target_link_libraries(ceph_omapbench
299 - librados
300 -- Boost::program_options
301 -+ boost_program_options
302 - global
303 - ${BLKID_LIBRARIES}
304 - ${CMAKE_DL_LIBS}
305 -diff --git a/src/test/common/CMakeLists.txt b/src/test/common/CMakeLists.txt
306 -index 71fb77cda9..aff8fb6565 100644
307 ---- a/src/test/common/CMakeLists.txt
308 -+++ b/src/test/common/CMakeLists.txt
309 -@@ -315,8 +315,8 @@ add_ceph_unittest(unittest_hobject)
310 -
311 - add_executable(unittest_async_completion test_async_completion.cc)
312 - add_ceph_unittest(unittest_async_completion)
313 --target_link_libraries(unittest_async_completion Boost::system)
314 -+target_link_libraries(unittest_async_completion boost_system)
315 -
316 - add_executable(unittest_async_shared_mutex test_async_shared_mutex.cc)
317 - add_ceph_unittest(unittest_async_shared_mutex)
318 --target_link_libraries(unittest_async_shared_mutex ceph-common Boost::system)
319 -+target_link_libraries(unittest_async_shared_mutex ceph-common boost_system)
320 -diff --git a/src/test/erasure-code/CMakeLists.txt b/src/test/erasure-code/CMakeLists.txt
321 -index 721f6c3675..1cd9635c77 100644
322 ---- a/src/test/erasure-code/CMakeLists.txt
323 -+++ b/src/test/erasure-code/CMakeLists.txt
324 -@@ -2,15 +2,15 @@
325 - add_executable(ceph_erasure_code_benchmark
326 - ${CMAKE_SOURCE_DIR}/src/erasure-code/ErasureCode.cc
327 - ceph_erasure_code_benchmark.cc)
328 --target_link_libraries(ceph_erasure_code_benchmark ceph-common Boost::program_options global ${CMAKE_DL_LIBS})
329 -+target_link_libraries(ceph_erasure_code_benchmark ceph-common boost_program_options global ${CMAKE_DL_LIBS})
330 - install(TARGETS ceph_erasure_code_benchmark
331 - DESTINATION bin)
332 -
333 - add_executable(ceph_erasure_code_non_regression ceph_erasure_code_non_regression.cc)
334 --target_link_libraries(ceph_erasure_code_non_regression ceph-common Boost::program_options global ${CMAKE_DL_LIBS})
335 -+target_link_libraries(ceph_erasure_code_non_regression ceph-common boost_program_options global ${CMAKE_DL_LIBS})
336 -
337 - add_executable(ceph_erasure_code ceph_erasure_code.cc)
338 --target_link_libraries(ceph_erasure_code ceph-common Boost::program_options global ${CMAKE_DL_LIBS})
339 -+target_link_libraries(ceph_erasure_code ceph-common boost_program_options global ${CMAKE_DL_LIBS})
340 - install(TARGETS ceph_erasure_code
341 - DESTINATION bin)
342 -
343 -diff --git a/src/test/librados/CMakeLists.txt b/src/test/librados/CMakeLists.txt
344 -index 4fc53d2406..e6304394f8 100644
345 ---- a/src/test/librados/CMakeLists.txt
346 -+++ b/src/test/librados/CMakeLists.txt
347 -@@ -62,7 +62,7 @@ add_executable(ceph_test_rados_api_asio asio.cc)
348 - target_link_libraries(ceph_test_rados_api_asio global
349 - librados ${UNITTEST_LIBS})
350 - if(WITH_BOOST_CONTEXT)
351 -- target_link_libraries(ceph_test_rados_api_asio Boost::coroutine Boost::context)
352 -+ target_link_libraries(ceph_test_rados_api_asio boost_coroutine boost_context)
353 - endif()
354 -
355 - add_executable(ceph_test_rados_api_list
356 -@@ -132,7 +132,7 @@ add_executable(ceph_test_rados_api_tier_pp
357 - tier_cxx.cc
358 - $<TARGET_OBJECTS:unit-main>)
359 - target_link_libraries(ceph_test_rados_api_tier_pp
360 -- librados global ${UNITTEST_LIBS} Boost::system radostest-cxx)
361 -+ librados global ${UNITTEST_LIBS} boost_system radostest-cxx)
362 -
363 - add_executable(ceph_test_rados_api_snapshots
364 - snapshots.cc)
365 -diff --git a/src/test/librbd/CMakeLists.txt b/src/test/librbd/CMakeLists.txt
366 -index 2bf6723c40..e99b8afa11 100644
367 ---- a/src/test/librbd/CMakeLists.txt
368 -+++ b/src/test/librbd/CMakeLists.txt
369 -@@ -27,7 +27,7 @@ target_link_libraries(rbd_test PRIVATE
370 - radostest
371 - radostest-cxx
372 - librados
373 -- Boost::thread
374 -+ boost_thread
375 - GMock::GMock
376 - GTest::GTest)
377 -
378 -diff --git a/src/test/rgw/CMakeLists.txt b/src/test/rgw/CMakeLists.txt
379 -index 9b2c6b6321..80e4cb7829 100644
380 ---- a/src/test/rgw/CMakeLists.txt
381 -+++ b/src/test/rgw/CMakeLists.txt
382 -@@ -143,7 +143,7 @@ add_ceph_unittest(unittest_rgw_dmclock_scheduler)
383 - target_link_libraries(unittest_rgw_dmclock_scheduler ${rgw_libs} dmclock)
384 - if(WITH_BOOST_CONTEXT)
385 - target_compile_definitions(unittest_rgw_dmclock_scheduler PRIVATE BOOST_COROUTINES_NO_DEPRECATION_WARNING)
386 -- target_link_libraries(unittest_rgw_dmclock_scheduler Boost::coroutine Boost::context)
387 -+ target_link_libraries(unittest_rgw_dmclock_scheduler boost_coroutine boost_context)
388 - endif()
389 -
390 - if(WITH_RADOSGW_AMQP_ENDPOINT)
391 -diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt
392 -index d31f3d2408..6945018b11 100644
393 ---- a/src/tools/CMakeLists.txt
394 -+++ b/src/tools/CMakeLists.txt
395 -@@ -35,20 +35,20 @@ install(PROGRAMS
396 - endif(WITH_TESTS)
397 -
398 - add_executable(ceph-osdomap-tool ceph_osdomap_tool.cc)
399 --target_link_libraries(ceph-osdomap-tool os global Boost::program_options)
400 -+target_link_libraries(ceph-osdomap-tool os global boost_program_options)
401 - install(TARGETS ceph-osdomap-tool DESTINATION bin)
402 -
403 - add_executable(ceph-monstore-tool
404 - ceph_monstore_tool.cc
405 - ../mgr/mgr_commands.cc)
406 --target_link_libraries(ceph-monstore-tool os global Boost::program_options)
407 -+target_link_libraries(ceph-monstore-tool os global boost_program_options)
408 - install(TARGETS ceph-monstore-tool DESTINATION bin)
409 -
410 - add_executable(ceph-objectstore-tool
411 - ceph_objectstore_tool.cc
412 - rebuild_mondb.cc
413 - RadosDump.cc)
414 --target_link_libraries(ceph-objectstore-tool osd os global Boost::program_options ${CMAKE_DL_LIBS})
415 -+target_link_libraries(ceph-objectstore-tool osd os global boost_program_options ${CMAKE_DL_LIBS})
416 - if(WITH_FUSE)
417 - target_link_libraries(ceph-objectstore-tool ${FUSE_LIBRARIES})
418 - endif(WITH_FUSE)
419
420 diff --git a/sys-cluster/ceph/files/ceph-14.2.3-boost-1.6-python-sonames.patch b/sys-cluster/ceph/files/ceph-14.2.3-boost-1.6-python-sonames.patch
421 new file mode 100644
422 index 00000000000..860bd9624e8
423 --- /dev/null
424 +++ b/sys-cluster/ceph/files/ceph-14.2.3-boost-1.6-python-sonames.patch
425 @@ -0,0 +1,26 @@
426 +diff --git a/CMakeLists.txt b/CMakeLists.txt
427 +index 05d1e61270..8b939b8af6 100644
428 +--- a/CMakeLists.txt
429 ++++ b/CMakeLists.txt
430 +@@ -640,7 +640,7 @@ set(BOOST_HEADER_COMPONENTS container)
431 +
432 + if(WITH_MGR)
433 + list(APPEND BOOST_COMPONENTS
434 +- python${MGR_PYTHON_VERSION_MAJOR}${MGR_PYTHON_VERSION_MINOR})
435 ++ python-${MGR_PYTHON_VERSION_MAJOR}.${MGR_PYTHON_VERSION_MINOR})
436 + endif()
437 + if(WITH_BOOST_CONTEXT)
438 + list(APPEND BOOST_COMPONENTS context coroutine)
439 +diff --git a/cmake/modules/BuildBoost.cmake b/cmake/modules/BuildBoost.cmake
440 +index f46cc0d485..3cc6340b2c 100644
441 +--- a/cmake/modules/BuildBoost.cmake
442 ++++ b/cmake/modules/BuildBoost.cmake
443 +@@ -205,7 +205,7 @@ macro(build_boost version)
444 + endif()
445 + add_dependencies(Boost::${c} Boost)
446 + if(c MATCHES "^python")
447 +- set(c "python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}")
448 ++ set(c "python-${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}")
449 + endif()
450 + if(Boost_USE_STATIC_LIBS)
451 + set(Boost_${upper_c}_LIBRARY
452
453 diff --git a/sys-cluster/ceph/files/ceph-14.2.0-boost-1.70.patch b/sys-cluster/ceph/files/ceph-14.2.3-boost-1.70.patch
454 similarity index 64%
455 rename from sys-cluster/ceph/files/ceph-14.2.0-boost-1.70.patch
456 rename to sys-cluster/ceph/files/ceph-14.2.3-boost-1.70.patch
457 index ce2ee92b3d8..26cea1e394b 100644
458 --- a/sys-cluster/ceph/files/ceph-14.2.0-boost-1.70.patch
459 +++ b/sys-cluster/ceph/files/ceph-14.2.3-boost-1.70.patch
460 @@ -1,45 +1,3 @@
461 -diff --git a/CMakeLists.txt b/CMakeLists.txt
462 -index f97f96b5bf..f5e5d06d35 100644
463 ---- a/CMakeLists.txt
464 -+++ b/CMakeLists.txt
465 -@@ -657,13 +657,13 @@ if(WITH_SYSTEM_BOOST)
466 - if(BOOST_ROOT AND CMAKE_LIBRARY_ARCHITECTURE)
467 - set(BOOST_LIBRARYDIR "${BOOST_ROOT}/lib/${CMAKE_LIBRARY_ARCHITECTURE}")
468 - endif()
469 -- find_package(Boost 1.67 COMPONENTS ${BOOST_COMPONENTS} REQUIRED)
470 -+ find_package(Boost 1.70 COMPONENTS ${BOOST_COMPONENTS} REQUIRED)
471 - else()
472 - set(BOOST_J 1 CACHE STRING
473 - "max jobs for Boost build") # override w/-DBOOST_J=<n>
474 - set(Boost_USE_STATIC_LIBS ON)
475 - include(BuildBoost)
476 -- build_boost(1.67
477 -+ build_boost(1.70
478 - COMPONENTS ${BOOST_COMPONENTS} ${BOOST_HEADER_COMPONENTS})
479 - endif()
480 - include_directories(BEFORE SYSTEM ${Boost_INCLUDE_DIRS})
481 -diff --git a/cmake/modules/BuildBoost.cmake b/cmake/modules/BuildBoost.cmake
482 -index f46cc0d485..4254508570 100644
483 ---- a/cmake/modules/BuildBoost.cmake
484 -+++ b/cmake/modules/BuildBoost.cmake
485 -@@ -137,14 +137,14 @@ function(do_build_boost version)
486 - check_boost_version("${PROJECT_SOURCE_DIR}/src/boost" ${version})
487 - set(source_dir
488 - SOURCE_DIR "${PROJECT_SOURCE_DIR}/src/boost")
489 -- elseif(version VERSION_GREATER 1.67)
490 -+ elseif(version VERSION_GREATER 1.70)
491 - message(FATAL_ERROR "Unknown BOOST_REQUESTED_VERSION: ${version}")
492 - else()
493 - message(STATUS "boost will be downloaded...")
494 - # NOTE: If you change this version number make sure the package is available
495 - # at the three URLs below (may involve uploading to download.ceph.com)
496 -- set(boost_version 1.67.0)
497 -- set(boost_sha256 2684c972994ee57fc5632e03bf044746f6eb45d4920c343937a465fd67a5adba)
498 -+ set(boost_version 1.70.0)
499 -+ set(boost_sha256 430ae8354789de4fd19ee52f3b1f739e1fba576f0aded0897c3c2bc00fb38778)
500 - string(REPLACE "." "_" boost_version_underscore ${boost_version} )
501 - set(boost_url
502 - https://dl.bintray.com/boostorg/release/${boost_version}/source/boost_${boost_version_underscore}.tar.bz2)
503 diff --git a/src/rgw/rgw_asio_frontend.cc b/src/rgw/rgw_asio_frontend.cc
504 index e4be074ec7..4af3695dc1 100644
505 --- a/src/rgw/rgw_asio_frontend.cc
506
507 diff --git a/sys-cluster/ceph/files/ceph-14.2.0-boost-1.70-sonames.patch b/sys-cluster/ceph/files/ceph-14.2.3-boost-sonames.patch
508 similarity index 95%
509 rename from sys-cluster/ceph/files/ceph-14.2.0-boost-1.70-sonames.patch
510 rename to sys-cluster/ceph/files/ceph-14.2.3-boost-sonames.patch
511 index 6d712003742..92ca32f5c8e 100644
512 --- a/sys-cluster/ceph/files/ceph-14.2.0-boost-1.70-sonames.patch
513 +++ b/sys-cluster/ceph/files/ceph-14.2.3-boost-sonames.patch
514 @@ -1,8 +1,8 @@
515 diff --git a/cmake/modules/FindBoost.cmake b/cmake/modules/FindBoost.cmake
516 -index bfab4ca436..90ed0cbb17 100644
517 +index dd08ba5e45..19d3b8ad37 100644
518 --- a/cmake/modules/FindBoost.cmake
519 +++ b/cmake/modules/FindBoost.cmake
520 -@@ -1181,10 +1181,10 @@ endif()
521 +@@ -1235,10 +1235,10 @@ endif()
522 # on all platforms to keep end user code free from platform dependent
523 # code. Also provide convenience targets to disable autolinking and
524 # enable dynamic linking.
525 @@ -17,7 +17,7 @@ index bfab4ca436..90ed0cbb17 100644
526 endif()
527 if(WIN32)
528 # In windows, automatic linking is performed, so you do not have
529 -@@ -1205,11 +1205,11 @@ if(WIN32)
530 +@@ -1259,11 +1259,11 @@ if(WIN32)
531 # code to emit a #pragma message each time a library is selected
532 # for linking.
533 set(Boost_LIB_DIAGNOSTIC_DEFINITIONS "-DBOOST_LIB_DIAGNOSTIC")
534 @@ -32,7 +32,7 @@ index bfab4ca436..90ed0cbb17 100644
535 INTERFACE_COMPILE_DEFINITIONS "BOOST_ALL_DYN_LINK")
536 endif()
537
538 -@@ -2018,52 +2018,52 @@ if(Boost_FOUND)
539 +@@ -2088,52 +2088,52 @@ if(Boost_FOUND)
540 endif()
541
542 foreach(COMPONENT ${Boost_FIND_COMPONENTS})
543 @@ -98,10 +98,10 @@ index bfab4ca436..90ed0cbb17 100644
544 endif()
545 endif()
546 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
547 -index 1b1f19d464..21c222280f 100644
548 +index 4895e84df6..55814e3b96 100644
549 --- a/src/CMakeLists.txt
550 +++ b/src/CMakeLists.txt
551 -@@ -353,12 +353,12 @@ set(ceph_common_objs
552 +@@ -356,12 +356,12 @@ set(ceph_common_objs
553 set(ceph_common_deps
554 json_spirit erasure_code arch crc32
555 ${LIB_RESOLV}
556 @@ -120,7 +120,7 @@ index 1b1f19d464..21c222280f 100644
557 ${BLKID_LIBRARIES}
558 ${Backtrace_LIBRARIES}
559 ${BLKIN_LIBRARIES}
560 -@@ -518,7 +518,7 @@ if (WITH_CEPHFS)
561 +@@ -522,7 +522,7 @@ if (WITH_CEPHFS)
562 ceph_mds.cc)
563 add_executable(ceph-mds ${ceph_mds_srcs})
564 target_link_libraries(ceph-mds mds ${CMAKE_DL_LIBS} global-static ceph-common
565 @@ -171,10 +171,10 @@ index e9d3804c5f..5c6eb58de1 100644
566 install(TARGETS rbd-replay-prep DESTINATION bin)
567 endif(HAVE_BABELTRACE)
568 diff --git a/src/rgw/CMakeLists.txt b/src/rgw/CMakeLists.txt
569 -index ccc4f74cfe..854aa6e5e9 100644
570 +index 8d5b0638a0..a147c55bc3 100644
571 --- a/src/rgw/CMakeLists.txt
572 +++ b/src/rgw/CMakeLists.txt
573 -@@ -199,7 +199,7 @@ if(WITH_CURL_OPENSSL)
574 +@@ -196,7 +196,7 @@ if(WITH_CURL_OPENSSL)
575 endif()
576
577 if(WITH_BOOST_CONTEXT)
578 @@ -183,7 +183,7 @@ index ccc4f74cfe..854aa6e5e9 100644
579 endif()
580
581 set(rgw_libs rgw_a)
582 -@@ -341,7 +341,7 @@ if(WITH_RADOSGW_AMQP_ENDPOINT)
583 +@@ -347,7 +347,7 @@ if(WITH_RADOSGW_AMQP_ENDPOINT)
584 target_link_libraries(rgw_admin_user PRIVATE RabbitMQ::RabbitMQ)
585 endif()
586 if(WITH_BOOST_CONTEXT)
587 @@ -193,10 +193,10 @@ index ccc4f74cfe..854aa6e5e9 100644
588
589 if(WITH_TESTS)
590 diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt
591 -index 20a64fd41b..a8bb323614 100644
592 +index 5dcee1694d..60743be698 100644
593 --- a/src/test/CMakeLists.txt
594 +++ b/src/test/CMakeLists.txt
595 -@@ -158,7 +158,7 @@ add_executable(ceph_omapbench
596 +@@ -159,7 +159,7 @@ add_executable(ceph_omapbench
597 )
598 target_link_libraries(ceph_omapbench
599 librados
600 @@ -266,7 +266,7 @@ index 4fc53d2406..e6304394f8 100644
601 add_executable(ceph_test_rados_api_snapshots
602 snapshots.cc)
603 diff --git a/src/test/librbd/CMakeLists.txt b/src/test/librbd/CMakeLists.txt
604 -index 2bf6723c40..e99b8afa11 100644
605 +index 3988e94bd3..b2a720b8a0 100644
606 --- a/src/test/librbd/CMakeLists.txt
607 +++ b/src/test/librbd/CMakeLists.txt
608 @@ -27,7 +27,7 @@ target_link_libraries(rbd_test PRIVATE
609 @@ -279,11 +279,11 @@ index 2bf6723c40..e99b8afa11 100644
610 GTest::GTest)
611
612 diff --git a/src/test/rgw/CMakeLists.txt b/src/test/rgw/CMakeLists.txt
613 -index 9b2c6b6321..80e4cb7829 100644
614 +index 36df883a66..43d3456089 100644
615 --- a/src/test/rgw/CMakeLists.txt
616 +++ b/src/test/rgw/CMakeLists.txt
617 -@@ -143,7 +143,7 @@ add_ceph_unittest(unittest_rgw_dmclock_scheduler)
618 - target_link_libraries(unittest_rgw_dmclock_scheduler ${rgw_libs} dmclock)
619 +@@ -144,7 +144,7 @@ add_ceph_unittest(unittest_rgw_dmclock_scheduler)
620 + target_link_libraries(unittest_rgw_dmclock_scheduler radosgw_a dmclock)
621 if(WITH_BOOST_CONTEXT)
622 target_compile_definitions(unittest_rgw_dmclock_scheduler PRIVATE BOOST_COROUTINES_NO_DEPRECATION_WARNING)
623 - target_link_libraries(unittest_rgw_dmclock_scheduler Boost::coroutine Boost::context)