Skip to contentSkip to conversation

glusterfs: build with libtirpc

PATCH In review Joe Slater 2 participants 2 messages May 23, 2018 – May 24, 2018

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 glusterfs: build with libtirpc

rpc is not part of glibc 2.27.

---
 recipes-extended/glusterfs/glusterfs.inc | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
recipes-extended/glusterfs/glusterfs.inc +6 -1
index 0556e2a..02c8a6a 100644
@@ -29,9 +29,14 @@ LIC_FILES_CHKSUM = "file://COPYING-GPLV2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
 inherit autotools pkgconfig distutils-base update-rc.d systemd
 
-DEPENDS += "bison-native flex-native python-native fuse libaio libxml2 ncurses \
+DEPENDS += "bison-native flex-native python-native fuse libaio libtirpc libxml2 ncurses \
             openssl python readline zlib liburcu util-linux glib-2.0 acl"
 
+# rpc now comes from libtirpc instead of glibc
+#
+CFLAGS += "-I${STAGING_INCDIR}/tirpc"
+LDFLAGS += " -ltirpc"
+
 EXTRA_OECONF = "ac_cv_file__etc_debian_version=no \
                 ac_cv_file__etc_SuSE_release=no \
                 ac_cv_file__etc_redhat_release=no \
Signature · 1 line
2.7.4
#1 lore raw

merged.

Bruce

Quoted 40 lines · Joe Slater

rpc is not part of glibc 2.27.

---
 recipes-extended/glusterfs/glusterfs.inc | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
recipes-extended/glusterfs/glusterfs.inc +6 -1
index 0556e2a..02c8a6a 100644
@@ -29,9 +29,14 @@ LIC_FILES_CHKSUM = "file://COPYING-GPLV2;md5=
 b234ee4d69f5fce4486a80fdaf4a4263 \
 
 inherit autotools pkgconfig distutils-base update-rc.d systemd
 
-DEPENDS += "bison-native flex-native python-native fuse libaio libxml2
 ncurses \
+DEPENDS += "bison-native flex-native python-native fuse libaio libtirpc
 libxml2 ncurses \
             openssl python readline zlib liburcu util-linux glib-2.0 acl"
 
+# rpc now comes from libtirpc instead of glibc
+#
+CFLAGS += "-I${STAGING_INCDIR}/tirpc"
+LDFLAGS += " -ltirpc"
+
 EXTRA_OECONF = "ac_cv_file__etc_debian_version=no \
                 ac_cv_file__etc_SuSE_release=no \
                 ac_cv_file__etc_redhat_release=no \

--
2.7.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"