[asterisk-bugs] [JIRA] (ASTERISK-26091) [patch] ar cru creates warning, instead use ar cr

Alexander Traud (JIRA) noreply at issues.asterisk.org
Tue Jun 7 10:51:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=230912#comment-230912 ] 

Alexander Traud edited comment on ASTERISK-26091 at 6/7/16 10:51 AM:
---------------------------------------------------------------------

The attached patch fixes this for the internal projects editline and ooh323c. No impact of this patch is known. Four other internal projects use just {{ar cr}} already. On platforms which do not use D as default, it is assumed that the additional overhead (without u) is neglectable for such small projects. The affected scripts were found via a search with the regular expression {noformat}\$\(AR\) {noformat}


was (Author: traud):
The attached patch fixes this for the internal projects editline and ooh323c. No impact of this patch is known. Four other internal projects use just {{ar cr}} already. On platforms which do not use D as default, it is assumed that the additional overhead (without u) is neglectable for such small projects. The affected scripts were found via a search with the regular expression {{\$\(?AR\)}}.

> [patch] ar cru creates warning, instead use ar cr
> -------------------------------------------------
>
>                 Key: ASTERISK-26091
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26091
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 11.22.0, 13.9.1
>         Environment: Ubuntu 16.04 LTS
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>            Severity: Minor
>         Attachments: archive_modifier_u.patch
>
>
> While linking the following warning message appears:
> {{/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')}}
> *Steps to reproduce* on Ubuntu 16.04 LTS
> {noformat}wget downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
> tar zxf asterisk-1*.tar.gz
> sudo apt install libssl-dev libncurses-dev libnewt-dev libxml2-dev libsqlite3-dev uuid-dev libjansson-dev libblocksruntime-dev
> ./configure
> make{noformat}
> *Workaround*
> {{sudo apt install libedit-dev}} avoids the build of the Asterisk included editline project and therefore this message, see ASTERISK-18725, [Reviewboard|https://reviewboard.asterisk.org/r/1528/], and its [Commit|https://github.com/asterisk/asterisk/commit/7d4ccea736c1ce325de00c23dee28c61de47e638].



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list