All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexander Kanavin" <alex.kanavin@gmail.com>
To: Ashutosh Naik <ashutosh.naik@gmail.com>
Cc: Yocto-mailing-list <yocto@lists.yoctoproject.org>
Subject: Re: [yocto] Unable to add gdbserver to the Yocto build #yocto
Date: Thu, 12 Aug 2021 17:44:31 +0200	[thread overview]
Message-ID: <CANNYZj8R6UTqX5A7Y+d3y8mUGiLHajjBr0xsyrf1AZ99t9XSgQ@mail.gmail.com> (raw)
In-Reply-To: <CAAJeOA-kry75kNMxxm=fOv3qaK_xL+ZDVrN4K5pwdK0UZZsEPg@mail.gmail.com>

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

Can you check whether the gdbserver package is in
tmp/work/.../gdb/deploy-*/ (the gdb WORKDIR), and whether it is in
tmp/deploy/... (packages deploy dir), and then whether it is in
tmp/work/..../machine-image/ (image-specific package repo)? Seems like it
gets lost at some point.

Alex

On Thu, 12 Aug 2021 at 17:24, Ashutosh Naik <ashutosh.naik@gmail.com> wrote:

> HI Alexander,
>
> Thanks for your email.
>
> The  'bitbake gdb' runs through successfully. However, I still get the
> error for gdbserver when running 'bitbake machine-image'
>
> Thanks
> Ash
>
> On Thu, Aug 12, 2021 at 3:54 PM Alexander Kanavin <alex.kanavin@gmail.com>
> wrote:
>
>> What happens when you 'bitbake gdb'?
>>
>> Alex
>>
>> On Thu, 12 Aug 2021 at 16:28, <ashutosh.naik@gmail.com> wrote:
>>
>>>
>>> I added the following to EXTRA_IMAGE_FEATURES inside my local.conf,
>>>
>>>
>>> EXTRA_IMAGE_FEATURES = "debug-tweaks tools-debug"
>>> PACKAGECONFIG_remove_pn-gdb = "readline"
>>>
>>>
>>> I also tried to add the gdbserver package explicitly by adding this to
>>> conf/local.conf:
>>>
>>>
>>> IMAGE_INSTALL_append = " gdbserver"
>>>
>>>
>>> However, the build failed with the following error:
>>>
>>>
>>> Collected errors:
>>>  * Solver encountered 1 problem(s):
>>>  * Problem 1/1:
>>>  *   - nothing provides gdbserver needed by
>>> packagegroup-core-tools-debug-1.0-r3.all
>>>  *
>>>  * Solution 1:
>>>  *   - do not ask to install a package providing
>>> packagegroup-core-tools-debug
>>>
>>>
>>> Would appreciate any help, as I am struggling with this issue for over a
>>> day
>>>
>>> Thanks
>>> Ash
>>>
>>> 
>>>
>>>

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

  reply	other threads:[~2021-08-12 15:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-12 14:28 Unable to add gdbserver to the Yocto build #yocto ashutosh.naik
2021-08-12 14:53 ` [yocto] " Alexander Kanavin
2021-08-12 15:24   ` ashutosh.naik
2021-08-12 15:44     ` Alexander Kanavin [this message]
2021-08-13  1:16 ` Khem Raj
2021-08-13 11:31   ` Ashutosh Naik
2021-08-13 11:38     ` Alexander Kanavin

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=CANNYZj8R6UTqX5A7Y+d3y8mUGiLHajjBr0xsyrf1AZ99t9XSgQ@mail.gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=ashutosh.naik@gmail.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.