Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943934 - dev-tcltk/tdom-0.9.5 - [meson] [libtool] [gcc-15] ../.../dom.c: error: expected expression before bool
Summary: dev-tcltk/tdom-0.9.5 - [meson] [libtool] [gcc-15] ../.../dom.c: error: expect...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-19 08:48 UTC by Toralf Förster
Modified: 2025-03-05 07:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.83 KB, text/plain)
2024-11-19 08:48 UTC, Toralf Förster
Details
dev-tcltk:tdom-0.9.5:20241118-230618.log (dev-tcltk:tdom-0.9.5:20241118-230618.log,25.12 KB, text/plain)
2024-11-19 08:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,208.14 KB, text/plain)
2024-11-19 08:48 UTC, Toralf Förster
Details
environment (environment,95.54 KB, text/plain)
2024-11-19 08:48 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-11-19 08:48 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.68 KB, application/x-xz)
2024-11-19 08:48 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,9.74 KB, application/x-xz)
2024-11-19 08:48 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,56.39 KB, application/x-xz)
2024-11-19 08:48 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-11-19 08:48:04 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.9.5\" -DPACKAGE_STRING=\"tdom\ 0.9.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tdom=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_ST
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"tdom\" -DPACKAGE_TARNAME=\"tdom\" -DPACKAGE_VERSION=\"0.9.5\" -DPACKAGE_STRING=\"tdom\ 0.9.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tdom=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_ST
../generic/dom.c: In function TclTdomObjCmd:
../generic/dom.c:5494:43: error: expected identifier or ( before bool
 5494 |     int              methodIndex, result, bool;
      |                                           ^~~~
../generic/dom.c:5606:58: error: expected expression before bool
 5606 |             if (Tcl_GetBooleanFromObj (interp, objv[3], &bool) != TCL_OK) {
      |                                                          ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20241113-212003

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
  [1]   php8.2
  [2]   php8.3 *
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-bin-1.81.0
  [3]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 8566b21081f24b8ff8c5a8ecadbce83f2bdad484
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 18 17:03:30 2024 +0000

    2024-11-18 17:03:29 UTC

emerge -qpvO =dev-tcltk/tdom-0.9.5
[ebuild  N    ] dev-tcltk/tdom-0.9.5  USE="threads"
Comment 1 Toralf Förster gentoo-dev 2024-11-19 08:48:05 UTC
Created attachment 909842 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-19 08:48:06 UTC
Created attachment 909843 [details]
dev-tcltk:tdom-0.9.5:20241118-230618.log
Comment 3 Toralf Förster gentoo-dev 2024-11-19 08:48:08 UTC
Created attachment 909844 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-19 08:48:09 UTC
Created attachment 909845 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-19 08:48:10 UTC
Created attachment 909846 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-19 08:48:10 UTC
Created attachment 909847 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-19 08:48:11 UTC
Created attachment 909848 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-19 08:48:12 UTC
Created attachment 909849 [details]
qlist-info.txt.xz
Comment 9 Larry the Git Cow gentoo-dev 2025-03-05 07:07:52 UTC
The bug has been referenced in the following commit(s):

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

commit 5a8478e41908a50e1c0e7529a87f31b50a083050
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2025-03-04 01:40:37 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2025-03-05 07:07:29 +0000

    dev-tcltk/tdom: fix c23
    
    Bug: https://bugs.gentoo.org/943934
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-tcltk/tdom/files/tdom-0.9.5-fix-c23.patch | 515 ++++++++++++++++++++++++++
 dev-tcltk/tdom/tdom-0.9.5.ebuild              |   3 +-
 2 files changed, 517 insertions(+), 1 deletion(-)