Created attachment 1085087 [details] patch + spec changeset Description of problem: thrift 0.9.1 does not build on aarch64. Version-Release number of selected component (if applicable): 0.9.1-16.6 How reproducible: always Steps to Reproduce: 1. do a build (arm-koji) Actual results: Build fails with: Benchmark.cpp: In constructor 'Timer::Timer()': Benchmark.cpp:38:28: error: 'gettimeofday' was not declared in this scope gettimeofday(&vStart, 0); ^ Benchmark.cpp:38:28: note: suggested alternative: In file included from /usr/include/sys/procfs.h:32:0, from /usr/include/sys/ucontext.h:26, from /usr/include/signal.h:326, from /usr/include/sys/param.h:28, from ../../../lib/cpp/src/thrift/protocol/TProtocol.h:83, from ../../../lib/cpp/src/thrift/protocol/TBinaryProtocol.h:23, from Benchmark.cpp:26: /usr/include/sys/time.h:71:12: note: 'apache::thrift::protocol::gettimeofday' extern int gettimeofday (struct timeval *__restrict __tv, ^ Benchmark.cpp: In member function 'void Timer::start()': Benchmark.cpp:41:28: error: 'gettimeofday' was not declared in this scope gettimeofday(&vStart, 0); Expected results: package builds Additional info: Fix from upstream attached
Scratch builds on ppc64(le), aarch64, i686, x86-64, arm were fine. s390 failed to initialize mock buildroot.