Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937738 - =app-i18n/libime-1.1.8 fails to build with gcc-15.0.0_pre20240804: ‘uint32_t’ has not been declared
Summary: =app-i18n/libime-1.1.8 fails to build with gcc-15.0.0_pre20240804: ‘uint32_t’...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: yongxiang
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-10 22:32 UTC by tdr
Modified: 2024-08-15 20:35 UTC (History)
4 users (show)

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


Attachments
add cstdint include to autophrasedict.h (autophrasedict.h-cstdint.patch,652 bytes, patch)
2024-08-10 22:33 UTC, tdr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-08-10 22:32:19 UTC
autophrasedict.h does not include cstdint
fails with gcc-15.0.0_pre20240804

Reproducible: Always

Actual Results:  
FAILED: src/libime/table/CMakeFiles/IMETable.dir/autophrasedict.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DIMETable_EXPORTS -I/var/tmp/portage/app-i18n/libime-1.1.8/work/libime-1.1.8_build -I/var/tmp/portage/app-i18n/libime-1.1.8/work/libime-1.1.8/src/libime/table/../.. -I/var/tmp/portage/app-i18n/libime-1.1.8/work/libime-1.1.8_build/src/libime/table -I/var/tmp/portage/app-i18n/libime-1.1.8/work/libime-1.1.8/src/libime/core/../.. -I/var/tmp/portage/app-i18n/libime-1.1.8/work/libime-1.1.8_build/src/libime/core -isystem /usr/include/Fcitx5/Utils  -Wall -Wextra -march=native -O3 -flto=jobserver -mprefer-vector-width=512 -fno-vect-cost-model -pipe -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT src/libime/table/CMakeFiles/IMETable.dir/autophrasedict.cpp.o -MF src/libime/table/CMakeFiles/IMETable.dir/autophrasedict.cpp.o.d -o src/libime/table/CMakeFiles/IMETable.dir/autophrasedict.cpp.o -c /var/tmp/portage/app-i18n/libime-1.1.8/work/libime-1.1.8/src/libime/table/autophrasedict.cpp
In file included from /var/tmp/portage/app-i18n/libime-1.1.8/work/libime-1.1.8/src/libime/table/autophrasedict.cpp:6:
/var/tmp/portage/app-i18n/libime-1.1.8/work/libime-1.1.8/src/libime/table/autophrasedict.h:33:43: error: ‘uint32_t’ has not been declared
   33 |     void insert(const std::string &entry, uint32_t value = 0);
      |                                           ^~~~~~~~
Comment 1 tdr 2024-08-10 22:33:46 UTC
Created attachment 899825 [details, diff]
add cstdint include to autophrasedict.h
Comment 2 Larry the Git Cow gentoo-dev 2024-08-15 20:35:22 UTC
The bug has been closed via the following commit(s):

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

commit ddcfaf999c852cd1b7ef4a68379d9e7615a1cfaf
Author:     Yongxiang Liang <tanekliang@gmail.com>
AuthorDate: 2024-08-15 05:58:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-15 20:34:49 +0000

    app-i18n/libime: fix missing cstdint for GCC 15
    
    Closes: https://bugs.gentoo.org/937738
    Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38157
    Signed-off-by: Sam James <sam@gentoo.org>

 .../libime-1.1.8-include-cstdint-for-gcc-15.patch  | 12 +++++
 app-i18n/libime/libime-1.1.8-r1.ebuild             | 54 ++++++++++++++++++++++
 2 files changed, 66 insertions(+)