Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #82637 > unrolled thread
| Started by | Sergio Durigan Junior <sergiodj@debian.org> |
|---|---|
| First post | 2024-05-31 22:40 +0200 |
| Last post | 2024-07-27 10:10 +0200 |
| Articles | 7 — 3 participants |
Back to article view | Back to linux.debian.kernel
Bug#1072311: linux-perf can (and should) link against libdebuginfod Sergio Durigan Junior <sergiodj@debian.org> - 2024-05-31 22:40 +0200
Bug#1072311: linux-perf can (and should) link against libdebuginfod Sergio Durigan Junior <sergiodj@debian.org> - 2024-05-31 23:00 +0200
Bug#1072311: linux-perf can (and should) link against libdebuginfod Sergio Durigan Junior <sergiodj@debian.org> - 2024-05-31 23:00 +0200
Processed: Re: Bug#1072311: linux-perf can (and should) link against libdebuginfod "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-05-31 23:00 +0200
Bug#1072311: linux-perf can (and should) link against libdebuginfod Sergio Durigan Junior <sergiodj@debian.org> - 2024-06-01 01:00 +0200
Bug#1072311: linux-perf can (and should) link against libdebuginfod Ben Hutchings <ben@decadent.org.uk> - 2024-07-25 03:50 +0200
Bug#1072311: marked as done (linux-perf can (and should) link against libdebuginfod) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-07-27 10:10 +0200
| From | Sergio Durigan Junior <sergiodj@debian.org> |
|---|---|
| Date | 2024-05-31 22:40 +0200 |
| Subject | Bug#1072311: linux-perf can (and should) link against libdebuginfod |
| Message-ID | <IKhcB-hi3I-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Source: linux
Version: 6.8.11-1
Severity: normal
Dear maintainer,
Upon investigating why Debian's linux-perf does not support debuginfod,
I found the following excerpt on its rules file[1]:
# perf can link against libdebuginfod if available, but the result is
# undistributable for the same reason. Override detection of
# libdebuginfod.
MAKE_PERF += NO_LIBDEBUGINFOD=1
This picked my attention, as I am not aware of any licensing issues that
might prevent linux-perf from linking against libdebuginfod.
While looking at debuginfod source files[2], I found that libdebuginfod
is actually composed of a single file[3]:
libdebuginfod_a_SOURCES = debuginfod-client.c
libdebuginfod_pic_a_SOURCES = debuginfod-client.c
and that debuginfod-client.c is dual-licensed GPL-3+ and GPL-2+[4]:
This file is free software; you can redistribute it and/or modify
it under the terms of either
* the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at
your option) any later version
or
* the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at
your option) any later version
or both in parallel, as here.
debuginfod.h, which is included from debuginfod-client.c, is also
dual-licensed[5].
Out of an abundance of caution, I contacted debuginfod's upstream
developers and confirmed that the dual-licensing scheme was chosen
exactly in order to allow tools like perf to link against libdebuginfod.
I've also confirmed that Fedora's perf does support debuginfod.
Given all of the above, I would like to request that debuginfod support
be enabled on Debian's linux-perf. That would be very useful for our
users.
Thank you,
[1]: https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/rules.d/tools/perf/Makefile?ref_type=heads#L13-16
[2]: https://sourceware.org/cgit/elfutils/tree/debuginfod
[3]: https://sourceware.org/cgit/elfutils/tree/debuginfod/Makefile.am?id=915776dc4ab9308a5c62c42e72b5bd15b7012753#n83
[4]: https://sourceware.org/cgit/elfutils/tree/debuginfod/debuginfod-client.c?id=915776dc4ab9308a5c62c42e72b5bd15b7012753
[5]: https://sourceware.org/cgit/elfutils/tree/debuginfod/debuginfod.h.in?id=915776dc4ab9308a5c62c42e72b5bd15b7012753
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/
[toc] | [next] | [standalone]
| From | Sergio Durigan Junior <sergiodj@debian.org> |
|---|---|
| Date | 2024-05-31 23:00 +0200 |
| Message-ID | <IKhvX-hiax-5@gated-at.bofh.it> |
| In reply to | #82637 |
[Multipart message — attachments visible in raw view] — view raw
On Friday, May 31 2024, I wrote: > Dear maintainer, [...] > Given all of the above, I would like to request that debuginfod support > be enabled on Debian's linux-perf. That would be very useful for our > users. Disclaimer: I am not a lawyer and the contents of the bug description are not legal advice. Thanks, -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible https://sergiodj.net/
[toc] | [prev] | [next] | [standalone]
| From | Sergio Durigan Junior <sergiodj@debian.org> |
|---|---|
| Date | 2024-05-31 23:00 +0200 |
| Message-ID | <IKhvX-hiax-3@gated-at.bofh.it> |
| In reply to | #82637 |
[Multipart message — attachments visible in raw view] — view raw
Control: tags -1 + patch MR filed: https://salsa.debian.org/kernel-team/linux/-/merge_requests/1093 -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible https://sergiodj.net/
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2024-05-31 23:00 +0200 |
| Subject | Processed: Re: Bug#1072311: linux-perf can (and should) link against libdebuginfod |
| Message-ID | <IKhvX-hiax-1@gated-at.bofh.it> |
| In reply to | #82637 |
Processing control commands: > tags -1 + patch Bug #1072311 [src:linux] linux-perf can (and should) link against libdebuginfod Added tag(s) patch. -- 1072311: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072311 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [next] | [standalone]
| From | Sergio Durigan Junior <sergiodj@debian.org> |
|---|---|
| Date | 2024-06-01 01:00 +0200 |
| Message-ID | <IKjo6-hjl8-9@gated-at.bofh.it> |
| In reply to | #82637 |
[Multipart message — attachments visible in raw view] — view raw
On Friday, May 31 2024, I wrote: > and that debuginfod-client.c is dual-licensed GPL-3+ and GPL-2+[4]: I meant to say "LGPL-3+ and GPL-2+" here. > This file is free software; you can redistribute it and/or modify > it under the terms of either > > * the GNU Lesser General Public License as published by the Free > Software Foundation; either version 3 of the License, or (at > your option) any later version > > or > > * the GNU General Public License as published by the Free > Software Foundation; either version 2 of the License, or (at > your option) any later version > > or both in parallel, as here. -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible https://sergiodj.net/
[toc] | [prev] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2024-07-25 03:50 +0200 |
| Message-ID | <J3VMd-7mH-3@gated-at.bofh.it> |
| In reply to | #82637 |
[Multipart message — attachments visible in raw view] — view raw
On Fri, 31 May 2024 16:30:37 -0400 Sergio Durigan Junior <sergiodj@debian.org> wrote: > Source: linux > Version: 6.8.11-1 > Severity: normal > > Dear maintainer, > > Upon investigating why Debian's linux-perf does not support debuginfod, > I found the following excerpt on its rules file[1]: > > # perf can link against libdebuginfod if available, but the result is > # undistributable for the same reason. Override detection of > # libdebuginfod. > MAKE_PERF += NO_LIBDEBUGINFOD=1 > > This picked my attention, as I am not aware of any licensing issues that > might prevent linux-perf from linking against libdebuginfod. > > While looking at debuginfod source files[2], I found that libdebuginfod > is actually composed of a single file[3]: > > libdebuginfod_a_SOURCES = debuginfod-client.c > libdebuginfod_pic_a_SOURCES = debuginfod-client.c > > and that debuginfod-client.c is dual-licensed GPL-3+ and GPL-2+[4]: [...] Thank you for pointing this out. I disabled use of debuginfod on 26/12/2022, and it looks like I missed your update to the elfutils debian/copyright file on 21/12/2022 that would have made the dual licensing of this library clear. Ben. -- Ben Hutchings Quantity is no substitute for quality, but it's the only one we've got.
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2024-07-27 10:10 +0200 |
| Subject | Bug#1072311: marked as done (linux-perf can (and should) link against libdebuginfod) |
| Message-ID | <J4KF4-FGD-25@gated-at.bofh.it> |
| In reply to | #82637 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Sat, 27 Jul 2024 08:02:27 +0000 with message-id <E1sXcNn-008RHE-9l@fasolo.debian.org> and subject line Bug#1072311: fixed in linux 6.10.1-1~exp1 has caused the Debian Bug report #1072311, regarding linux-perf can (and should) link against libdebuginfod to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1072311: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072311 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web