DISTRO_FEATURES not working

Home Forums i.MX6 XBMC support DISTRO_FEATURES not working

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #546
    dan
    Guest

    Hi Stephan,

    I was trying to build the image. I followed the instructions exactly from a fresh Ubuntu 12.04 minimal install and ran into issues. First:

    builder@imx6builder:~/xbmc-bsp/build$ bitbake xbmc-image
    WARNING: Unable to get checksum for weston SRC_URI entry weston.sh: file could not be found#################################################################                                | ETA:  00:00:46
    WARNING: Unable to get checksum for linux-boundary SRC_URI entry defconfig: file could not be found###################################################################################      | ETA:  00:00:08
    Parsing recipes: 100% |#####################################################################################################################################################################| Time: 00:04:00
    Parsing of 1437 .bb files complete (0 cached, 1437 parsed). 1831 targets, 135 skipped, 0 masked, 0 errors.
    WARNING: No bb files matched BBFILE_PATTERN_networking-layer '^/home/builder/xbmc-bsp/sources/meta-openembedded/meta-networking//'
    NOTE: Resolving any missing task queue dependencies
    NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
    NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
    ERROR: Nothing PROVIDES 'virtual/libx11' (but /home/builder/xbmc-bsp/sources/poky/meta/recipes-support/consolekit/consolekit_0.4.6.bb DEPENDS on or otherwise requires it)
    ERROR: nativesdk-libx11 PROVIDES virtual/libx11 but was skipped: 'x11' not in DISTRO_FEATURES
    ERROR: libx11-diet PROVIDES virtual/libx11 but was skipped: 'x11' not in DISTRO_FEATURES
    ERROR: libx11 PROVIDES virtual/libx11 but was skipped: 'x11' not in DISTRO_FEATURES
    NOTE: Runtime target 'consolekit' is unbuildable, removing...
    MACHINE = 'wandboard-quad'
    Missing or unbuildable dependency chain was: ['consolekit', 'virtual/libx11']
    NOTE: Runtime target 'mpd' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['mpd', 'pulseaudio', 'consolekit', 'virtual/libx11']
    ERROR: Required build target 'xbmc-image' has no buildable providers.
    Missing or unbuildable dependency chain was: ['xbmc-image', 'mpd', 'pulseaudio', 'consolekit', 'virtual/libx11']

    So I added x11 to DISTRO_FEATURES_DEFAULT in conf/local.conf. This got things a little further. Next I got this error:

    builder@imx6builder:~/xbmc-bsp/build$ bitbake xbmc-image
    Loading cache: 100% |#######################################################################################################################################################################| ETA:  00:00:00
    Loaded 134 entries from dependency cache.
    WARNING: Unable to get checksum for weston SRC_URI entry weston.sh: file could not be found###############################################################                                  | ETA:  00:00:25
    WARNING: Unable to get checksum for linux-boundary SRC_URI entry defconfig: file could not be found######################################################################################   | ETA:  00:00:01
    Parsing recipes: 100% |#####################################################################################################################################################################| Time: 00:02:11
    Parsing of 1437 .bb files complete (118 cached, 1319 parsed). 1831 targets, 67 skipped, 0 masked, 0 errors.
    WARNING: No bb files matched BBFILE_PATTERN_networking-layer '^/home/builder/xbmc-bsp/sources/meta-openembedded/meta-networking//'
    NOTE: Resolving any missing task queue dependencies
    NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
    NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
    ERROR: Nothing PROVIDES 'mesa' (but /home/builder/xbmc-bsp/sources/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bb DEPENDS on or otherwise requires it)
    ERROR: mesa was skipped: missing required distro feature ['opengl'] (not in DISTRO_FEATURES)
    ERROR: mesa was skipped: missing required distro feature ['opengl'] (not in DISTRO_FEATURES)
    NOTE: Runtime target 'xbmc-nm-addon' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['xbmc-nm-addon', 'xbmc', 'virtual/libgles2', 'mesa']
    ERROR: Required build target 'xbmc-image' has no buildable providers.
    Missing or unbuildable dependency chain was: ['xbmc-image', 'xbmc-nm-addon', 'xbmc', 'virtual/libgles2', 'mesa']

    So I added opengl to the list as well. It seems to be building correctly now:

    builder@imx6builder:~/xbmc-bsp/build$ bitbake xbmc-image
    WARNING: Unable to get checksum for weston SRC_URI entry weston.sh: file could not be found################################################################### | ETA: 00:00:25
    WARNING: Unable to get checksum for linux-boundary SRC_URI entry defconfig: file could not be found###################################################################################### | ETA: 00:00:02
    Parsing recipes: 100% |#####################################################################################################################################################################| Time: 00:02:16
    Parsing of 1437 .bb files complete (0 cached, 1437 parsed). 1831 targets, 63 skipped, 0 masked, 0 errors.
    WARNING: No bb files matched BBFILE_PATTERN_networking-layer ‘^/home/builder/xbmc-bsp/sources/meta-openembedded/meta-networking//’
    NOTE: Resolving any missing task queue dependencies
    NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
    NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
    NOTE: multiple providers are available for jpeg-native (jpeg-native, libjpeg-turbo-native)
    NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native

    Build Configuration:
    BB_VERSION = “1.20.0”
    BUILD_SYS = “x86_64-linux”
    NATIVELSBSTRING = “Ubuntu-12.04”
    TARGET_SYS = “arm-poky-linux-gnueabi”
    MACHINE = “wandboard-quad”
    DISTRO = “poky”
    DISTRO_VERSION = “1.5.1”
    TUNE_FEATURES = “armv7a vfp neon callconvention-hard cortexa9”
    TARGET_FPU = “vfp-neon”
    meta
    meta-yocto = “(nobranch):aa7eb9544abe8478eed7818c74863569a51e894c”
    meta-oe = “(nobranch):40e0f371f3eb1628655c484feac0cebf810737b4”
    meta-fsl-arm = “(nobranch):bce654fbc44d931494eb8f2662ada6d57c57d9dc”
    meta-fsl-arm-extra = “(nobranch):a5c93cfa1cef3fb280d64dc8dad10ff15429fdf5”
    meta-fsl-demos = “(nobranch):5a12677ad000a926d23c444266722a778ea228a7”
    meta-stef = “(nobranch):471e8387e95b1052fe6224586c8e59e8284e94c5”

    meta-filesystems = “(nobranch):40e0f371f3eb1628655c484feac0cebf810737b4”

    #548
    hendrack
    Participant

    I had the same issue with a clean Ubuntu 12.04 install as build host. I followed the yocto documentation and installed needed packages according to http://www.yoctoproject.org/docs/1.5.1/ref-manual/ref-manual.html#required-packages-for-the-host-development-system. Gonna try a 13.04 install today.

    • This reply was modified 9 years, 3 months ago by hendrack.
    #550
    hendrack
    Participant

    Well Ubuntu 13.04 gave me a segfault after boot so I installed ye good ole Debian 7.1 with the same result as the OP:

    Parsing recipes: 100% |###################################################################################| Time: 00:01:28
    Parsing of 1437 .bb files complete (0 cached, 1437 parsed). 1831 targets, 135 skipped, 0 masked, 0 errors.
    WARNING: No bb files matched BBFILE_PATTERN_networking-layer '^/home/chris/xbmc-bsp/sources/meta-openembedded/meta-networking//'
    NOTE: Resolving any missing task queue dependencies
    NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
    NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
    ERROR: Nothing PROVIDES 'virtual/libx11' (but /home/chris/xbmc-bsp/sources/poky/meta/recipes-support/consolekit/consolekit_0.4.6.bb DEPENDS on or otherwise requires it)
    ERROR: nativesdk-libx11 PROVIDES virtual/libx11 but was skipped: 'x11' not in DISTRO_FEATURES
    ERROR: libx11-diet PROVIDES virtual/libx11 but was skipped: 'x11' not in DISTRO_FEATURES
    ERROR: libx11 PROVIDES virtual/libx11 but was skipped: 'x11' not in DISTRO_FEATURES
    NOTE: Runtime target 'consolekit' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['consolekit', 'virtual/libx11']
    NOTE: Runtime target 'mpd' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['mpd', 'pulseaudio', 'consolekit', 'virtual/libx11']
    ERROR: Required build target 'xbmc-image' has no buildable providers.
    Missing or unbuildable dependency chain was: ['xbmc-image', 'mpd', 'pulseaudio', 'consolekit', 'virtual/libx11']
    
    Summary: There were 4 WARNING messages shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
    

    On a previous try i removed the x11 dependency from consolekit and it compiled fine but fails when assembling the root_fs image with missing package dependencies that do not resolve even when I bitbake them manually.

    • This reply was modified 9 years, 3 months ago by hendrack.
    #553
    dan
    Guest

    It seems this was a bug in yocto. It is now fixed.

    #555
    stephan
    Keymaster

    Hi Dan,

    Yes you just picked the layer at the wrong time
    , the pulsaudio recipe was broken for non x11 build 4 days ago by this commit and fixed by the commit you mentioned…

    Regards
    Stephan

    #1560
    michael kors handbags youtube
    Guest

    You’ve brought up a really fantastic points , thankyou for the post.
    michael kors handbags youtube

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘i.MX6 XBMC support’ is closed to new topics and replies.