You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2020/04/28 18:58:42 UTC

[couchdb] branch 3.x-backports created (now fd1258b)

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

wohali pushed a change to branch 3.x-backports
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


      at fd1258b  Drop os_mon from dependencies

This branch includes the following new commits:

     new 4208791  Suppress offsetof gcc warnings for SM60
     new fd1258b  Drop os_mon from dependencies

The 2 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.



[couchdb] 01/02: Suppress offsetof gcc warnings for SM60

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

wohali pushed a commit to branch 3.x-backports
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 42087914def27048828b3a1edd12fdec9c5ea9f6
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Tue Apr 28 13:46:14 2020 -0400

    Suppress offsetof gcc warnings for SM60
    
    Mozilla did this years ago:
    
    https://hg.mozilla.org/mozilla-central/rev/41d9d32ab5a7
---
 src/couch/rebar.config.script | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch/rebar.config.script b/src/couch/rebar.config.script
index ad897e8..320584b 100644
--- a/src/couch/rebar.config.script
+++ b/src/couch/rebar.config.script
@@ -122,7 +122,7 @@ end.
         };
     {unix, _} when SMVsn == "60" ->
         {
-            "-DXP_UNIX -I/usr/include/mozjs-60 -I/usr/local/include/mozjs-60 -std=c++14",
+            "-DXP_UNIX -I/usr/include/mozjs-60 -I/usr/local/include/mozjs-60 -std=c++14 -Wno-invalid-offsetof",
             "-L/usr/local/lib -std=c++14 -lmozjs-60 -lm"
         };
     {unix, _} when SMVsn == "68" ->


[couchdb] 02/02: Drop os_mon from dependencies

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

wohali pushed a commit to branch 3.x-backports
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit fd1258bbefe5d0737d9598dcde8b0fe7b31f3261
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Tue Apr 28 14:31:06 2020 -0400

    Drop os_mon from dependencies
---
 INSTALL.Unix.md             | 2 +-
 rebar.config.script         | 2 +-
 rel/reltool.config          | 2 --
 src/couch/src/couch.app.src | 1 -
 src/couch/src/couch.erl     | 1 -
 5 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/INSTALL.Unix.md b/INSTALL.Unix.md
index 1934e9b..cb45e9a 100644
--- a/INSTALL.Unix.md
+++ b/INSTALL.Unix.md
@@ -90,7 +90,7 @@ You can install the dependencies by running:
 
     sudo yum install autoconf autoconf-archive automake \
         curl-devel erlang-asn1 erlang-erts erlang-eunit \
-        erlang-os_mon erlang-xmerl help2man \
+        erlang-xmerl help2man \
         js-devel-1.8.5 libicu-devel libtool perl-Test-Harness
 
 You can install the Node.JS dependencies via [NodeSource](https://github.com/nodesource/distributions#rpminstall).
diff --git a/rebar.config.script b/rebar.config.script
index 0e9c978..02d0df0 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -206,7 +206,7 @@ AddConfig = [
         {plt_location, local},
         {plt_location, COUCHDB_ROOT},
         {plt_extra_apps, [
-            asn1, compiler, crypto, inets, kernel, os_mon, runtime_tools,
+            asn1, compiler, crypto, inets, kernel, runtime_tools,
             sasl, setup, ssl, stdlib, syntax_tools, xmerl]},
         {warnings, [unmatched_returns, error_handling, race_conditions]}]},
     {post_hooks, [{compile, "escript support/build_js.escript"}]}
diff --git a/rel/reltool.config b/rel/reltool.config
index 7960192..6acba37 100644
--- a/rel/reltool.config
+++ b/rel/reltool.config
@@ -19,7 +19,6 @@
         crypto,
         inets,
         kernel,
-        os_mon,
         runtime_tools,
         sasl,
         ssl,
@@ -77,7 +76,6 @@
     {app, crypto, [{incl_cond, include}]},
     {app, inets, [{incl_cond, include}]},
     {app, kernel, [{incl_cond, include}]},
-    {app, os_mon, [{incl_cond, include}]},
     {app, public_key, [{incl_cond, include}]},
     {app, runtime_tools, [{incl_cond, include}]},
     {app, sasl, [{incl_cond, include}]},
diff --git a/src/couch/src/couch.app.src b/src/couch/src/couch.app.src
index 12ec29e..6116c79 100644
--- a/src/couch/src/couch.app.src
+++ b/src/couch/src/couch.app.src
@@ -33,7 +33,6 @@
         sasl,
         inets,
         ssl,
-        os_mon,
 
         % Upstream deps
         ibrowse,
diff --git a/src/couch/src/couch.erl b/src/couch/src/couch.erl
index 60a8b66..1c912ac 100644
--- a/src/couch/src/couch.erl
+++ b/src/couch/src/couch.erl
@@ -23,7 +23,6 @@ deps() ->
     [
         sasl,
         inets,
-        os_mon,
         crypto,
         public_key,
         ssl,