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

Bug 919222

Summary: dev-ruby/grpc-1.54.0 - [clang] rb_channel.c: error: incompatible function pointer types passing
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-ruby:grpc-1.54.0:20231204-083625.log.xz
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
var.tmp.clang.tar.xz

Description Toralf Förster gentoo-dev 2023-12-04 20:15:26 UTC
      |                         void
rb_channel.c:753:42: warning: a function declaration without a prototype is
      deprecated in all versions of C [-Wstrict-prototypes]
  753 | void grpc_rb_channel_polling_thread_start() {
      |                                          ^
      |                                           void
rb_channel.c:764:40: error: incompatible function pointer types passing
      'VALUE (VALUE)' (aka 'unsigned long (unsigned long)') to parameter of type
      'VALUE (*)(void *)' (aka 'unsigned long (*)(void *)')

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-20231128-203237

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [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.0.2
php cli (if any):
  [1]   php8.1 *
  [2]   php8.2
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 13d3e2f471cd44d5e553bebe402114b8658bf2a6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 08:01:58 2023 +0000

    2023-12-04 08:01:57 UTC

emerge -qpvO dev-ruby/grpc
[ebuild  N    ] dev-ruby/grpc-1.54.0  USE="-doc -test" RUBY_TARGETS="ruby31 -ruby32"
Comment 1 Toralf Förster gentoo-dev 2023-12-04 20:15:27 UTC
Created attachment 877110 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 20:15:28 UTC
Created attachment 877111 [details]
dev-ruby:grpc-1.54.0:20231204-083625.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 20:15:29 UTC
Created attachment 877112 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-04 20:15:31 UTC
Created attachment 877113 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-04 20:15:31 UTC
Created attachment 877114 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 20:15:32 UTC
Created attachment 877115 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 20:15:34 UTC
Created attachment 877116 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-04 20:15:35 UTC
Created attachment 877117 [details]
var.tmp.clang.tar.xz