You are not logged in.

#1 2010-07-09 18:23:45

crabmarkjellozest
Member
Registered: 2010-07-09
Posts: 20

Debug symbols, anything recent?

Has there been any recent discussion of finding a way to provide debug symbols for the Arch-provided binaries?  I have read through this feature request but it looks like aside from one recent comment this idea has largely been forgotten.

I am not a good enough bash hacker to contribute to a patch but I highly encourage interested parties to discuss big_smile

Offline

#2 2010-07-10 19:29:08

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Debug symbols, anything recent?

crabmarkjellozest wrote:

Has there been any recent discussion of finding a way to provide debug symbols for the Arch-provided binaries?  I have read through this feature request but it looks like aside from one recent comment this idea has largely been forgotten.

I am not a good enough bash hacker to contribute to a patch but I highly encourage interested parties to discuss big_smile

Adding debugging symbols will increase package sizes significantly. For your personal use, ABS is the way to go.

Offline

#3 2010-07-10 22:32:06

crabmarkjellozest
Member
Registered: 2010-07-09
Posts: 20

Re: Debug symbols, anything recent?

Right, of course.  I should have been more clear.  My vote is actually for split packages such as *-dbg as seen elsewhere, but I realize this is unlikely for Arch.  As it is the traditional *-dev packages aren't even split out in the pursuit of simplicity.

Offline

#4 2010-07-10 23:03:15

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Debug symbols, anything recent?

crabmarkjellozest wrote:

Right, of course.  I should have been more clear.  My vote is actually for split packages such as *-dbg as seen elsewhere, but I realize this is unlikely for Arch.  As it is the traditional *-dev packages aren't even split out in the pursuit of simplicity.

Splitting packages into dev, debug, and user is far more complex than what the current model is.

Offline

#5 2011-01-27 16:46:40

vit.gorbunov
Member
Registered: 2011-01-27
Posts: 10

Re: Debug symbols, anything recent?

skottish wrote:

Splitting packages into dev, debug, and user is far more complex than what the current model is.

Installing debug packages is far more complex than recompiling entire package? I just don't get it.

I switched to archlinux from kubuntu a week ago, attracted by the rolling release cycle. I thought I found the ideal  distro for myself, but I was very surprised that there is no debug packages in arch repo.

Is any progress in this direction? Why this this feature request  was forgotten? Is there any chance that debug packages will appear in arch repo?

Last edited by vit.gorbunov (2011-01-27 16:47:05)

Offline

#6 2011-01-27 17:04:17

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Debug symbols, anything recent?

The latest patchwork in that bug report is over 6 months old. At a minimum, one would need to rebase it against pacman master, do some testing, and post the results to pacman-dev. As with anything in Arch, if you want it, go out and do it.

Offline

#7 2011-02-01 08:11:48

vit.gorbunov
Member
Registered: 2011-01-27
Posts: 10

Re: Debug symbols, anything recent?

Strange thing that the patch seems to work fine.  Maybe I missed something but I can't see any explanations why this is holding up. Seems like activity suddenly stopped without any reasons.

falconindy, what do you mean by "rebase it against pacman master". I just not very well in english and google-translate didn't help me..

Offline

#8 2011-02-01 08:19:42

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Debug symbols, anything recent?

vit.gorbunov wrote:

Strange thing that the patch seems to work fine.  Maybe I missed something but I can't see any explanations why this is holding up. Seems like activity suddenly stopped without any reasons.

falconindy, what do you mean by "rebase it against pacman master". I just not very well in english and google-translate didn't help me..

He means that pacman has progressed while that patch remains valid for an older version. The patch may or may not work with the current pacman.


neutral

Offline

#9 2011-02-01 08:25:44

vit.gorbunov
Member
Registered: 2011-01-27
Posts: 10

Re: Debug symbols, anything recent?

But it works. And after reading all this long feature request I can't see any explanations why this patch wasn't applied half a year ago.

Last edited by vit.gorbunov (2011-02-01 08:32:39)

Offline

#10 2011-02-01 10:01:10

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Debug symbols, anything recent?

In the absence of an explicit reason, the general reason would be that the pacman devs do not consider it important, or at least important enough to supercede existing work. A working patch is not the only justification required for changing or amending the existing application.

More details may be available in the pacman-dev mailing list archives.

Offline

#11 2011-02-01 11:53:53

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Debug symbols, anything recent?

Firstly, if support was added to makepkg for splitting debug packages, there is no guarantee that Arch would provide such packages.   Support for binary delta updates was added to pacman years ago and it is still not used...

I was going to finally get to finishing this patch (it is not in a finished state...) for pacman-3.5, but instead I:
* Implemented a tar based backend for sync databases and improved the efficiency of the local database (massive speed-up)
* Implemented a hash table for storing package info from databases for another significant speed increase
* Implemented disk space checking before package install/upgrades
* Added support for a check() function in PKGBUILDs to run package test suites
all of which I found more interesting/important to implement...

Offline

#12 2011-02-01 13:21:27

vit.gorbunov
Member
Registered: 2011-01-27
Posts: 10

Re: Debug symbols, anything recent?

Allan wrote:

Firstly, if support was added to makepkg for splitting debug packages, there is no guarantee that Arch would provide such packages.

 
I understand it, but it can be first step:) Without it there is no hope at all.

Support for binary delta updates was added to pacman years ago and it is still not used...

 
Purposes of delta updates and debug packages are quite different, so I think compare was incorrect.

I was going to finally get to finishing this patch (it is not in a finished state...) for pacman-3.5, but instead I:

I completely sure that you do other usefull tasks:).
My first post was too emotionally, sorry for that;) I'm not asking developers to stop all their tasks and quickly do what I need. I used to use debug packages very often and  just needed some answers, because as I already mentioned I was supprised how activity in that feature request was suddenly stopped after all this work.
And if patch is not ready could you at least write what exactly not finished and maybe someone (or even me) do the rest job.

Last edited by vit.gorbunov (2011-02-01 13:26:06)

Offline

Board footer

Powered by FluxBB