Yocto Bitbake ERROR: OE-core's config sanity checker detected a potential misconfiguration.

Two Related Issues
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.

1. Issue :
Yocto bitbake error : After the build, an error occurs when the existing(default) path is changed (if the user changes it directly or because of account changes).

$ bitbake bbexample
ERROR:  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:

    Error, TMPDIR has changed location. You need to either move it back to /home/test/poky/build/tmp or rebuild


Solve:
$ cd ~/poky/build/tmp

Modify path and save
$ vi saved_tmpdir

bitbake
$ bitbake bbexample

Success!


2. Issue :
$ bitbake core-image-minimal
WARNING: Host distribution "Ubuntu-20.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
ERROR:  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:

    Fetcher failure for URL: 'https://eula-downloads.yoctoproject.org/index.php'. URL https://eula-downloads.yoctoproject.org/index.php doesn't work. Please ensure your network is configured correctly.


Solve :
$ touch conf/sanity.conf
(change file timestamp with current time)


Success!


#Yocto #Yocto Error #BitBake #Change account #Ubuntu #Linux

No comments:

Post a Comment

Apartment Buying Guide 2025: Shocking Red Flags You Should NEVER Ignore!

 🏙️ Apartment Buying Guide 2025: Shocking Red Flags You Should NEVER Ignore! 🚨 Are you thinking about buying an apartment in 2025? 🏢  It’...