Github user jeking3 commented on the issue:
https://github.com/apache/thrift/pull/1361
Try "dockerbuild ubuntu-xenial" then "dockerrun ubuntu-xenial", then
"build/docker/scripts/autotools.sh" inside the docker environment as that is
how travis runs, you will have the exact same build. There are no special
flags being added by Travis CI.---
