Current Behaviour
When attempting a CouchDB build using Erlang 20, the following warnings are emitted:
==> couch_replicator (compile)
/home/joant/couchdb/src/couch_replicator/src/couch_replicator_scheduler_job.erl:113: Warning: random:seed/1: the 'random' module is deprecated; use the 'rand' module instead
/home/joant/couchdb/src/couch_replicator/src/couch_replicator_scheduler_job.erl:471: Warning: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead
Expected Behavior
We should emit no warnings during compile.
Possible Solution
Something similar to the now-removed couch_crypto module approach is probably necessary, see
https://github.com/apache/couchdb/pull/681/files#diff-d638c36d558ae9f19898014029c6007f
Context
Trying to finish cleaning up CouchDB for OTP-20 compatibility.
Current Behaviour
When attempting a CouchDB build using Erlang 20, the following warnings are emitted:
Expected Behavior
We should emit no warnings during compile.
Possible Solution
Something similar to the now-removed
couch_cryptomodule approach is probably necessary, seehttps://github.com/apache/couchdb/pull/681/files#diff-d638c36d558ae9f19898014029c6007f
Context
Trying to finish cleaning up CouchDB for OTP-20 compatibility.