[Home]

Summary:ASTERISK-27721: [patch] BuildSystem: Enable PortAudio in NetBSD.
Reporter:Alexander Traud (traud)Labels:patch
Date Opened:2018-03-06 06:20:53.000-0600Date Closed:2018-03-13 17:49:08
Priority:MinorRegression?
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:13.19.2 15.2.2 Frequency of
Occurrence
Related
Issues:
Environment:NetBSD 7.1.1Attachments:( 0) NetBSD_enable_portaudio.patch
Description:The channel driver {{chan_console}} has a dependency on the external library PortAudio. The script {{./configure}} assumes PortAudio 2.x. In NetBSD, PortAudio 1.x is the default. The newer version is available and can be installed side by side, but gets placed in a 'portaudio2' subdirectory:
* {{/usr/pkg/lib/portaudio2/libportaudio.so}}
* {{/usr/pkg/include/portaudio2/portaudio.h}}

Therefore, {{./configure}} was not able to detect PortAudio on NetBSD. Lukily, PortAudio is listed via the tool {{pkg-config}}. That way, Asterisk is able to determine the path of the headers and libraries automatically. The attached patch leverages this.

As with Python, one cannot specify a version with pkg-config in NetBSD. Why ever. This works in Ubuntu. Therefore, this explicit string 'portaudio-2.0' is required for NetBSD. Consequently, the previous check must stay.
Comments:By: Asterisk Team (asteriskteam) 2018-03-06 06:20:54.540-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-03-13 17:49:09.072-0500

Change 8437 merged by Jenkins2:
BuildSystem: Enable PortAudio in NetBSD.

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

By: Friendly Automation (friendly-automation) 2018-03-13 17:56:56.273-0500

Change 8436 merged by Jenkins2:
BuildSystem: Enable PortAudio in NetBSD.

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

By: Friendly Automation (friendly-automation) 2018-03-13 17:57:17.257-0500

Change 8438 merged by Jenkins2:
BuildSystem: Enable PortAudio in NetBSD.

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