-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bazel doesn't build on CentOS 6 #172
Comments
On Thu, Apr 30, 2015 at 10:31 AM, huahang notifications@github.com wrote:
You're in a better position to answer that question... What version is it? We've been considering ways of removing the libarchive dependency, either
|
I believe it is the version 2.8.3 of libarchive that ships with CentOS 6. It is too old for bazel right now. It would be great if this dependency could be removed. :-) |
That's ancient. The new function has been there since February 2010. You On Thu, Apr 30, 2015 at 11:55 AM, huahang notifications@github.com wrote:
|
See https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bazel-discuss/HB5p5fSrI24/M69ZlY0z4k4J for instructoins for RHEL 5. Does that work for Centos 6 ? |
@ulfjack Replacing archive_read_free() with archive_read_finish() works for CentOS 6. But it causes a warning in Ubuntu 14.04. Since archive_read_finish() is just a deprecated synonym for archive_read_free() introduced with libarchive 3.0 according to http://manpages.ubuntu.com/manpages/saucy/man3/archive_read_free.3.html, can we just use archive_read_finish() for libarchive version lower than 3.0 and archive_read_free() for 3.0 and above? I code review of this idea has been submitted in gerrit and please have a look. :-) |
fixed by eb6e903 |
When I was trying to build bazel on CentOS 6, I got the following error:
It seems that the libarchive-devel package shipped with CentOS 6 is too old?
The text was updated successfully, but these errors were encountered: