Summary: | dev-python/grpcio calls cc directly | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Georgy Yakovlev <gyakovlev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/grpc/grpc/pull/23159 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 243502 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2020-06-08 06:08:40 UTC
Created attachment 643888 [details]
build.log
build log and emerge --info
def check_linker_need_libatomic(): """Test if linker on system needs libatomic.""" code_test = (b'#include <atomic>\n' + b'int main() { return std::atomic<int64_t>{}; }') cc_test = subprocess.Popen(['cc', '-x', 'c++', '-std=c++11', '-'], stdin=PIPE, stdout=PIPE, stderr=PIPE) cc_test.communicate(input=code_test) return cc_test.returncode != 0 compilation itself uses full path, it's just check above fails. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e00d0a56ca1dd9be9d99a3d80a12d2f0b6b1cfc commit 4e00d0a56ca1dd9be9d99a3d80a12d2f0b6b1cfc Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-06-08 06:56:16 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-06-08 07:04:49 +0000 dev-python/grpcio: respect CC in setup.py Upstream-PR: https://github.com/grpc/grpc/pull/23159 Bug: https://bugs.gentoo.org/727478 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-python/grpcio/files/setup.py-respect-cc.patch | 33 +++++++++++++++++++++++ dev-python/grpcio/grpcio-1.28.1.ebuild | 2 ++ 2 files changed, 35 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f27de769b375f53f4e2b0383c653b1be81538795 commit f27de769b375f53f4e2b0383c653b1be81538795 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-06-08 07:14:21 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-06-08 07:14:21 +0000 dev-python/grpcio-tools: respect CC in setup.py Upstream-PR: https://github.com/grpc/grpc/pull/23159 Bug: https://bugs.gentoo.org/727478 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-python/grpcio-tools/files/setup.py-respect-cc.patch | 14 ++++++++++++++ dev-python/grpcio-tools/grpcio-tools-1.28.1.ebuild | 2 ++ 2 files changed, 16 insertions(+) all versions are patched, closing. |