/var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/sql/binlog/group_commit/bgc_ticket.h:151:20: error: ValueType does not name a type 151 | static constexpr ValueType first_ticket_value = 1; | ^~~~~~~~~ /var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/sql/binlog/group_commit/bgc_ticket.h:154:3: error: ValueType does not name a type 154 | ValueType m_ticket; ///< 1 bit for synchronization, 63 bits - ticket value | ^~~~~~~~~ /var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/sql/binlog/group_commit/bgc_ticket.h:61:48: error: first_ticket_value was not declared in this scope 61 | explicit BgcTicket(const ValueType &ticket = first_ticket_value); | ^~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd_merged_usr-j5-20230221-030056 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 15.0.7 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.7 Python 3.10.10 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.67.1 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php7.4 [2] php8.0 [3] php8.2 * HEAD of ::gentoo commit c84353c988562dd998c247a035aa71d3654a982e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Feb 22 06:47:01 2023 +0000 2023-02-22 06:47:00 UTC emerge -qpvO dev-db/mysql [ebuild N ] dev-db/mysql-8.0.32-r2 USE="cjk jemalloc perl server -cracklib -debug -latin1 -numa -profiling -router (-selinux) -tcmalloc -test"
Created attachment 853800 [details] emerge-info.txt
Created attachment 853802 [details] dev-db:mysql-8.0.32-r2:20230222-071451.log.bz2
Created attachment 853804 [details] emerge-history.txt
Created attachment 853806 [details] environment
Created attachment 853808 [details] etc.clang.tar.bz2
Created attachment 853810 [details] etc.portage.tar.bz2
Created attachment 853812 [details] logs.tar.bz2
Created attachment 853814 [details] temp.tar.bz2
Created attachment 859937 [details, diff] Patch: Include cstdint Hit this issue, using gcc-13 as well. /var/tmp/portage/dev-db/mysql-8.0.32-r2/work/mysql/sql/binlog/group_commit/bgc_ticket.h:54:26: error: ‘uint64_t’ in name space ‘std’ does not name a type; did you mean ‘wint_t’? 54 | using ValueType = std::uint64_t; | ^~~~~~~~ | wint_t Issue is just GCC-13 header dependency changes. Included cstdint and it built. Upstream pull request: https://github.com/mysql/mysql-server/pull/456
Thanks. Forgot the bug tag.. commit 6e342407489fd0bf17768951c1391b81cde22465 (HEAD -> master, origin/master, origin/HEAD) Author: Sam James <sam@gentoo.org> Date: Wed Apr 12 14:36:26 2023 +0100 dev-db/mysql: fix build w/ gcc 13 Thanks-to: Alfred Wingate <parona@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>