fails to build with musl and may be clang
http://errors.yoctoproject.org/Errors/Details/192148/ On Sat, Sep 8, 2018 at 7:34 AM Hongxu Jia <[email protected]> wrote: > > A shared storage lock manager. > > Signed-off-by: Hongxu Jia <[email protected]> > --- > meta-oe/recipes-extended/sanlock/sanlock_3.6.0.bb | 35 > +++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > create mode 100644 meta-oe/recipes-extended/sanlock/sanlock_3.6.0.bb > > diff --git a/meta-oe/recipes-extended/sanlock/sanlock_3.6.0.bb > b/meta-oe/recipes-extended/sanlock/sanlock_3.6.0.bb > new file mode 100644 > index 0000000..e9a5792 > --- /dev/null > +++ b/meta-oe/recipes-extended/sanlock/sanlock_3.6.0.bb > @@ -0,0 +1,35 @@ > +SUMMARY = "A shared storage lock manager" > +DESCRIPTION = "sanlock is a lock manager built on shared storage. Hosts > with access \ > +to the storage can perform locking. An application running on the \ > +hosts is given a small amount of space on the shared block device or \ > +file, and uses sanlock for its own application-specific synchronization. \ > +Internally, the sanlock daemon manages locks using two disk-based \ > +lease algorithms: delta leases and paxos leases." > +HOMEPAGE = "https://pagure.io/sanlock" > +SECTION = "utils" > + > +LICENSE = "LGPLv2+ & GPLv2 & GPLv2+" > +LIC_FILES_CHKSUM = > "file://README.license;md5=60487bf0bf429d6b5aa72b6d37a0eb22" > + > +SRC_URI = "git://pagure.io/sanlock.git;protocol=http \ > + " > +SRCREV = "90b2ffa77edd46bea007b7bb39bfd4d2db2ff7af" > +S = "${WORKDIR}/git" > + > +DEPENDS = "libaio util-linux" > + > +inherit distutils > + > +do_configure[noexec] = "1" > + > +do_compile_prepend () { > + oe_runmake -C wdmd CMD_LDFLAGS="${LDFLAGS}" LIB_LDFLAGS="${LDFLAGS}" > + oe_runmake -C src CMD_LDFLAGS="${LDFLAGS}" > LIB_ENTIRE_LDFLAGS="${LDFLAGS}" LIB_CLIENT_LDFLAGS="${LDFLAGS}" > + cd ${S}/python > +} > + > +do_install_prepend () { > + oe_runmake -C wdmd DESTDIR=${D} install > + oe_runmake -C src DESTDIR=${D} install > + cd ${S}/python > +} > -- > 2.8.1 > -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
