[yocto] Fwd: build error pandaboard on master

Edward Vidal vidal.develone at gmail.com
Fri Aug 3 08:08:48 PDT 2012


Forwarded conversation
Subject: build error pandaboard on master
------------------------

From: *Edward Vidal* <vidal.develone at gmail.com>
Date: Fri, Aug 3, 2012 at 7:19 AM
To: yocto at yoctoproject.org


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


----------
From: *Edward Vidal* <vidal.develone at gmail.com>
Date: Fri, Aug 3, 2012 at 7:59 AM
To: yocto at yoctoproject.org


Hello


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
cd meta-ti
git branch 30fb40
cd ../meta-ti
git log
commit d3ff5630a74640f46ca2ceaef1aa1baa86b9b795
Author: Andreas Müller <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>
    Signed-off-by: Denys Dmytriyenko <denys at ti.com>

commit 30fb40ebc13614a74c2e237927c60ac43e01d1bc
Author: Andreas Müller <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: 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
cd meta-ti
git branch 30fb40
Thanks

----------
From: *Edward Vidal* <vidal.develone at gmail.com>
Date: Fri, Aug 3, 2012 at 8:37 AM
To: yocto at yoctoproject.org


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 <https://lists.yoctoproject.org/listinfo/yocto> <mailto:schnitzeltony at googlemail.com <https://lists.yoctoproject.org/listinfo/yocto>>>*
>* 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 <https://lists.yoctoproject.org/listinfo/yocto> <mailto:schnitzeltony at googlemail.com <https://lists.yoctoproject.org/listinfo/yocto>>>*>*      Signed-off-by: Denys Dmytriyenko <denys at ti.com <https://lists.yoctoproject.org/listinfo/yocto> <mailto:denys at ti.com <https://lists.yoctoproject.org/listinfo/yocto>>>*>**>* commit 30fb40ebc13614a74c2e237927c60ac43e01d1bc*>* Author: Andreas Müller <schnitzeltony at googlemail.com <https://lists.yoctoproject.org/listinfo/yocto> <mailto:schnitzeltony at googlemail.com <https://lists.yoctoproject.org/listinfo/yocto>>>*
>**>* 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)/"

I tried both
BBMASK ?= ".*/meta-ti/recipes-(misc|bsp/formfactor)/"
and BBMASK ?= ".*/meta-ti/recipes-misc" which  is in the README

I get

 MACHINE=pandaboard bitbake -v core-image-sato
Pseudo is not present but is required, building this first before the main build
Parsing recipes: 100% |#########################################| Time: 00:00:33

Parsing of 887 .bb files complete (0 cached, 887 parsed). 1165
targets, 58 skipped, 8 masked, 0 errors.
ERROR: No recipes available for:
  /home/ame/poky/meta-ti/recipes-core/netbase/netbase_5.0.bbappend
ERROR: Command execution failed: Exited with 1


Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Thanks

Does BBMASK go in the meti-ti conf or the local.conf I tried both still the
same
thnaks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120803/a3073d63/attachment.html>


More information about the yocto mailing list