Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943804 - 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
Summary: games-emulation/gnuboy-1.0.3-r4 - [ncurses-6.5] [gcc-15] rc.h: error: initial...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-18 18:57 UTC by Toralf Förster
Modified: 2024-11-19 13:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.32 KB, text/plain)
2024-11-18 18:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,193.44 KB, text/plain)
2024-11-18 18:57 UTC, Toralf Förster
Details
environment (environment,95.16 KB, text/plain)
2024-11-18 18:57 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-18 18:57 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.14 KB, application/x-xz)
2024-11-18 18:57 UTC, Toralf Förster
Details
games-emulation:gnuboy-1.0.3-r4:20241118-080536.log (games-emulation:gnuboy-1.0.3-r4:20241118-080536.log,24.79 KB, text/plain)
2024-11-18 18:57 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,5.34 KB, application/x-xz)
2024-11-18 18:57 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,57.06 KB, application/x-xz)
2024-11-18 18:57 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.36 KB, application/x-xz)
2024-11-18 18:57 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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