All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH][master-next 1/4] python-m2crypto-native: rdepend on python-typing
@ 2017-02-13 21:02 Max Krummenacher
  2017-02-13 21:02 ` [meta-oe][PATCH][master-next 2/4] crda: add rdepends of python-m2crypto-native Max Krummenacher
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Max Krummenacher @ 2017-02-13 21:02 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Max Krummenacher

Because of a bitbake limitation add python-m2crypto-native.bbclass
which can be inherited by users of python-m2crypto-native to get
the required dependencies into their recipe specific sysroot.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
---
 meta-python/classes/python-m2crypto-native.bbclass            | 6 ++++++
 meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb | 4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 meta-python/classes/python-m2crypto-native.bbclass

diff --git a/meta-python/classes/python-m2crypto-native.bbclass b/meta-python/classes/python-m2crypto-native.bbclass
new file mode 100644
index 0000000..afaeca8
--- /dev/null
+++ b/meta-python/classes/python-m2crypto-native.bbclass
@@ -0,0 +1,6 @@
+# Inherit this class if you need python-m2crypto-native in your
+# sysroot. This works around RDEPENDS of native packages pulled in via
+# DEPENDS not being installed otherwise.
+
+DEPENDS_append = " python-m2crypto-native python-typing-native"
+inherit pythonnative
diff --git a/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb b/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb
index ca46222..7c41828 100644
--- a/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb
+++ b/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb
@@ -12,7 +12,9 @@ SRC_URI += "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch "
 PYPI_PACKAGE = "M2Crypto"
 inherit pypi setuptools siteinfo
 
-DEPENDS += "openssl swig-native python-typing"
+DEPENDS += "openssl swig-native"
+# any change to RDEPENDS should also go into python-m2crypto-native.bbclass
+RDEPENDS_${PN} += "python-typing"
 
 DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_DIR_HOST} -I${STAGING_INCDIR}"
 DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_DIR_HOST}"
-- 
2.6.6



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-oe][PATCH][master-next 2/4] crda: add rdepends of python-m2crypto-native
  2017-02-13 21:02 [meta-oe][PATCH][master-next 1/4] python-m2crypto-native: rdepend on python-typing Max Krummenacher
@ 2017-02-13 21:02 ` Max Krummenacher
  2017-02-15 18:56   ` Andy
  2017-02-13 21:02 ` [meta-oe][PATCH][master-next 3/4] pywbem: depend on python-m2crypto-native and its rdepends Max Krummenacher
  2017-02-13 21:02 ` [meta-oe][PATCH][master-next 4/4] openlmi-tools: remove blacklist Max Krummenacher
  2 siblings, 1 reply; 10+ messages in thread
From: Max Krummenacher @ 2017-02-13 21:02 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Max Krummenacher

This fixed the build, remove blacklist also.
While at it, cleanup DEPENDS of python stuff already added by inherit.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
---
 meta-networking/recipes-connectivity/crda/crda_3.18.bb | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/meta-networking/recipes-connectivity/crda/crda_3.18.bb b/meta-networking/recipes-connectivity/crda/crda_3.18.bb
index 2aa9a09..45ecdd7 100644
--- a/meta-networking/recipes-connectivity/crda/crda_3.18.bb
+++ b/meta-networking/recipes-connectivity/crda/crda_3.18.bb
@@ -4,7 +4,7 @@ SECTION = "net"
 LICENSE = "copyleft-next-0.3.0"
 LIC_FILES_CHKSUM = "file://copyleft-next-0.3.0;md5=8743a2c359037d4d329a31e79eabeffe"
 
-DEPENDS = "python-m2crypto-native python-native libgcrypt libnl openssl"
+DEPENDS = "libgcrypt libnl openssl"
 
 SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz \
            file://do-not-run-ldconfig-if-destdir-is-set.patch \
@@ -18,7 +18,8 @@ SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz \
 SRC_URI[md5sum] = "0431fef3067bf503dfb464069f06163a"
 SRC_URI[sha256sum] = "43fcb9679f8b75ed87ad10944a506292def13e4afb194afa7aa921b01e8ecdbf"
 
-inherit python-dir pythonnative
+inherit python-m2crypto-native
+
 # Recursive make problem
 EXTRA_OEMAKE = "MAKEFLAGS= DESTDIR=${D} LIBDIR=${libdir}/crda LDLIBREG='-Wl,-rpath,${libdir}/crda -lreg'"
 EXTRA_OEMAKE_append = " USE_OPENSSL=1"
@@ -34,5 +35,3 @@ do_install() {
 }
 
 RDEPENDS_${PN} = "udev wireless-regdb"
-
-PNBLACKLIST[crda] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130675/"
-- 
2.6.6



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-oe][PATCH][master-next 3/4] pywbem: depend on python-m2crypto-native and its rdepends
  2017-02-13 21:02 [meta-oe][PATCH][master-next 1/4] python-m2crypto-native: rdepend on python-typing Max Krummenacher
  2017-02-13 21:02 ` [meta-oe][PATCH][master-next 2/4] crda: add rdepends of python-m2crypto-native Max Krummenacher
@ 2017-02-13 21:02 ` Max Krummenacher
  2017-02-13 21:39   ` Martin Jansa
  2017-02-13 21:02 ` [meta-oe][PATCH][master-next 4/4] openlmi-tools: remove blacklist Max Krummenacher
  2 siblings, 1 reply; 10+ messages in thread
From: Max Krummenacher @ 2017-02-13 21:02 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Max Krummenacher

This fixed the build, remove blacklist also.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
---
 meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb b/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
index 8b5394e..14d4e69 100644
--- a/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
+++ b/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
@@ -16,14 +16,13 @@ HOMEPAGE = "http://pywbem.sf.net/"
 LICENSE = "LGPLv2"
 LIC_FILES_CHKSUM = "file://pywbem/LICENSE.txt;md5=fbc093901857fcd118f065f900982c24"
 SECTION = "Development/Libraries"
-DEPENDS = "python-m2crypto-native"
 SRC_URI = "http://jaist.dl.sourceforge.net/project/${BPN}/${BPN}/${BP}/${BP}-dev.r704.zip"
 SRC_URI[md5sum] = "84072451dcdd1aa9ee82363848faf7ad"
 SRC_URI[sha256sum] = "898035866d3cc741bbcd62c4ac26e633ad07b7c11d89db2472b9f923f3fd3ed8"
 
 S = "${WORKDIR}/${BP}-dev"
 
-inherit setuptools python-dir
+inherit setuptools python-m2crypto-native
 
 do_install_append() {
     mv ${D}${bindir}/wbemcli.py ${D}${bindir}/pywbemcli
@@ -34,6 +33,3 @@ do_install_append() {
 }
 
 BBCLASSEXTEND = "native"
-
-PNBLACKLIST[pywbem] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130596/"
-PNBLACKLIST[pywbem] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130681/"
-- 
2.6.6



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [meta-oe][PATCH][master-next 4/4] openlmi-tools: remove blacklist
  2017-02-13 21:02 [meta-oe][PATCH][master-next 1/4] python-m2crypto-native: rdepend on python-typing Max Krummenacher
  2017-02-13 21:02 ` [meta-oe][PATCH][master-next 2/4] crda: add rdepends of python-m2crypto-native Max Krummenacher
  2017-02-13 21:02 ` [meta-oe][PATCH][master-next 3/4] pywbem: depend on python-m2crypto-native and its rdepends Max Krummenacher
@ 2017-02-13 21:02 ` Max Krummenacher
  2 siblings, 0 replies; 10+ messages in thread
From: Max Krummenacher @ 2017-02-13 21:02 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Max Krummenacher

Build is fixed for bywbem, bywbem-native.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
---
 meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb b/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb
index cc8e829..b23869d 100644
--- a/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb
+++ b/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb
@@ -21,5 +21,3 @@ do_compile_prepend() {
 do_install_prepend() {
     cd cli
 }
-
-PNBLACKLIST[openlmi-tools] ?= "Depends on blacklisted pywbem"
-- 
2.6.6



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [meta-oe][PATCH][master-next 3/4] pywbem: depend on python-m2crypto-native and its rdepends
  2017-02-13 21:02 ` [meta-oe][PATCH][master-next 3/4] pywbem: depend on python-m2crypto-native and its rdepends Max Krummenacher
@ 2017-02-13 21:39   ` Martin Jansa
  2017-02-13 21:40     ` Martin Jansa
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2017-02-13 21:39 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Max Krummenacher

Did you test this change? You added it to inherit not DEPENDS..

On Mon, Feb 13, 2017 at 10:02 PM, Max Krummenacher <max.oss.09@gmail.com>
wrote:

> This fixed the build, remove blacklist also.
>
> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
> ---
>  meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
> b/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
> index 8b5394e..14d4e69 100644
> --- a/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
> +++ b/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
> @@ -16,14 +16,13 @@ HOMEPAGE = "http://pywbem.sf.net/"
>  LICENSE = "LGPLv2"
>  LIC_FILES_CHKSUM = "file://pywbem/LICENSE.txt;md5=
> fbc093901857fcd118f065f900982c24"
>  SECTION = "Development/Libraries"
> -DEPENDS = "python-m2crypto-native"
>  SRC_URI = "http://jaist.dl.sourceforge.net/project/${BPN}/${BPN}/${
> BP}/${BP}-dev.r704.zip"
>  SRC_URI[md5sum] = "84072451dcdd1aa9ee82363848faf7ad"
>  SRC_URI[sha256sum] = "898035866d3cc741bbcd62c4ac26e6
> 33ad07b7c11d89db2472b9f923f3fd3ed8"
>
>  S = "${WORKDIR}/${BP}-dev"
>
> -inherit setuptools python-dir
> +inherit setuptools python-m2crypto-native
>
>  do_install_append() {
>      mv ${D}${bindir}/wbemcli.py ${D}${bindir}/pywbemcli
> @@ -34,6 +33,3 @@ do_install_append() {
>  }
>
>  BBCLASSEXTEND = "native"
> -
> -PNBLACKLIST[pywbem] ?= "Fails to build with RSS
> http://errors.yoctoproject.org/Errors/Details/130596/"
> -PNBLACKLIST[pywbem] ?= "Fails to build with RSS
> http://errors.yoctoproject.org/Errors/Details/130681/"
> --
> 2.6.6
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-oe][PATCH][master-next 3/4] pywbem: depend on python-m2crypto-native and its rdepends
  2017-02-13 21:39   ` Martin Jansa
@ 2017-02-13 21:40     ` Martin Jansa
  2017-02-13 22:05       ` Max Krummenacher
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2017-02-13 21:40 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Max Krummenacher

Oh, I see what you did in master-next 1/4, but is it worth creating
.bbclass for just 2 dependencies which probably won't be used by so many
recipes?

On Mon, Feb 13, 2017 at 10:39 PM, Martin Jansa <martin.jansa@gmail.com>
wrote:

> Did you test this change? You added it to inherit not DEPENDS..
>
> On Mon, Feb 13, 2017 at 10:02 PM, Max Krummenacher <max.oss.09@gmail.com>
> wrote:
>
>> This fixed the build, remove blacklist also.
>>
>> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
>> ---
>>  meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb | 6 +-----
>>  1 file changed, 1 insertion(+), 5 deletions(-)
>>
>> diff --git a/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
>> b/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
>> index 8b5394e..14d4e69 100644
>> --- a/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
>> +++ b/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
>> @@ -16,14 +16,13 @@ HOMEPAGE = "http://pywbem.sf.net/"
>>  LICENSE = "LGPLv2"
>>  LIC_FILES_CHKSUM = "file://pywbem/LICENSE.txt;md5
>> =fbc093901857fcd118f065f900982c24"
>>  SECTION = "Development/Libraries"
>> -DEPENDS = "python-m2crypto-native"
>>  SRC_URI = "http://jaist.dl.sourceforge.net/project/${BPN}/${BPN}/${BP}
>> /${BP}-dev.r704.zip"
>>  SRC_URI[md5sum] = "84072451dcdd1aa9ee82363848faf7ad"
>>  SRC_URI[sha256sum] = "898035866d3cc741bbcd62c4ac26e
>> 633ad07b7c11d89db2472b9f923f3fd3ed8"
>>
>>  S = "${WORKDIR}/${BP}-dev"
>>
>> -inherit setuptools python-dir
>> +inherit setuptools python-m2crypto-native
>>
>>  do_install_append() {
>>      mv ${D}${bindir}/wbemcli.py ${D}${bindir}/pywbemcli
>> @@ -34,6 +33,3 @@ do_install_append() {
>>  }
>>
>>  BBCLASSEXTEND = "native"
>> -
>> -PNBLACKLIST[pywbem] ?= "Fails to build with RSS
>> http://errors.yoctoproject.org/Errors/Details/130596/"
>> -PNBLACKLIST[pywbem] ?= "Fails to build with RSS
>> http://errors.yoctoproject.org/Errors/Details/130681/"
>> --
>> 2.6.6
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
>
>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-oe][PATCH][master-next 3/4] pywbem: depend on python-m2crypto-native and its rdepends
  2017-02-13 21:40     ` Martin Jansa
@ 2017-02-13 22:05       ` Max Krummenacher
  2017-02-13 22:58         ` Martin Jansa
  0 siblings, 1 reply; 10+ messages in thread
From: Max Krummenacher @ 2017-02-13 22:05 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Max Krummenacher

Hi

Am Montag, den 13.02.2017, 22:40 +0100 schrieb Martin Jansa:
> Oh, I see what you did in master-next 1/4, but is it worth creating
> .bbclass for just 2 dependencies which probably won't be used by so many
> recipes?

That's how I understand Richard here:
http://lists.openembedded.org/pipermail/openembedded-core/2017-February/132693.html

Actually it is not 2 dependencies, it is 1 dependency on
python-m2crypto-native and the run time dependency that python-m2crypto-native
needs since it upgrade to 0.25.1.

So the issue here is that if some time in the future there is another
RDEPENDS that python-m2crypto-native needs we will have to track down
all the users of it and add the new dependency there too.

If you think this does not merit a new class I can substitute the new
class by adding python-typing-native to crda and pywbem to fix the build
in the current setup and resend the patch series.

Max



On Mon, Feb 13, 2017 at 10:39 PM, Martin Jansa <martin.jansa@gmail.com>
> wrote:
> 
> > Did you test this change? You added it to inherit not DEPENDS..
> > 
> > On Mon, Feb 13, 2017 at 10:02 PM, Max Krummenacher <max.oss.09@gmail.com>
> > wrote:
> > 
> > > This fixed the build, remove blacklist also.
> > > 
> > > Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
> > > ---
> > >  meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb | 6 +-----
> > >  1 file changed, 1 insertion(+), 5 deletions(-)
> > > 
> > > diff --git a/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
> > > b/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
> > > index 8b5394e..14d4e69 100644
> > > --- a/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
> > > +++ b/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
> > > @@ -16,14 +16,13 @@ HOMEPAGE = "http://pywbem.sf.net/"
> > >  LICENSE = "LGPLv2"
> > >  LIC_FILES_CHKSUM = "file://pywbem/LICENSE.txt;md5
> > > =fbc093901857fcd118f065f900982c24"
> > >  SECTION = "Development/Libraries"
> > > -DEPENDS = "python-m2crypto-native"
> > >  SRC_URI = "http://jaist.dl.sourceforge.net/project/${BPN}/${BPN}/${BP}
> > > /${BP}-dev.r704.zip"
> > >  SRC_URI[md5sum] = "84072451dcdd1aa9ee82363848faf7ad"
> > >  SRC_URI[sha256sum] = "898035866d3cc741bbcd62c4ac26e
> > > 633ad07b7c11d89db2472b9f923f3fd3ed8"
> > > 
> > >  S = "${WORKDIR}/${BP}-dev"
> > > 
> > > -inherit setuptools python-dir
> > > +inherit setuptools python-m2crypto-native
> > > 
> > >  do_install_append() {
> > >      mv ${D}${bindir}/wbemcli.py ${D}${bindir}/pywbemcli
> > > @@ -34,6 +33,3 @@ do_install_append() {
> > >  }
> > > 
> > >  BBCLASSEXTEND = "native"
> > > -
> > > -PNBLACKLIST[pywbem] ?= "Fails to build with RSS
> > > http://errors.yoctoproject.org/Errors/Details/130596/"
> > > -PNBLACKLIST[pywbem] ?= "Fails to build with RSS
> > > http://errors.yoctoproject.org/Errors/Details/130681/"
> > > --
> > > 2.6.6
> > > 
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > > 
> > 
> > 


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-oe][PATCH][master-next 3/4] pywbem: depend on python-m2crypto-native and its rdepends
  2017-02-13 22:05       ` Max Krummenacher
@ 2017-02-13 22:58         ` Martin Jansa
  2017-02-14 12:22           ` Max Krummenacher
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2017-02-13 22:58 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Max Krummenacher

Yes, I guessed that Richard answer was the motivation for what you did, but
the original issue reported by Andreas was about "many recipes depending on
kdoctool".

Here I see only 2 cases of such dependency, so I think we can live without
the bbclass - unless someone says that he has many recipes in internal
layers which depend on python-m2crypto-native.

Just my 2c (I'm not familiar with python-m2crypto so I cannot say how
common this use-case is).

On Mon, Feb 13, 2017 at 11:05 PM, Max Krummenacher <max.oss.09@gmail.com>
wrote:

> Hi
>
> Am Montag, den 13.02.2017, 22:40 +0100 schrieb Martin Jansa:
> > Oh, I see what you did in master-next 1/4, but is it worth creating
> > .bbclass for just 2 dependencies which probably won't be used by so many
> > recipes?
>
> That's how I understand Richard here:
> http://lists.openembedded.org/pipermail/openembedded-core/
> 2017-February/132693.html
>
> Actually it is not 2 dependencies, it is 1 dependency on
> python-m2crypto-native and the run time dependency that
> python-m2crypto-native
> needs since it upgrade to 0.25.1.
>
> So the issue here is that if some time in the future there is another
> RDEPENDS that python-m2crypto-native needs we will have to track down
> all the users of it and add the new dependency there too.
>
> If you think this does not merit a new class I can substitute the new
> class by adding python-typing-native to crda and pywbem to fix the build
> in the current setup and resend the patch series.
>
> Max
>
>
>
> On Mon, Feb 13, 2017 at 10:39 PM, Martin Jansa <martin.jansa@gmail.com>
> > wrote:
> >
> > > Did you test this change? You added it to inherit not DEPENDS..
> > >
> > > On Mon, Feb 13, 2017 at 10:02 PM, Max Krummenacher <
> max.oss.09@gmail.com>
> > > wrote:
> > >
> > > > This fixed the build, remove blacklist also.
> > > >
> > > > Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
> > > > ---
> > > >  meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb | 6 +-----
> > > >  1 file changed, 1 insertion(+), 5 deletions(-)
> > > >
> > > > diff --git a/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
> > > > b/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
> > > > index 8b5394e..14d4e69 100644
> > > > --- a/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
> > > > +++ b/meta-oe/recipes-extended/pywbem/pywbem_0.8.0.bb
> > > > @@ -16,14 +16,13 @@ HOMEPAGE = "http://pywbem.sf.net/"
> > > >  LICENSE = "LGPLv2"
> > > >  LIC_FILES_CHKSUM = "file://pywbem/LICENSE.txt;md5
> > > > =fbc093901857fcd118f065f900982c24"
> > > >  SECTION = "Development/Libraries"
> > > > -DEPENDS = "python-m2crypto-native"
> > > >  SRC_URI = "http://jaist.dl.sourceforge.net/project/${BPN}/${BPN}/${
> BP}
> > > > /${BP}-dev.r704.zip"
> > > >  SRC_URI[md5sum] = "84072451dcdd1aa9ee82363848faf7ad"
> > > >  SRC_URI[sha256sum] = "898035866d3cc741bbcd62c4ac26e
> > > > 633ad07b7c11d89db2472b9f923f3fd3ed8"
> > > >
> > > >  S = "${WORKDIR}/${BP}-dev"
> > > >
> > > > -inherit setuptools python-dir
> > > > +inherit setuptools python-m2crypto-native
> > > >
> > > >  do_install_append() {
> > > >      mv ${D}${bindir}/wbemcli.py ${D}${bindir}/pywbemcli
> > > > @@ -34,6 +33,3 @@ do_install_append() {
> > > >  }
> > > >
> > > >  BBCLASSEXTEND = "native"
> > > > -
> > > > -PNBLACKLIST[pywbem] ?= "Fails to build with RSS
> > > > http://errors.yoctoproject.org/Errors/Details/130596/"
> > > > -PNBLACKLIST[pywbem] ?= "Fails to build with RSS
> > > > http://errors.yoctoproject.org/Errors/Details/130681/"
> > > > --
> > > > 2.6.6
> > > >
> > > > --
> > > > _______________________________________________
> > > > Openembedded-devel mailing list
> > > > Openembedded-devel@lists.openembedded.org
> > > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > > >
> > >
> > >
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-oe][PATCH][master-next 3/4] pywbem: depend on python-m2crypto-native and its rdepends
  2017-02-13 22:58         ` Martin Jansa
@ 2017-02-14 12:22           ` Max Krummenacher
  0 siblings, 0 replies; 10+ messages in thread
From: Max Krummenacher @ 2017-02-14 12:22 UTC (permalink / raw)
  To: OpenEmbedded Devel List; +Cc: Max Krummenacher

2017-02-13 23:58 GMT+01:00 Martin Jansa <martin.jansa@gmail.com>:
> Yes, I guessed that Richard answer was the motivation for what you did, but
> the original issue reported by Andreas was about "many recipes depending on
> kdoctool".
>
> Here I see only 2 cases of such dependency, so I think we can live without
> the bbclass - unless someone says that he has many recipes in internal
> layers which depend on python-m2crypto-native.
>
> Just my 2c (I'm not familiar with python-m2crypto so I cannot say how
> common this use-case is).

I don't know either.

I rework the patches to only use DEPENDS and send a v2.

Max


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [meta-oe][PATCH][master-next 2/4] crda: add rdepends of python-m2crypto-native
  2017-02-13 21:02 ` [meta-oe][PATCH][master-next 2/4] crda: add rdepends of python-m2crypto-native Max Krummenacher
@ 2017-02-15 18:56   ` Andy
  0 siblings, 0 replies; 10+ messages in thread
From: Andy @ 2017-02-15 18:56 UTC (permalink / raw)
  To: openembedded-devel

all right, the fancy way. Thanks you for clarifying.

2017-02-13 22:02 GMT+01:00 Max Krummenacher <max.oss.09@gmail.com>:
> This fixed the build, remove blacklist also.
> While at it, cleanup DEPENDS of python stuff already added by inherit.
>
> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
> ---
>  meta-networking/recipes-connectivity/crda/crda_3.18.bb | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/meta-networking/recipes-connectivity/crda/crda_3.18.bb b/meta-networking/recipes-connectivity/crda/crda_3.18.bb
> index 2aa9a09..45ecdd7 100644
> --- a/meta-networking/recipes-connectivity/crda/crda_3.18.bb
> +++ b/meta-networking/recipes-connectivity/crda/crda_3.18.bb
> @@ -4,7 +4,7 @@ SECTION = "net"
>  LICENSE = "copyleft-next-0.3.0"
>  LIC_FILES_CHKSUM = "file://copyleft-next-0.3.0;md5=8743a2c359037d4d329a31e79eabeffe"
>
> -DEPENDS = "python-m2crypto-native python-native libgcrypt libnl openssl"
> +DEPENDS = "libgcrypt libnl openssl"
>
>  SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz \
>             file://do-not-run-ldconfig-if-destdir-is-set.patch \
> @@ -18,7 +18,8 @@ SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz \
>  SRC_URI[md5sum] = "0431fef3067bf503dfb464069f06163a"
>  SRC_URI[sha256sum] = "43fcb9679f8b75ed87ad10944a506292def13e4afb194afa7aa921b01e8ecdbf"
>
> -inherit python-dir pythonnative
> +inherit python-m2crypto-native
> +
>  # Recursive make problem
>  EXTRA_OEMAKE = "MAKEFLAGS= DESTDIR=${D} LIBDIR=${libdir}/crda LDLIBREG='-Wl,-rpath,${libdir}/crda -lreg'"
>  EXTRA_OEMAKE_append = " USE_OPENSSL=1"
> @@ -34,5 +35,3 @@ do_install() {
>  }
>
>  RDEPENDS_${PN} = "udev wireless-regdb"
> -
> -PNBLACKLIST[crda] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130675/"
> --
> 2.6.6
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-02-15 18:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-13 21:02 [meta-oe][PATCH][master-next 1/4] python-m2crypto-native: rdepend on python-typing Max Krummenacher
2017-02-13 21:02 ` [meta-oe][PATCH][master-next 2/4] crda: add rdepends of python-m2crypto-native Max Krummenacher
2017-02-15 18:56   ` Andy
2017-02-13 21:02 ` [meta-oe][PATCH][master-next 3/4] pywbem: depend on python-m2crypto-native and its rdepends Max Krummenacher
2017-02-13 21:39   ` Martin Jansa
2017-02-13 21:40     ` Martin Jansa
2017-02-13 22:05       ` Max Krummenacher
2017-02-13 22:58         ` Martin Jansa
2017-02-14 12:22           ` Max Krummenacher
2017-02-13 21:02 ` [meta-oe][PATCH][master-next 4/4] openlmi-tools: remove blacklist Max Krummenacher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.