[asterisk-bugs] [JIRA] (ASTERISK-28049) res_pjproject build failure
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Tue Sep 11 15:12:54 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-28049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=244767#comment-244767 ]
Asterisk Team commented on ASTERISK-28049:
------------------------------------------
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].
> res_pjproject build failure
> ---------------------------
>
> Key: ASTERISK-28049
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28049
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: pjproject/pjsip
> Affects Versions: 13.24.0
> Environment: Linux
> Reporter: Jaco Kroon
> Labels: pjsip
>
> [CC] res_pjproject.c -> res_pjproject.o
> res_pjproject.c: In function 'ast_sockaddr_to_pj_sockaddr':
> res_pjproject.c:493:27: error: incompatible types when assigning to type 'pj_in_addr {aka struct pj_in_addr}' from type 'struct in_addr'
> pjaddr->ipv4.sin_addr = sin->sin_addr;
> ^
> res_pjproject.c: In function 'ast_sockaddr_from_pj_sockaddr':
> res_pjproject.c:514:19: error: incompatible types when assigning to type 'struct in_addr' from type 'pj_in_addr {aka const struct pj_in_addr}'
> sin->sin_addr = pjaddr->ipv4.sin_addr;
> ^
> Introduced by:
> commit b0ef54af717147dc369728a88bf6d4994abb4d12
> Author: Sean Bright <sean.bright at gmail.com>
> Date: Tue Aug 28 09:42:13 2018 -0400
> res_pjproject: Add utility functions to convert between socket structures
>
> Currently, to convert from a pj_sockaddr to an ast_sockaddr, the address
> needs to be rendered to a string and then parsed into the correct
> structure. This also involves a call to getaddrinfo(3). The same is true
> for the inverse operation.
>
> Instead, because we know the internal structure of both ast_sockaddr and
> pj_sockaddr, we can translate directly between the two without the
> need for an intermediate string.
>
> Change-Id: If0fc4bba9643f755604c6ffbb0d7cc46020bc761
> According to Joshua due to unbundled PJSIP, but still needs to work with unbundled. Thus setting to MAJOR even though for me this is CRITICAL (distro prohibits bundled packages as far as possible).
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list