<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15127">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">loader: Sync load- and build-time deps.<br><br>In MODULEINFO, each depend has to be listed in .requires of AST_MODULE_INFO.<br><br>ASTERISK-29148<br><br>Change-Id: I254dd33194ae38d2877b8021c57c2a5deb6bbcd2<br>---<br>M funcs/func_odbc.c<br>M funcs/func_periodic_hook.c<br>M res/res_hep_pjsip.c<br>M res/res_odbc.c<br>M res/res_pjproject.c<br>M res/res_pjsip.c<br>M res/res_pjsip_config_wizard.c<br>M res/res_pjsip_stir_shaken.c<br>M tests/test_http_media_cache.c<br>9 files changed, 10 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/27/15127/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c</span><br><span>index e9fe597..abff612 100644</span><br><span>--- a/funcs/func_odbc.c</span><br><span>+++ b/funcs/func_odbc.c</span><br><span>@@ -1947,4 +1947,5 @@</span><br><span> .load = load_module,</span><br><span> .unload = unload_module,</span><br><span> .reload = reload,</span><br><span style="color: hsl(120, 100%, 40%);">+ .requires = "res_odbc",</span><br><span> );</span><br><span>diff --git a/funcs/func_periodic_hook.c b/funcs/func_periodic_hook.c</span><br><span>index 31c534c..e38ff3e 100644</span><br><span>--- a/funcs/func_periodic_hook.c</span><br><span>+++ b/funcs/func_periodic_hook.c</span><br><span>@@ -519,4 +519,5 @@</span><br><span> .support_level = AST_MODULE_SUPPORT_CORE,</span><br><span> .load = load_module,</span><br><span> .unload = unload_module,</span><br><span style="color: hsl(120, 100%, 40%);">+ .requires = "app_chanspy,func_cut,func_groupcount,func_uri",</span><br><span> );</span><br><span>diff --git a/res/res_hep_pjsip.c b/res/res_hep_pjsip.c</span><br><span>index be2f6ea..b1a0377 100644</span><br><span>--- a/res/res_hep_pjsip.c</span><br><span>+++ b/res/res_hep_pjsip.c</span><br><span>@@ -251,5 +251,5 @@</span><br><span> .support_level = AST_MODULE_SUPPORT_EXTENDED,</span><br><span> .load = load_module,</span><br><span> .unload = unload_module,</span><br><span style="color: hsl(0, 100%, 40%);">- .requires = "res_hep,res_pjsip",</span><br><span style="color: hsl(120, 100%, 40%);">+ .requires = "res_pjsip,res_pjsip_session,res_hep",</span><br><span> );</span><br><span>diff --git a/res/res_odbc.c b/res/res_odbc.c</span><br><span>index da8700d..0dc8124 100644</span><br><span>--- a/res/res_odbc.c</span><br><span>+++ b/res/res_odbc.c</span><br><span>@@ -1143,4 +1143,5 @@</span><br><span> .unload = unload_module,</span><br><span> .reload = reload,</span><br><span> .load_pri = AST_MODPRI_REALTIME_DEPEND,</span><br><span style="color: hsl(120, 100%, 40%);">+ .requires = "res_odbc_transaction",</span><br><span> );</span><br><span>diff --git a/res/res_pjproject.c b/res/res_pjproject.c</span><br><span>index 2bb5d3b..f6dce4c 100644</span><br><span>--- a/res/res_pjproject.c</span><br><span>+++ b/res/res_pjproject.c</span><br><span>@@ -34,6 +34,7 @@</span><br><span> </span><br><span> /*** MODULEINFO</span><br><span> <depend>pjproject</depend></span><br><span style="color: hsl(120, 100%, 40%);">+ <depend>res_sorcery_config</depend></span><br><span> <support_level>core</support_level></span><br><span> ***/</span><br><span> </span><br><span>@@ -767,4 +768,5 @@</span><br><span> .unload = unload_module,</span><br><span> .reload = reload_module,</span><br><span> .load_pri = AST_MODPRI_CHANNEL_DEPEND - 6,</span><br><span style="color: hsl(120, 100%, 40%);">+ .requires = "res_sorcery_config",</span><br><span> );</span><br><span>diff --git a/res/res_pjsip.c b/res/res_pjsip.c</span><br><span>index 90438d4..a5320ed 100644</span><br><span>--- a/res/res_pjsip.c</span><br><span>+++ b/res/res_pjsip.c</span><br><span>@@ -5396,6 +5396,6 @@</span><br><span> .unload = unload_module,</span><br><span> .reload = reload_module,</span><br><span> .load_pri = AST_MODPRI_CHANNEL_DEPEND - 5,</span><br><span style="color: hsl(0, 100%, 40%);">- .requires = "dnsmgr,res_pjproject",</span><br><span style="color: hsl(120, 100%, 40%);">+ .requires = "dnsmgr,res_pjproject,res_sorcery_config,res_sorcery_memory,res_sorcery_astdb",</span><br><span> .optional_modules = "res_statsd",</span><br><span> );</span><br><span>diff --git a/res/res_pjsip_config_wizard.c b/res/res_pjsip_config_wizard.c</span><br><span>index e61b7c5..3f8a3ff 100644</span><br><span>--- a/res/res_pjsip_config_wizard.c</span><br><span>+++ b/res/res_pjsip_config_wizard.c</span><br><span>@@ -1348,4 +1348,5 @@</span><br><span> .load = load_module,</span><br><span> .unload = unload_module,</span><br><span> .load_pri = AST_MODPRI_REALTIME_DRIVER,</span><br><span style="color: hsl(120, 100%, 40%);">+ .requires = "res_pjsip",</span><br><span> );</span><br><span>diff --git a/res/res_pjsip_stir_shaken.c b/res/res_pjsip_stir_shaken.c</span><br><span>index de24b26..0a4a2bb 100644</span><br><span>--- a/res/res_pjsip_stir_shaken.c</span><br><span>+++ b/res/res_pjsip_stir_shaken.c</span><br><span>@@ -329,5 +329,5 @@</span><br><span> .load = load_module,</span><br><span> .unload = unload_module,</span><br><span> .load_pri = AST_MODPRI_DEFAULT,</span><br><span style="color: hsl(0, 100%, 40%);">- .requires = "res_pjsip,res_stir_shaken",</span><br><span style="color: hsl(120, 100%, 40%);">+ .requires = "res_pjsip,res_pjsip_session,res_stir_shaken",</span><br><span> );</span><br><span>diff --git a/tests/test_http_media_cache.c b/tests/test_http_media_cache.c</span><br><span>index 2a3398f..c197539 100644</span><br><span>--- a/tests/test_http_media_cache.c</span><br><span>+++ b/tests/test_http_media_cache.c</span><br><span>@@ -697,4 +697,5 @@</span><br><span> .load = load_module,</span><br><span> .reload = reload_module,</span><br><span> .unload = unload_module,</span><br><span style="color: hsl(120, 100%, 40%);">+ .requires = "res_http_media_cache",</span><br><span> );</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15127">change 15127</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/15127"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I254dd33194ae38d2877b8021c57c2a5deb6bbcd2 </div>
<div style="display:none"> Gerrit-Change-Number: 15127 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>