Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1273830 - thrift does not build on aarch64
Summary: thrift does not build on aarch64
Alias: None
Product: Fedora
Classification: Fedora
Component: thrift
Version: rawhide
Hardware: aarch64
OS: Unspecified
Target Milestone: ---
Assignee: Will Benton
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ARM64, F-ExcludeArch-aarch64
TreeView+ depends on / blocked
Reported: 2015-10-21 10:56 UTC by Marcin Juszkiewicz
Modified: 2015-10-30 09:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-10-30 09:42:01 UTC
Type: Bug

Attachments (Terms of Use)
patch + spec changeset (3.42 KB, application/mbox)
2015-10-21 10:56 UTC, Marcin Juszkiewicz
no flags Details

Description Marcin Juszkiewicz 2015-10-21 10:56:51 UTC
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):


How reproducible:


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

Comment 1 Marcin Juszkiewicz 2015-10-30 09:42:01 UTC
Scratch builds on ppc64(le), aarch64, i686, x86-64, arm were fine. 

s390 failed to initialize mock buildroot.

Note You need to log in before you can comment on or make changes to this bug.