Josh Elser commented on HBASE-20356:

Looks good, Mike.

I like the docs you added, but would it make sense to also include some 
explicit steps for those on rhel6/centos6? Not covering how to install 
glibc-2.14+ and protoc-3.5.1, but that you can specify the custom 
LD_LIBRARY_PATH to work around this issue? I feel like it might avoid 
re-answering this in the future.

Also, just to make sure I follow, your solution relies on "clean" not being 
specified after the protoc.skip, right? Essentially, the second command relies 
on those files being there in target already.

> protoc 3.5.1 can't compile on rhel6
> -----------------------------------
>                 Key: HBASE-20356
>                 URL: https://issues.apache.org/jira/browse/HBASE-20356
>             Project: HBase
>          Issue Type: Bug
>          Components: dependencies, thirdparty
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Mike Drob
>            Assignee: Mike Drob
>            Priority: Critical
>             Fix For: 2.0.0
>         Attachments: HBASE-20356.patch, HBASE-20356.v2.patch
> We upgraded our internal protoc version, and now can't build on RHEL6.
> I get this build error:
> {noformat}
> 2018-04-05 08:15:21.929278 [ERROR] PROTOC FAILED: ... /lib64/libc.so.6: 
> version `GLIBC_2.14' not found
> {noformat}
> See https://github.com/google/protobuf/issues/4109
> And this has come up before in https://github.com/google/protobuf/issues/3718
> Looks like we need to be on 3.4.0, unless there's a compelling reason to be 
> on something newer? Maybe roll back all the way to 3.3.0 which is what we 
> were on before... was there a specific bug we needed to get addressed?
> cc: [~elserj] [~stack]

This message was sent by Atlassian JIRA

Reply via email to