[Home]

Summary:ASTERISK-27734: [patch] BuildSystem: Enable IMAP storage on openSUSE and Arch Linux.
Reporter:Alexander Traud (traud)Labels:patch
Date Opened:2018-03-12 05:15:39Date Closed:2018-03-14 06:36:07
Priority:MinorRegression?
Status:Closed/CompleteComponents:Applications/app_voicemail/IMAP Core/BuildSystem
Versions:13.19.2 15.2.2 Frequency of
Occurrence
Related
Issues:
Environment:openSUSE Leap (42.3) Arch Linux (rolling release)Attachments:( 0) openSUSE_enable_imap_storage.patch
Description:On openSUSE and Arch Linux, the library c-client ([UW IMAP Toolkit|http://en.wikipedia.org/wiki/UW_IMAP]), does not load all its depended libraries itself. In other words: Although that library uses functions/symbols of OpenSSL/LibreSSL, the library does not load -lcrypto and -lssl automatically. Because of this, the script ./configure of Asterisk is not able to compile/link a small app to double-check the existence of the library -lc-client.

The attached patch adds the missing dependencies manually. No regression is expected, because c-client is linked with those two libraries on other platforms anyway. Here, we just link manually.

The solution was found because the script ./configure creates a log file _config.log_ which shows the created app and the result of compiling/linking. There, in that log several OpenSSL symbols were listed as missing by the tool _ld_. Tools like _ldd_ and _nm_ verify those findings on the shared library _libc-client.so_.
Comments:By: Asterisk Team (asteriskteam) 2018-03-12 05:15:40.390-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: Friendly Automation (friendly-automation) 2018-03-14 06:36:08.259-0500

Change 8505 merged by Joshua Colp:
BuildSystem: Enable IMAP storage on openSUSE and Arch Linux.

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

By: Friendly Automation (friendly-automation) 2018-03-14 06:41:54.966-0500

Change 8506 merged by Jenkins2:
BuildSystem: Enable IMAP storage on openSUSE and Arch Linux.

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

By: Friendly Automation (friendly-automation) 2018-03-14 06:47:04.244-0500

Change 8504 merged by Jenkins2:
BuildSystem: Enable IMAP storage on openSUSE and Arch Linux.

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