Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932441 - games-fps/quake2-icculus-0.16.1-r3 - [meson-9999] [gcc-15] src/.../cl_tent.c: error: passing argument 1 of CL_ParseLightning makes pointer from integer without a cast [-Win
Summary: games-fps/quake2-icculus-0.16.1-r3 - [meson-9999] [gcc-15] src/.../cl_tent.c:...
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: ~arch only
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-05-22 08:20 UTC by Toralf Förster
Modified: 2025-04-28 10:11 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.83 KB, text/plain)
2024-05-22 08:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,39.00 KB, text/plain)
2024-05-22 08:20 UTC, Toralf Förster
Details
environment (environment,93.09 KB, text/plain)
2024-05-22 08:20 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-05-22 08:20 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,27.93 KB, application/x-xz)
2024-05-22 08:20 UTC, Toralf Förster
Details
games-fps:quake2-icculus-0.16.1-r3:20240522-072323.log (games-fps:quake2-icculus-0.16.1-r3:20240522-072323.log,34.91 KB, text/plain)
2024-05-22 08:20 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,93.13 KB, text/plain)
2024-05-22 08:20 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,21.26 KB, application/x-xz)
2024-05-22 08:20 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-05-22 08:20:17 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DDEFAULT_BASEDIR=\"/usr/share/quake2\" -DDEFAULT_LIBDIR=\"/usr/lib64/quake2-icculus-qmax\" -DQMAX -DJoystick -DC_ONLY -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -DLINUX_VERSION=\"3.21+r0.16\" -o releasex86
x86_64-pc-linux-gnu-gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DDEFAULT_BASEDIR=\"/usr/share/quake2\" -DDEFAULT_LIBDIR=\"/usr/lib64/quake2-icculus-qmax\" -DQMAX -DJoystick -DC_ONLY -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -DLINUX_VERSION=\"3.21+r0.16\" -o releasex86
x86_64-pc-linux-gnu-gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DDEFAULT_BASEDIR=\"/usr/share/quake2\" -DDEFAULT_LIBDIR=\"/usr/lib64/quake2-icculus-qmax\" -DQMAX -DJoystick -DC_ONLY -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -DLINUX_VERSION=\"3.21+r0.16\" -o releasex86
x86_64-pc-linux-gnu-gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DDEFAULT_BASEDIR=\"/usr/share/quake2\" -DDEFAULT_LIBDIR=\"/usr/lib64/quake2-icculus-qmax\" -DQMAX -DJoystick -DC_ONLY -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -DLINUX_VERSION=\"3.21+r0.16\" -o releasex86
x86_64-pc-linux-gnu-gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DDEFAULT_BASEDIR=\"/usr/share/quake2\" -DDEFAULT_LIBDIR=\"/usr/lib64/quake2-icculus-qmax\" -DQMAX -DJoystick -DC_ONLY -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -DLINUX_VERSION=\"3.21+r0.16\" -o releasex86
src/client/cl_tent.c: In function CL_ParseTEnt:
src/client/cl_tent.c:1188:36: error: passing argument 1 of CL_ParseLightning makes pointer from integer without a cast [-Wint-conversion]
 1188 |           ent = CL_ParseLightning (10);
      |                                    ^~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20240521-083502

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <dev-build/meson-9999
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.

  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.6
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.6
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems) *
  [3]   ruby33 (with Rubygems)
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit 277aed16736ec5027017252d7dd1bbf62e627d17
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed May 22 05:48:50 2024 +0000

    2024-05-22 05:48:50 UTC

emerge -qpvO games-fps/quake2-icculus
[ebuild  N    ] games-fps/quake2-icculus-0.16.1-r3  USE="demo ipv6 joystick qmax rogue xatrix -X -aalib -alsa (-cdinstall) -dedicated -opengl -sdl"
Comment 1 Toralf Förster gentoo-dev 2024-05-22 08:20:18 UTC
Created attachment 893766 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-22 08:20:19 UTC
Created attachment 893767 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-05-22 08:20:21 UTC
Created attachment 893768 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-05-22 08:20:21 UTC
Created attachment 893769 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-05-22 08:20:22 UTC
Created attachment 893770 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-22 08:20:23 UTC
Created attachment 893771 [details]
games-fps:quake2-icculus-0.16.1-r3:20240522-072323.log
Comment 7 Toralf Förster gentoo-dev 2024-05-22 08:20:25 UTC
Created attachment 893772 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-05-22 08:20:26 UTC
Created attachment 893773 [details]
temp.tar.xz
Comment 9 Steven Newbury 2025-04-28 10:11:50 UTC
Don't build with USE=qmax enabled, the QMAX code simply isn't complete in this version of quake2-icculus.  The USE flag should be removed, or the code fixed.