All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] debian/control: Fix missing dependency to gdb
@ 2023-03-27 10:55 Florian Bezdeka
  2023-03-27 22:55 ` Jan Kiszka
  0 siblings, 1 reply; 5+ messages in thread
From: Florian Bezdeka @ 2023-03-27 10:55 UTC (permalink / raw)
  To: xenomai; +Cc: jan.kiszka, Florian Bezdeka

The xenomai testusite - part of the xenomai-runtime package - needs the
gdb binary for testing the gdb support. The dependency was missing so
running the testsuite on a fresh Debian system failed.

Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
---

Backports to all the stable branches will follow.


 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 857d8ff8f..aba59949c 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Homepage: http://www.xenomai.org/
 Package: xenomai-runtime
 Section: devel
 Architecture: amd64 arm armeb armel armhf arm64 i386
-Depends: ${shlibs:Depends}, ${misc:Depends}, psmisc, netcat
+Depends: ${shlibs:Depends}, ${misc:Depends}, psmisc, netcat, gdb
 Suggests: xenomai-kernel-source
 Replaces: xenomai
 Conflicts: xenomai
-- 
2.39.2


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

* Re: [PATCH] debian/control: Fix missing dependency to gdb
  2023-03-27 10:55 [PATCH] debian/control: Fix missing dependency to gdb Florian Bezdeka
@ 2023-03-27 22:55 ` Jan Kiszka
  2023-03-28 14:33   ` Florian Bezdeka
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2023-03-27 22:55 UTC (permalink / raw)
  To: Florian Bezdeka, xenomai

On 27.03.23 12:55, Florian Bezdeka wrote:
> The xenomai testusite - part of the xenomai-runtime package - needs the
> gdb binary for testing the gdb support. The dependency was missing so
> running the testsuite on a fresh Debian system failed.
>
> Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
> ---
>
> Backports to all the stable branches will follow.
>
>
>  debian/control | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/debian/control b/debian/control
> index 857d8ff8f..aba59949c 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -9,7 +9,7 @@ Homepage: http://www.xenomai.org/
>  Package: xenomai-runtime
>  Section: devel
>  Architecture: amd64 arm armeb armel armhf arm64 i386
> -Depends: ${shlibs:Depends}, ${misc:Depends}, psmisc, netcat
> +Depends: ${shlibs:Depends}, ${misc:Depends}, psmisc, netcat, gdb
>  Suggests: xenomai-kernel-source
>  Replaces: xenomai
>  Conflicts: xenomai

Looks like xenomai-images installed that "manually". Can be dropped once
this fix is in all stable releases.

Eventually, we should split off a testsuite package to allow installing
tools without pulling all those deps of the former...

Jan

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

* Re: [PATCH] debian/control: Fix missing dependency to gdb
  2023-03-27 22:55 ` Jan Kiszka
@ 2023-03-28 14:33   ` Florian Bezdeka
  2023-04-03  5:14     ` Jan Kiszka
  0 siblings, 1 reply; 5+ messages in thread
From: Florian Bezdeka @ 2023-03-28 14:33 UTC (permalink / raw)
  To: Jan Kiszka, xenomai

On 28.03.23 00:55, Jan Kiszka wrote:
> On 27.03.23 12:55, Florian Bezdeka wrote:
>> The xenomai testusite - part of the xenomai-runtime package - needs the
>> gdb binary for testing the gdb support. The dependency was missing so
>> running the testsuite on a fresh Debian system failed.
>>
>> Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
>> ---
>>
>> Backports to all the stable branches will follow.
>>
>>
>>  debian/control | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/debian/control b/debian/control
>> index 857d8ff8f..aba59949c 100644
>> --- a/debian/control
>> +++ b/debian/control
>> @@ -9,7 +9,7 @@ Homepage: http://www.xenomai.org/
>>  Package: xenomai-runtime
>>  Section: devel
>>  Architecture: amd64 arm armeb armel armhf arm64 i386
>> -Depends: ${shlibs:Depends}, ${misc:Depends}, psmisc, netcat
>> +Depends: ${shlibs:Depends}, ${misc:Depends}, psmisc, netcat, gdb
>>  Suggests: xenomai-kernel-source
>>  Replaces: xenomai
>>  Conflicts: xenomai
> 
> Looks like xenomai-images installed that "manually". Can be dropped once
> this fix is in all stable releases.
> 
> Eventually, we should split off a testsuite package to allow installing
> tools without pulling all those deps of the former...

Yes, might be the right follow up. I guess the situation is different
for stable branches, so such branches might stay as they are now, right?

> 
> Jan


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

* Re: [PATCH] debian/control: Fix missing dependency to gdb
  2023-03-28 14:33   ` Florian Bezdeka
@ 2023-04-03  5:14     ` Jan Kiszka
  2023-04-03  8:26       ` Florian Bezdeka
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2023-04-03  5:14 UTC (permalink / raw)
  To: Florian Bezdeka, Jan Kiszka, xenomai

On 28.03.23 16:33, Florian Bezdeka wrote:
> On 28.03.23 00:55, Jan Kiszka wrote:
>> On 27.03.23 12:55, Florian Bezdeka wrote:
>>> The xenomai testusite - part of the xenomai-runtime package - needs the
>>> gdb binary for testing the gdb support. The dependency was missing so
>>> running the testsuite on a fresh Debian system failed.
>>>
>>> Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
>>> ---
>>>
>>> Backports to all the stable branches will follow.
>>>
>>>
>>>  debian/control | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/debian/control b/debian/control
>>> index 857d8ff8f..aba59949c 100644
>>> --- a/debian/control
>>> +++ b/debian/control
>>> @@ -9,7 +9,7 @@ Homepage: http://www.xenomai.org/
>>>  Package: xenomai-runtime
>>>  Section: devel
>>>  Architecture: amd64 arm armeb armel armhf arm64 i386
>>> -Depends: ${shlibs:Depends}, ${misc:Depends}, psmisc, netcat
>>> +Depends: ${shlibs:Depends}, ${misc:Depends}, psmisc, netcat, gdb
>>>  Suggests: xenomai-kernel-source
>>>  Replaces: xenomai
>>>  Conflicts: xenomai
>>
>> Looks like xenomai-images installed that "manually". Can be dropped once
>> this fix is in all stable releases.
>>
>> Eventually, we should split off a testsuite package to allow installing
>> tools without pulling all those deps of the former...
> 
> Yes, might be the right follow up. I guess the situation is different
> for stable branches, so such branches might stay as they are now, right?
> 

In fact, I would not consider this patch stable-relevant. No one
complained there so far while its side effect is pulling in a rather
large binary. In that light, let's fix this in next and leave stable as
is (manual installation of gdb if testsuite should run those test).

Alternatively, you can make the gdb tests skip in case gdb is missing
for stable.

Jan

-- 
Siemens AG, Technology
Competence Center Embedded Linux


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

* Re: [PATCH] debian/control: Fix missing dependency to gdb
  2023-04-03  5:14     ` Jan Kiszka
@ 2023-04-03  8:26       ` Florian Bezdeka
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Bezdeka @ 2023-04-03  8:26 UTC (permalink / raw)
  To: Jan Kiszka, Jan Kiszka, xenomai

On Mon, 2023-04-03 at 07:14 +0200, Jan Kiszka wrote:
> On 28.03.23 16:33, Florian Bezdeka wrote:
> > On 28.03.23 00:55, Jan Kiszka wrote:
> > > On 27.03.23 12:55, Florian Bezdeka wrote:
> > > > The xenomai testusite - part of the xenomai-runtime package - needs the
> > > > gdb binary for testing the gdb support. The dependency was missing so
> > > > running the testsuite on a fresh Debian system failed.
> > > > 
> > > > Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
> > > > ---
> > > > 
> > > > Backports to all the stable branches will follow.
> > > > 
> > > > 
> > > >  debian/control | 2 +-
> > > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > > 
> > > > diff --git a/debian/control b/debian/control
> > > > index 857d8ff8f..aba59949c 100644
> > > > --- a/debian/control
> > > > +++ b/debian/control
> > > > @@ -9,7 +9,7 @@ Homepage: http://www.xenomai.org/
> > > >  Package: xenomai-runtime
> > > >  Section: devel
> > > >  Architecture: amd64 arm armeb armel armhf arm64 i386
> > > > -Depends: ${shlibs:Depends}, ${misc:Depends}, psmisc, netcat
> > > > +Depends: ${shlibs:Depends}, ${misc:Depends}, psmisc, netcat, gdb
> > > >  Suggests: xenomai-kernel-source
> > > >  Replaces: xenomai
> > > >  Conflicts: xenomai
> > > 
> > > Looks like xenomai-images installed that "manually". Can be dropped once
> > > this fix is in all stable releases.
> > > 
> > > Eventually, we should split off a testsuite package to allow installing
> > > tools without pulling all those deps of the former...
> > 
> > Yes, might be the right follow up. I guess the situation is different
> > for stable branches, so such branches might stay as they are now, right?
> > 
> 
> In fact, I would not consider this patch stable-relevant. No one
> complained there so far while its side effect is pulling in a rather
> large binary. In that light, let's fix this in next and leave stable as
> is (manual installation of gdb if testsuite should run those test).

I'm fine with that, but to make it clear: We can not clean up xenomai-
images then as we handle all the branches the same way. We have to keep
the manual installation of gdb to make CI happy and gdb tests enabled
(for stable branches).

> 
> Alternatively, you can make the gdb tests skip in case gdb is missing
> for stable.
> 
> Jan
> 


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

end of thread, other threads:[~2023-04-03  8:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27 10:55 [PATCH] debian/control: Fix missing dependency to gdb Florian Bezdeka
2023-03-27 22:55 ` Jan Kiszka
2023-03-28 14:33   ` Florian Bezdeka
2023-04-03  5:14     ` Jan Kiszka
2023-04-03  8:26       ` Florian Bezdeka

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.