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

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Sep 14 10:20:17 CDT 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-29986:
-------------------------------------

    Target Release Version/s: 20.0.0

> 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
>      Target Release: 16.25.1, 18.11.1, 19.3.1, 16.26.0, 18.12.0, 19.4.0, 20.0.0
>
>         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