Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [OE-core] problem with blacklisted packages
       [not found] <1467360339-10236-1-git-send-email-ed.bartosh@linux.intel.com>
@ 2016-07-06 15:01 ` piotr.lewicki
  2016-07-06 15:23   ` Gary Thomas
  2016-07-06 15:35   ` Davis, Michael
  0 siblings, 2 replies; 4+ messages in thread
From: piotr.lewicki @ 2016-07-06 15:01 UTC (permalink / raw)
  To: openembedded-devel

Hi,
I'm having problem with some of the recipes which are blacklisted due to 
problems with compilation using GCC-6.

I wonder if there is a way to "whitelist" those packages without 
changing content of original recipe?

For now I have:

GCCVERSION = "5.%"

in my distro.conf so if a recipe is not building due to problems with 
gcc6 I simply edit the recipe and remove the line with PNBLACKLIST.

Is there a better way to deal with those problems?
Can this blacklisting depend on "GCCVERSION" ?

Example of problematic recipe : crda (from crda_3.18.bb)



Thanks,
Piotr Lewicki


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

* Re: [OE-core] problem with blacklisted packages
  2016-07-06 15:01 ` [OE-core] problem with blacklisted packages piotr.lewicki
@ 2016-07-06 15:23   ` Gary Thomas
  2016-07-06 15:35   ` Davis, Michael
  1 sibling, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2016-07-06 15:23 UTC (permalink / raw)
  To: openembedded-devel

On 2016-07-06 17:01, piotr.lewicki wrote:
> Hi,
> I'm having problem with some of the recipes which are blacklisted due to problems with compilation using GCC-6.
>
> I wonder if there is a way to "whitelist" those packages without changing content of original recipe?
>
> For now I have:
>
> GCCVERSION = "5.%"
>
> in my distro.conf so if a recipe is not building due to problems with gcc6 I simply edit the recipe and remove the line
> with PNBLACKLIST.
>
> Is there a better way to deal with those problems?
> Can this blacklisting depend on "GCCVERSION" ?
>
> Example of problematic recipe : crda (from crda_3.18.bb)
>

I asked this same question last week :-)  I agree that not everyone
is using the leading edge compilers and making those of us have to
take such pains is a bit unfair.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: [OE-core] problem with blacklisted packages
  2016-07-06 15:01 ` [OE-core] problem with blacklisted packages piotr.lewicki
  2016-07-06 15:23   ` Gary Thomas
@ 2016-07-06 15:35   ` Davis, Michael
  2016-07-07  8:50     ` piotr.lewicki
  1 sibling, 1 reply; 4+ messages in thread
From: Davis, Michael @ 2016-07-06 15:35 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

You can override the blacklist to off.  That is what I have been doing.
Put the following in your local.conf or distro conf file.
PNBLACKLIST[crda] = ""

On Wednesday, July 06, 2016 05:01:56 PM piotr. lewicki wrote:
> Hi,
> I'm having problem with some of the recipes which are blacklisted due to 
> problems with compilation using GCC-6.
> 
> I wonder if there is a way to "whitelist" those packages without 
> changing content of original recipe?
> 
> For now I have:
> 
> GCCVERSION = "5.%"
> 
> in my distro.conf so if a recipe is not building due to problems with 
> gcc6 I simply edit the recipe and remove the line with PNBLACKLIST.
> 
> Is there a better way to deal with those problems?
> Can this blacklisting depend on "GCCVERSION" ?
> 
> Example of problematic recipe : crda (from crda_3.18.bb)
> 
> 
> 
> Thanks,
> Piotr Lewicki
> 

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

* Re: [OE-core] problem with blacklisted packages
  2016-07-06 15:35   ` Davis, Michael
@ 2016-07-07  8:50     ` piotr.lewicki
  0 siblings, 0 replies; 4+ messages in thread
From: piotr.lewicki @ 2016-07-07  8:50 UTC (permalink / raw)
  To: Davis, Michael, openembedded-devel@lists.openembedded.org,
	openembedded-core

Awesome.
Then maybe some comment should be added to 
meta/classes/blacklist.bbclass for clarity.
Like this:

# * Package can be unblacklisted by setting:
#   PNBLACKLIST[pn] = ""
#


Thanks,
Piotr Lewicki


On 06.07.2016 17:35, Davis, Michael wrote:
> You can override the blacklist to off.  That is what I have been doing.
> Put the following in your local.conf or distro conf file.
> PNBLACKLIST[crda] = ""
>
> On Wednesday, July 06, 2016 05:01:56 PM piotr. lewicki wrote:
>> Hi,
>> I'm having problem with some of the recipes which are blacklisted due to
>> problems with compilation using GCC-6.
>>
>> I wonder if there is a way to "whitelist" those packages without
>> changing content of original recipe?
>>
>> For now I have:
>>
>> GCCVERSION = "5.%"
>>
>> in my distro.conf so if a recipe is not building due to problems with
>> gcc6 I simply edit the recipe and remove the line with PNBLACKLIST.
>>
>> Is there a better way to deal with those problems?
>> Can this blacklisting depend on "GCCVERSION" ?
>>
>> Example of problematic recipe : crda (from crda_3.18.bb)
>>
>>
>>
>> Thanks,
>> Piotr Lewicki



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

end of thread, other threads:[~2016-07-07  8:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1467360339-10236-1-git-send-email-ed.bartosh@linux.intel.com>
2016-07-06 15:01 ` [OE-core] problem with blacklisted packages piotr.lewicki
2016-07-06 15:23   ` Gary Thomas
2016-07-06 15:35   ` Davis, Michael
2016-07-07  8:50     ` piotr.lewicki

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