Empty "0.0.0-0-g0" jemalloc version may affect build and usage
of some applications. For example, it affects folly build and
usage and leads segmentation fault in some cases.

Signed-off-by: Petr Chernikov <[email protected]>
---
 meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb 
b/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb
index 9ad83261e..2ce23d152 100644
--- a/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb
+++ b/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb
@@ -29,6 +29,9 @@ inherit autotools ptest
 EXTRA_AUTORECONF += "--exclude=autoheader"
 
 EXTRA_OECONF:append:libc-musl = " --with-jemalloc-prefix=je_"
+# For some reason VERSION file populated only in tarball distribution.
+# Adding jemalloc version since this recipe is using source code from git tag
+EXTRA_OECONF:append = " --with-version=${PV}-0-g${SRCREV}"
 
 do_install:append() {
        sed -i -e 's@${STAGING_DIR_HOST}@@g' \
-- 
2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104589): 
https://lists.openembedded.org/g/openembedded-devel/message/104589
Mute This Topic: https://lists.openembedded.org/mt/100934701/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to