Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937530 - dev-cpp/json11-1.0.0-r1 - [icu-75.1] [gcc-15] /.../json11.cpp: error: uint8_t does not name a type
Summary: dev-cpp/json11-1.0.0-r1 - [icu-75.1] [gcc-15] /.../json11.cpp: error: uint8_t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-07 17:33 UTC by Toralf Förster
Modified: 2024-08-09 13:24 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.53 KB, text/plain)
2024-08-07 17:33 UTC, Toralf Förster
Details
dev-cpp:json11-1.0.0-r1:20240807-122310.log (dev-cpp:json11-1.0.0-r1:20240807-122310.log,9.67 KB, text/plain)
2024-08-07 17:33 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,74.14 KB, application/x-xz)
2024-08-07 17:33 UTC, Toralf Förster
Details
environment (environment,99.19 KB, text/plain)
2024-08-07 17:33 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.15 KB, application/x-xz)
2024-08-07 17:33 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.55 KB, application/x-xz)
2024-08-07 17:33 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,79.70 KB, application/x-xz)
2024-08-07 17:33 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.18 KB, application/x-xz)
2024-08-07 17:34 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-08-07 17:33:52 UTC
too long lines were shrinked:

 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-cpp/json11-1.0.0-r1/work/json11-1.0.0_build"
ninja -v -j4 -l0
[1/2] /usr/bin/x86_64-pc-linux-gnu-g++ -Djson11_EXPORTS -I/var/tmp/portage/dev-cpp/json11-1.0.0-r1/work/json11-1.0.0  -O3 -pipe -march=native -fno-diagnostics-color -std=gnu++11 -fPIC -fno-diagnostics-color -fPIC -fno-rtti -fno-exceptions -Wall -MD -MT CMakeFiles/json11.dir/json11.cpp.o -MF CMakeFil
FAILED: CMakeFiles/json11.dir/json11.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -Djson11_EXPORTS -I/var/tmp/portage/dev-cpp/json11-1.0.0-r1/work/json11-1.0.0  -O3 -pipe -march=native -fno-diagnostics-color -std=gnu++11 -fPIC -fno-diagnostics-color -fPIC -fno-rtti -fno-exceptions -Wall -MD -MT CMakeFiles/json11.dir/json11.cpp.o -MF CMakeFiles/jso
/var/tmp/portage/dev-cpp/json11-1.0.0-r1/work/json11-1.0.0/json11.cpp: In function void json11::dump(const std::string&, std::string&):
/var/tmp/portage/dev-cpp/json11-1.0.0-r1/work/json11-1.0.0/json11.cpp:95:32: error: uint8_t does not name a type
   95 |         } else if (static_cast<uint8_t>(ch) <= 0x1f) {
      |                                ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20240802-065003

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.2
  [2]   php8.3 *
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit 1747bfdd7502262142a17bdca1bfb528208ae4ee
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Aug 7 11:49:22 2024 +0000

    2024-08-07 11:49:22 UTC

emerge -qpvO dev-cpp/json11
[ebuild  N    ] dev-cpp/json11-1.0.0-r1
Comment 1 Toralf Förster gentoo-dev 2024-08-07 17:33:53 UTC
Created attachment 899438 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-07 17:33:53 UTC
Created attachment 899439 [details]
dev-cpp:json11-1.0.0-r1:20240807-122310.log
Comment 3 Toralf Förster gentoo-dev 2024-08-07 17:33:55 UTC
Created attachment 899440 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-08-07 17:33:56 UTC
Created attachment 899441 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-07 17:33:57 UTC
Created attachment 899442 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-07 17:33:58 UTC
Created attachment 899443 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-07 17:33:59 UTC
Created attachment 899444 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-07 17:34:00 UTC
Created attachment 899445 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-08-09 13:24:22 UTC
The bug has been closed via the following commit(s):

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

commit 79d5a2baf84f5a9086cf49095928bc9fb31cfb82
Author:     Christopher Fore <csfore@posteo.net>
AuthorDate: 2024-08-09 13:13:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-09 13:24:00 +0000

    dev-cpp/json11: Fix compilation on GCC 15
    
    Closes: https://bugs.gentoo.org/937530
    Signed-off-by: Christopher Fore <csfore@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/38028
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-cpp/json11/files/json11-1.0.0-include-cstdint.patch | 12 ++++++++++++
 dev-cpp/json11/json11-1.0.0-r1.ebuild                   |  3 ++-
 2 files changed, 14 insertions(+), 1 deletion(-)