Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 901211

Summary: app-office/abiword-3.0.5 - /.../gstrfuncs.h: error: expected id-expression before ( token
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: soap
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=901035
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-office:abiword-3.0.5:20230314-094722.log.bz2
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-03-14 13:02:38 UTC
In file included from /usr/include/glib-2.0/glib/gstring.h:37,
                 from /usr/include/glib-2.0/glib/giochannel.h:36,
                 from /usr/include/glib-2.0/glib.h:56,
                 from ../../../../src/af/util/xp/ut_types.h:30,
                 from ../../../../src/af/util/xp/ut_string.h:33:
ap_Dialog_Goto.cpp: In member function 'void AP_Dialog_Goto::_setupJumpTargets()':
/usr/include/glib-2.0/glib/gstrfuncs.h:208:3: error: expected id-expression before '(' token
  208 |   (__builtin_constant_p ((STR)) ?                                             \
      |   ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j5-20230313-020004

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

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:
1)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 8545435c52dced535edfc4590175e452adcf0ec2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Mar 14 08:31:56 2023 +0000

    Merge updates from master

emerge -qpvO app-office/abiword
[ebuild  N    ] app-office/abiword-3.0.5  USE="calendar goffice introspection plugins readline -collab -cups -debug -eds -grammar -latex -map -math (-ots) -redland -spell -thesaurus -wmf -wordperfect"
Comment 1 Toralf Förster gentoo-dev 2023-03-14 13:02:39 UTC
Created attachment 857655 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-03-14 13:02:40 UTC
Created attachment 857657 [details]
app-office:abiword-3.0.5:20230314-094722.log.bz2
Comment 3 Toralf Förster gentoo-dev 2023-03-14 13:02:42 UTC
Created attachment 857659 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-03-14 13:02:43 UTC
Created attachment 857661 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-03-14 13:02:44 UTC
Created attachment 857663 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-03-14 13:02:45 UTC
Created attachment 857665 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-03-14 13:02:46 UTC
Created attachment 857667 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-03-14 13:02:47 UTC
Created attachment 857669 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-03-16 23:51:07 UTC
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(+)