Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #10599 > unrolled thread
| Started by | Scott Talbert <swt@techie.net> |
|---|---|
| First post | 2018-06-04 03:30 +0200 |
| Last post | 2018-06-05 15:20 +0200 |
| Articles | 6 — 4 participants |
Back to article view | Back to linux.debian.maint.python
Broken dbgsym packages for Python 3 Scott Talbert <swt@techie.net> - 2018-06-04 03:30 +0200
Re: Broken dbgsym packages for Python 3 Scott Kitterman <debian@kitterman.com> - 2018-06-04 06:40 +0200
Re: Broken dbgsym packages for Python 3 Matthias Klose <doko@debian.org> - 2018-06-04 21:20 +0200
Re: Broken dbgsym packages for Python 3 Scott Talbert <swt@techie.net> - 2018-06-05 06:20 +0200
Re: Broken dbgsym packages for Python 3 Andrey Rahmatullin <wrar@debian.org> - 2018-06-05 07:50 +0200
Re: Broken dbgsym packages for Python 3 Scott Talbert <swt@techie.net> - 2018-06-05 15:20 +0200
| From | Scott Talbert <swt@techie.net> |
|---|---|
| Date | 2018-06-04 03:30 +0200 |
| Subject | Broken dbgsym packages for Python 3 |
| Message-ID | <vWMtQ-2jf-3@gated-at.bofh.it> |
Hi, I've got a package (wxpython4.0) that builds modules for both Python 2.7 and Python 3. When I rebuilt the package in early May, I started getting the lintian warning debug-file-with-no-debug-symbols for the Python 3 dbgsym packages only. Sure enough, looking at those files, there is not much there. The Python 2.7 dbgsym files are fine. Given that I haven't changed anything in how the Python 3 modules are compiled, it seems that some outside change in the distribution has caused this. Has anyone else noticed this, or have any idea what might have caused these dbgsym packages to stop working? Scott
[toc] | [next] | [standalone]
| From | Scott Kitterman <debian@kitterman.com> |
|---|---|
| Date | 2018-06-04 06:40 +0200 |
| Message-ID | <vWPrH-49x-1@gated-at.bofh.it> |
| In reply to | #10599 |
On Sunday, June 03, 2018 09:26:58 PM Scott Talbert wrote: > Hi, > > I've got a package (wxpython4.0) that builds modules for both Python 2.7 > and Python 3. When I rebuilt the package in early May, I started getting > the lintian warning debug-file-with-no-debug-symbols for the Python 3 > dbgsym packages only. Sure enough, looking at those files, there is not > much there. The Python 2.7 dbgsym files are fine. Given that I haven't > changed anything in how the Python 3 modules are compiled, it seems that > some outside change in the distribution has caused this. Has anyone else > noticed this, or have any idea what might have caused these dbgsym > packages to stop working? The -dbgsym packages don't work for Python anyway because you need to call the debug interpreter, so I don't think it matters much either way. Scott K
[toc] | [prev] | [next] | [standalone]
| From | Matthias Klose <doko@debian.org> |
|---|---|
| Date | 2018-06-04 21:20 +0200 |
| Message-ID | <vX3bk-3MZ-7@gated-at.bofh.it> |
| In reply to | #10600 |
On 04.06.2018 06:34, Scott Kitterman wrote: > On Sunday, June 03, 2018 09:26:58 PM Scott Talbert wrote: >> Hi, >> >> I've got a package (wxpython4.0) that builds modules for both Python 2.7 >> and Python 3. When I rebuilt the package in early May, I started getting >> the lintian warning debug-file-with-no-debug-symbols for the Python 3 >> dbgsym packages only. Sure enough, looking at those files, there is not >> much there. The Python 2.7 dbgsym files are fine. Given that I haven't >> changed anything in how the Python 3 modules are compiled, it seems that >> some outside change in the distribution has caused this. Has anyone else >> noticed this, or have any idea what might have caused these dbgsym >> packages to stop working? > > The -dbgsym packages don't work for Python anyway because you need to call the > debug interpreter, so I don't think it matters much either way. Usually the python*-*-dbg packages contain two things: - the unstripped extensions for the dbg interpreter - the debug symbols for the python*-* packages. If you don't have both of these, you should investigate why.
[toc] | [prev] | [next] | [standalone]
| From | Scott Talbert <swt@techie.net> |
|---|---|
| Date | 2018-06-05 06:20 +0200 |
| Message-ID | <vXbBU-FF-3@gated-at.bofh.it> |
| In reply to | #10603 |
On Mon, 4 Jun 2018, Matthias Klose wrote: >>> I've got a package (wxpython4.0) that builds modules for both Python 2.7 >>> and Python 3. When I rebuilt the package in early May, I started getting >>> the lintian warning debug-file-with-no-debug-symbols for the Python 3 >>> dbgsym packages only. Sure enough, looking at those files, there is not >>> much there. The Python 2.7 dbgsym files are fine. Given that I haven't >>> changed anything in how the Python 3 modules are compiled, it seems that >>> some outside change in the distribution has caused this. Has anyone else >>> noticed this, or have any idea what might have caused these dbgsym >>> packages to stop working? >> >> The -dbgsym packages don't work for Python anyway because you need to call >> the >> debug interpreter, so I don't think it matters much either way. > > Usually the python*-*-dbg packages contain two things: > > - the unstripped extensions for the dbg interpreter > - the debug symbols for the python*-* packages. > > If you don't have both of these, you should investigate why. Yes, I'm talking about the automatically generated -dbgsym packages that contain the /usr/lib/debug/.build-id/... files. I have looked into it further and the problem seems to be happening during the link phase. I checked the individual .o files (for the Python 3 version) and they all contain .debug_str and I can see the symbol names with readelf --debug-dump=str. But then after linking, they are gone. I ran the exact same link command on the Python 2 .o files and the resulting .so has the debug info. Rather bizarre. I don't know what to think. g++ (or whatever actually does the linking?) doesn't like the Python 3 debug info and discards it? Scott
[toc] | [prev] | [next] | [standalone]
| From | Andrey Rahmatullin <wrar@debian.org> |
|---|---|
| Date | 2018-06-05 07:50 +0200 |
| Message-ID | <vXd0Z-1tP-1@gated-at.bofh.it> |
| In reply to | #10607 |
[Multipart message — attachments visible in raw view] — view raw
On Tue, Jun 05, 2018 at 12:11:21AM -0400, Scott Talbert wrote: > Yes, I'm talking about the automatically generated -dbgsym packages that > contain the /usr/lib/debug/.build-id/... files. Have you read Scott's email? -- WBR, wRAR
[toc] | [prev] | [next] | [standalone]
| From | Scott Talbert <swt@techie.net> |
|---|---|
| Date | 2018-06-05 15:20 +0200 |
| Message-ID | <vXk2t-68o-1@gated-at.bofh.it> |
| In reply to | #10608 |
On Tue, 5 Jun 2018, Andrey Rahmatullin wrote: >> Yes, I'm talking about the automatically generated -dbgsym packages that >> contain the /usr/lib/debug/.build-id/... files. > Have you read Scott's email? Yes, but wouldn't they still be useful for symbolicating core dumps? Scott
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web