[Home]

Summary:ASTERISK-27684: [patch] install_prereq: Update OpenBSD libraries.
Reporter:Alexander Traud (traud)Labels:patch webrtc
Date Opened:2018-02-16 12:38:23.000-0600Date Closed:2018-02-19 18:59:37.000-0600
Priority:TrivialRegression?
Status:Closed/CompleteComponents:Contrib/General
Versions:13.19.1 Frequency of
Occurrence
Related
Issues:
Environment:OpenBSD 6.2Attachments:( 0) prerequisites_openbsd.patch
Description:The script {{./contrib/scripts/install_prereq}} allows the first-time user to install the required libraries to compile all Asterisk modules. Therefore, the list of libraries should be up-to-date with the current development of Asterisk. Especially novice users get frustrated when that script fails or is not complete: 'If the Asterisk community does not know it, how should I?'

Five years ago, Asterisk 12 (ASTERISK-20726) made libuuid an essential prerequisite. Even that library was not installed by this script although it should be added with ASTERISK-21816.

After tests in OpenBSD 6.2 the following differences to Fedora (ASTERISK-27599) were revealed:

*not added* because installed already (essential part):
* pkg-config
* libedit
* libssl, not via OpenSSL but LibreSSL
* zlib
* patch

*not added* because not found:
* Advanced Linux Sound Architecture ([ALSA|http://www.alsa-project.org/])
* The Fast Lexical Analyzer ([flex|http://github.com/westes/flex])
* Bluetooth ([BlueZ|http://www.bluez.org/])
* [Corosync|http://corosync.github.io/]
* Not Erik's Windowing Toolkit ([newt|http://pagure.io/newt])
* libresample
* Binary File Descriptor library (BFD; binutils)
* WebRTC iLBC, see ASTERISK-27669
* [OpenLDAP|http://www.openldap.org/]
* [Hoard|http://hoard.org/]
* [Codec 2|http://www.rowetel.com/blog/?page_id=452]
* [Unbound|http://www.unbound.net/]

*not added*:
* gcc, because base compiler is installed already (clang)
* bash, see ASTERISK-27606
* jack

The module app_jack -- the only module which requires jack -- requires libresample as well. libresample was not found. Therefore, no reason was found to install jack, although that is available as port.

These modules were found thanks to{code}pkg_add pkglocatedb
pkglocate pkg.m4{code}
Comments:By: Asterisk Team (asteriskteam) 2018-02-16 12:38:24.614-0600

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: Friendly Automation (friendly-automation) 2018-02-19 18:59:38.355-0600

Change 8240 merged by Jenkins2:
install_prereq: Update OpenBSD libraries.

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

By: Friendly Automation (friendly-automation) 2018-02-19 19:04:14.861-0600

Change 8239 merged by Jenkins2:
install_prereq: Update OpenBSD libraries.

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

By: Friendly Automation (friendly-automation) 2018-02-19 19:20:58.364-0600

Change 8238 merged by Jenkins2:
install_prereq: Update OpenBSD libraries.

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