Skip to contentSkip to conversation

PREFERRED_VERSION_db-native doesn't work?

DISCUSSION Mauro Ziliani 2 participants 3 messages Apr 20, 2018 – Apr 26, 2018

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi,

Quoted 13 lines · Mauro Ziliani

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.

Quoted 8 lines

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

Quoted 12 lines

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

Why?

Best regards,

   Mauro

#2 lore raw

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:

Quoted 47 lines

Hi,

Quoted 13 lines · Mauro Ziliani

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.

Quoted 8 lines

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

Quoted 12 lines

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

Why?

Best regards,

    Mauro