Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187227 - libxslt strips debug info at the end, even after specifying USE="debug"
Summary: libxslt strips debug info at the end, even after specifying USE="debug"
Status: RESOLVED DUPLICATE of bug 186505
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-31 10:27 UTC by Danny Milosavljevic
Modified: 2007-07-31 11:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danny Milosavljevic 2007-07-31 10:27:38 UTC
libxslt strips debug info at the end, even after specifying USE="debug"

Reproducible: Always

Steps to Reproduce:
1. USE="debug" emerge dev-libs/libxslt
... stripping debugging information

Actual Results:  
no debug info

Expected Results:  
have debug info
Comment 1 Danny Milosavljevic 2007-07-31 10:32:17 UTC
I tried something along the lines of 

--------------------------<cut>------------------------------
 SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
+use debug && RESTRICT="strip"

 src_unpack() {
--------------------------<cut>------------------------------
that doesn't work.

--------------------------<cut>------------------------------
 SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
+RESTRICT="strip"

 src_unpack() {
--------------------------<cut>------------------------------
that does, but is suboptimal.
Comment 2 Danny Milosavljevic 2007-07-31 10:34:25 UTC
and line number information would still be missing, even in the latter case.
Comment 3 Danny Milosavljevic 2007-07-31 10:37:53 UTC
to summarize, to make it work with debug info, I had to:
1. add "RESTRICT=strip" to the ebuild
2. emerge the ebuild with
  USE="debug" CFLAGS="-g3" CXXFLAGS="-g3" emerge dev-libs/libxslt
then it worked. Sigh...
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-07-31 11:51:51 UTC
That's NOT what USE=debug is about.

*** This bug has been marked as a duplicate of bug 186505 ***