Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924019 - games-emulation/mgba-0.10.3 - /.../document.h: error: assignment of read-only member rapidjson::GenericStringRef<CharType>::length
Summary: games-emulation/mgba-0.10.3 - /.../document.h: error: assignment of read-only...
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-14
  Show dependency tree
 
Reported: 2024-02-07 17:14 UTC by Toralf Förster
Modified: 2024-05-06 14:48 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.39 KB, text/plain)
2024-02-07 17:14 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,70.88 KB, application/x-xz)
2024-02-07 17:14 UTC, Toralf Förster
Details
environment (environment,117.26 KB, text/plain)
2024-02-07 17:14 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-02-07 17:14 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,84.27 KB, application/x-xz)
2024-02-07 17:14 UTC, Toralf Förster
Details
games-emulation:mgba-0.10.3:20240207-133329.log (games-emulation:mgba-0.10.3:20240207-133329.log,42.15 KB, text/plain)
2024-02-07 17:14 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,77.15 KB, application/x-xz)
2024-02-07 17:14 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,30.28 KB, application/x-xz)
2024-02-07 17:14 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 2024-02-07 17:14:42 UTC
too long lines were shrinked:

[5/393] /usr/bin/x86_64-pc-linux-gnu-g++ -DDISCORD_LINUX -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -D_GNU_SOURCE -I/var/tmp/portage/games-emulation/mgba-0.10.3/work/mgba-0.10.3_build/include -I/var/tmp/portage/games-emulation/mgba-0.10.3/work/mgba-0.10.3/src -I/var/tmp/portage/games-emulation/mgba-0.10.3
FAILED: discord-rpc/src/CMakeFiles/discord-rpc.dir/serialization.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DDISCORD_LINUX -DUSE_PTHREADS -D_7ZIP_PPMD_SUPPPORT -D_GNU_SOURCE -I/var/tmp/portage/games-emulation/mgba-0.10.3/work/mgba-0.10.3_build/include -I/var/tmp/portage/games-emulation/mgba-0.10.3/work/mgba-0.10.3/src -I/var/tmp/portage/games-emulation/mgba-0.10.3/work/mg
In file included from /var/tmp/portage/games-emulation/mgba-0.10.3/work/mgba-0.10.3/src/third-party/discord-rpc/src/serialization.h:15,
                 from /var/tmp/portage/games-emulation/mgba-0.10.3/work/mgba-0.10.3/src/third-party/discord-rpc/src/serialization.cpp:1:
/var/tmp/portage/games-emulation/mgba-0.10.3/work/mgba-0.10.3/src/third-party/discord-rpc/include/rapidjson/document.h: In member function rapidjson::GenericStringRef<CharType>& rapidjson::GenericStringRef<CharType>::operator=(const rapidjson::GenericStringRef<CharType>&):
/var/tmp/portage/games-emulation/mgba-0.10.3/work/mgba-0.10.3/src/third-party/discord-rpc/include/rapidjson/document.h:319:82: error: assignment of read-only member rapidjson::GenericStringRef<CharType>::length
  319 |     GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
      |                                                                           ~~~~~~~^~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd_merged_usr-20240201-031002

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_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):
go version go1.21.6 linux/amd64

  HEAD of ::gentoo
commit 99a1828c5b7a78fe53529b5415e0c50415c4fcd9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Feb 7 11:03:28 2024 +0000

    2024-02-07 11:03:27 UTC

emerge -qpvO games-emulation/mgba
[ebuild  N    ] games-emulation/mgba-0.10.3  USE="discord elf gles3 gui libretro opengl sqlite -debug -ffmpeg -gles2 -lua -sdl -test" LUA_SINGLE_TARGET="-lua5-3 -lua5-4"
Comment 1 Toralf Förster gentoo-dev 2024-02-07 17:14:43 UTC
Created attachment 884485 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-02-07 17:14:44 UTC
Created attachment 884486 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-02-07 17:14:45 UTC
Created attachment 884487 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-02-07 17:14:47 UTC
Created attachment 884488 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-02-07 17:14:48 UTC
Created attachment 884489 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-02-07 17:14:49 UTC
Created attachment 884490 [details]
games-emulation:mgba-0.10.3:20240207-133329.log
Comment 7 Toralf Förster gentoo-dev 2024-02-07 17:14:51 UTC
Created attachment 884491 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-02-07 17:14:52 UTC
Created attachment 884492 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-05-06 14:48:01 UTC
The bug has been closed via the following commit(s):

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

commit ef95b8d7d6e3f6bd16348d4f2fc31a083859fb87
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-05-06 14:45:55 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-05-06 14:47:40 +0000

    games-emulation/mgba: fix bundled rapidjson with gcc14
    
    (only used with USE=discord)
    
    Closes: https://bugs.gentoo.org/924019
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../mgba/files/mgba-0.10.3-rapidjson-gcc14-const.patch  | 17 +++++++++++++++++
 games-emulation/mgba/mgba-0.10.3.ebuild                 |  1 +
 games-emulation/mgba/mgba-9999.ebuild                   |  1 +
 3 files changed, 19 insertions(+)