All of lore.kernel.org
 help / color / mirror / Atom feed
* Unable to add gdbserver to the Yocto build #yocto
@ 2021-08-12 14:28 ashutosh.naik
  2021-08-12 14:53 ` [yocto] " Alexander Kanavin
  2021-08-13  1:16 ` Khem Raj
  0 siblings, 2 replies; 7+ messages in thread
From: ashutosh.naik @ 2021-08-12 14:28 UTC (permalink / raw)
  To: yocto

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

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: 1168 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [yocto] Unable to add gdbserver to the Yocto build #yocto
  2021-08-12 14:28 Unable to add gdbserver to the Yocto build #yocto ashutosh.naik
@ 2021-08-12 14:53 ` Alexander Kanavin
  2021-08-12 15:24   ` ashutosh.naik
  2021-08-13  1:16 ` Khem Raj
  1 sibling, 1 reply; 7+ messages in thread
From: Alexander Kanavin @ 2021-08-12 14:53 UTC (permalink / raw)
  To: ashutosh.naik; +Cc: Yocto-mailing-list

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

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: 1574 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [yocto] Unable to add gdbserver to the Yocto build #yocto
  2021-08-12 14:53 ` [yocto] " Alexander Kanavin
@ 2021-08-12 15:24   ` ashutosh.naik
  2021-08-12 15:44     ` Alexander Kanavin
  0 siblings, 1 reply; 7+ messages in thread
From: ashutosh.naik @ 2021-08-12 15:24 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: Yocto-mailing-list

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

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: 2250 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [yocto] Unable to add gdbserver to the Yocto build #yocto
  2021-08-12 15:24   ` ashutosh.naik
@ 2021-08-12 15:44     ` Alexander Kanavin
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Kanavin @ 2021-08-12 15:44 UTC (permalink / raw)
  To: Ashutosh Naik; +Cc: Yocto-mailing-list

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [yocto] Unable to add gdbserver to the Yocto build #yocto
  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-13  1:16 ` Khem Raj
  2021-08-13 11:31   ` Ashutosh Naik
  1 sibling, 1 reply; 7+ messages in thread
From: Khem Raj @ 2021-08-13  1:16 UTC (permalink / raw)
  To: ashutosh.naik, yocto



On 8/12/21 7:28 AM, 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

whats your target architecture ? sometimes gdbserver port may not be 
available for a given arch.

> Thanks
> Ash
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [yocto] Unable to add gdbserver to the Yocto build #yocto
  2021-08-13  1:16 ` Khem Raj
@ 2021-08-13 11:31   ` Ashutosh Naik
  2021-08-13 11:38     ` Alexander Kanavin
  0 siblings, 1 reply; 7+ messages in thread
From: Ashutosh Naik @ 2021-08-13 11:31 UTC (permalink / raw)
  To: Khem Raj; +Cc: Yocto-mailing-list

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

On Fri, Aug 13, 2021 at 2:16 AM Khem Raj <raj.khem@gmail.com> wrote:

>
>
> whats your target architecture ? sometimes gdbserver port may not be
> available for a given arch.
>
>
> Hi Alexander and KhemRaj,

I am using the Yocto "thud" version which has long term support.

The architecture used is aarch64-oe-linux

The gdb directory or executables were not created in
tmp/work/.../gdb/deploy-*/ (the gdb WORKDIR), nor in tmp/deploy/...
(packages deploy dir), and neither in tmp/work/..../machine-image/
(image-specific package repo), although the compilation went through
successfully.

Could it be that the architecture "aarch64-oe-linux" is not supported for
gdbserver in Yocto "thud" ?

Regards
Ash

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [yocto] Unable to add gdbserver to the Yocto build #yocto
  2021-08-13 11:31   ` Ashutosh Naik
@ 2021-08-13 11:38     ` Alexander Kanavin
  0 siblings, 0 replies; 7+ messages in thread
From: Alexander Kanavin @ 2021-08-13 11:38 UTC (permalink / raw)
  To: Ashutosh Naik; +Cc: Khem Raj, Yocto-mailing-list

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

Thud has not been supported for a very long time actually. To really find
out what is happening, it would help if you make an archive of
tmp/work/../gdb/ and put it somewhere for inspection.

Alex

On Fri, 13 Aug 2021 at 13:32, Ashutosh Naik <ashutosh.naik@gmail.com> wrote:

>
>
> On Fri, Aug 13, 2021 at 2:16 AM Khem Raj <raj.khem@gmail.com> wrote:
>
>>
>>
>> whats your target architecture ? sometimes gdbserver port may not be
>> available for a given arch.
>>
>>
>> Hi Alexander and KhemRaj,
>
> I am using the Yocto "thud" version which has long term support.
>
> The architecture used is aarch64-oe-linux
>
> The gdb directory or executables were not created in
> tmp/work/.../gdb/deploy-*/ (the gdb WORKDIR), nor in tmp/deploy/...
> (packages deploy dir), and neither in tmp/work/..../machine-image/
> (image-specific package repo), although the compilation went through
> successfully.
>
> Could it be that the architecture "aarch64-oe-linux" is not supported for
> gdbserver in Yocto "thud" ?
>
> Regards
> Ash
>
>
>
> 
>
>

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-08-13 11:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-08-13  1:16 ` Khem Raj
2021-08-13 11:31   ` Ashutosh Naik
2021-08-13 11:38     ` Alexander Kanavin

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.