fsl-image-validation-imx.bb.do_build is tainted from a forced run

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

fsl-image-validation-imx.bb.do_build is tainted from a forced run

11,119 Views
santhosh2
Contributor IV

Hi,

I am getting the below error while doing yocto build, Please advice how to resolve this issues

$bitbake fsl-image-validation-imx
Loading cache: 100% |############################################################################################################| Time: 0:00:00
Loaded 3070 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-16.04"
TARGET_SYS        = "aarch64-poky-linux"
MACHINE           = "imx8qm_iwg27m"
DISTRO            = "fsl-imx-x11"
DISTRO_VERSION    = "4.9.51-mx8-beta"
TUNE_FEATURES     = "aarch64"
TARGET_FPU        = ""
meta              
meta-poky         = "HEAD:ef888dd58f431866db2472753643f3f848fece21"
meta-oe           
meta-multimedia   = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
meta-freescale    = "HEAD:05681fdf8298bb441c15135eae424c7601b07e98"
meta-freescale-3rdparty = "HEAD:e55167c3c2770c07a475342f99cc2a3a23fbfa0c"
meta-freescale-distro = "HEAD:cd5c7a2539f40004f74126e9fdf08254fd9a6390"
meta-bsp          
meta-sdk          = "HEAD:e28cadd7e50cbaeb66d18f8e68e0ffb0a81130c3"
meta-browser      = "HEAD:678706cb43fb8576ff7b88bfb612993b8542724d"
meta-gnome        
meta-networking   
meta-python       
meta-filesystems  = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
meta-qt5          = "HEAD:ff073f04109900fc07bf81e2f1df63c626caf342"

WARNING: /home/santhosh/Desktop/iwg27-release-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-validation-imx.bb.do_build is tainted from a forced run
Initialising tasks: 100% |#######################################################################################################| Time: 0:00:13
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 7548 tasks of which 7548 didn't need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.

Regards

Santhosh

0 Kudos
4 Replies

9,281 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Santhosh,

try bitbake -c cleanall and resume the build.

If the problem persist, when you force a task, the means by which we do that is adjusting (tainting) the task's signature; this is so that other tasks that depend upon that tasks also get forced to re-execute, which is almost always what you want. However,unless you want those other tasks to just spring back to the previous output on the next build, that tainted state needs to be preserved across builds, so it doesn't go away, no. The only way to get rid of it is to do a clean on the recipe e.g. bitbake -c clean zlib. I'll grant you that this is not obvious and it's arguable that the tainted state should possibly go away if the task re-executes by itself. (The idea of this being a "taint" and the need for a warning stems from the usage where you're modifying some intermediate state of the build e.g. temporary source code in the workdir, and then re-running the task with -f, in which case the result of the build is potentially not reproducible from the metadata).

Regards

1,775 Views
davehitchman1
Contributor I
I can confirm neither bitbake -c clean or bitbake -c cleanall removes the taint. Thanks for the suggestions but no, whatever the cause of this warning neither clean varients get rid of it. Later I will manually clean everything but rm -rf commands and hope that works.
0 Kudos

9,282 Views
santhosh2
Contributor IV

Hi,

I have already tried to clean and build again but still the issues remains as it is. Please find the log below

WARNING: /home/santhosh/Desktop/iwg27-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-iwg27m_4.9.51.bb.do_compile is tainted from a forced run
WARNING: /home/santhosh/Desktop/iwg27-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-iwg27m_2017.03.bb.do_compile is tainted from a forced run
WARNING: /home/santhosh/Desktop/iwg27-release-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-validation-imx.bb.do_build is tainted from a forced run
Initialising tasks: 100% |#######################################################################################################| Time: 0:00:13
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 7548 tasks of which 7548 didn't need to be rerun and all succeeded.

Regards

Santhosh Kumar S

Screenshot from 2019-03-14 16-07-31.png

0 Kudos

9,282 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

You have compiled successfully, btw don{t know what is iwg27.

Regards

0 Kudos