[Home]

Summary:ASTERISK-27771: [patch] BuildSystem: Incorrect warning about /usr/lib64.
Reporter:Alexander Traud (traud)Labels:patch
Date Opened:2018-03-23 13:10:28Date Closed:
Priority:MajorRegression?
Status:Open/NewComponents:Core/BuildSystem
Versions:13.20.0 15.3.0 Frequency of
Occurrence
Related
Issues:
Environment:Gentoo Linux 17.0Attachments:( 0) lib64_symlink.patch
Description:On 64-bit systems, the Makefile includes a test, whether an old Asterisk installation is still present on the system. This is done in the target _check-old-libdir_:{code}It is unlikely that asterisk will start.{code}Gentoo Linux for example (tested 17.0), the Makefile tests /usr/lib and /usr/lib64. However, because /usr/lib is a symlink to /usr/lib64, the above warning is printed.

This issue was introduced by ASTERISK-26705 (commit [4692a32|http://github.com/asterisk/asterisk/commit/4692a32ed7dccf3248383978741515a0e5b1ce85]). Attached is a patch which is GNU (Linux) and not POSIX compatible – therefore it does not work in BSD based systems. I have no idea how to tackle this correctly except to remove that target completely.
Comments:By: Asterisk Team (asteriskteam) 2018-03-23 13:10:29.075-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].