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

Bug 881245

Summary: dev-ruby/ruby-opengl-0.10.0-r1 - gl-1.0-1.1.c: error: incompatible function pointer types passing VALUE
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:ruby-opengl-0.10.0-r1:20221113-203109.log.bz2
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-13 20:48:38 UTC
      in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint)
         ^
gl-1.0-1.1.c:279:22: error: incompatible function pointer types passing 'VALUE
      (struct gl_endisable_args *)' (aka 'unsigned long (struct
      gl_endisable_args *)') to parameter of type 'VALUE (*)(VALUE)' (aka

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4-20221113-040004

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
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.4
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:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit e6b2cb87fde1a20d706110c0f259f9c2d2561d02
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 13 19:46:54 2022 +0000

    2022-11-13 19:46:54 UTC

emerge -qpvO dev-ruby/ruby-opengl
[ebuild  N    ] dev-ruby/ruby-opengl-0.10.0-r1  USE="-doc -test" RUBY_TARGETS="ruby27 ruby31 -ruby30"
Comment 1 Toralf Förster gentoo-dev 2022-11-13 20:48:39 UTC
Created attachment 832417 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-13 20:48:40 UTC
Created attachment 832419 [details]
dev-ruby:ruby-opengl-0.10.0-r1:20221113-203109.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-13 20:48:42 UTC
Created attachment 832421 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-13 20:48:43 UTC
Created attachment 832423 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-13 20:48:44 UTC
Created attachment 832425 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-13 20:48:45 UTC
Created attachment 832427 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-13 20:48:46 UTC
Created attachment 832429 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-13 20:48:47 UTC
Created attachment 832431 [details]
var.tmp.clang.tar.bz2