[MinnowBoard] Minnowboard Max Yocto wiki error?

Darren Hart dvhart at linux.intel.com
Fri Feb 13 23:29:37 UTC 2015


Yeah, you don't want to run bitbake as root (a lot of work has gone into
the Yocto Project build system so you DON'T have to do that). I suggest
checking the permissions of the various paths involved and verifying you
have the necessary access.

--
Darren

On 2/13/15, 2:58 PM, "Jack Black" <theworkaccount2 at gmail.com> wrote:

>Yes, but I just realized I needed to replace $HOME with
>/mnt/hgfs/OVMF/ since I just moved it out to the vm share. Then it
>started bitbaking.
>
>However it errored out again with the attached error log. It seems
>like permission errors (maybe due to using virtual machine filesystem
>share?) (| cpio: cannot link ./libltdl/lt_dlloader.h to
>/mnt/hgfs/OVMF/source/poky/build/tmp/work/x86_64-linux/libtool-native/2.4.
>2-r6.1/sysroot-destdir//mnt/hgfs/OVMF/source/poky/build/tmp/sysroots/x86_6
>4-linux/usr/include/./libltdl/lt_dlloader.h:
>Operation not permitted), but when I do
>sudo bitbake core-image-minimal
>it says
>sudo: bitbake: command not found
>so that doesn't seem to be a way around the error
>
>On Thu, Feb 12, 2015 at 3:53 PM, Darren Hart <dvhart at linux.intel.com>
>wrote:
>> Did you download the meta-intel layer?
>>
>> On 2/12/15 12:18 PM, Jack Black wrote:
>>> So this is the reason I didn't include the BBLAYERS line before (the
>>> below is on Ubuntu 14.10)
>>>
>>> user at ubuntu:/mnt/hgfs/OVMF/source/poky/build$ bitbake
>>>core-image-minimal
>>> ERROR: Traceback (most recent call last):
>>>   File "/mnt/hgfs/OVMF/source/poky/bitbake/lib/bb/cookerdata.py", line
>>> 163, in wrapped
>>>     return func(fn, *args)
>>>   File "/mnt/hgfs/OVMF/source/poky/bitbake/lib/bb/cookerdata.py", line
>>> 173, in parse_config_file
>>>     return bb.parse.handle(fn, data, include)
>>>   File "/mnt/hgfs/OVMF/source/poky/bitbake/lib/bb/parse/__init__.py",
>>> line 99, in handle
>>>     return h['handle'](fn, data, include)
>>>   File 
>>>"/mnt/hgfs/OVMF/source/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py
>>>",
>>> line 120, in handle
>>>     abs_fn = resolve_file(fn, data)
>>>   File "/mnt/hgfs/OVMF/source/poky/bitbake/lib/bb/parse/__init__.py",
>>> line 117, in resolve_file
>>>     raise IOError("file %s not found in %s" % (fn, bbpath))
>>> IOError: file $HOME/source/meta-intel/conf/layer.conf not found in
>>> 
>>>/mnt/hgfs/OVMF/source/poky/meta-yocto:/mnt/hgfs/OVMF/source/poky/build:/
>>>mnt/hgfs/OVMF/source/poky/meta:/mnt/hgfs/OVMF/source/poky/meta-yocto-bsp
>>>
>>> ERROR: Unable to parse $HOME/source/meta-intel/conf/layer.conf: file
>>> $HOME/source/meta-intel/conf/layer.conf not found in
>>> 
>>>/mnt/hgfs/OVMF/source/poky/meta-yocto:/mnt/hgfs/OVMF/source/poky/build:/
>>>mnt/hgfs/OVMF/source/poky/meta:/mnt/hgfs/OVMF/source/poky/meta-yocto-bsp
>>>
>>> Thoughts?
>>> (I'm running it out of this vmware shared directory because it
>>> apparently fills up the last of my HD space if I run it from within my
>>> home folder, but I got the same error when I was running it from my
>>> home folder)
>>>
>>> On Thu, Feb 12, 2015 at 2:30 PM, Darren Hart <dvhart at linux.intel.com>
>>>wrote:
>>>>
>>>>
>>>> On 2/12/15 11:15 AM, Jack Black wrote:
>>>>> Here:
>>>>> http://www.elinux.org/Minnowboard:MinnowMaxYoctoProject
>>>>> it says to do:
>>>>>
>>>>> echo 'MACHINE = "intel-core2-32"' >> conf/local.conf
>>>>>
>>>>> (note, it's ambiguous whether I should do:
>>>>> echo 'BBLAYERS += "$HOME/source/meta-intel"' >> conf/bblayers.conf
>>>>> echo 'MACHINE = "intel-core2-32"' >> conf/local.conf
>>>>> or just
>>>>> echo 'MACHINE = "intel-core2-32"' >> conf/local.conf
>>>>> So I only did the latter
>>>>> )]\
>>>>
>>>> You also need the layer added to conf/bblayers, regardless of the
>>>> machine. I'll update the wiki, thanks.
>>>>
>>>> --
>>>> Darren Hart
>>>> Intel Open Source Technology Center
>>>> _______________________________________________
>>>> elinux-MinnowBoard mailing list
>>>> elinux-MinnowBoard at lists.elinux.org
>>>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
>>
>> --
>> Darren Hart
>> Intel Open Source Technology Center
>


-- 
Darren Hart
Intel Open Source Technology Center





More information about the elinux-MinnowBoard mailing list