| Summary: | libxslt strips debug info at the end, even after specifying USE="debug" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Danny Milosavljevic <danny_milo> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Danny Milosavljevic
2007-07-31 10:27:38 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. and line number information would still be missing, even in the latter case. 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... That's NOT what USE=debug is about. *** This bug has been marked as a duplicate of bug 186505 *** |