5 Replies Latest reply on May 12, 2015 2:59 PM by intel_jassowski

    problem with bitbake build process in release 2.1 BSP User's Guide

    nniles

      The process for building edison-image using bitbake (section 2 of the new BSP User's Guide: http://download.intel.com/support/edison/sb/edisonbsp_ug_331188007.pdf) is broken.  The process for using make (section 3) works, at least, but it's nice to have easy direct access to bitbake.

       

      setup.sh does not put the right information in bblayers.conf or local.conf in the build directory.

       

      Here is a log:

       

      nate@EdisonDev:~/Edison$ tar xf edison-src-ww18-15.tgz -C tmpdir
      nate@EdisonDev:~/Edison$ cd tmpdir/edison-src/
      nate@EdisonDev:~/Edison/tmpdir/edison-src$ ./meta-intel-edison/setup.sh
      We are building in external mode
      Cloning into bare repository 'poky-mirror.git'...
      remote: Counting objects: 270091, done.
      remote: Compressing objects: 100% (66785/66785), done.
      remote: Total 270091 (delta 198314), reused 269590 (delta 197834)
      Receiving objects: 100% (270091/270091), 110.71 MiB | 5.53 MiB/s, done.
      Resolving deltas: 100% (198314/198314), done.
      Cloning into bare repository 'meta-mingw-mirror.git'...
      remote: Counting objects: 228, done.
      remote: Compressing objects: 100% (173/173), done.
      remote: Total 228 (delta 89), reused 176 (delta 37)
      Receiving objects: 100% (228/228), 57.64 KiB, done.
      Resolving deltas: 100% (89/89), done.
      Cloning into bare repository 'meta-darwin-mirror.git'...
      remote: Counting objects: 574, done.
      remote: Compressing objects: 100% (326/326), done.
      remote: Total 574 (delta 242), reused 521 (delta 189)
      Receiving objects: 100% (574/574), 6.90 MiB | 3.46 MiB/s, done.
      Resolving deltas: 100% (242/242), done.
      Cloning into bare repository 'meta-intel-iot-middleware-mirror.git'...
      remote: Counting objects: 679, done.
      remote: Compressing objects: 100% (360/360), done.
      remote: Total 679 (delta 284), reused 627 (delta 234)
      Receiving objects: 100% (679/679), 5.56 MiB | 2.31 MiB/s, done.
      Resolving deltas: 100% (284/284), done.
      Cloning Poky in the /home/nate/Edison/tmpdir/edison-src/poky directory
      Cloning into 'poky'...
      done.
      Note: checking out 'yocto-1.6.1'.
      
      
      You are in 'detached HEAD' state. You can look around, make experimental
      changes and commit them, and you can discard any commits you make in this
      state without impacting any branches by performing another checkout.
      
      
      If you want to create a new branch to retain commits you create, you may
      do so (now or later) by using -b with the checkout command again. Example:
      
      
        git checkout -b new_branch_name
      
      
      HEAD is now at c4f1f0f... build-appliance-image: Update to daisy head revision
      Cloning Mingw layer to /home/nate/Edison/tmpdir/edison-src/poky/meta-mingw directory from local cache
      fatal: repository '${TOPDIR}/downloads/meta-mingw-mirror.git' does not exist
      nate@EdisonDev:~/Edison/tmpdir/edison-src$ source poky/oe-init-build-env
      You had no conf/local.conf file. This configuration file has therefore been
      created for you with some default values. You may wish to edit it to use a
      different MACHINE (target hardware) or enable parallel build options to take
      advantage of multiple cores for example. See the file for more information as
      common configuration options are commented.
      
      
      The Yocto Project has extensive documentation about OE including a reference manual
      which can be found at:
          http://yoctoproject.org/documentation
      
      
      For more information about OpenEmbedded see their website:
          http://www.openembedded.org/
      
      
      You had no conf/bblayers.conf file. The configuration file has been created for
      you with some default values. To add additional metadata layers into your
      configuration please add entries to this file.
      
      
      The Yocto Project has extensive documentation about OE including a reference manual
      which can be found at:
          http://yoctoproject.org/documentation
      
      
      For more information about OpenEmbedded see their website:
          http://www.openembedded.org/
      
      
      
      
      
      
      ### Shell environment set up for builds. ###
      
      
      You can now run 'bitbake <target>'
      
      
      Common targets are:
          core-image-minimal
          core-image-sato
          meta-toolchain
          adt-installer
          meta-ide-support
      
      
      You can also run generated qemu images with a command like 'runqemu qemux86'
      nate@EdisonDev:~/Edison/tmpdir/edison-src/build$ bitbake edison-image
      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:
      
      
          libsdl-native is set to be ASSUME_PROVIDED but sdl-config can't be found in PATH. Please either install it, or configure qemu not to require sdl.
      ERROR: Execution of event handler 'check_sanity_eventhandler' failed
      ERROR: Command execution failed: Exited with 1
      
      
      Summary: There were 3 ERROR messages shown, returning a non-zero exit code.