Please ensure that PV is set so that upstream version check works (I'm not sure if it does, looking at it): devtool check-upgrade-status gcompat Alex On Sat, 12 Jun 2021 at 21:43, Khem Raj wrote: > This is a compat library which helps running pre-compiled binaries which > were > compiled for glibc but needs to run on musl systems, this is quite > common case where pre-existing binaries are supplied and can not be > recompiled immediately > > Signed-off-by: Khem Raj > Cc: Andrea Adami > --- > meta/conf/distro/include/maintainers.inc | 1 + > meta/recipes-core/musl/gcompat_git.bb | 42 ++++++++++++++++++++++++ > 2 files changed, 43 insertions(+) > create mode 100644 meta/recipes-core/musl/gcompat_git.bb > > diff --git a/meta/conf/distro/include/maintainers.inc > b/meta/conf/distro/include/maintainers.inc > index 71943ffe26..e59f01d66a 100644 > --- a/meta/conf/distro/include/maintainers.inc > +++ b/meta/conf/distro/include/maintainers.inc > @@ -229,6 +229,7 @@ RECIPE_MAINTAINER_pn-gobject-introspection = > "Alexander Kanavin RECIPE_MAINTAINER_pn-gperf = "Alexander Kanavin " > RECIPE_MAINTAINER_pn-gpgme = "Hongxu Jia " > RECIPE_MAINTAINER_pn-gptfdisk = "Alexander Kanavin < > alex.kanavin@gmail.com>" > +RECIPE_MAINTAINER_pn-gcompat = "Khem Raj " > RECIPE_MAINTAINER_pn-grep = "Denys Dmytriyenko " > RECIPE_MAINTAINER_pn-groff = "Hongxu Jia " > RECIPE_MAINTAINER_pn-grub = "Anuj Mittal " > diff --git a/meta/recipes-core/musl/gcompat_git.bb > b/meta/recipes-core/musl/gcompat_git.bb > new file mode 100644 > index 0000000000..6792c0be70 > --- /dev/null > +++ b/meta/recipes-core/musl/gcompat_git.bb > @@ -0,0 +1,42 @@ > +# Copyright (C) 2021 Khem Raj > +# Released under the MIT license (see COPYING.MIT for the terms) > + > +SUMMARY = "A library which provides glibc-compatible APIs for use on musl > libc systems" > +HOMEPAGE = "https://git.adelielinux.org/adelie/gcompat" > + > +LICENSE = "NCSA" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=eb33ef4af05a9c7602843afb7adfe792" > + > +SRC_URI = "git:// > git.adelielinux.org/adelie/gcompat.git;protocol=https;branch=current" > + > +PV = "1.0.0+1.1+git${SRCPV}" > +SRCREV = "af5a49e489fdc04b9cf02547650d7aeaccd43793" > + > +S = "${WORKDIR}/git" > + > +inherit pkgconfig linuxloader > + > +DEPENDS += "musl-obstack" > + > +GLIBC_LDSO = "${@get_glibc_loader(d)}" > +MUSL_LDSO = "${@get_musl_loader(d)}" > + > +EXTRA_OEMAKE = "LINKER_PATH=${MUSL_LDSO} LOADER_NAME=`basename > ${@get_glibc_loader(d)}`" > + > +do_configure () { > + : > +} > + > +do_compile () { > + oe_runmake > +} > + > +do_install () { > + oe_runmake install 'DESTDIR=${D}' > +} > +# > +# We will skip parsing for non-musl systems > +# > +COMPATIBLE_HOST = ".*-musl.*" > + > +UPSTREAM_CHECK_COMMITS = "1" > -- > 2.32.0 > > > > >