[asterisk-bugs] [JIRA] (ASTERISK-29986) build: Asterisk 18.11.0 doesn't compile when wget isn't available

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Mar 29 12:32:07 CDT 2022


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

Friendly Automation commented on ASTERISK-29986:
------------------------------------------------

Change 18266 merged by Friendly Automation:
make_xml_documentation: Remove usage of get_sourceable_makeopts

[https://gerrit.asterisk.org/c/asterisk/+/18266|https://gerrit.asterisk.org/c/asterisk/+/18266]

> build: Asterisk 18.11.0 doesn't compile when wget isn't available
> -----------------------------------------------------------------
>
>                 Key: ASTERISK-29986
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29986
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 18.11.0
>            Reporter: Stefan Ruijsenaars
>            Assignee: Unassigned
>            Severity: Major
>         Attachments: makeopts-truncated.txt
>
>
> The error we get when running make is:
> build_tools/make_xml_documentation: 25: /tmp/ast_makeopts.29219.env: : Permission denied
> This happens while running the following command:
> build_tools/make_xml_documentation --command=create_xml --source-tree=. --mod-subdirs="channels pbx apps codecs formats cdr cel bridges funcs tests main res addons" 	--with-moduleinfo --validate --output-file=doc/core-en_US.xml
> Which, in turn, runs:
> build_tools/get_sourceable_makeopts ./makeopts
> Which generates  /tmp/ast_makeopts.29219.env, which, when sourced, tries to parse:
> DOWNLOAD="/usr/bin/curl -O --progress-bar -w "%{url_effective}
> ""
> DOWNLOAD_TO_STDOUT="/usr/bin/curl -Ls"
> Line 25 is the "" one, which generates a permission denied error.
> The newline here looks to be a problem:
> DOWNLOAD=/usr/bin/curl -O --progress-bar -w "%{url_effective}\n"
> If wget is available, DOWNLOAD Is set to a different value that doesn't contain a newline, and asterisk compiles fine.



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



More information about the asterisk-bugs mailing list