Open hemanth-krishna opened 8 years ago
@hemanth-krishna, I faced the same issue, when I tried to build it.
Command :- MACHINE=raspberrypi2 bitbake rpi-ui-image
ERROR: Required build target 'rpi-ui-image' has no buildable providers. Missing or unbuildable dependency chain was: ['rpi-ui-image', 'firefox']
After that I gave command to build firefox alone to get its status and got following error message
Command:- MACHINE=raspberrypi2 bitbake firefox ERROR: Nothing PROVIDES 'firefox' ERROR: firefox was skipped: Recipe is blacklisted: BROKEN: fails to build with gcc-6.
According to error message, because of gcc version, firefox recipe is skipped and it give error message "Missing or unbuildable dependency chain was: ['rpi-ui-image', 'firefox']".
To verify error, I checked default gcc version for krogoth branch and it's 5.3. So, It's not because of gcc version.
To get more details, I checked firefox recipe. In recipe, variable # PNBLACKLIST[firefox] ?= "BROKEN: fails to build with gcc-6" is used without any validation of gcc version.
# According to yocto manual:- PNBLACKLIST :- Lists recipes you do not want the OpenEmbedded build system to build. This variable works in conjunction with the blacklist class, which the recipe must inherit globally.To prevent a recipe from being built, inherit the class globally and use the variable in your local.conf file. Here is an example that prevents myrecipe from being built: INHERIT += "blacklist" PNBLACKLIST[myrecipe] = "Not supported by our organization."
This is the root cause for the issue.
Possible solutions:-
Comment following line in firefox recipe - meta-browser/recipes-mozilla/firefox/firefox_38.7.1esr.bb as we are not working with gcc-6
PNBLACKLIST[firefox] ?= "BROKEN: fails to build with gcc-6"
Build has started fine with both solutions.
` 11:29 $ MACHINE=raspberrypi2 bitbake rpi-ui-image WARNING: Host distribution "Ubuntu-16.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. Loading cache: 100% |####################################################################################################################################################################################| ETA: 00:00:00 Loaded 2 entries from dependency cache. Parsing recipes: 100% |##################################################################################################################################################################################| ETA: 00:00:00 Parsing of 1701 .bb files complete (1 cached, 1700 parsed). 2226 targets, 142 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies ERROR: Nothing RPROVIDES 'firefox' (but /home/hkrishna/devel/yocto/actvideo_rpi2/rpi2_browser_repo/rpi2_browser/meta-ui/recipes-ui-image/rpi-ui-image/rpi-ui-image.bb RDEPENDS on or otherwise requires it) ERROR: firefox was skipped: Recipe is blacklisted: BROKEN: fails to build with gcc-6 NOTE: Runtime target 'firefox' is unbuildable, removing... Missing or unbuildable dependency chain was: ['firefox'] ERROR: Required build target 'rpi-ui-image' has no buildable providers. Missing or unbuildable dependency chain was: ['rpi-ui-image', 'firefox']
Summary: There was 1 WARNING message shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code. `