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

Bug 760159

Summary: dev-tcltk/tclxml-3.2.7 : tclxml.c: error: expected identifier or ( before _Bool
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: TCL/TK Project <tcltk>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-tcltk:tclxml-3.2.7:20201216-101326.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-12-16 10:35:10 UTC
                 from tclxml.c:18:
tclxml.c: In function ‘TclXMLInstanceConfigure’:
tclxml.c:1585:14: error: expected identifier or ‘(’ before ‘_Bool’
 1585 |   int index, bool, doParse = 0, result;
      |              ^~~~
tclxml.c:1597:7: error: ‘result’ undeclared (first use in this function)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-abi32+64-20201212-135247

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.9
  [2]   python3.8 (fallback)
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Dec 16 09:35:11 AM UTC 2020

emerge -qpvO dev-tcltk/tclxml
[ebuild  N    ] dev-tcltk/tclxml-3.2.7  USE="-debug -threads"
Comment 1 Toralf Förster gentoo-dev 2020-12-16 10:35:12 UTC
Created attachment 678460 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-12-16 10:35:13 UTC
Created attachment 678463 [details]
dev-tcltk:tclxml-3.2.7:20201216-101326.log
Comment 3 Toralf Förster gentoo-dev 2020-12-16 10:35:14 UTC
Created attachment 678466 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-12-16 10:35:16 UTC
Created attachment 678469 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-12-16 10:35:17 UTC
Created attachment 678472 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-12-16 10:35:18 UTC
Created attachment 678475 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-12-16 10:35:19 UTC
Created attachment 678478 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-12-24 16:08:23 UTC
The bug has been closed via the following commit(s):

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

commit 250380cdb85131d3aa4d4961c594ba78b5af9be4
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2020-12-24 16:07:27 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2020-12-24 16:08:11 +0000

    dev-tcltk/tclxml: undefine bool
    
    Closes: https://bugs.gentoo.org/760159
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-tcltk/tclxml/files/tclxml-3.2.7-bool.patch | 26 ++++++++++++++++++++++++++
 dev-tcltk/tclxml/tclxml-3.2.7.ebuild           |  1 +
 2 files changed, 27 insertions(+)