Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951673 - sci-ml/sentencepiece-0.2.0 - [gcc-15] sentencepiece_processor.h: error: uint32_t does not name a type
Summary: sci-ml/sentencepiece-0.2.0 - [gcc-15] sentencepiece_processor.h: error: uint3...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-20 18:33 UTC by Toralf Förster
Modified: 2025-03-20 20:52 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.77 KB, text/plain)
2025-03-20 18:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,41.60 KB, text/plain)
2025-03-20 18:33 UTC, Toralf Förster
Details
environment (environment,89.24 KB, text/plain)
2025-03-20 18:33 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.32 KB, application/x-xz)
2025-03-20 18:33 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,435.78 KB, application/x-xz)
2025-03-20 18:33 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,102.98 KB, text/plain)
2025-03-20 18:33 UTC, Toralf Förster
Details
sci-ml:sentencepiece-0.2.0:20250320-075859.log (sci-ml:sentencepiece-0.2.0:20250320-075859.log,40.18 KB, text/plain)
2025-03-20 18:33 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,20.59 KB, application/x-xz)
2025-03-20 18:33 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 2025-03-20 18:33:42 UTC
                 from /var/tmp/portage/sci-ml/sentencepiece-0.2.0/work/sentencepiece-0.2.0/src/model_factory.h:20,
                 from /var/tmp/portage/sci-ml/sentencepiece-0.2.0/work/sentencepiece-0.2.0/src/sentencepiece_processor.cc:29:
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/ciso646:46:4: warning: #warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros" [-Wcpp]
   46 | #  warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros"
      |    ^~~~~~~
In file included from /var/tmp/portage/sci-ml/sentencepiece-0.2.0/work/sentencepiece-0.2.0/src/sentencepiece_processor.cc:15:
/var/tmp/portage/sci-ml/sentencepiece-0.2.0/work/sentencepiece-0.2.0/src/sentencepiece_processor.h:168:3: error: uint32_t does not name a type
  168 |   uint32_t id() const;
      |   ^~~~~~~~

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

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

  KEYWORDED/UNMASKED

  [gcc-15] Requested by sam
  <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 *
llvm-config: Python 3.12.9
go version go1.24.1 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.85.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 8acc18e56c25244861d07f4c0fe8ba5d145e9095
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Mar 20 07:03:30 2025 +0000

    2025-03-20 07:03:30 UTC

emerge -qpvO =sci-ml/sentencepiece-0.2.0
[ebuild  N    ] sci-ml/sentencepiece-0.2.0
Comment 1 Toralf Förster gentoo-dev 2025-03-20 18:33:43 UTC
Created attachment 921367 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-20 18:33:44 UTC
Created attachment 921368 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-03-20 18:33:45 UTC
Created attachment 921369 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-03-20 18:33:46 UTC
Created attachment 921370 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-03-20 18:33:48 UTC
Created attachment 921371 [details]
logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-20 18:33:49 UTC
Created attachment 921372 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2025-03-20 18:33:51 UTC
Created attachment 921373 [details]
sci-ml:sentencepiece-0.2.0:20250320-075859.log
Comment 8 Toralf Förster gentoo-dev 2025-03-20 18:33:52 UTC
Created attachment 921374 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2025-03-20 20:52:35 UTC
The bug has been closed via the following commit(s):

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

commit 6df685d89ee0c50a579f1f82efbc8e251ab1cb88
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2025-03-20 20:52:04 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2025-03-20 20:52:04 +0000

    sci-ml/sentencepiece: fix gcc-15
    
    Closes: https://bugs.gentoo.org/951673
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 sci-ml/sentencepiece/files/sentencepiece-0.2.0-gcc15.patch | 10 ++++++++++
 sci-ml/sentencepiece/sentencepiece-0.2.0.ebuild            |  2 ++
 2 files changed, 12 insertions(+)