Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726054 - sys-process/watchpid does not respect CFLAGS
Summary: sys-process/watchpid does not respect CFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Keywords: PullRequest
Depends on:
Blocks: cflags
  Show dependency tree
Reported: 2020-05-29 09:25 UTC by Agostino Sarubbo
Modified: 2021-05-05 11:29 UTC (History)
0 users

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

build.log (build.log,12.08 KB, text/plain)
2020-05-29 09:25 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-29 09:25:46 UTC
This is an auto-filed bug because sys-process/watchpid does not respect CFLAGS.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

To reproduce this issue you may want to set CFLAGS="${CFLAGS} -frecord-gcc-switches". If this is not something about c/c++ context you may want to set also FFLAGS and FCFLAGS or just see this bug as an hint to hide the QA warning where is not possible to respect CFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-29 09:25:51 UTC
Created attachment 642474 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-05-05 11:29:30 UTC
The bug has been closed via the following commit(s):

commit 789c97e456fa86b20fd886cc1593ba067f1d93b5
Author:     Jakov Smolic <>
AuthorDate: 2021-05-05 11:29:13 +0000
Commit:     David Seifert <>
CommitDate: 2021-05-05 11:29:13 +0000

    sys-process/watchpid: Respect CFLAGS
    Signed-off-by: Jakov Smolic <>
    Signed-off-by: David Seifert <>

 .../watchpid/files/watchpid-0.1-cflags.patch       | 11 ++++++++++
 sys-process/watchpid/metadata.xml                  |  8 +++----
 sys-process/watchpid/watchpid-0.1-r2.ebuild        | 25 +++++++++-------------
 3 files changed, 25 insertions(+), 19 deletions(-)