[yocto] build error pandaboard on master

Gary Thomas gary at mlbassoc.com
Fri Aug 3 07:06:53 PDT 2012


On 2012-08-03 07:59, Edward Vidal wrote:
> Hello
>
> On 2012-08-03 07:19, Edward Vidal wrote:
>>/  Hello,
> />/  I too am interested in the pandaboard with yacto.
> />/  I added meta-ti to conf/bblayes.conf
> />/  I have tried master and git branch 30fb40.
> />/  Did you have to make any changes to meta-ti?
> />/  I get the following
> />/    MACHINE=pandaboard bitbake -v core-image-sato
> />/  Pseudo is not present but is required, building this first before the main build
> />/  DEBUG: Removed the following variables from the environment: LESSOPEN, CVS_RSH, XDG_SEAT, XDG_VTNR, CCACHE_HASHDIR, SHLVL, HISTSIZE, BBFETCH2, XDG_RUNTIME_DIR,
> />/  QT_GRAPHICSSYSTEM_CHECKED, XDG_SESSION_ID, BUILDDIR, HOSTNAME, HISTCONTROL, MAIL, LS_COLORS
> />/  DEBUG: Found bblayers.conf (/home/ame/poky/build/conf/bblayers.conf)
> />/  DEBUG: LOAD /home/ame/poky/build/conf/bblayers.conf
> />/  DEBUG: Adding layer /home/vidal/poky/meta
> />/  DEBUG: LOAD /home/vidal/poky/meta/conf/layer.conf
> />/  DEBUG: Adding layer /home/vidal/poky/meta-yocto
> />/  DEBUG: LOAD /home/vidal/poky/meta-yocto/conf/layer.conf
> />/  DEBUG: Adding layer /home/vidal/poky/meta-ti
> />/  DEBUG: LOAD /home/vidal/poky/meta-ti/conf/layer.conf
> />/  ERROR: Unable to parse /home/vidal/poky/meta-ti/conf/layer.conf: [Errno 2] No such file or directory: '/home/vidal/poky/meta-ti/conf/layer.conf'
> />/  Any help will be appreciated.
> />/  thanks
> /
> Did you actually download meta-ti into your /home/vidal/poky tree?
>
> Yes I used the commands
> git clone  git://github.com/Angstrom-distribution/meta-ti.git <http://github.com/Angstrom-distribution/meta-ti.git>
> cd meta-ti
> git branch 30fb40
> cd ../meta-ti
> git log
> commit d3ff5630a74640f46ca2ceaef1aa1baa86b9b795
> Author: Andreas Müller <schnitzeltony at googlemail.com <mailto:schnitzeltony at googlemail.com>>
> Date:   Mon Jul 9 14:35:36 2012 +0200
>
>      netbase: follow oe-core to v5.0
>
>      Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com <mailto:schnitzeltony at googlemail.com>>
>      Signed-off-by: Denys Dmytriyenko <denys at ti.com <mailto:denys at ti.com>>
>
> commit 30fb40ebc13614a74c2e237927c60ac43e01d1bc
> Author: Andreas Müller <schnitzeltony at googlemail.com <mailto:schnitzeltony at googlemail.com>>
>
> The errors above was that I was running as another user
> After fixing bblayes.conf
> MACHINE=pandaboard bitbake -v core-image-sato
> Pseudo is not present but is required, building this first before the main build
> Loading cache: 100% |###########################################| ETA:  00:00:00
> Loaded 60 entries from dependency cache.
> ERROR: This recipe does not have the LICENSE field set (cloud9-gfx-image)-:--:--
> ERROR: Unable to parse /home/ame/poky/meta-ti/recipes-misc/images/cloud9-gfx-image.bb <http://cloud9-gfx-image.bb>: Exited with "1"
> ERROR: This recipe does not have the LICENSE field set (cloud9-gnome-image)
> ERROR: This recipe does not have the LICENSE field set (cloud9-image)
> ERROR: This recipe does not have the LICENSE field set (ti-hw-bringup-image)
> ERROR: Command execution failed: Traceback (most recent call last):
>    File "/home/ame/poky/bitbake/lib/bb/command.py", line 84, in runAsyncCommand
>      self.cooker.updateCache()
>    File "/home/ame/poky/bitbake/lib/bb/cooker.py", line 1202, in updateCache
>      if not self.parser.parse_next():
>    File "/home/ame/poky/bitbake/lib/bb/cooker.py", line 1669, in parse_next
>      self.virtuals += len(result)
> UnboundLocalError: local variable 'result' referenced before assignment
>
>
> Summary: There were 6 ERROR messages shown, returning a non-zero exit code.
> git clone  git://github.com/Angstrom-distribution/meta-ti.git <http://github.com/Angstrom-distribution/meta-ti.git>
> cd meta-ti
> git branch 30fb40
> Thanks

Check the README

I normally add this to local.conf to work around these problems:
   BBMASK ?= ".*/meta-ti/recipes-(misc|bsp/formfactor)/"

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list