All of lore.kernel.org
 help / color / mirror / Atom feed
* PREFERRED_VERSION_db-native doesn't work?
@ 2018-04-20  9:42 Mauro Ziliani
  2018-04-26  6:57 ` Robert Yang
  0 siblings, 1 reply; 3+ messages in thread
From: Mauro Ziliani @ 2018-04-20  9:42 UTC (permalink / raw)
  To: bitbake-devel

Hi all

I'm Mauro from Parma, Italy.

I hope this is not OT from this mailing-list.


I'm working with Krogoth 15.0.3.

When I bitbake core-image-minimal bitbake fails compiling db-native 
recipe because it can't apply a patch

This is the error.

ERROR: db-native-6.0.30-r0 do_patch: Command Error: 'quilt --quiltrc 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/x86_64-linux/etc/quiltrc 
push' exited with 1  Output:
Applying patch fix-parallel-build.patch
patching file Makefile.in
Hunk #1 FAILED at 1034.
1 out of 1 hunk FAILED -- rejects in file Makefile.in
Patch fix-parallel-build.patch can be reverse-applied

So I try to compile against db-native_5.3.28 setting 
PREFERRED_VERSION_db-native = "5.%" in my conf/local.conf.


But bitbake keep on running db-native_6.0.30-r0 recipe.


Why?


Best regards,

    Mauro



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

* Re: PREFERRED_VERSION_db-native doesn't work?
  2018-04-20  9:42 PREFERRED_VERSION_db-native doesn't work? Mauro Ziliani
@ 2018-04-26  6:57 ` Robert Yang
  2018-04-26  9:53   ` Mauro Ziliani
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Yang @ 2018-04-26  6:57 UTC (permalink / raw)
  To: Mauro Ziliani, bitbake-devel


Hi,

On 04/20/2018 05:42 PM, Mauro Ziliani wrote:
> Hi all
> 
> I'm Mauro from Parma, Italy.
> 
> I hope this is not OT from this mailing-list.
> 
> 
> I'm working with Krogoth 15.0.3.
> 
> When I bitbake core-image-minimal bitbake fails compiling db-native recipe 
> because it can't apply a patch
> 
> This is the error.
> 
> ERROR: db-native-6.0.30-r0 do_patch: Command Error: 'quilt --quiltrc 
> /media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/x86_64-linux/etc/quiltrc 
> push' exited with 1  Output:
> Applying patch fix-parallel-build.patch
> patching file Makefile.in
> Hunk #1 FAILED at 1034.
> 1 out of 1 hunk FAILED -- rejects in file Makefile.in
> Patch fix-parallel-build.patch can be reverse-applied
> 
> So I try to compile against db-native_5.3.28 setting PREFERRED_VERSION_db-native 
> = "5.%" in my conf/local.conf.

Maybe it is because of:

meta/conf/distro/include/default-versions.inc:PREFERRED_VERSION_db-native = 
"${@incompatible_license_contains('AGPL-3.0', '5.%', '6.%', d)}"

Try:
PREFERRED_VERSION_db-native_forcevariable = "5.%"

// Robert

> 
> 
> But bitbake keep on running db-native_6.0.30-r0 recipe.
> 
> 
> Why?
> 
> 
> Best regards,
> 
>     Mauro
> 


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

* Re: PREFERRED_VERSION_db-native doesn't work?
  2018-04-26  6:57 ` Robert Yang
@ 2018-04-26  9:53   ` Mauro Ziliani
  0 siblings, 0 replies; 3+ messages in thread
From: Mauro Ziliani @ 2018-04-26  9:53 UTC (permalink / raw)
  To: Robert Yang, bitbake-devel

Thank you for the idea.
I've not investigate deepest into allrecipes includes.


I'll try it.

Regards,
    Mauro

Il 26/04/2018 08:57, Robert Yang ha scritto:
>
> Hi,
>
> On 04/20/2018 05:42 PM, Mauro Ziliani wrote:
>> Hi all
>>
>> I'm Mauro from Parma, Italy.
>>
>> I hope this is not OT from this mailing-list.
>>
>>
>> I'm working with Krogoth 15.0.3.
>>
>> When I bitbake core-image-minimal bitbake fails compiling db-native 
>> recipe because it can't apply a patch
>>
>> This is the error.
>>
>> ERROR: db-native-6.0.30-r0 do_patch: Command Error: 'quilt --quiltrc 
>> /media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/x86_64-linux/etc/quiltrc 
>> push' exited with 1  Output:
>> Applying patch fix-parallel-build.patch
>> patching file Makefile.in
>> Hunk #1 FAILED at 1034.
>> 1 out of 1 hunk FAILED -- rejects in file Makefile.in
>> Patch fix-parallel-build.patch can be reverse-applied
>>
>> So I try to compile against db-native_5.3.28 setting 
>> PREFERRED_VERSION_db-native = "5.%" in my conf/local.conf.
>
> Maybe it is because of:
>
> meta/conf/distro/include/default-versions.inc:PREFERRED_VERSION_db-native 
> = "${@incompatible_license_contains('AGPL-3.0', '5.%', '6.%', d)}"
>
> Try:
> PREFERRED_VERSION_db-native_forcevariable = "5.%"
>
> // Robert
>
>>
>>
>> But bitbake keep on running db-native_6.0.30-r0 recipe.
>>
>>
>> Why?
>>
>>
>> Best regards,
>>
>>     Mauro
>>



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

end of thread, other threads:[~2018-04-26 10:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-20  9:42 PREFERRED_VERSION_db-native doesn't work? Mauro Ziliani
2018-04-26  6:57 ` Robert Yang
2018-04-26  9:53   ` Mauro Ziliani

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.