[asterisk-bugs] [JIRA] (ASTERISK-27585) [patch] BuildSystem: Resolve resolv.h not via Generic but Particular Header-Check.

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Mon Jan 15 13:27:49 CST 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Harwell updated ASTERISK-27585:
-------------------------------------

    Assignee: Alexander Traud

> [patch] BuildSystem: Resolve resolv.h not via Generic but Particular Header-Check.
> ----------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27585
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27585
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 15.2.0
>         Environment: OpenBSD 6.2
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>              Labels: patch
>         Attachments: resolv_header.patch
>
>
> [Gerrit 5375|http://gerrit.asterisk.org/5375] changed the script ./configure how to look for required headers. In that change, the generic AC_CHECK_HEADERS is used. Currently, ./configure checks each header in that list individually, and tries to compile it via a small app. If a header is incomplete, the test fails. Therefore, the whole ./configure fails. However in that list of headers, {{resolv.h}} needs prerequisites—another header—because it is incomplete.
> Currently OpenBSD (tested latest; 6.2) is affected by this. Tested myself and confirmed by <https://stackoverflow.com/q/35359456>. I reported that issue to OpenBSD.
> For Asterisk, the workaround is to go for [particular header checks|http://www.gnu.org/software/autoconf/manual/autoconf.html#Particular-Headers] which leverage the long-term knowledge of the GNU autoconf team.
> Because Gerrit 5375 has no issue report attached, I have to invite [~coreyfarrell] manually.



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



More information about the asterisk-bugs mailing list