ceph: fix do_compile error: 'sys_siglist' was not declared
PATCH 1/1 ceph: fix do_compile error: 'sys_siglist' was not declared
glibc 2.32 has deprecated sys_siglist, oe-core commit 7c19f30849e9a73a7497d8e6c4719a2e57017086, causing ceph build to fail with error:
ceph-15.2.0/src/global/signal_handler.h:24:26: error: 'sys_siglist' was not declared
ceph has support for using reentrant strsignal, hence use it. See commit 82c40b67f5843162a93ebb2c1a006572d8f256a5 in upstream ceph.
--- recipes-extended/ceph/ceph_15.2.0.bb | 1 + 1 file changed, 1 insertion(+)
recipes-extended/ceph/ceph_15.2.0.bb +1 -0
@@ -73,6 +73,7 @@ EXTRA_OECMAKE = "-DWITH_MANPAGE=OFF \ -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3 \ -DPython3_EXECUTABLE=${PYTHON} \ -DWITH_RADOSGW_KAFKA_ENDPOINT=OFF \ + -DWITH_REENTRANT_STRSIGNAL=ON \ " export STAGING_DIR_HOST
Signature · 1 line
2.26.2
merged.
Bruce
In message: [meta-virtualization][PATCH] ceph: fix do_compile error: 'sys_siglist' was not declared
Quoted 32 lines · on 14/08/2020 [email protected] wrote:
glibc 2.32 has deprecated
sys_siglist, oe-core commit7c19f30849e9a73a7497d8e6c4719a2e57017086, causing ceph build to fail with error:
ceph-15.2.0/src/global/signal_handler.h:24:26: error: 'sys_siglist' was not declaredceph has support for using reentrant strsignal, hence use it. See commit
82c40b67f5843162a93ebb2c1a006572d8f256a5in upstream ceph.Signed-off-by Sakib Sajal <[email protected]>--- recipes-extended/ceph/ceph_15.2.0.bb | 1 + 1 file changed, 1 insertion(+)recipes-extended/ceph/ceph_15.2.0.bb +1
-0@@ -73,6 +73,7 @@ EXTRA_OECMAKE = "-DWITH_MANPAGE=OFF \ -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3 \ -DPython3_EXECUTABLE=${PYTHON} \ -DWITH_RADOSGW_KAFKA_ENDPOINT=OFF \ + -DWITH_REENTRANT_STRSIGNAL=ON \ " export STAGING_DIR_HOSTSignature · 1 line
2.26.2