Skip to contentSkip to conversation

ceph: fix do_compile error: 'sys_siglist' was not declared

PATCH In review [email protected] 2 participants 2 messages Aug 14, 2020 – Aug 17, 2020

lore
Share & tools
lore
#0 lore raw

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
index 9423faa..223a74e 100644
@@ -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
#1 lore raw

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 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
index 9423faa..223a74e 100644
@@ -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