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

Bug 889304

Summary: [guru] dev-util/lua-language-server-3.6.4 does not respect LDFLAGS
Product: GURU Reporter: Agostino Sarubbo <ago>
Component: Package issuesAssignee: Mathis Winterer <mrmagic223325>
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-01-01 19:01:26 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/lua-language-server-3.6.4 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-01-01 19:01:28 UTC
Created attachment 846482 [details]
build.log

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

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

commit 08285c8c5a479dce78ca70dfac51828aee4c59e9
Author:     Mathis Winterer <mrmagic223325@fedora.email>
AuthorDate: 2023-01-01 23:06:47 +0000
Commit:     Mathis Winterer <mrmagic223325@fedora.email>
CommitDate: 2023-01-01 23:06:47 +0000

    dev-util/lua-language-server: Stop prestripping binaries, Remove direct calls to gcc, patch build scripts to respect CFLAGS/CXXFLAGS/LDFLAGS
    
    Closes: https://bugs.gentoo.org/889302
    Closes: https://bugs.gentoo.org/889308
    Closes: https://bugs.gentoo.org/889306
    Closes: https://bugs.gentoo.org/889304
    Signed-off-by: Mathis Winterer <mrmagic223325@fedora.email>

 .../lua-language-server/files/build.ninja.patch    | 142 +++++++++++++++++++++
 .../lua-language-server/files/linux.ninja.patch    |  94 ++++++++++++++
 .../lua-language-server-3.6.4.ebuild               |  35 ++++-
 3 files changed, 269 insertions(+), 2 deletions(-)