Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894782 - games-strategy/endless-sky-0.9.16.1 - source/GameWindow.cpp: error: class ImageBuffer has no member named Pixels
Summary: games-strategy/endless-sky-0.9.16.1 - source/GameWindow.cpp: error: class Ima...
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:
: 899036 (view as bug list)
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-16 14:45 UTC by Toralf Förster
Modified: 2023-04-19 03:24 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.51 KB, text/plain)
2023-02-16 14:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,179.73 KB, text/plain)
2023-02-16 14:45 UTC, Toralf Förster
Details
environment (environment,97.37 KB, text/plain)
2023-02-16 14:45 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,707 bytes, application/x-bzip)
2023-02-16 14:45 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,34.84 KB, application/x-bzip)
2023-02-16 14:45 UTC, Toralf Förster
Details
games-strategy:endless-sky-0.9.16.1:20230216-105215.log (games-strategy:endless-sky-0.9.16.1:20230216-105215.log,17.54 KB, text/plain)
2023-02-16 14:45 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.92 KB, application/x-bzip)
2023-02-16 14:45 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 2023-02-16 14:45:12 UTC
source/ImageBuffer.h:66:9: error: uint32_t does not name a type
   66 |         uint32_t *pixels;
      |         ^~~~~~~~
source/ImageBuffer.h:66:9: note: uint32_t is defined in header <cstdint>; did you forget to #include <cstdint>?
x86_64-pc-linux-gnu-g++ -o build/release/HailPanel.o -c -pipe -march=native -fno-diagnostics-color -O2 -pipe -march=native -fno-diagnostics-color -O2 -std=c++11 -Wall -Wold-style-cast -fno-rtti source/HailPanel.cpp
source/GameWindow.cpp: In static member function static void GameWindow::SetIcon():
source/GameWindow.cpp:270:20: error: class ImageBuffer has no member named Pixels
  270 |         if(!buffer.Pixels() || !buffer.Width() || !buffer.Height())
      |                    ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20230214-230019

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.67.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit ba59d294e28baf0f95fb76e78d739fb62c4d73c1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Feb 16 10:02:22 2023 +0000

    2023-02-16 10:02:21 UTC

emerge -qpvO games-strategy/endless-sky
[ebuild  N    ] games-strategy/endless-sky-0.9.16.1  USE="-gles2-only"
Comment 1 Toralf Förster gentoo-dev 2023-02-16 14:45:13 UTC
Created attachment 851792 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-16 14:45:14 UTC
Created attachment 851794 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-02-16 14:45:15 UTC
Created attachment 851796 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-16 14:45:16 UTC
Created attachment 851798 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-16 14:45:17 UTC
Created attachment 851800 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-16 14:45:18 UTC
Created attachment 851802 [details]
games-strategy:endless-sky-0.9.16.1:20230216-105215.log
Comment 7 Toralf Förster gentoo-dev 2023-02-16 14:45:19 UTC
Created attachment 851804 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-19 03:06:47 UTC
*** Bug 899036 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2023-04-19 03:24:37 UTC
The bug has been closed via the following commit(s):

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

commit db521d678981944d99b3aa4e81c741d30bded791
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-19 03:07:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-19 03:07:02 +0000

    games-strategy/endless-sky: fix build w/ gcc 13
    
    Closes: https://bugs.gentoo.org/894782
    Signed-off-by: Sam James <sam@gentoo.org>

 .../endless-sky/endless-sky-0.9.16.1.ebuild        |  1 +
 .../files/endless-sky-0.9.16.1-gcc13.patch         | 45 ++++++++++++++++++++++
 2 files changed, 46 insertions(+)