Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789597 - games-emulation/fbzx-3.0.0-r1 - z80free/Z80free.h: error: reference to byte is ambiguous (maybe gcc-11 related)
Summary: games-emulation/fbzx-3.0.0-r1 - z80free/Z80free.h: error: reference to byte i...
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: gcc-11
  Show dependency tree
 
Reported: 2021-05-12 07:15 UTC by Toralf Förster
Modified: 2021-06-01 23:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.99 KB, text/plain)
2021-05-12 07:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,117.59 KB, text/plain)
2021-05-12 07:15 UTC, Toralf Förster
Details
environment (environment,59.38 KB, text/plain)
2021-05-12 07:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.12 KB, application/x-bzip)
2021-05-12 07:15 UTC, Toralf Förster
Details
games-emulation:fbzx-3.0.0-r1:20210511-202900.log (games-emulation:fbzx-3.0.0-r1:20210511-202900.log,134.19 KB, text/plain)
2021-05-12 07:15 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,20.75 KB, application/x-bzip)
2021-05-12 07:15 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-12 07:15:36 UTC
                 from cargador.hh:20,
                 from cargador.cpp:20:
z80free/Z80free.h:56:17: error: reference to ‘byte’ is ambiguous
   56 |                 byte F,A, C,B, E,D, L,H, IXl,IXh, IYl,IYh, P,S;
      |                 ^~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:61,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/char_traits.h:39,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j2-20210510-164836

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

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 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	Mon May 10 19:50:37 UTC 2021

emerge -qpvO games-emulation/fbzx
[ebuild  N    ] games-emulation/fbzx-3.0.0-r1
Comment 1 Toralf Förster gentoo-dev 2021-05-12 07:15:37 UTC
Created attachment 707256 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-12 07:15:39 UTC
Created attachment 707259 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-12 07:15:40 UTC
Created attachment 707262 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-12 07:15:41 UTC
Created attachment 707265 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-12 07:15:43 UTC
Created attachment 707268 [details]
games-emulation:fbzx-3.0.0-r1:20210511-202900.log
Comment 6 Toralf Förster gentoo-dev 2021-05-12 07:15:44 UTC
Created attachment 707271 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2021-06-01 23:44:29 UTC
The bug has been closed via the following commit(s):

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

commit b1c9ee73ff01e5be604733e6a49679d3afb1cb1d
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-06-01 12:00:08 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-06-01 23:37:55 +0000

    games-emulation/fbzx: add 4.6.0, EAPI-7
    
    - update homepage/src_uri
    - libsdl -> libsdl2
    - add missing [joystick] (bug #733446)
    - add prefix to runtime datadir
    - use provided .desktop file
    - rebased makefile patch with method to select alsa/pulseaudio
      rather than always require both (sources have defines already)
    
    gcc11 bug #789597 fixed upstream since v4.1.0 ('byte/word' removed)
    
    Closes: https://bugs.gentoo.org/733446
    Closes: https://bugs.gentoo.org/789597
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-emulation/fbzx/Manifest                      |  1 +
 games-emulation/fbzx/fbzx-4.6.0.ebuild             | 53 +++++++++++++++++++
 .../fbzx/files/fbzx-4.6.0-joystick-invert.patch    | 32 ++++++++++++
 .../fbzx/files/fbzx-4.6.0-makefile.patch           | 60 ++++++++++++++++++++++
 4 files changed, 146 insertions(+)