[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 10:51:07 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258482#comment-258482 ]
Stefan Ruijsenaars edited comment on ASTERISK-29986 at 3/25/22 10:50 AM:
-------------------------------------------------------------------------
It should, as even just removing the \ n fixed the issue for me at the time. Although the cleaner fix might be to fix build_tools/get_sourceable_makeopts instead, so it doesn't output unparseable makeopts?
was (Author: stefanr):
It should, as even just removing the \ n fixed the issue for me at the time. Although the cleaner fix might be to fix build_tools/get_sourceable_makeopts instead, so it doesn't output unparseable output?
> 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