Skip to contentSkip to conversation

kpatch: Mark it incompatible with musl

PATCH In review Khem Raj 2 participants 4 messages Jul 8, 2018 – Jul 9, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 kpatch: Mark it incompatible with musl

it needs binaries from glibc-utils, obviously we dont have this with musl, however in future if we can limit which binaries are needed from glibc-utils then we might be able to provide an alternative dependency when using musl, until then disable it

---
 meta-oe/recipes-kernel/kpatch/kpatch.inc | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-kernel/kpatch/kpatch.inc +1 -0
index e2e9511464..cd819f31f8 100644
@@ -30,6 +30,7 @@ PACKAGES =+ "kpatch-build"
 PROVIDES += "kpatch-build"
 
 COMPATIBLE_HOST = "(x86_64).*-linux"
+COMPATIBLE_HOST_libc-musl = "null"
 
 RDEPENDS_${PN} = "bash binutils"
 RDEPENDS_kpatch-build = "bash glibc-utils"
Signature · 1 line
2.18.0
author
#1 lore raw

PATCH 2/2 python3-lxml, python3-pandas, python3-protobuf: Set CLEANBROKEN

The distutils class got a clean via "setup.py clean", but these recipes doesn't support this yet so disable clean target during configure

---
 meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb     | 1 +
 meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb  | 1 +
 meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb | 1 +
 3 files changed, 3 insertions(+)
meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb +1 -0
index ff4bc7faad..b95d7bae71 100644
@@ -1,2 +1,3 @@
 inherit setuptools3
 require python-lxml.inc
+CLEANBROKEN = "1"
meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb +1 -0
index b5dd5e0924..c1e57189cf 100644
@@ -1,2 +1,3 @@
 inherit setuptools3
 require python-pandas.inc
+CLEANBROKEN = "1"
meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb +1 -0
index 781d1dc4da..53d5528c4b 100644
@@ -1,2 +1,3 @@
 inherit setuptools3
 require python-protobuf.inc
+CLEANBROKEN = "1"
Signature · 1 line
2.18.0
#2 lore raw

Re: [meta-python][PATCH 2/2] python3-lxml, python3-pandas, python3-protobuf: Set CLEANBROKEN

The lxml failure can be fixed with a tweak to the class, so I'll run the tweak through all of meta-python to see if it regresses anything else. Please hold this off until I report back.

Ross

Quoted 43 lines · Khem Raj

The distutils class got a clean via "setup.py clean", but these recipes doesn't support this yet so disable clean target during configure

---
 meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb     | 1 +
 meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb  | 1 +
 meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb | 1 +
 3 files changed, 3 insertions(+)
meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb +1 -0
index ff4bc7faad..b95d7bae71 100644
@@ -1,2 +1,3 @@
 inherit setuptools3
 require python-lxml.inc
+CLEANBROKEN = "1"
meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb +1 -0
index b5dd5e0924..c1e57189cf 100644
@@ -1,2 +1,3 @@
 inherit setuptools3
 require python-pandas.inc
+CLEANBROKEN = "1"
meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb +1 -1
index 781d1dc4da..53d5528c4b 100644
@@ -1,2 +1,3 @@
 inherit setuptools3
 require python-protobuf.inc
+CLEANBROKEN = "1"
--

2.18.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw

Re: [meta-python][PATCH 2/2] python3-lxml, python3-pandas, python3-protobuf: Set CLEANBROKEN

I've just sent a patch for oe-core to improve how it calls clean, which fixes lxml.

Pandas can be fixed by depending on cython, patch sent.

protobuf is broken, we still need the cleanbroken but I plan to do the same for python2 so I've just sent a patch to add it to the inc file.

Ross

Quoted 50 lines · Ross

The lxml failure can be fixed with a tweak to the class, so I'll run the tweak through all of meta-python to see if it regresses anything else. Please hold this off until I report back.

Ross

Quoted 43 lines · Khem Raj

The distutils class got a clean via "setup.py clean", but these recipes doesn't support this yet so disable clean target during configure

---
 meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb     | 1 +
 meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb  | 1 +
 meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb | 1 +
 3 files changed, 3 insertions(+)
meta-python/recipes-devtools/python/python3-lxml_4.2.3.bb +1 -0
index ff4bc7faad..b95d7bae71 100644
@@ -1,2 +1,3 @@
 inherit setuptools3
 require python-lxml.inc
+CLEANBROKEN = "1"
meta-python/recipes-devtools/python/python3-pandas_0.23.1.bb +1 -0
index b5dd5e0924..c1e57189cf 100644
@@ -1,2 +1,3 @@
 inherit setuptools3
 require python-pandas.inc
+CLEANBROKEN = "1"
meta-python/recipes-devtools/python/python3-protobuf_3.6.0.bb +1 -1
index 781d1dc4da..53d5528c4b 100644
@@ -1,2 +1,3 @@
 inherit setuptools3
 require python-protobuf.inc
+CLEANBROKEN = "1"
--

2.18.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel