Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727778 - media-sound/wav2json does not respect CFLAGS/LDFLAGS
Summary: media-sound/wav2json does not respect CFLAGS/LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pavel Denisov
Keywords: PullRequest
Depends on:
Blocks: cflags ldflags
  Show dependency tree
Reported: 2020-06-10 08:46 UTC by Agostino Sarubbo
Modified: 2021-05-04 22:17 UTC (History)
2 users (show)

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

build.log (build.log,7.93 KB, text/plain)
2020-06-10 08:46 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-06-10 08:46:46 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: media-sound/wav2json does not respect CFLAGS/LDFLAGS.
Discovered on: amd64

To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS/LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-10 08:46:51 UTC
Created attachment 644240 [details]

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

commit aa97c3df1c9977df01e201ea5de2e243c4d50133
Author:     Jakov Smolic <>
AuthorDate: 2021-04-30 16:14:37 +0000
Commit:     Sam James <>
CommitDate: 2021-05-04 22:17:08 +0000

    media-sound/wav2json: Respect CFLAGS/LDFLAGS/CXX
    Signed-off-by: Jakov Smolic <>
    Signed-off-by: Sam James <>

 .../wav2json/files/wav2json-0.4-Makefile.patch     | 35 ++++++++++++++++++++++
 media-sound/wav2json/wav2json-0.4.ebuild           | 19 +++++++-----
 2 files changed, 47 insertions(+), 7 deletions(-)