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

Bug 943804

Summary: games-emulation/gnuboy-1.0.3-r4 - [ncurses-6.5] [gcc-15] rc.h: error: initialization of int ( )(int, char ) from incompatible pointer type int ( )(void) [-Wincompatible-p
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
games-emulation:gnuboy-1.0.3-r4:20241118-080536.log
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-11-18 18:57:14 UTC
loader.c:179:20: note: call to realloc here
  179 |         rom.bank = realloc(data, rlen);
      |                    ^~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wno-implicit -Wno-long-long -I. -I/usr/local/include  -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN  -DIS_LINUX -c emu.c -o emu.o
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wno-implicit -Wno-long-long -I. -I/usr/local/include  -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN  -DIS_LINUX -c rccmds.c -o rccmds.o
In file included from rccmds.c:8:
rc.h:39:25: error: initialization of int (*)(int,  char **) from incompatible pointer type int (*)(void) [-Wincompatible-pointer-types]
   39 | #define RCC(n,f) { (n), (f) }
      |                         ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20241112-111005

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

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

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


  HEAD of ::gentoo
commit a309a530916fdd695fdc0061470261f251b9e6c0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 18 07:48:50 2024 +0000

    2024-11-18 07:48:50 UTC

emerge -qpvO =games-emulation/gnuboy-1.0.3-r4
[ebuild  N    ] games-emulation/gnuboy-1.0.3-r4  USE="X sdl"
Comment 1 Toralf Förster gentoo-dev 2024-11-18 18:57:15 UTC
Created attachment 909184 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-18 18:57:16 UTC
Created attachment 909185 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-18 18:57:18 UTC
Created attachment 909186 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-18 18:57:19 UTC
Created attachment 909187 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-18 18:57:20 UTC
Created attachment 909188 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-18 18:57:21 UTC
Created attachment 909189 [details]
games-emulation:gnuboy-1.0.3-r4:20241118-080536.log
Comment 7 Toralf Förster gentoo-dev 2024-11-18 18:57:21 UTC
Created attachment 909190 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-18 18:57:22 UTC
Created attachment 909191 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-18 18:57:23 UTC
Created attachment 909192 [details]
temp.tar.xz