Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 727778

Summary: media-sound/wav2json does not respect CFLAGS/LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Pavel Denisov <pavel.a.denisov>
Severity: normal CC: esigra, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506, 331933    
Attachments: build.log

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(-)