From: Saul Wold <sgw@linux.intel.com>
To: wenzong.fan@windriver.com
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 0/1] populate_sdk_rpm: add python to nativesdk INSTALL_PROVIDESNAME_RPM list
Date: Wed, 16 Oct 2013 14:26:53 -0700 [thread overview]
Message-ID: <525F049D.2090905@linux.intel.com> (raw)
In-Reply-To: <cover.1381485178.git.wenzong.fan@windriver.com>
On 10/11/2013 03:06 AM, wenzong.fan@windriver.com wrote:
> From: Wenzong Fan <wenzong.fan@windriver.com>
>
> If any native SDK packages involve python scripts that start with
> '#!/usr/bin/python', then the populate_sdk step will fail with:
>
> error: Can't install nativesdk-xxx-$ver@x86_64_nativesdk: \
> no package provides /usr/bin/python
>
There is a different problem, these should be using /usr/bin/env python
not /usr/bin/python. Since the nativesdk ships with a python binary to
ensure that we have a correct and known version of python to work with.
What every is getting packaged with /usr/bin/python needs to be fixed.
> Just like perl, we also need to add python to INSTALL_PROVIDESNAME_RPM
> list to fix this issue.
>
perl is different, we don't care so much about perl's version as we do
with python, perl is more forgiving.
> The following changes since commit 102bf5e0f640fe85068452a42b85077f1c81e0c9:
>
> build-appliance: Update SRCREV for release (2013-10-08 16:33:43 +0100)
>
> are available in the git repository at:
>
> git://git.pokylinux.org/poky-contrib wenzong/nativesdk-ignore-python
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/nativesdk-ignore-python
>
> Wenzong Fan (1):
> populate_sdk_rpm: add python to nativesdk INSTALL_PROVIDESNAME_RPM
> list
>
> meta/classes/populate_sdk_rpm.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
prev parent reply other threads:[~2013-10-16 21:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-11 10:06 [PATCH 0/1] populate_sdk_rpm: add python to nativesdk INSTALL_PROVIDESNAME_RPM list wenzong.fan
2013-10-11 10:06 ` [PATCH 1/1] " wenzong.fan
2013-10-16 21:26 ` Saul Wold [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=525F049D.2090905@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=wenzong.fan@windriver.com \
/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 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.