from /usr/include/unicode/unorm2.h:33, from src/unicode.c:18: src/definitions.h:48:15: error: expected identifier before numeric constant 48 | typedef enum {false, true} bool; | ^~~~~ src/definitions.h:48:28: error: expected ‘;’, identifier or ‘(’ before ‘_Bool’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-20201207-114500 ------------------------------------------------------------------- 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 Ruby profiles: [1] ruby25 (with Rubygems) [2] ruby26 (with Rubygems) [3] ruby27 (with Rubygems) * 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 Thu Dec 10 08:05:18 AM UTC 2020 emerge -qpvO dev-util/dwdiff [ebuild N ] dev-util/dwdiff-2.1.2 USE="nls"
Created attachment 677605 [details] emerge-info.txt
Created attachment 677608 [details] dev-util:dwdiff-2.1.2:20201210-082005.log
Created attachment 677611 [details] emerge-history.txt
Created attachment 677614 [details] environment
Created attachment 677617 [details] etc.portage.tbz2
Created attachment 677620 [details] logs.tbz2
Created attachment 677623 [details] temp.tbz2
src/definitions.h tests (twice) for __STDC_VERSION__ >= 19990601L which is believe is wrong. C99 had 199901L and C11 has 201112L. If I update the constant to 199901L then it compiles fine.
Reported upstream.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc08bbd83727a0f702610a30e2e2c782b2fe3687 commit cc08bbd83727a0f702610a30e2e2c782b2fe3687 Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: 2020-12-12 14:00:29 +0000 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: 2020-12-12 14:03:26 +0000 dev-util/dwdiff: fix booleans redefinition. Courtesy of Soap. Closes: https://bugs.gentoo.org/759382 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> dev-util/dwdiff/dwdiff-2.1.2.ebuild | 2 +- dev-util/dwdiff/files/C99-fix.patch | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-)