Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942399 - dev-python/grpcio-1.67.0-r2 fails to compile: container_memory.h:66:27: error: uintptr_t does not name a type [-Wtemplate-body]
Summary: dev-python/grpcio-1.67.0-r2 fails to compile: container_memory.h:66:27: error...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-10-28 11:44 UTC by Agostino Sarubbo
Modified: 2024-11-04 12:22 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,41.83 KB, application/x-xz)
2024-10-28 11:44 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 2024-10-28 11:44:20 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/grpcio-1.67.0-r1 fails to compile.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-28 11:44:21 UTC
Created attachment 907113 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-28 11:44:23 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


commands.CommandError: Failed `build_ext` step:
distutils.errors.CompileError: command '/usr/bin/x86_64-pc-linux-gnu-g++' failed with exit code 1
distutils.errors.DistutilsExecError: command '/usr/bin/x86_64-pc-linux-gnu-g++' failed with exit code 1
subprocess.CalledProcessError: Command '['/usr/bin/x86_64-pc-linux-gnu-g++', '-O2', '-march=x86-64', '-pipe', '-pipe', '-frecord-gcc-switches', '-fno-diagnostics-color', '-fmessage-length=0', '-std=c++14', '-Wno-attributes', '-UNDEBUG', '-fPIC', '-D_WIN32_WINNT=1536', '-DGRPC_XDS_USER_AGENT_NAME_SUFFIX="Python"', '-DGRPC_XDS_USER_AGENT_VERSION_SUFFIX="1.67.0"', '-DOPENSSL_NO_ASM=1', '-DHAVE_CONFIG_H=1', '-DGRPC_ENABLE_FORK_SUPPORT=1', '-DGRPC_DO_NOT_INSTANTIATE_POSIX_POLLER=1', '-D__STDC_FORMAT_MACROS', '-DPyMODINIT_FUNC=extern "C" __attribute__((visibility ("default"))) PyObject*', '-DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1', '-Isrc/python/grpcio', '-Iinclude', '-I.', '-Ithird_party/abseil-cpp', '-Ithird_party/address_sorting/include', '-I/usr/include', '-I/usr/include/re2', '-I/usr/include/openssl', '-Ithird_party/upb', '-Isrc/core/ext/upb-gen', '-Isrc/core/ext/upbdefs-gen', '-Ithird_party/utf8_range', '-Ithird_party/xxhash', '-I/usr/include', '-I/usr/include/python3.10', '-c', 'src/core/lib/iomgr/resolve_address.cc', '-o', '/var/tmp/portage/dev-python/grpcio-1.67.0-r1/work/grpc-1.67.0-python3_10/build/temp.linux-x86_64-cpython-310/src/core/lib/iomgr/resolve_address.o', '-fvisibility=hidden', '-fno-wrapv', '-fno-exceptions', '-pthread']' returned non-zero exit status 1.
third_party/abseil-cpp/absl/container/internal/container_memory.h:66:27: error: ‘uintptr_t’ does not name a type [-Wtemplate-body]
Comment 3 Agostino Sarubbo gentoo-dev 2024-11-04 12:22:00 UTC
tinderbox_x86 has reproduced this issue with version 1.67.0-r2 - Updating summary.