Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] randrproto: set ALLOW_EMPTY
@ 2016-07-06  8:09 Yi Zhao
  2016-07-06  8:09 ` [PATCH 1/1] " Yi Zhao
  0 siblings, 1 reply; 5+ messages in thread
From: Yi Zhao @ 2016-07-06  8:09 UTC (permalink / raw)
  To: openembedded-core; +Cc: yue.tao


The following changes since commit 5c11e365e19357f721c49d076971567e7b64b61b:

  lib/oeqa: add Galculator to SDK and runtime tests (2016-07-01 16:22:48 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib yzhao/fix-randrproto
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=yzhao/fix-randrproto

Yue Tao (1):
  randrproto: set ALLOW_EMPTY

 meta/recipes-graphics/xorg-proto/randrproto_1.5.0.bb | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.7.4



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

* [PATCH 1/1] randrproto: set ALLOW_EMPTY
  2016-07-06  8:09 [PATCH 0/1] randrproto: set ALLOW_EMPTY Yi Zhao
@ 2016-07-06  8:09 ` Yi Zhao
  2016-07-06  8:41   ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Yi Zhao @ 2016-07-06  8:09 UTC (permalink / raw)
  To: openembedded-core; +Cc: yue.tao

From: Yue Tao <Yue.Tao@windriver.com>

When adding package randrproto to an image with
IMAGE_INSTALL_append = " randrproto", an error occurs:

$ bitbake core-image-sato
[snip]
ERROR: randrproto not found in the base feeds (qemux86 i586 x86 noarch any all).
[snip]

Set ALLOW_EMPTY to avoid this issue.

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 meta/recipes-graphics/xorg-proto/randrproto_1.5.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-graphics/xorg-proto/randrproto_1.5.0.bb b/meta/recipes-graphics/xorg-proto/randrproto_1.5.0.bb
index b59e525..22c7f81 100644
--- a/meta/recipes-graphics/xorg-proto/randrproto_1.5.0.bb
+++ b/meta/recipes-graphics/xorg-proto/randrproto_1.5.0.bb
@@ -17,3 +17,5 @@ BBCLASSEXTEND = "native nativesdk"
 
 SRC_URI[md5sum] = "a46765c8dcacb7114c821baf0df1e797"
 SRC_URI[sha256sum] = "4c675533e79cd730997d232c8894b6692174dce58d3e207021b8f860be498468"
+
+ALLOW_EMPTY_${PN} = "1"
-- 
2.7.4



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

* Re: [PATCH 1/1] randrproto: set ALLOW_EMPTY
  2016-07-06  8:09 ` [PATCH 1/1] " Yi Zhao
@ 2016-07-06  8:41   ` Burton, Ross
  2016-07-06  8:54     ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2016-07-06  8:41 UTC (permalink / raw)
  To: Yi Zhao; +Cc: Yue Tao, OE-core

[-- Attachment #1: Type: text/plain, Size: 694 bytes --]

On 6 July 2016 at 09:09, Yi Zhao <yi.zhao@windriver.com> wrote:

> When adding package randrproto to an image with
> IMAGE_INSTALL_append = " randrproto", an error occurs:
>
> $ bitbake core-image-sato
> [snip]
> ERROR: randrproto not found in the base feeds (qemux86 i586 x86 noarch any
> all).
> [snip]
>

No.

$ oe-pkgdata-util list-pkgs -rp randrproto
randrproto-dbg
randrproto-dev
randrproto-doc

The answer here is to not add randrproto to an image, as the package
doesn't exist.  Especially when this is whack-a-mole:

$ oe-pkgdata-util list-pkgs -rp renderproto
renderproto-dev
renderproto-dbg
renderproto-doc

(repeat for every recipe in x11-proto)

Ross

[-- Attachment #2: Type: text/html, Size: 1639 bytes --]

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

* Re: [PATCH 1/1] randrproto: set ALLOW_EMPTY
  2016-07-06  8:41   ` Burton, Ross
@ 2016-07-06  8:54     ` Richard Purdie
  2016-07-06  9:16       ` Yi Zhao
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2016-07-06  8:54 UTC (permalink / raw)
  To: Burton, Ross, Yi Zhao; +Cc: Yue Tao, OE-core

On Wed, 2016-07-06 at 09:41 +0100, Burton, Ross wrote:
> 
> On 6 July 2016 at 09:09, Yi Zhao <yi.zhao@windriver.com> wrote:
> > When adding package randrproto to an image with
> > IMAGE_INSTALL_append = " randrproto", an error occurs:
> > 
> > $ bitbake core-image-sato
> > [snip]
> > ERROR: randrproto not found in the base feeds (qemux86 i586 x86
> > noarch any all).
> > [snip]
> > 
> No.
> 
> $ oe-pkgdata-util list-pkgs -rp randrproto
> randrproto-dbg
> randrproto-dev
> randrproto-doc
> 
> The answer here is to not add randrproto to an image, as the package
> doesn't exist.  Especially when this is whack-a-mole:
> 
> $ oe-pkgdata-util list-pkgs -rp renderproto
> renderproto-dev
> renderproto-dbg
> renderproto-doc
> 
> (repeat for every recipe in x11-proto)

Agreed. We've seen patches like this before, we rejected them last time
and we will do again.

Cheers,

Richard


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

* Re: [PATCH 1/1] randrproto: set ALLOW_EMPTY
  2016-07-06  8:54     ` Richard Purdie
@ 2016-07-06  9:16       ` Yi Zhao
  0 siblings, 0 replies; 5+ messages in thread
From: Yi Zhao @ 2016-07-06  9:16 UTC (permalink / raw)
  To: Richard Purdie, Burton, Ross; +Cc: Yue Tao, OE-core

Hi Ross & Richard,

So that's a wrong usage for adding this package to an image.
Thank you for the explanation.

Yi


在 2016年07月06日 16:54, Richard Purdie 写道:
> On Wed, 2016-07-06 at 09:41 +0100, Burton, Ross wrote:
>> On 6 July 2016 at 09:09, Yi Zhao <yi.zhao@windriver.com> wrote:
>>> When adding package randrproto to an image with
>>> IMAGE_INSTALL_append = " randrproto", an error occurs:
>>>
>>> $ bitbake core-image-sato
>>> [snip]
>>> ERROR: randrproto not found in the base feeds (qemux86 i586 x86
>>> noarch any all).
>>> [snip]
>>>
>> No.
>>
>> $ oe-pkgdata-util list-pkgs -rp randrproto
>> randrproto-dbg
>> randrproto-dev
>> randrproto-doc
>>
>> The answer here is to not add randrproto to an image, as the package
>> doesn't exist.  Especially when this is whack-a-mole:
>>
>> $ oe-pkgdata-util list-pkgs -rp renderproto
>> renderproto-dev
>> renderproto-dbg
>> renderproto-doc
>>
>> (repeat for every recipe in x11-proto)
> Agreed. We've seen patches like this before, we rejected them last time
> and we will do again.
>
> Cheers,
>
> Richard
>



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

end of thread, other threads:[~2016-07-06  9:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-06  8:09 [PATCH 0/1] randrproto: set ALLOW_EMPTY Yi Zhao
2016-07-06  8:09 ` [PATCH 1/1] " Yi Zhao
2016-07-06  8:41   ` Burton, Ross
2016-07-06  8:54     ` Richard Purdie
2016-07-06  9:16       ` Yi Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox