python-pyflame: Limit support to just glibc based systems
PATCH 1/2 python-pyflame: Limit support to just glibc based systems
Fixes:
| checking build system type... x86_64-pc-linux-gnu | checking host system type... x86_64-bec-linux-musl | configure: error: Pyflame can only be built for Linux hosts
--- meta-python/recipes-devtools/python/python-pyflame.inc | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python-pyflame.inc +1 -0
@@ -10,3 +10,4 @@ S = "${WORKDIR}/git" inherit pkgconfig autotools +COMPATIBLE_HOST_libc-musl_class-target = "null"
Signature · 1 line
2.18.0
PATCH 2/2 python-pyflame: Use SHA instead of tag in SRC_URI
tags are floating and bitbake will ping the remote host and this will fail in BB_NO_NETWORK cases
--- meta-python/recipes-devtools/python/python-pyflame.inc | 2 +- meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-pyflame.inc +1 -1
@@ -5,7 +5,7 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" DEPENDS = "python" -SRC_URI = "git://github.com/uber/pyflame.git;protocol=https;tag=v${PV}" +SRC_URI = "git://github.com/uber/pyflame.git;protocol=https" S = "${WORKDIR}/git" inherit pkgconfig autotools
meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb +2 -0
@@ -1,4 +1,6 @@ require python-pyflame.inc +# v1.6.6 +SRCREV = "8a9d8c2acc3b3bb027475b738134f1e6fff14e6c" SRC_URI += "file://0001-ptrace-Abstract-over-user_regs_struct-name-which-dif.patch" SRC_URI += "file://0001-symbol-Account-for-prelinked-shared-objects.patch"
Signature · 1 line
2.18.0
Re: [meta-python][PATCH 2/2] python-pyflame: Use SHA instead of tag in SRC_URI
Quoted 5 lines · Khem Raj
tags are floating and bitbake will ping the remote host and this will fail in
BB_NO_NETWORKcasesSigned-off-by Khem Raj <[email protected]>Cc Andrew Jeffery <[email protected]>
Thanks Khem!
Quoted 37 lines
--- meta-python/recipes-devtools/python/python-pyflame.inc | 2 +- meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)(quoted diff) renamed from meta-python/recipes-devtools/python/python-pyflame.inc +0
-0meta-python/recipes-devtools/python/python-pyflame.inc index
2ee79f7b8a..71fe769765100644meta-python/recipes-devtools/python/python-pyflame.inc +0
-0@@ -5,7 +5,7 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
DEPENDS = "python"meta-python/recipes-devtools/python/python-pyflame.inc +1
-1-SRC_URI = "git://github.com/uber/pyflame.git;protocol=https;tag=v${PV}" +SRC_URI = "git://github.com/uber/pyflame.git;protocol=https" S = "${WORKDIR}/git" inherit pkgconfig autotoolsmeta-python/recipes-devtools/python/python-pyflame_1.6.6.bb +2
-0@@ -1,4 +1,6 @@ require python-pyflame.inc +# v1.6.6 +SRCREV = "8a9d8c2acc3b3bb027475b738134f1e6fff14e6c" SRC_URI +="file://0001-ptrace-Abstract-over-user_regs_struct-name-which-dif.patch"
SRC_URI+=
"file://0001-symbol-Account-for-prelinked-shared-objects.patch"Signature · 1 line
2.18.0
Quoted 7 lines · Khem Raj
Fixes:
| checking build system type... x86_64-pc-linux-gnu | checking host system type... x86_64-bec-linux-musl | configure: error: Pyflame can only be built for Linux hostsSigned-off-by Khem Raj <[email protected]>Cc Andrew Jeffery <[email protected]>
Thanks Khem!
Quoted 17 lines
--- meta-python/recipes-devtools/python/python-pyflame.inc | 1 + 1 file changed, 1 insertion(+)(quoted diff) renamed from meta-python/recipes-devtools/python/python-pyflame.inc +0
-0meta-python/recipes-devtools/python/python-pyflame.inc index
3b84a7e8f8..2ee79f7b8a100644meta-python/recipes-devtools/python/python-pyflame.inc +1
-0@@ -10,3 +10,4 @@ S = "${WORKDIR}/git" inherit pkgconfig autotools +COMPATIBLE_HOST_libc-musl_class-target = "null"Signature · 1 line
2.18.0