[asterisk-bugs] [JIRA] (ASTERISK-29728) menuselect: Disabled by default modules that are enabled are always recompiled
Sean Bright (JIRA)
noreply at issues.asterisk.org
Tue Nov 9 08:50:49 CST 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=256823#comment-256823 ]
Sean Bright commented on ASTERISK-29728:
----------------------------------------
{noformat}
21:19 <@seanbright> i think parse_existing_config() and mark_as_present() are wrong
21:19 <@seanbright> MENUSELECT_APPS in menuselect.makeopts is a list of mdules that are _not_ selected
21:19 <@seanbright> so you would want to iterate all available modules and select/deselect them
21:20 <@seanbright> not just the ones listed in the .makeopts file
21:31 <@seanbright> mem->enabled = (negate ? !cat->positive_output : cat->positive_output);
21:31 * seanbright 's head explodes
{noformat}
> menuselect: Disabled by default modules that are enabled are always recompiled
> ------------------------------------------------------------------------------
>
> Key: ASTERISK-29728
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29728
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: General
> Affects Versions: 18.8.0
> Reporter: N A
> Severity: Trivial
>
> <defaultenabled>no</defaultenabled> can be added to a module so that it is not compiled by default.
> However, when this happens, any time anything changes in Asterisk source and make / make install is used to recompile, any enabled (but disabled by default) modules will ALWAYS be recompiled.
> This is mostly frustrating in the dev process, but there appears to be some logic wrong with menuselect here that seems to be causing this.
> I'm just reporting this for now, so probably best to leave it open rather than assigning it to me.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list