Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939219 - games-fps/prboom-plus-2.6.2 - [gcc-15] /.../gl_preprocess.c: error: passing argument 3 of gluTessCallback from incompatible pointer type [-Wincompatible-pointe
Summary: games-fps/prboom-plus-2.6.2 - [gcc-15] /.../gl_preprocess.c: error: passing a...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Breathitt Gray
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-09-07 08:55 UTC by Toralf Förster
Modified: 2024-11-23 09:35 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.45 KB, text/plain)
2024-09-07 08:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,77.91 KB, text/plain)
2024-09-07 08:55 UTC, Toralf Förster
Details
environment (environment,113.89 KB, text/plain)
2024-09-07 08:55 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-09-07 08:55 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,15.74 KB, application/x-xz)
2024-09-07 08:55 UTC, Toralf Förster
Details
games-fps:prboom-plus-2.6.2:20240907-052629.log (games-fps:prboom-plus-2.6.2:20240907-052629.log,243.91 KB, text/plain)
2024-09-07 08:55 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,167.03 KB, text/plain)
2024-09-07 08:55 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-09-07 08:55:01 UTC
too long lines were shrinked:

[121/132] /usr/bin/x86_64-pc-linux-gnu-gcc -DGL_DOOM -DHAVE_CONFIG_H -DUSE_EXPERIMENTAL_MUSIC -DUSE_FBO_TECHNIQUE -DUSE_GLU_IMAGESCALE -DUSE_GLU_MIPMAP -DUSE_GLU_TESS -DUSE_SHADERS -D_GNU_SOURCE -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -I/usr/include/SDL2 -I/var/tmp/portage/games-fps/prboom-plus-
[122/132] /usr/bin/x86_64-pc-linux-gnu-gcc -DGL_DOOM -DHAVE_CONFIG_H -DUSE_EXPERIMENTAL_MUSIC -DUSE_FBO_TECHNIQUE -DUSE_GLU_IMAGESCALE -DUSE_GLU_MIPMAP -DUSE_GLU_TESS -DUSE_SHADERS -D_GNU_SOURCE -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -I/usr/include/SDL2 -I/var/tmp/portage/games-fps/prboom-plus-
[123/132] /usr/bin/x86_64-pc-linux-gnu-gcc -DGL_DOOM -DHAVE_CONFIG_H -DUSE_EXPERIMENTAL_MUSIC -DUSE_FBO_TECHNIQUE -DUSE_GLU_IMAGESCALE -DUSE_GLU_MIPMAP -DUSE_GLU_TESS -DUSE_SHADERS -D_GNU_SOURCE -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -I/usr/include/SDL2 -I/var/tmp/portage/games-fps/prboom-plus-
FAILED: src/CMakeFiles/prboom-plus.dir/gl_preprocess.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DGL_DOOM -DHAVE_CONFIG_H -DUSE_EXPERIMENTAL_MUSIC -DUSE_FBO_TECHNIQUE -DUSE_GLU_IMAGESCALE -DUSE_GLU_MIPMAP -DUSE_GLU_TESS -DUSE_SHADERS -D_GNU_SOURCE -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -I/usr/include/SDL2 -I/var/tmp/portage/games-fps/prboom-plus-2.6.2/work
/var/tmp/portage/games-fps/prboom-plus-2.6.2/work/prboom-plus-2.6.2/prboom2/src/gl_preprocess.c: In function gld_PrecalculateSector:
/var/tmp/portage/games-fps/prboom-plus-2.6.2/work/prboom-plus-2.6.2/prboom2/src/gl_preprocess.c:499:41: error: passing argument 3 of gluTessCallback from incompatible pointer type [-Wincompatible-pointer-types]
  499 |   gluTessCallback(tess, GLU_TESS_BEGIN, ntessBegin);
      |                                         ^~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20240905-222002

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.5
Available Rust versions:
  [1]   rust-bin-1.80.1 *
php cli (if any):
  [1]   php8.3 *
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit 8ee2badfd250116b685c8032f6fa5a3fe222f1c1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 7 03:36:15 2024 +0000

    2024-09-07 03:36:15 UTC

emerge -qpvO =games-fps/prboom-plus-2.6.2
[ebuild  N    ] games-fps/prboom-plus-2.6.2  USE="alsa mad opengl pcre sdl2-mixer vorbis zlib -dumb -fluidsynth -net -portmidi -sdl2-image -server"
Comment 1 Toralf Förster gentoo-dev 2024-09-07 08:55:02 UTC
Created attachment 902271 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-07 08:55:03 UTC
Created attachment 902272 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-09-07 08:55:04 UTC
Created attachment 902273 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-09-07 08:55:05 UTC
Created attachment 902274 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-09-07 08:55:06 UTC
Created attachment 902275 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-07 08:55:07 UTC
Created attachment 902276 [details]
games-fps:prboom-plus-2.6.2:20240907-052629.log
Comment 7 Toralf Förster gentoo-dev 2024-09-07 08:55:09 UTC
Created attachment 902277 [details]
qlist-info.txt
Comment 8 Zdenek Sojka 2024-11-23 09:35:28 UTC
=games-fps/prboom-plus-2.6.2 fails to build with the stable gcc-14 now:

/var/tmp/portage/games-fps/prboom-plus-2.6.2/work/prboom-plus-2.6.2/prboom2/src/gl_shader.c:151:40: error: passing argument 3 of ‘ReadLump’ from incompatible pointer type [-Wincompatible-pointer-types]
  151 |   vp_size = ReadLump(filename, vpname, &vp_data);