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

Bug 940451

Summary: games-fps/blackshades-20070723-r1 - [gcc-15] Source/Person.cpp: error: costume violates the C++ One Definition Rule [-Werror=odr]
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: 618550    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
games-fps:blackshades-20070723-r1:20240928-174633.log
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-09-28 17:59:10 UTC
too long lines were shrinked:

      |                                 ^~~
Source/Text.h: In destructor Text::~Text():
Source/Text.h:28:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   28 |                         glDeleteTextures( 1, (const GLuint *)FontTexture );
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-g++ -o ./objs/blackshades ./objs/Camera.o ./objs/Decals.o ./objs/Fog.o ./objs/Frustum.o ./objs/GameDraw.o ./objs/GameInitDispose.o ./objs/GameLoop.o ./objs/GameTick.o ./objs/Globals.o ./objs/MacInput.o ./objs/Main.o ./objs/Maths.o ./objs/Models.o ./objs/Person.o ./objs/Quaternion
Source/Person.cpp:778:16: error: costume violates the C++ One Definition Rule [-Werror=odr]
  778 | extern Costume costume[2];
      |                ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20240925-080506

  UNMASKED:
  /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 19.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/19
19.1.0
Python 3.12.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.3 *
go version go1.23.1 linux/amd64

  HEAD of ::gentoo
commit 5f2a01cf00f3d766177310c386f12484a1ec5476
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 28 17:06:04 2024 +0000

    Merge updates from master

emerge -qpvO =games-fps/blackshades-20070723-r1
[ebuild  N    ] games-fps/blackshades-20070723-r1
Comment 1 Toralf Förster gentoo-dev 2024-09-28 17:59:11 UTC
Created attachment 904095 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-28 17:59:13 UTC
Created attachment 904096 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-09-28 17:59:14 UTC
Created attachment 904097 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-09-28 17:59:15 UTC
Created attachment 904098 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-09-28 17:59:16 UTC
Created attachment 904099 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-28 17:59:17 UTC
Created attachment 904100 [details]
games-fps:blackshades-20070723-r1:20240928-174633.log
Comment 7 Toralf Förster gentoo-dev 2024-09-28 17:59:18 UTC
Created attachment 904101 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-09-28 17:59:19 UTC
Created attachment 904102 [details]
temp.tar.xz