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

Bug 787683

Summary: [guru] media-libs/libbpg-0.9.8 does not respect CFLAGS/LDFLAGS
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: Michele Santullo <m.santullo>
Status: RESOLVED FIXED    
Severity: normal CC: guru-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 785607    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-05-02 11:28:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/libbpg-0.9.8 does not respect CFLAGS/LDFLAGS.
Discovered on: amd64 (internal ref: guru_ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
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 2021-05-02 11:28:47 UTC
Created attachment 705294 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-09-18 12:37:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f764b3ff11e2b43601748b6e55a880fbf419b4df

commit f764b3ff11e2b43601748b6e55a880fbf419b4df
Author:     Lucio Sauer <watermanpaint@posteo.net>
AuthorDate: 2023-09-17 21:41:31 +0000
Commit:     Lucio Sauer <watermanpaint@posteo.net>
CommitDate: 2023-09-17 22:39:19 +0000

    media-libs/libbpg: respect LD, CXX and CFLAGS from the user enviroment
    
    Closes: https://bugs.gentoo.org/787683
    Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>

 .../files/libbpg-0.9.8-respect-user-flags.patch    | 42 ++++++++++++++++++++++
 media-libs/libbpg/libbpg-0.9.8-r1.ebuild           |  1 +
 2 files changed, 43 insertions(+)