From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Mike Looijmans <milo-software@users.sourceforge.net>
Subject: Re: [PATCH] python-twisted: Fix dependencies of twisted modules
Date: Wed, 28 Jan 2015 11:48:54 +0100 [thread overview]
Message-ID: <20150128104854.GD2477@jama> (raw)
In-Reply-To: <1422382116-22523-1-git-send-email-milo-software@users.sourceforge.net>
[-- Attachment #1: Type: text/plain, Size: 8506 bytes --]
On Tue, Jan 27, 2015 at 07:08:36PM +0100, Mike Looijmans wrote:
> When installing just "twisted-web" on a device, none of the dependencies
> are being copied, it wouldn't even install python-core. Fix the recipe so
> that its packages have proper dependencies, and no longer require to install
> the empty python-twisted meta recipe.
>
> Add "python-contextlib" to the core dependencies and stop causing systems
> to crash with:
> File "/usr/lib/python2.7/site-packages/twisted/python/threadpool.py", line 18, in <module>
> ImportError: No module named contextlib
Next time please also mention that python-contextlib needs pending patch
for oe-core, because right now this change fails with:
ERROR: Nothing RPROVIDES 'python-contextlib' (but /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'python-contextlib' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-contextlib']
NOTE: Runtime target 'python-twisted' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-twisted', 'python-contextlib']
NOTE: Runtime target 'python-cloudeebus' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-cloudeebus', 'python-twisted', 'python-contextlib']
NOTE: Runtime target 'python-cloudeebus-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-cloudeebus-dev', 'python-twisted', 'python-contextlib']
NOTE: Runtime target 'python-twisted-core' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-twisted-core', 'python-contextlib']
NOTE: Runtime target 'python-twisted-protocols' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-twisted-protocols', 'python-contextlib']
NOTE: Runtime target 'python-autobahn' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-autobahn', 'python-twisted-protocols', 'python-contextlib']
ERROR: Nothing RPROVIDES 'python-twisted-dev' (but /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'python-twisted-dev'
NOTE: Runtime target 'python-twisted-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-twisted-dev']
ERROR: Nothing RPROVIDES 'python-twisted-bin' (but /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'python-twisted-bin'
NOTE: Runtime target 'python-twisted-bin' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-twisted-bin']
ERROR: Nothing RPROVIDES 'python-twisted-conch' (but /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'python-twisted-conch'
NOTE: Runtime target 'python-twisted-conch' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-twisted-conch']
ERROR: Nothing RPROVIDES 'python-twisted-lore' (but /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'python-twisted-lore'
NOTE: Runtime target 'python-twisted-lore' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-twisted-lore']
ERROR: Nothing RPROVIDES 'python-twisted-mail' (but /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'python-twisted-mail'
NOTE: Runtime target 'python-twisted-mail' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-twisted-mail']
ERROR: Nothing RPROVIDES 'python-twisted-names' (but /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'python-twisted-names'
NOTE: Runtime target 'python-twisted-names' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-twisted-names']
ERROR: Nothing RPROVIDES 'python-twisted-news' (but /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'python-twisted-news'
NOTE: Runtime target 'python-twisted-news' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-twisted-news']
ERROR: Nothing RPROVIDES 'python-twisted-runner' (but /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'python-twisted-runner'
NOTE: Runtime target 'python-twisted-runner' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-twisted-runner']
ERROR: Nothing RPROVIDES 'python-twisted-web' (but /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb, /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-autobahn_0.8.6.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'python-twisted-web'
NOTE: Runtime target 'python-twisted-web' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-twisted-web']
ERROR: Nothing RPROVIDES 'python-twisted-words' (but /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'python-twisted-words'
NOTE: Runtime target 'python-twisted-words' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-twisted-words']
ERROR: Nothing RPROVIDES 'python-autobahn-dev' (but /home/jenkins/oe/world/shr-core/meta-openembedded/meta-python/recipes-devtools/python/python-autobahn_0.8.6.bb RDEPENDS on or otherwise requires it)
ERROR: No eligible RPROVIDERs exist for 'python-autobahn-dev'
NOTE: Runtime target 'python-autobahn-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-autobahn-dev']
>
> Signed-off-by: Mike Looijmans <milo-software@users.sourceforge.net>
> ---
> .../python/python-twisted_13.2.0.bb | 17 +++++++++++++++--
> 1 file changed, 15 insertions(+), 2 deletions(-)
>
> diff --git a/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb b/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb
> index 80d64a0..8930169 100644
> --- a/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb
> +++ b/meta-python/recipes-devtools/python/python-twisted_13.2.0.bb
> @@ -38,8 +38,7 @@ PACKAGES += "\
> ${PN}-core \
> "
>
> -RDEPENDS_${PN} = "python-core python-zopeinterface"
> -RDEPENDS_${PN} += "\
> +RDEPENDS_${PN} = "\
> ${PN}-conch \
> ${PN}-lore \
> ${PN}-mail \
> @@ -50,6 +49,20 @@ RDEPENDS_${PN} += "\
> ${PN}-words \
> "
>
> +RDEPENDS_${PN}-core = "python-core python-zopeinterface python-contextlib"
> +RDEPENDS_${PN}-test = "${PN}"
> +RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols"
> +RDEPENDS_${PN}-lore = "${PN}-core"
> +RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols"
> +RDEPENDS_${PN}-names = "${PN}-core"
> +RDEPENDS_${PN}-news = "${PN}-core ${PN}-protocols"
> +RDEPENDS_${PN}-runner = "${PN}-core ${PN}-protocols"
> +RDEPENDS_${PN}-web += "${PN}-core ${PN}-protocols"
> +RDEPENDS_${PN}-words += "${PN}-core"
> +RDEPENDS_${PN}-flow += "${PN}-core"
> +RDEPENDS_${PN}-pair += "${PN}-core"
> +RDEPENDS_${PN}-dbg = "${PN}"
> +
> ALLOW_EMPTY_${PN} = "1"
> FILES_${PN} = ""
>
> --
> 1.7.9.5
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
prev parent reply other threads:[~2015-01-28 10:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-27 18:08 [PATCH] python-twisted: Fix dependencies of twisted modules Mike Looijmans
2015-01-28 10:48 ` Martin Jansa [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150128104854.GD2477@jama \
--to=martin.jansa@gmail.com \
--cc=milo-software@users.sourceforge.net \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox