[asterisk-bugs] [JIRA] (ASTERISK-27709) [patch] BuildSystem: Avoid == for comparison in ./configure.
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Fri Mar 2 04:43:13 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242411#comment-242411 ]
Asterisk Team commented on ASTERISK-27709:
------------------------------------------
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].
> [patch] BuildSystem: Avoid == for comparison in ./configure.
> ------------------------------------------------------------
>
> Key: ASTERISK-27709
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27709
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/BuildSystem
> Affects Versions: 13.19.2, 15.2.1
> Environment: NetBSD 7.1.1
> Reporter: Alexander Traud
> Severity: Minor
> Labels: patch
> Attachments: test_jansson.patch
>
>
> With Asterisk 12 and commit [cf9324b|http://github.com/asterisk/asterisk/commit/cf9324b25eb8a7dc5cef77f54e12758dfbcd6645], the external library Jansson got a required dependency. Therefore, the script {{./configure}} tests and stops when that library is not present . Because of a typo, that test fails in some shells, for example in the default shell of NetBSD 7.1.1.
> *Steps to Reproduce*
> {code}ftp http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
> tar -zxf asterisk-*
> cd asterisk-*
> export PKG_PATH=ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/7.1.1/All
> pkg_add gmake pkg-config editline jansson sqlite3 libuuid libxml2
> CFLAGS="-I/usr/pkg/include" LDFLAGS="-L/usr/pkg/lib" ./configure --without-pjproject-bundled{code}
> *Expected Results*
> The script {{./configure}} should succeed without any warning or error.
> *Actual Results*
> {code}test: ==: unexpected operator{code}
> *Notes*
> The attached patch does not simply change the '==' to '=' but uses the PBX_ test for consistency with the rest of the code. The short-term workaround is to install the Jansson library which avoids that error. The same issue was already found/posted two years ago in December 2015 by John Nemeth, member of the NetBSD team.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list