thrift failed to build from source in Fedora rawhide/f42 https://koji.fedoraproject.org/koji/taskinfo?taskID=128153818 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild Please fix thrift at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, thrift will be orphaned. Before branching of Fedora 43, thrift will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 2072817 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2072818 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2072819 [details] state.log
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.
From build.log: libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I/usr/include -I./src -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -Wextra -pedantic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c src/thrift/concurrency/Mutex.cpp -fPIC -DPIC -o src/thrift/concurrency/.libs/Mutex.o [...] In file included from src/thrift/concurrency/Mutex.cpp:20: ./src/thrift/concurrency/Mutex.h:47:26: error: 'int64_t' has not been declared 47 | virtual bool timedlock(int64_t milliseconds) const; | ^~~~~~~ ./src/thrift/concurrency/Mutex.h:25:1: note: 'int64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>' 24 | #include <thrift/TNonCopyable.h> +++ |+#include <cstdint> 25 | ./src/thrift/concurrency/Mutex.h:60:29: error: 'int64_t' has not been declared 60 | Guard(const Mutex& value, int64_t timeout = 0) : mutex_(&value) { | ^~~~~~~ ./src/thrift/concurrency/Mutex.h:60:29: note: 'int64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>' src/thrift/concurrency/Mutex.cpp:53:6: error: no declaration matches 'bool apache::thrift::concurrency::Mutex::timedlock(int64_t) const' 53 | bool Mutex::timedlock(int64_t ms) const { | ^~~~~ ./src/thrift/concurrency/Mutex.h:47:16: note: candidate is: 'virtual bool apache::thrift::concurrency::Mutex::timedlock(int) const' 47 | virtual bool timedlock(int64_t milliseconds) const; | ^~~~~~~~~ ./src/thrift/concurrency/Mutex.h:40:7: note: 'class apache::thrift::concurrency::Mutex' defined here 40 | class Mutex { | ^~~~~ A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/19466323>. This failure seems to be triggered by upgrading GCC from version 14 to 15.
You may want to take the chance and rebase on the new release 0.22