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

Stefan Ruijsenaars (JIRA) noreply at issues.asterisk.org
Fri Mar 25 08:55:07 CDT 2022


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

Stefan Ruijsenaars updated ASTERISK-29986:
------------------------------------------

    Description: 
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"

  was:
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:

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 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"


> 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/General
>    Affects Versions: 18.11.0
>            Reporter: Stefan Ruijsenaars
>            Severity: Major
>
> 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"



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



More information about the asterisk-bugs mailing list