You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by si...@apache.org on 2018/06/07 06:06:30 UTC
[bookkeeper] branch branch-4.7 updated: ISSUE #1491: fix GLIBC_2.14
dep issue for protoc-3.5.1-linux-x86_64
This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch branch-4.7
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/branch-4.7 by this push:
new 77202f3 ISSUE #1491: fix GLIBC_2.14 dep issue for protoc-3.5.1-linux-x86_64
77202f3 is described below
commit 77202f3f618d44a9c9e626d6168ed3736e54d635
Author: Ethan Li <et...@gmail.com>
AuthorDate: Wed Jun 6 23:06:23 2018 -0700
ISSUE #1491: fix GLIBC_2.14 dep issue for protoc-3.5.1-linux-x86_64
Descriptions of the changes in this PR:
I tried to build the bookkeeper branch-4.7 on RHEL6 and ran into:
```
/lib64/libc.so.6: version `GLIBC_2.14' not found (required by bookkeeper-proto/target/protoc-plugins/protoc-3.5.1-linux-x86_64.exe)
```
This is similar to google/protobuf#4109 and it's related to google/protobuf#4138
We can take advantage of pulsar's fix apache/incubator-pulsar#1914 here
Master Issue: https://github.com/apache/bookkeeper/issues/1491
Author: Ethan Li <et...@gmail.com>
Reviewers: Enrico Olivelli <eo...@gmail.com>, Jia Zhai <None>, Sijie Guo <si...@apache.org>
This closes #1492 from Ethanlm/ISSUE-1491, closes #1491
---
bookkeeper-proto/pom.xml | 2 +-
pom.xml | 1 +
stream/proto/pom.xml | 2 +-
stream/statelib/pom.xml | 2 +-
stream/tests-common/pom.xml | 2 +-
5 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/bookkeeper-proto/pom.xml b/bookkeeper-proto/pom.xml
index 96724e9..96b6902 100644
--- a/bookkeeper-proto/pom.xml
+++ b/bookkeeper-proto/pom.xml
@@ -50,7 +50,7 @@
<artifactId>protobuf-maven-plugin</artifactId>
<version>${protobuf-maven-plugin.version}</version>
<configuration>
- <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
+ <protocArtifact>com.google.protobuf:protoc:${protoc3.version}:exe:${os.detected.classifier}</protocArtifact>
<checkStaleness>true</checkStaleness>
</configuration>
<executions>
diff --git a/pom.xml b/pom.xml
index 571d5bc..694b49e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -146,6 +146,7 @@
<prometheus.version>0.0.21</prometheus.version>
<datasketches.version>0.8.3</datasketches.version>
<protobuf.version>3.5.1</protobuf.version>
+ <protoc3.version>3.5.1-1</protoc3.version>
<protoc-gen-grpc-java.version>1.12.0</protoc-gen-grpc-java.version>
<rocksdb.version>5.13.1</rocksdb.version>
<shrinkwrap.version>3.0.1</shrinkwrap.version>
diff --git a/stream/proto/pom.xml b/stream/proto/pom.xml
index 644c312..45daaf7 100644
--- a/stream/proto/pom.xml
+++ b/stream/proto/pom.xml
@@ -78,7 +78,7 @@
<artifactId>protobuf-maven-plugin</artifactId>
<version>${protobuf-maven-plugin.version}</version>
<configuration>
- <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
+ <protocArtifact>com.google.protobuf:protoc:${protoc3.version}:exe:${os.detected.classifier}</protocArtifact>
<pluginId>grpc-java</pluginId>
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${protoc-gen-grpc-java.version}:exe:${os.detected.classifier}</pluginArtifact>
<checkStaleness>true</checkStaleness>
diff --git a/stream/statelib/pom.xml b/stream/statelib/pom.xml
index b3aadea..c7230ae 100644
--- a/stream/statelib/pom.xml
+++ b/stream/statelib/pom.xml
@@ -86,7 +86,7 @@
<artifactId>protobuf-maven-plugin</artifactId>
<version>${protobuf-maven-plugin.version}</version>
<configuration>
- <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
+ <protocArtifact>com.google.protobuf:protoc:${protoc3.version}:exe:${os.detected.classifier}</protocArtifact>
</configuration>
<executions>
<execution>
diff --git a/stream/tests-common/pom.xml b/stream/tests-common/pom.xml
index d736044..fa44a15 100644
--- a/stream/tests-common/pom.xml
+++ b/stream/tests-common/pom.xml
@@ -68,7 +68,7 @@
<artifactId>protobuf-maven-plugin</artifactId>
<version>${protobuf-maven-plugin.version}</version>
<configuration>
- <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
+ <protocArtifact>com.google.protobuf:protoc:${protoc3.version}:exe:${os.detected.classifier}</protocArtifact>
<pluginId>grpc-java</pluginId>
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${protoc-gen-grpc-java.version}:exe:${os.detected.classifier}</pluginArtifact>
<checkStaleness>true</checkStaleness>
--
To stop receiving notification emails like this one, please contact
sijie@apache.org.