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
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 ***