Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787683 - [guru] media-libs/libbpg-0.9.8 does not respect CFLAGS/LDFLAGS
Summary: [guru] media-libs/libbpg-0.9.8 does not respect CFLAGS/LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michele Santullo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2021-05-02 11:28 UTC by Agostino Sarubbo
Modified: 2023-09-18 12:37 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,510.32 KB, text/plain)
2021-05-02 11:28 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)