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

Bug 942152

Summary: dev-python/grpcio-1.67.0 - [meson] [libtool] [gcc-15] src/.../ev_epoll1_linux.cc: error: type struct grpc_fd violates the C++ One Definition Rule [-Werror=odr]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: emerge-info.txt
dev-python:grpcio-1.67.0:20241025-193900.log.xz
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-10-25 20:32:38 UTC
too long lines were shrinked:

src/python/grpcio/grpc/_cython/cygrpc.cpp:88128:15: warning: ignoring return value of ssize_t write(int, const void*, size_t) declared with attribute warn_unused_result [-Wunused-result]
88128 |   (void)(write(__pyx_v_fd, ((char *)"1"), 1));
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-10-25 19:57:37,877 root INFO x86_64-pc-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O3 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -DNDEBUG -fPIC -D_WIN32_WINNT=1536 -DGRPC_XDS_USER
cc1: warning: command-line option -std=c++17 is valid for C++/ObjC++ but not for C
2024-10-25 19:57:38,000 root INFO x86_64-pc-linux-gnu-g++ -O3 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -DNDEBUG -shared -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-m
src/core/lib/iomgr/ev_epoll1_linux.cc:148:8: error: type struct grpc_fd violates the C++ One Definition Rule [-Werror=odr]
  148 | struct grpc_fd {
      |        ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened-20241016-143506

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.2
llvm-config: 19.1.2
Python 3.12.7
go version go1.23.2 linux/amd64
  [1]   php8.2
  [2]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0
  [2]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit 4393730317e813e3385cf39b6ff5c92f311d1ce7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Oct 25 18:03:16 2024 +0000

    2024-10-25 18:03:16 UTC

emerge -qpvO =dev-python/grpcio-1.67.0
[ebuild  N    ] dev-python/grpcio-1.67.0  USE="-debug -test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2024-10-25 20:32:39 UTC
Created attachment 906730 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-25 20:32:40 UTC
Created attachment 906731 [details]
dev-python:grpcio-1.67.0:20241025-193900.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-10-25 20:32:41 UTC
Created attachment 906732 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-10-25 20:32:43 UTC
Created attachment 906733 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-10-25 20:32:43 UTC
Created attachment 906734 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-25 20:32:45 UTC
Created attachment 906735 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-25 20:32:45 UTC
Created attachment 906736 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-25 20:32:47 UTC
Created attachment 906737 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-10-25 20:32:48 UTC
Created attachment 906738 [details]
temp.tar.xz
Comment 10 Agostino Sarubbo gentoo-dev 2024-10-28 11:43:44 UTC
*** Bug 942301 has been marked as a duplicate of this bug. ***