Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944356 - dev-gap/guava-3.19 - [libtool] [gcc-15] src/.../types.h: error: expected identifier before false
Summary: dev-gap/guava-3.19 - [libtool] [gcc-15] src/.../types.h: error: expected iden...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-21 20:23 UTC by Toralf Förster
Modified: 2024-11-23 16:20 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,21.01 KB, text/plain)
2024-11-21 20:23 UTC, Toralf Förster
Details
dev-gap:guava-3.19:20241121-045201.log (dev-gap:guava-3.19:20241121-045201.log,5.89 KB, text/plain)
2024-11-21 20:23 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,63.42 KB, application/x-xz)
2024-11-21 20:23 UTC, Toralf Förster
Details
environment (environment,70.57 KB, text/plain)
2024-11-21 20:23 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-21 20:23 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.07 KB, application/x-xz)
2024-11-21 20:23 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,93.67 KB, application/x-xz)
2024-11-21 20:23 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,74.43 KB, application/x-xz)
2024-11-21 20:23 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,17.00 KB, application/x-xz)
2024-11-21 20:23 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-21 20:23:12 UTC
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-gap/guava-3.19/work/guava-3.19 ...
make -O -j4 CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color' COMPILE=x86_64-pc-linux-gnu-gcc 'COMPOPT=-O2 -pipe -march=native -fno-diagnostics-color -c' 'LINKOPT=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 ' 
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color   -c -o src/ctjhai/minimum-weight.o src/ctjhai/minimum-weight.c
In file included from src/ctjhai/minimum-weight-gf2.h:18,
                 from src/ctjhai/minimum-weight.c:33:
src/ctjhai/types.h:27:16: error: expected identifier before false
   27 | typedef enum { false = 0, true = 1 } bool;
      |                ^~~~~

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

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

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

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

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


  HEAD of ::gentoo
commit 6f9f04c8d985f9b593fa688828ed6234142183ff
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Nov 21 02:48:48 2024 +0000

    2024-11-21 02:48:47 UTC

emerge -qpvO =dev-gap/guava-3.19
[ebuild  N    ] dev-gap/guava-3.19  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2024-11-21 20:23:13 UTC
Created attachment 911149 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-21 20:23:14 UTC
Created attachment 911150 [details]
dev-gap:guava-3.19:20241121-045201.log
Comment 3 Toralf Förster gentoo-dev 2024-11-21 20:23:15 UTC
Created attachment 911151 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-11-21 20:23:16 UTC
Created attachment 911152 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-21 20:23:17 UTC
Created attachment 911153 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-21 20:23:18 UTC
Created attachment 911154 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-21 20:23:19 UTC
Created attachment 911155 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-21 20:23:20 UTC
Created attachment 911156 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-21 20:23:21 UTC
Created attachment 911157 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-11-23 14:07:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c58eeb2b1e66e76aab81f21765913710e152806

commit 6c58eeb2b1e66e76aab81f21765913710e152806
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-11-22 18:21:19 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-11-23 14:06:12 +0000

    dev-gap/guava: build with -std=c17
    
    There's a conflict with "false" and the C23 bool type.
    
    Closes: https://bugs.gentoo.org/944356
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 dev-gap/guava/{guava-3.19.ebuild => guava-3.19-r1.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)