You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ch...@apache.org on 2019/01/07 23:11:07 UTC

[mesos] branch 1.7.x updated (be747e0 -> cc7f911)

This is an automated email from the ASF dual-hosted git repository.

chhsiao pushed a change to branch 1.7.x
in repository https://gitbox.apache.org/repos/asf/mesos.git.


    from be747e0  Fixed the 1.7.1 CHANGELOG format.
     new a30711a  Added missing 3rdparty patches to the distribution.
     new c4bdd4b  Removed the unnecessary `-Wno-array-bounds` flag for gRPC build.
     new fbbc591  Always build gRPC with its embedded c-ares.
     new cc7f911  Added MESOS-9505 and MESOS-9508 to the 1.7.1 CHANGELOG.

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 3rdparty/Makefile.am | 37 +++++++++++++++++++++++++++++--------
 CHANGELOG            |  2 ++
 2 files changed, 31 insertions(+), 8 deletions(-)


[mesos] 04/04: Added MESOS-9505 and MESOS-9508 to the 1.7.1 CHANGELOG.

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

chhsiao pushed a commit to branch 1.7.x
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit cc7f9113b4809e2f70ec3c64ad6ea5c00dc679fb
Author: Chun-Hung Hsiao <ch...@mesosphere.io>
AuthorDate: Mon Jan 7 15:08:54 2019 -0800

    Added MESOS-9505 and MESOS-9508 to the 1.7.1 CHANGELOG.
---
 CHANGELOG | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/CHANGELOG b/CHANGELOG
index 35f036d..18cb1ee 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -47,6 +47,8 @@ Release Notes - Mesos - Version 1.7.1
   * [MESOS-9479] - SLRP does not set RP ID in produced OperationStatus.
   * [MESOS-9480] - Master may skip processing authorization results for `LAUNCH_GROUP`.
   * [MESOS-9492] - Persist CNI working directory across reboot.
+  * [MESOS-9505] - `make check` failed with linking errors when c-ares is installed.
+  * [MESOS-9508] - Official 1.7.0 tarball can't be built on Ubuntu 16.04 LTS.
 
 ** Improvement:
   * [MESOS-6765] - Make the Resources wrapper "copy-on-write" to improve performance.


[mesos] 03/04: Always build gRPC with its embedded c-ares.

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

chhsiao pushed a commit to branch 1.7.x
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit fbbc5916098fad63d7d1e91afe1e33ae39b97d7f
Author: Chun-Hung Hsiao <ch...@mesosphere.io>
AuthorDate: Fri Jan 4 15:40:25 2019 -0800

    Always build gRPC with its embedded c-ares.
    
    We compile gRPC with its embedded c-ares library to avoid a link error
    because Mesos is not aware of the library.
    
    Review: https://reviews.apache.org/r/69671
---
 3rdparty/Makefile.am | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/3rdparty/Makefile.am b/3rdparty/Makefile.am
index acf425c..5d67ba8 100644
--- a/3rdparty/Makefile.am
+++ b/3rdparty/Makefile.am
@@ -448,8 +448,13 @@ $(LIB_GRPC): $(GRPC)-build-stamp
 # flags, which will be overwritten by the command line. See:
 # https://www.gnu.org/software/make/manual/html_node/Target_002dspecific.html
 #
-# We use EXTRA_CPPFLAGS to pass `-Wno-error`, because that one needs to be
+# NOTE: We use EXTRA_CPPFLAGS to pass `-Wno-error`, because that one needs to be
 # appended and not prepended to the constructed flags.
+#
+# NOTE: We compile gRPC with its embedded c-ares library to avoid a link error
+# because Mesos is not aware of the library; see MESOS-9505. If bundle c-ares
+# to resolve MESOS-9338 in the future, we should remove `HAS_SYSTEM_CARES` below
+# and set up proper include and linker flags instead.
 $(GRPC)-build-stamp: $(GRPC)-stamp			\
                      $(PROTOBUF)-build-stamp
 	cd $(GRPC) &&					\
@@ -472,6 +477,7 @@ $(GRPC)-build-stamp: $(GRPC)-stamp			\
 	             $(LDFLAGS)"			\
 	    LDLIBS="$(LDLIBS)"				\
 	    HAS_PKG_CONFIG=false			\
+	    HAS_SYSTEM_CARES=false			\
 	    NO_PROTOC=false				\
 	    PROTOC="$(PROTOC)"
 	touch $@


[mesos] 02/04: Removed the unnecessary `-Wno-array-bounds` flag for gRPC build.

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

chhsiao pushed a commit to branch 1.7.x
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit c4bdd4b949e2554a351ac66fcdeba7b622853d4f
Author: Chun-Hung Hsiao <ch...@mesosphere.io>
AuthorDate: Wed Dec 19 14:25:55 2018 -0800

    Removed the unnecessary `-Wno-array-bounds` flag for gRPC build.
---
 3rdparty/Makefile.am | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/3rdparty/Makefile.am b/3rdparty/Makefile.am
index b0cfbc9..acf425c 100644
--- a/3rdparty/Makefile.am
+++ b/3rdparty/Makefile.am
@@ -450,16 +450,12 @@ $(LIB_GRPC): $(GRPC)-build-stamp
 #
 # We use EXTRA_CPPFLAGS to pass `-Wno-error`, because that one needs to be
 # appended and not prepended to the constructed flags.
-#
-# NOTE: We ignore `array-bounds` errors generated by the GLIBC's `__strcmp_cg`
-# macro used in gRPC's c-ares library when compiled with Clang.
 $(GRPC)-build-stamp: $(GRPC)-stamp			\
                      $(PROTOBUF)-build-stamp
 	cd $(GRPC) &&					\
 	  CPPFLAGS="$(PROTOBUF_INCLUDE_FLAGS)		\
 	            $(SSL_INCLUDE_FLAGS)		\
 	            $(ZLIB_INCLUDE_FLAGS)		\
-	            -Wno-array-bounds			\
 	            $(CPPFLAGS)"			\
 	  CFLAGS="$(CFLAGS)"				\
 	  CXXFLAGS="$(CXXFLAGS)"			\


[mesos] 01/04: Added missing 3rdparty patches to the distribution.

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

chhsiao pushed a commit to branch 1.7.x
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit a30711ad3d712cdfff1b03537f50353299c0194a
Author: Chun-Hung Hsiao <ch...@mesosphere.io>
AuthorDate: Thu Jan 3 16:41:30 2019 -0800

    Added missing 3rdparty patches to the distribution.
    
    Review: https://reviews.apache.org/r/69665
---
 3rdparty/Makefile.am | 27 +++++++++++++++++++++++----
 1 file changed, 23 insertions(+), 4 deletions(-)

diff --git a/3rdparty/Makefile.am b/3rdparty/Makefile.am
index 0ad6f78..b0cfbc9 100644
--- a/3rdparty/Makefile.am
+++ b/3rdparty/Makefile.am
@@ -97,22 +97,41 @@ EXTRA_DIST =			\
 
 # We need to patch glog in order to deal with a compilation issue when
 # compiling with clang (and C++11); see MESOS-860, MESOS-966.
-EXTRA_DIST +=		\
+EXTRA_DIST +=			\
   $(GLOG).patch
 
+# We need to patch gRPC for non-SSL build; see MEOS-9149.
+EXTRA_DIST +=			\
+  $(GRPC).patch
+
 # We need to patch leveldb to prevent it from linking to snappy and
 # tcmalloc; see MESOS-1054, MESOS-1624.
-EXTRA_DIST +=		\
+EXTRA_DIST +=			\
   $(LEVELDB).patch
 
 # We patch libev to keep it from reaping child processes.
-EXTRA_DIST +=		\
+EXTRA_DIST +=			\
   $(LIBEV).patch
 
+# We need to patch PicoJSON for limiting the nesting level of JSON objects.
+EXTRA_DIST +=			\
+  $(PICOJSON).patch
+
 # We need to patch ZooKeeper in order to get 3.4.8 to compile on PPC LE.
-EXTRA_DIST +=		\
+EXTRA_DIST +=			\
   $(ZOOKEEPER).patch
 
+# We need the following patches for CMake and/or Windows builds.
+EXTRA_DIST +=			\
+  $(BOOST).patch		\
+  $(GOOGLETEST).patch		\
+  $(LIBARCHIVE).patch		\
+  $(PROTOBUF).patch		\
+  bzip2-1.0.6.patch		\
+  cyrus-sasl-2.1.27rc3.patch	\
+  glog-da816ea70.patch		\
+  xz-5.2.3.patch
+
 CLEAN_EXTRACTED =		\
   $(BOOST)			\
   $(CONCURRENTQUEUE)		\