| Summary: | media-libs/gst-plugins-base doesn't allow debug USE flag | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alex Bennee <bugzilla> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | bugzilla |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Updated version of gst-plugins-base | ||
|
Description
Alex Bennee
2009-05-17 17:06:21 UTC
Created attachment 191567 [details]
Updated version of gst-plugins-base
Here is the ebuild I modified to take account of USE="debug". The gst-plugins all inherit from this class.
replace-flags and append-flags only change the C(XX)FLAGS you set. You are responsible for setting the right flags. See [1]. If this bug is about the package ignoring your C(XX)FLAGS (which would not be solved by replace-flags and append-flags) then reopen this bug. And please submit changes to ebuilds as a diff (with diff -u) the next time. [1] http://www.gentoo.org/proj/en/qa/backtraces.xml (In reply to comment #2) > replace-flags and append-flags only change the C(XX)FLAGS you set. You are > responsible for setting the right flags. See [1]. So what do you do to enable debug in a package that doesn't have an explicit debug conf option? Is the recommended solution to do a manual build and merge because that's not very useful if your trying to track crashes over an extended period. I based the changes on other builds in the tree that do things like: use debug && append-flags -O0 -g3 which means there are a number of packages in the tree needing fixing. > If this bug is about the package ignoring your C(XX)FLAGS (which would not be > solved by replace-flags and append-flags) then reopen this bug. > > And please submit changes to ebuilds as a diff (with diff -u) the next time. Sure. I only bumped the version so my overlay build would get picked over the main portage. I was unsure if emerge would go for my ebuild if it was the same version. > [1] http://www.gentoo.org/proj/en/qa/backtraces.xml |