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>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/20606
Whiteboard:
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

NOTE:
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

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

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa97c3df1c9977df01e201ea5de2e243c4d50133

commit aa97c3df1c9977df01e201ea5de2e243c4d50133
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-04-30 16:14:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-04 22:17:08 +0000

    media-sound/wav2json: Respect CFLAGS/LDFLAGS/CXX
    
    Closes: https://bugs.gentoo.org/727778
    Closes: https://bugs.gentoo.org/724844
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Sam James <sam@gentoo.org>

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