Bug 13356 - oe-core.xml in thud branch refers to wrong bitbake version
Summary: oe-core.xml in thud branch refers to wrong bitbake version
Status: RESOLVED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 5.99
Hardware: All Multiple
: Medium+ normal
Target Milestone: 2.8 M1
Assignee: David Reyna
QA Contact: Toaster default assignee
URL:
Whiteboard: also backport to Thud (2.6) and Warri...
Depends on:
Blocks:
 
Reported: 2019-05-20 22:07 UTC by Emil Melar
Modified: 2019-06-11 08:30 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emil Melar 2019-05-20 22:07:05 UTC
I have come across a problem when building an rpi image with thud in toaster (or any image really).

http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/bitbake/lib/toaster/orm/fixtures/oe-core.xml?h=thud#n56  

On line 56, you see that the ORM refers to bitbake_version_id 1, which is 1.38. It should be 4, which is 1.40. Not sure how to submit a patch.

The error is :

build rpi-basic-image :

 OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Bitbake version 1.39.1 is required and version 1.38.0 was found


After I changed the sqlite db to use bitbake_version_id 4 in "orm_release" table , the problem was fixed.
Comment 1 David Reyna 2019-06-10 00:52:36 UTC
Ports for 2.6 and 2.7 submitted upstream.
Comment 2 David Reyna 2019-06-10 00:58:34 UTC
Note: I am not submitting this for master (2.8) because Thud will fall off the list at that time, but I am forewarned about watching this non-obvious link for the future (i.e. Zeus).

This issue does not affect Warrior because the meta-information in Bitbake link "1" happened to point to the bitbake warrior branch (when sumo was replaced by warrior).
Comment 3 David Reyna 2019-06-11 08:30:41 UTC
2.6:    (Bitbake rev: f8a23ad4f8f0336470a5d5b074b7a2d02ec94631)
2.7:    (Bitbake rev: 7cda98d64693d978ad1387fed05a83aaa681e097)
master: (Bitbake rev: 7d0ab11a0d1a2510515d7ebab66b922fbfc411c3)