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

Bug 883147

Summary: dev-ruby/coolio-1.7.1-r1 - ./.../ev.c: error: incompatible function pointer types passing
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/32001
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-ruby:coolio-1.7.1-r1:20221126-123109.log
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-26 14:29:22 UTC
/usr/include/assert.h:106:11: note: expanded from macro 'assert'
      if (expr)                                                         \
          ^~~~
In file included from libev.c:8:
./../libev/ev.c:3771:36: error: incompatible function pointer types passing
      'VALUE (void *)' (aka 'unsigned long (void *)') to parameter of type
      'void *(*)(void *)' [-Werror,-Wincompatible-function-pointer-types]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20221125-110004

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.5
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit ed60e586568c8bdc89fcbc2cc5f8418e5141ccb8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 26 11:48:53 2022 +0000

    2022-11-26 11:48:53 UTC

emerge -qpvO dev-ruby/coolio
[ebuild  N    ] dev-ruby/coolio-1.7.1-r1  USE="-doc -test" RUBY_TARGETS="ruby27 ruby31 -ruby30"
Comment 1 Toralf Förster gentoo-dev 2022-11-26 14:29:23 UTC
Created attachment 837083 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-26 14:29:24 UTC
Created attachment 837085 [details]
dev-ruby:coolio-1.7.1-r1:20221126-123109.log
Comment 3 Toralf Förster gentoo-dev 2022-11-26 14:29:26 UTC
Created attachment 837087 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-26 14:29:28 UTC
Created attachment 837089 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-26 14:29:28 UTC
Created attachment 837091 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-26 14:29:30 UTC
Created attachment 837093 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-26 14:29:30 UTC
Created attachment 837095 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-26 14:29:31 UTC
Created attachment 837097 [details]
var.tmp.clang.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-08-02 18:34:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e66deed6bc6a86cd8ad9691476f5296a7a9a7f7b

commit e66deed6bc6a86cd8ad9691476f5296a7a9a7f7b
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-07-22 15:34:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-02 18:34:01 +0000

    dev-ruby/coolio: Fix incompatible function pointer types passing
    
    Closes: https://bugs.gentoo.org/883147
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32001
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-ruby/coolio/coolio-1.7.1-r2.ebuild             | 48 ++++++++++++++++++++++
 .../files/coolio-1.7.1-fix-build-clang16.patch     | 13 ++++++
 2 files changed, 61 insertions(+)