Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835638 - games-engines/odamex-10.0.0 - /.../main.cpp: error: playercount was not declared in this scope
Summary: games-engines/odamex-10.0.0 - /.../main.cpp: error: playercount was not decla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-19 20:35 UTC by Toralf Förster
Modified: 2022-03-20 13:32 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.16 KB, text/plain)
2022-03-19 20:35 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,75.43 KB, application/x-bzip)
2022-03-19 20:35 UTC, Toralf Förster
Details
environment (environment,107.24 KB, text/plain)
2022-03-19 20:35 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,55.25 KB, application/x-bzip)
2022-03-19 20:36 UTC, Toralf Förster
Details
games-engines:odamex-10.0.0:20220319-195658.log (games-engines:odamex-10.0.0:20220319-195658.log,135.71 KB, text/plain)
2022-03-19 20:36 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,16.59 KB, application/x-bzip)
2022-03-19 20:36 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,36.01 KB, application/x-bzip)
2022-03-19 20:36 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 2022-03-19 20:35:56 UTC
In file included from /var/tmp/portage/games-engines/odamex-10.0.0/work/odamex-src-10.0.0/master/main.cpp:54:
/var/tmp/portage/games-engines/odamex-10.0.0/work/odamex-src-10.0.0/master/i_net.h:34:23: note:                 typedef unsigned char byte’
   34 | typedef unsigned char byte;
      |                       ^~~~
/var/tmp/portage/games-engines/odamex-10.0.0/work/odamex-src-10.0.0/master/main.cpp:203:38: error: playercount’ was not declared in this scope; did you mean pwadcount’?
  203 |                 s.playernames.resize(playercount);
      |                                      ^~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220315-201215

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
/usr/lib/llvm/13
13.0.1
Python 3.9.11
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.59.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit ae5f79fd2ef92f56296c78c4a506938a7b4a703f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Mar 19 18:49:23 2022 +0000

    2022-03-19 18:49:21 UTC

emerge -qpvO games-engines/odamex
[ebuild  N    ] games-engines/odamex-10.0.0  USE="client hidpi master portmidi server -X -odalaunch -upnp"
Comment 1 Toralf Förster gentoo-dev 2022-03-19 20:35:57 UTC
Created attachment 767404 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-03-19 20:35:58 UTC
Created attachment 767405 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-03-19 20:35:59 UTC
Created attachment 767406 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-03-19 20:36:01 UTC
Created attachment 767407 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-03-19 20:36:02 UTC
Created attachment 767408 [details]
games-engines:odamex-10.0.0:20220319-195658.log
Comment 6 Toralf Förster gentoo-dev 2022-03-19 20:36:03 UTC
Created attachment 767409 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-03-19 20:36:04 UTC
Created attachment 767410 [details]
temp.tar.bz2
Comment 8 James Le Cuirot gentoo-dev 2022-03-19 23:22:25 UTC
It's the (lack of) odalaunch USE flag, but that's all I know so far.
Comment 9 Larry the Git Cow gentoo-dev 2022-03-20 13:32:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0797eb1343330b24b4b9097622b5419d7c518dbc

commit 0797eb1343330b24b4b9097622b5419d7c518dbc
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2022-03-20 13:30:43 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2022-03-20 13:30:56 +0000

    games-engines/odamex: Patch fix USE=master breakage on newer compilers
    
    Closes: https://bugs.gentoo.org/835638
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 .../odamex/files/odamex-10.0.0-master-std.patch    | 28 ++++++++++++++++++++++
 games-engines/odamex/odamex-10.0.0.ebuild          |  1 +
 2 files changed, 29 insertions(+)