Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889302 - [guru] dev-util/lua-language-server-3.6.4 calls cc directly
Summary: [guru] dev-util/lua-language-server-3.6.4 calls cc directly
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mathis Winterer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2023-01-01 19:01 UTC by Agostino Sarubbo
Modified: 2023-01-04 08:51 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,60.82 KB, text/plain)
2023-01-01 19:01 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 2023-01-01 19:01:01 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/lua-language-server-3.6.4 calls cc directly.
Discovered on: amd64 (internal ref: guru_ci)

NOTE:
As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different CC implementation (like clang). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-01 19:01:03 UTC
Created attachment 846480 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-01-01 19:01:05 UTC
Error(s) that match a know pattern:


/bin/sh: line 1: gcc: command not found
FAILED: build/linux/obj/source_bee/endpoint.obj 
FAILED: build/linux/obj/source_bee/error.obj 
FAILED: build/linux/obj/source_bee/file_handle.obj 
FAILED: build/linux/obj/source_bee/file_handle_linux.obj 
FAILED: build/linux/obj/source_bee/file_handle_posix.obj 
FAILED: build/linux/obj/source_bee/filewatch_linux.obj 
FAILED: build/linux/obj/source_bee/format.obj 
FAILED: build/linux/obj/source_bee/lua-seri.obj 
FAILED: build/linux/obj/source_bee/lua_filesystem.obj 
FAILED: build/linux/obj/source_bee/lua_filewatch.obj 
FAILED: build/linux/obj/source_bee/lua_platform.obj 
FAILED: build/linux/obj/source_bee/lua_serialization.obj 
FAILED: build/linux/obj/source_bee/lua_socket.obj 
FAILED: build/linux/obj/source_bee/lua_subprocess.obj 
FAILED: build/linux/obj/source_bee/lua_thread.obj 
FAILED: build/linux/obj/source_bee/lua_time.obj 
FAILED: build/linux/obj/source_bee/os.obj 
FAILED: build/linux/obj/source_bee/path_helper.obj 
FAILED: build/linux/obj/source_bee/simplethread_posix.obj 
FAILED: build/linux/obj/source_bee/socket.obj 
FAILED: build/linux/obj/source_bee/subprocess_posix.obj 
FAILED: build/linux/obj/source_bootstrap/main.obj 
FAILED: build/linux/obj/source_bootstrap/progdir.obj 
FAILED: build/linux/obj/source_lua/onelua.obj 
FAILED: build/linux/obj/source_lua/utf8_crt.obj
Comment 3 Larry the Git Cow gentoo-dev 2023-01-04 08:51:10 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(-)