sanandin / manifests

Holds readme and manifest.xml
0 stars 0 forks source link

Build does not start #2

Open hemanth-krishna opened 8 years ago

hemanth-krishna commented 8 years ago

` 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. `

manbirsingh01 commented 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.

manbirsingh01 commented 8 years ago

Possible solutions:-

  1. 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"

  2. We can use stable version - jethro other than master as master is keep upgrading. Last time when we built rpi-ui-image, master was on commit - 825ea93 and in next commit - e61fc92, they blacklisted browser with message "firefox, cef3, chromium: blacklist, fails to build with gcc-6". Now we are pointing to latest master.

Build has started fine with both solutions.