[asterisk-bugs] [JIRA] (ASTERISK-29986) build: Asterisk 18.11.0 doesn't compile when wget isn't available
Stefan Ruijsenaars (JIRA)
noreply at issues.asterisk.org
Fri Mar 25 09:13: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:
------------------------------------------
Attachment: makeopts-truncated.txt
Copypasted from my terminal scrollback, so truncated. The problematic line was:
DOWNLOAD=/usr/bin/curl -O --progress-bar -w "%{url_effective}\n"
> 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: Stefan Ruijsenaars
> 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