I am running into a compilation issue [1] while building ceph v17.2.3 as part of uprev from v15.2.15.
There is an upstream issue (https://tracker.ceph.com/issues/55256) and fixes [2] (which are contained in v17.2.3) that addresses the issue. However I still end up with the compilation issue. I have tried a solution provided on a similar compilation issue (https://tracker.ceph.com/issues/55256) as shown in [3] but end up with the following error: make: *** No rule to make target 'cmake_object_order_depends_target_common-options-objs'. Stop. I also tried turning of legacy option, ie "with_legacy: false", with no success. Does anyone have any suggestions? Am I missing something? I have attached the patch for the uprev: New build time deps on lua, cryptsetup and thrift There was some patch refreshing as well. [1] : | 1 | #include "global_legacy_options.h" | | ^~~~~~~~~~~~~~~~~~~~~~~~~ | compilation terminated. | make[2]: *** [src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/build.make:90: src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_plugin.cc.o] Error 1 | make[2]: *** Waiting for unfinished jobs.... | make[2]: *** [src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/build.make:76: src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_accel.cc.o] Error 1 | make[2]: Leaving directory '/yow-lpggp31/ssajal/repos/build/master/cph_uprev/tmp-glibc/work/core2-64-oe-linux/ceph/17.2.3-r0/build' | make[1]: *** [CMakeFiles/Makefile2:6587: src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/all] Error 2 | In file included from ..../tmp-glibc/work/core2-64-oe-linux/ceph/17.2.3-r0/ceph-17.2.3/src/common/config_values.h:59, | from ..../tmp-glibc/work/core2-64-oe-linux/ceph/17.2.3-r0/ceph-17.2.3/src/common/config.h:27, | from ..../tmp-glibc/work/core2-64-oe-linux/ceph/17.2.3-r0/ceph-17.2.3/src/common/config_proxy.h:6, | from ..../tmp-glibc/work/core2-64-oe-linux/ceph/17.2.3-r0/ceph-17.2.3/src/common/ceph_context.h:41, | from ..../tmp-glibc/work/core2-64-oe-linux/ceph/17.2.3-r0/ceph-17.2.3/src/common/dout.h:29, | from ..../tmp-glibc/work/core2-64-oe-linux/ceph/17.2.3-r0/ceph-17.2.3/src/include/Context.h:19, | from ..../tmp-glibc/work/core2-64-oe-linux/ceph/17.2.3-r0/ceph-17.2.3/src/msg/Message.h:24, | from ..../tmp-glibc/work/core2-64-oe-linux/ceph/17.2.3-r0/ceph-17.2.3/src/msg/DispatchQueue.cc:15: ceph/17.2.3-r0/ceph-17.2.3/src/common/options/legacy_config_opts.h:1:10: fatal error: global_legacy_options.h: No such file or directory [2]: https://github.com/ceph/ceph/commit/6007448501b3bf3bd8ee4b619a74b9b4146df745 https://github.com/ceph/ceph/commit/d93880880dad2cdbdc9abed1a51edf5264068ff1 [3] do_compile() { cmake_do_compile } cmake_do_compile() { cmake_runcmake_build --target cmake_object_order_depends_target_common-options-objs all } Sakib Sajal (1): ceph: upgrade v15.2.15 -> v17.2.3 ...mpressor.h-fix-snappy-compiler-error.patch | 30 ---- ...h-fix-build-errors-for-cross-compile.patch | 134 ++++++++------- ...001-cmake-add-support-for-python3.10.patch | 34 ---- ...001-fix-host-library-paths-were-used.patch | 30 ++-- .../ceph/ceph/CVE-2021-3979.patch | 158 ------------------ .../ceph/{ceph_15.2.15.bb => ceph_17.2.3.bb} | 14 +- 6 files changed, 98 insertions(+), 302 deletions(-) delete mode 100644 recipes-extended/ceph/ceph/0001-SnappyCompressor.h-fix-snappy-compiler-error.patch delete mode 100644 recipes-extended/ceph/ceph/0001-cmake-add-support-for-python3.10.patch delete mode 100644 recipes-extended/ceph/ceph/CVE-2021-3979.patch rename recipes-extended/ceph/{ceph_15.2.15.bb => ceph_17.2.3.bb} (91%) -- 2.33.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7599): https://lists.yoctoproject.org/g/meta-virtualization/message/7599 Mute This Topic: https://lists.yoctoproject.org/mt/93507781/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
