[Home]

Summary:ASTERISK-27712: [patch] BuildSystem: Detect whether uselocale(.) is available.
Reporter:Alexander Traud (traud)Labels:patch
Date Opened:2018-03-03 06:52:51.000-0600Date Closed:2018-03-05 11:50:42.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:13.19.2 Frequency of
Occurrence
Related
Issues:
Environment:NetBSD 7.1.1Attachments:( 0) NetBSD_avoid_uselocale.patch
Description:{code}[cc] stdtime/localtime.c: In function 'ast_setlocale':
stdtime/localtime.c: warning: implicit declaration of function 'uselocale'
[ld] undefined reference to 'uselocale'{code}NetBSD does not provide the function [{{uselocale(.)}}|http://man7.org/linux/man-pages/man3/uselocale.3.html] as explained in [this discussion...|http://mail-index.netbsd.org/netbsd-users/2017/02/14/msg019351.html]

The NetBSD port contains a patch created in June 2013, which uses the proposed strategy. However, the first step is to double-check whether the platform has {{uselocale(.)}} at all. That part is addressed with the attached patch.
Comments:By: Asterisk Team (asteriskteam) 2018-03-03 06:52:52.073-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-05 11:50:42.964-0600

Change 8409 merged by Jenkins2:
BuildSystem: Detect whether uselocale(.) is available.

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

By: Friendly Automation (friendly-automation) 2018-03-05 11:53:24.681-0600

Change 8411 merged by Jenkins2:
BuildSystem: Detect whether uselocale(.) is available.

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

By: Friendly Automation (friendly-automation) 2018-03-05 12:00:22.729-0600

Change 8410 merged by Jenkins2:
BuildSystem: Detect whether uselocale(.) is available.

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