Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944182 - dev-libs/xmlrpc-c-1.59.03 - [libtool] [gcc-15] srcdir/.../bool.h: error: expected identifier before false
Summary: dev-libs/xmlrpc-c-1.59.03 - [libtool] [gcc-15] srcdir/.../bool.h: error: expe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-20 16:12 UTC by Toralf Förster
Modified: 2025-04-30 22:13 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,21.81 KB, text/plain)
2024-11-20 16:12 UTC, Toralf Förster
Details
dev-libs:xmlrpc-c-1.54.06:20241120-101741.log (dev-libs:xmlrpc-c-1.54.06:20241120-101741.log,24.86 KB, text/plain)
2024-11-20 16:12 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,94.96 KB, application/x-xz)
2024-11-20 16:12 UTC, Toralf Förster
Details
environment (environment,66.98 KB, text/plain)
2024-11-20 16:12 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-20 16:12 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,38.07 KB, application/x-xz)
2024-11-20 16:12 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,15.68 KB, application/x-xz)
2024-11-20 16:12 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,95.84 KB, application/x-xz)
2024-11-20 16:12 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,16.04 KB, application/x-xz)
2024-11-20 16:12 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-20 16:12:16 UTC
echo "#define XMLRPC_VERSION_MINOR 54" >>version.h
echo "#define XMLRPC_VERSION_POINT 6" >>version.h
make[2]: Leaving directory '/var/tmp/portage/dev-libs/xmlrpc-c-1.54.06/work/xmlrpc-c-1.54.06'
make[2]: Entering directory '/var/tmp/portage/dev-libs/xmlrpc-c-1.54.06/work/xmlrpc-c-1.54.06/lib/libutil'
x86_64-pc-linux-gnu-gcc -c -o base64.o -DNDEBUG -pthread -Wall -W -Wno-uninitialized -Wundef -Wno-unknown-pragmas -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wimplicit -fno-common    -I/var/tmp/portage/dev-libs/xmlrpc-c-1.54.06/work/xmlrpc-c-1.54.06 -Isrcdir -I/var/tmp/portage/dev-libs/xmlrpc-c-1.54.06/work/xmlrpc-c-1.54.06/include -Isrcdir/include -Isrcdir/lib/util/include  -O2 -pipe -march=native -fno-diagnostics-color base64.c
In file included from base64.c:5:
srcdir/lib/util/include/bool.h:13:5: error: expected identifier before false
   13 |     false = 0,
      |     ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20241110-003003

  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.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.3 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-bin-1.77.1
  [3]   rust-bin-1.81.0
  [4]   rust-bin-1.82.0
  [5]   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 9c114a472219cb326ab9c8988cdacccefa20779e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 20 09:48:38 2024 +0000

    2024-11-20 09:48:37 UTC

emerge -qpvO =dev-libs/xmlrpc-c-1.54.06
[ebuild  N    ] dev-libs/xmlrpc-c-1.54.06  USE="curl cxx libxml2 -abyss -cgi -test -threads"
Comment 1 Toralf Förster gentoo-dev 2024-11-20 16:12:17 UTC
Created attachment 910733 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-20 16:12:18 UTC
Created attachment 910734 [details]
dev-libs:xmlrpc-c-1.54.06:20241120-101741.log
Comment 3 Toralf Förster gentoo-dev 2024-11-20 16:12:19 UTC
Created attachment 910735 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-11-20 16:12:21 UTC
Created attachment 910736 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-20 16:12:21 UTC
Created attachment 910737 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-20 16:12:22 UTC
Created attachment 910738 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-20 16:12:23 UTC
Created attachment 910739 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-20 16:12:24 UTC
Created attachment 910740 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-20 16:12:25 UTC
Created attachment 910741 [details]
temp.tar.xz
Comment 10 Agostino Sarubbo gentoo-dev 2024-11-28 08:21:05 UTC
gcc15_tinderbox has reproduced this issue with version 1.59.03 - Updating summary.
Comment 11 Sebastian Pipping gentoo-dev 2025-03-31 23:08:49 UTC
Confirmed using:

  CC=gcc-14 CXX=g++-14 CFLAGS="-std=c23" ebuild xmlrpc-c-1.59.03-r1.ebuild manifest clean compile
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-25 16:17:50 UTC
Any news? Reported upstream?
Comment 13 Sebastian Pipping gentoo-dev 2025-04-28 16:11:05 UTC
(In reply to Sam James from comment #12)
> Any news? Reported upstream?

If I remember correctly, later releases fix the issue but they only exist as
tags in in subversion and do not have proper tarballs.  I did ask for tarballs
but that didn't get anywhere (..).
Comment 14 Joe Kappus 2025-04-30 21:37:14 UTC
I wasn't able to get the newer superstable tarball to build, nor the stable, nor the advanced branch off subversion. Same/similar C23 errors. 

1.60.05 is latest in the super stable series, tarball here: https://sourceforge.net/projects/xmlrpc-c/files/Xmlrpc-c%20Super%20Stable/1.60.05/
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-30 22:11:46 UTC
Guess I'll add in -std=gnu17 if they're already aware of it then.
Comment 16 Larry the Git Cow gentoo-dev 2025-04-30 22:13:31 UTC
The bug has been closed via the following commit(s):

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

commit f6c848ce1de00862e2839317f9acc28a17d32174
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-04-30 22:12:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-30 22:12:31 +0000

    dev-libs/xmlrpc-c: build w/ -std=gnu17
    
    Closes: https://bugs.gentoo.org/944182
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/xmlrpc-c/xmlrpc-c-1.59.03-r2.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)