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

Bug 913188

Summary: [guru] app-arch/7zip-23.01 does not respect LDFLAGS
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: Martin Matous <m>
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 2023-08-29 05:51:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-arch/7zip-23.01 does not respect LDFLAGS.
Discovered on: amd64 (internal ref: guru_ci)

NOTE:
To reproduce this issue you may want to set LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ context you may want to see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-29 05:51:09 UTC
Created attachment 868947 [details]
build.log

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

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

commit 2d22b3eb5edb6b4fea5e44f940201587af1f5a06
Author:     Martin Matouš <m@matous.dev>
AuthorDate: 2023-09-03 14:52:21 +0000
Commit:     Martin Matouš <m@matous.dev>
CommitDate: 2023-09-03 14:54:16 +0000

    app-arch/7zip: respect build environment
    
    Closes: https://bugs.gentoo.org/913186
    Closes: https://bugs.gentoo.org/913188
    Closes: https://bugs.gentoo.org/913189
    Signed-off-by: Martin Matouš <m@matous.dev>

 app-arch/7zip/7zip-23.01.ebuild                    | 16 +++-
 .../7zip/files/7zip-23.01-respect-build-env.patch  | 98 ++++++++++++++++++++++
 2 files changed, 110 insertions(+), 4 deletions(-)