[Home]

Summary:ASTERISK-27202: If wget is not installed and "or" is not available, external components (excluding pjsip) are not installed
Reporter:Seán C. McCord (ulexus@gmail.com)Labels:pjsip
Date Opened:2017-08-16 13:25:33Date Closed:2017-08-18 10:22:10
Priority:TrivialRegression?
Status:Closed/CompleteComponents:Codecs/codec_opus Codecs/codec_siren7
Versions:14.6.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Debian stretch (and jessie)Attachments:
Description:When `wget` is not installed, `makeopts` is built with the DOWNLOAD_TIMEOUT value of `--max-time $(or $2,$1)` (reference line 301 of `configure.ac`).

`or` does not appear to exist in the `bash` which is available in Debian stretch (assuming it is a builtin... it definitely does not exist in the filesystem), so when makeopts is called to download externals such as opus or siren7, you get an error about `makeopts: or command not found`.  The `make install` process completes, but you will not have those codecs.

Simple workaround is simply to install wget, in which case DOWNLOAD_TIMEOUT is set to `--timeout=$1`, which works fine.

Perhaps this is a just a problem on my system, but none of my machines has `or` available.
Comments:By: Asterisk Team (asteriskteam) 2017-08-16 13:25:34.999-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: George Joseph (gjoseph) 2017-08-16 14:45:20.294-0500

The issue is in the download_externals script.  I know what it is.


By: Friendly Automation (friendly-automation) 2017-08-18 10:22:11.073-0500

Change 6237 merged by Jenkins2:
Fix downloader not working with curl

[https://gerrit.asterisk.org/6237|https://gerrit.asterisk.org/6237]

By: Friendly Automation (friendly-automation) 2017-08-18 10:29:00.157-0500

Change 6239 merged by Jenkins2:
Fix downloader not working with curl

[https://gerrit.asterisk.org/6239|https://gerrit.asterisk.org/6239]

By: Friendly Automation (friendly-automation) 2017-08-18 10:38:47.294-0500

Change 6240 merged by Jenkins2:
Fix downloader not working with curl

[https://gerrit.asterisk.org/6240|https://gerrit.asterisk.org/6240]

By: Friendly Automation (friendly-automation) 2017-08-18 10:41:29.394-0500

Change 6238 merged by George Joseph:
Fix downloader not working with curl

[https://gerrit.asterisk.org/6238|https://gerrit.asterisk.org/6238]

By: Friendly Automation (friendly-automation) 2017-08-18 10:41:49.759-0500

Change 6241 merged by George Joseph:
Fix downloader not working with curl

[https://gerrit.asterisk.org/6241|https://gerrit.asterisk.org/6241]