[bitbake-devel] PREFERRED_VERSION_db-native doesn't work?

Mauro Ziliani mauro at faresoftware.it
Thu Apr 26 09:53:26 UTC 2018


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
>>




More information about the bitbake-devel mailing list