Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792540 - games-emulation/fceux-2.3.0 - /.../ConsoleViewerGL.cpp: error: GL_TEXTURE_RECTANGLE was not declared in this scope (maybe gcc-11 related)
Summary: games-emulation/fceux-2.3.0 - /.../ConsoleViewerGL.cpp: error: GL_TEXTURE_REC...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-27 20:12 UTC by Toralf Förster
Modified: 2021-06-02 02:38 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.15 KB, text/plain)
2021-05-27 20:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,336.77 KB, text/plain)
2021-05-27 20:12 UTC, Toralf Förster
Details
environment (environment,106.97 KB, text/plain)
2021-05-27 20:12 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.37 KB, application/x-bzip)
2021-05-27 20:12 UTC, Toralf Förster
Details
games-emulation:fceux-2.3.0:20210527-192916.log (games-emulation:fceux-2.3.0:20210527-192916.log,334.82 KB, text/plain)
2021-05-27 20:12 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.56 KB, application/x-bzip)
2021-05-27 20:12 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,155.12 KB, application/x-bzip)
2021-05-27 20:12 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 2021-05-27 20:12:06 UTC
/var/tmp/portage/games-emulation/fceux-2.3.0/work/fceux-2.3.0/src/drivers/Qt/ConsoleViewerGL.cpp: In member function ‘void ConsoleViewGL_t::buildTextures()’:
/var/tmp/portage/games-emulation/fceux-2.3.0/work/fceux-2.3.0/src/drivers/Qt/ConsoleViewerGL.cpp:96:19: error: ‘GL_TEXTURE_RECTANGLE’ was not declared in this scope; did you mean ‘GL_TEXTURE_RED_TYPE’?
   96 |          glEnable(GL_TEXTURE_RECTANGLE);
      |                   ^~~~~~~~~~~~~~~~~~~~
      |                   GL_TEXTURE_RED_TYPE
/var/tmp/portage/games-emulation/fceux-2.3.0/work/fceux-2.3.0/src/drivers/Qt/ConsoleViewerGL.cpp:119:41: error: ‘GL_BGRA’ was not declared in this scope; did you mean ‘GL_RGBA’?

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j2-20210521-110813

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu May 27 18:20:07 UTC 2021

emerge -qpvO games-emulation/fceux
[ebuild  N    ] games-emulation/fceux-2.3.0  LUA_SINGLE_TARGET="lua5-1"
Comment 1 Toralf Förster gentoo-dev 2021-05-27 20:12:07 UTC
Created attachment 711783 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-27 20:12:09 UTC
Created attachment 711786 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-27 20:12:10 UTC
Created attachment 711789 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-27 20:12:12 UTC
Created attachment 711792 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-27 20:12:14 UTC
Created attachment 711795 [details]
games-emulation:fceux-2.3.0:20210527-192916.log
Comment 6 Toralf Förster gentoo-dev 2021-05-27 20:12:15 UTC
Created attachment 711798 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-27 20:12:17 UTC
Created attachment 711801 [details]
temp.tar.bz2
Comment 8 Ionen Wolkens gentoo-dev 2021-05-27 20:33:01 UTC
Haven't tested yet but it's most likely because of qtopengl[gles2-only]
Comment 9 Larry the Git Cow gentoo-dev 2021-06-02 02:38:10 UTC
The bug has been closed via the following commit(s):

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

commit 7a01b811fcb8dc5bed24a7dadee27b8b2d8c64c5
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-06-02 02:11:56 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-06-02 02:22:32 +0000

    games-emulation/fceux: require qtopengl[-gles2-only]
    
    Closes: https://bugs.gentoo.org/792540
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-emulation/fceux/fceux-2.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)