All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andrew Ellis" <ajellisuk@yahoo.co.uk>
To: Randy MacLeod <randy.macleod@windriver.com>,
	yocto@lists.yoctoproject.org
Subject: Re: [yocto] #uboot Problem compiling u-boot with bitbake
Date: Sat, 5 Dec 2020 23:20:02 +0000	[thread overview]
Message-ID: <03736a6d-5161-6031-34b0-795d5eee9a8a@yahoo.co.uk> (raw)
In-Reply-To: <93d905af-b0cc-77d7-07f1-53386e535834@windriver.com>

[-- Attachment #1: Type: text/plain, Size: 4317 bytes --]

Hi Randy

Thank you for your reply.

Doing, "sudo apt install --reinstall coreutils" fixed the problem with 
test not being found. I'm not sure why it was not on the system, but 
that error is fixed.

Unfortunately I've run into another problem when I try and run bitbake, 
the process fails witht he following error:

/ ports/linux/pseudo_wrappers.c:68:16: error: ‘__NR_renameat2’ 
undeclared (first use in this function)/
/
/

I'll take another look at that issue in the morning.


Andrew


On 05/12/2020 20:27, Randy MacLeod wrote:
> On 2020-12-05 2:59 p.m., Andrew Ellis wrote:
>> Hi Randy
>>
>> Thank you for your reply.
>>
>> I'm using Ubuntu 14.04 .
>>
>> After reading what you said about coreutils in your last message, I 
>> tried installing coreutils and got a message saying the latest 
>> version is installed. Doing "which test" doesn't yield anything. I've 
>> looked in /usr/bin/ and there is no sign of test in there.
>>
>> The version of Yocto Project I'm using is 2.5 "poky"
>>
>> Andrew
>
> Andrew,
>
> Thanks for the info about your distro and YP version.
>
> It's odd that 'test' isn't part of your coreutils install.
> https://launchpad.net/ubuntu/trusty/+package/coreutils
>
> Is it possible that you have removed it somehow?
> If so you could try:
>
> $ sudo apt install --reinstall coreutils
> or
> $ sudo apt-get install --reinstall coreutils
>
> ../Randy
>
> ||
>>
>> On 05/12/2020 18:54, Randy MacLeod wrote:
>>> On 2020-12-04 7:08 p.m., ajellisuk via lists.yoctoproject.org wrote:
>>>> Hi
>>>>
>>>> I'm trying to compile u-boot for an iMX6 board (iMX6-Q7_Plus from 
>>>> MSC technologies), but the compile process fails with the following 
>>>> output:
>>>>
>>>>     ERROR: Unable to start bitbake server
>>>>     ERROR: Last 10 lines of server log for this session
>>>> (/home/user/msc-yocto-140/msc-ldk/build/1006/bitbake-cookerdaemon.log): 
>>>>
>>>>          self.cooker = bb.cooker.BBCooker(self.configuration,
>>>>     self.featureset)
>>>>        File
>>>> "/home/user/msc-yocto-140/msc-ldk/sources/yocto.git/bitbake/lib/bb/cooker.py", 
>>>>
>>>>     line 197, in __init__
>>>>          self.initConfigurationData()
>>>>        File
>>>> "/home/user/msc-yocto-140/msc-ldk/sources/yocto.git/bitbake/lib/bb/cooker.py", 
>>>>
>>>>     line 356, in initConfigurationData
>>>>          self.databuilder.parseBaseConfiguration()
>>>>        File
>>>> "/home/user/msc-yocto-140/msc-ldk/sources/yocto.git/bitbake/lib/bb/cookerdata.py", 
>>>>
>>>>     line 317, in parseBaseConfiguration
>>>>          raise bb.BBHandledException
>>>>     bb.BBHandledException
>>>>     ERROR: The following required tools (as specified by HOSTTOOLS)
>>>>     appear to be unavailable in PATH, please install them in order to
>>>>     proceed:
>>>>        test
>>>>
>>>>     ERROR: bitbake u-boot-imx -c compile –f
>>>>
>>>> I have had errors like this before, and have been to resolve by 
>>>> installing the missing tools indicated. The problem that I've got 
>>>> here is that I'm not sure what "test" is referring to. using, "sudo 
>>>> apt-get install test", doesn't work.
>>>>
>>>> Can someone please give me a hint as to what the problem is here.
>>>
>>> Hi Andrew,
>>>
>>> It seems odd that you don't have coreutils/test already...
>>> Test is part of coreutils on Ubuntu-20.04:
>>>
>>> $ which test
>>> /usr/bin/test
>>> $ dpkg -S /usr/bin/test
>>> coreutils: /usr/bin/test
>>>
>>> What distro are you using for your build machine and
>>> have you installed the suggested packages?
>>> See the quick start guide and links therein:
>>>
>>> https://docs.yoctoproject.org/brief-yoctoprojectqs/brief-yoctoprojectqs.html 
>>>
>>>
>>> https://docs.yoctoproject.org/ref-manual/ref-system-requirements.html#supported-linux-distributions 
>>>
>>>
>>> Also, if you could mention the layers and version of YP code
>>> that you are using that could be helpful in general although
>>> for this issue it shouldn't matter.
>>>
>>>
>>> ../Randy
>>>
>>>
>>>>
>>>> Thanks in advance
>>>>
>>>> Andrew
>>>>
>>>>
>>>> 
>>>>
>>>
>>>
>>
>
> -- 
> # Randy MacLeod
> # Wind River Linux



[-- Attachment #2: Type: text/html, Size: 7494 bytes --]

  reply	other threads:[~2020-12-05 23:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-05  0:08 #uboot Problem compiling u-boot with bitbake ajellisuk
2020-12-05 18:54 ` [yocto] " Randy MacLeod
2020-12-05 19:59   ` ajellisuk
2020-12-05 20:27     ` Randy MacLeod
2020-12-05 23:20       ` Andrew Ellis [this message]
2020-12-06 16:56         ` Randy MacLeod
2020-12-07 22:05           ` Andrew Ellis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=03736a6d-5161-6031-34b0-795d5eee9a8a@yahoo.co.uk \
    --to=ajellisuk@yahoo.co.uk \
    --cc=randy.macleod@windriver.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.