[asterisk-bugs] [JIRA] (ASTERISK-26639) core: Disabling xmldoc support does not disable it

Corey Farrell (JIRA) noreply at issues.asterisk.org
Thu Mar 30 08:38:10 CDT 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=236204#comment-236204 ] 

Corey Farrell commented on ASTERISK-26639:
------------------------------------------

I can confirm the startup issue is related to xmldoc not truly being disabled, even if you use standard {{--prefix}}.

Required conditions:
* Configure using {{--disable-xmldoc}}.
* Delete the installed {{core-en_US.xml}}.

Results:
* Asterisk gets compiled with xmldoc support enabled even though you disabled it.
* On startup {{bucket.c}} tries loading config using {{config_options.c}}.  This config load is rejected due to lack of xmldocs, bucket init fails so system startup aborts.

[~rnewton]: I have a fix for this but the current fix creates potential ABI concerns.  By making {{--disable-xmldoc}} work it will actually cause all {{ast_xmldoc_*}} symbols to be removed for anyone using that option.  To deal with this we probably need to create stubs for all symbols in {{xmldoc.c}}?  This is unlikely to effect 3rd party modules but {{res_agi}} directly uses xmldocs so not impossible.

> core: Disabling xmldoc support does not disable it
> --------------------------------------------------
>
>                 Key: ASTERISK-26639
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26639
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 14.0.2, 14.1.1
>         Environment: ARMv5 NAS with kernel linux 2.6.31.8, uClibc
> Also on x86_64 on Ubuntu 14.04, kernel 3.13.0-86-generic
>            Reporter: Mr Dini
>            Severity: Minor
>         Attachments: asterisk_14.0.2_error.txt, config.log
>
>
> I tried to compile the asterisk from source to my NAS, but when I try to start it in debugger mode (asterisk -vvvvvvc), it gives me this output:
> http://pastebin.com/snpZEXNK
> I compiled it with the "--prefix=/ffp --disable-xmldoc" configure flags.
> What's wrong?
> Many thanks!
> [Edit by Rusty - doesn't appear to disable xml doc generation in /doc or disable the xmldoc dump command or config help sourced from xml]



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list