In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glibmm-2.4/glibmm/unicode.h:23, from /usr/include/glibmm-2.4/glibmm/ustring.h:21: /var/tmp/portage/media-gfx/inkscape-1.2.2/work/inkscape-1.2.2/src/ui/widget/selected-style.cpp:111:6: error: statement-expressions are not allowed outside functions nor in template-argument lists 111 | {g_strdup("application/x-oswb-color"), 0, APP_OSWB_COLOR} | ^~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd_merged_usr-j5-20230312-132220 ------------------------------------------------------------------- gcc-config -l: [1] 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): HEAD of ::gentoo commit 72d97244c052b137221eefe9ebb5ffe41f892a9c Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Mar 13 12:31:56 2023 +0000 2023-03-13 12:31:56 UTC emerge -qpvO media-gfx/inkscape [ebuild N ] media-gfx/inkscape-1.2.2 USE="X cdr exif jpeg openmp postscript readline spell -dia -graphicsmagick -imagemagick -inkjar (-jemalloc) -svg2 -test -visio -wpg" PYTHON_SINGLE_TARGET="python3_10 -python3_9 -python3_11"
Created attachment 857501 [details] emerge-info.txt
Created attachment 857503 [details] emerge-history.txt
Created attachment 857505 [details] environment
Created attachment 857507 [details] etc.clang.tar.bz2
Created attachment 857509 [details] etc.portage.tar.bz2
Created attachment 857511 [details] logs.tar.bz2
Created attachment 857513 [details] media-gfx:inkscape-1.2.2:20230313-135926.log.bz2
Created attachment 857515 [details] temp.tar.bz2
This happens on my machine as well. inkscape-1.2.1-r2 also fails with the same problem
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=494fdf6d476ec4dfa6b6c801b66709765bdce45a commit 494fdf6d476ec4dfa6b6c801b66709765bdce45a Author: Sam James <sam@gentoo.org> AuthorDate: 2023-03-16 23:47:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-03-16 23:50:33 +0000 dev-libs/glib: backport fix for building C++ applications Closes: https://bugs.gentoo.org/901211 Closes: https://bugs.gentoo.org/901035 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/glib/files/glib-2.76.0-g_strdup-c++.patch | 132 ++++++++++ dev-libs/glib/glib-2.76.0-r1.ebuild | 284 +++++++++++++++++++++ 2 files changed, 416 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b9054009ad1ec24f32e5122f71993d25a15c130 commit 5b9054009ad1ec24f32e5122f71993d25a15c130 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-03-16 23:48:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-03-16 23:50:34 +0000 profiles: mask broken =dev-libs/glib-2.76.0 Bug: https://bugs.gentoo.org/901211 Bug: https://bugs.gentoo.org/901035 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+)