<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/meta-telephony/+/22024">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  laforge: Looks good to me, approved; Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo-iuh: workaround oe-core forcing fail of sctp.h autoconf check<br><br>oe-core is currently (pyro and current master) forcing non-availability<br>of netinet/sctp.h header file through autoconf's export CONFIG_SITE<br>pointing to files in meta/site/, which contain:<br>ac_cv_header_netinet_sctp_h=${ac_cv_header_netinet_sctp_h=no}<br><br>As a result, netinet/sctp.h is not found despite DEPENDS="lksctp-tools"<br>and the file being available correctly under recipe-sysroot/ and finally<br>configure fails with AC_MSG_ERROR().<br><br>It was confirmed by OE devs that those lines should not be there, and a<br>patch has been submitted:<br>https://patchwork.openembedded.org/patch/168892/<br><br>Since it's not available in pyro nor latest release, let's workaround it<br>in our recipe to make sure it works with older versions of OE.<br><br>Change-Id: Ic54c50300bcf2cd278db95550d14eef044caea05<br>---<br>M recipes-osmocom/osmo-iuh/osmo-iuh.inc<br>1 file changed, 6 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/recipes-osmocom/osmo-iuh/osmo-iuh.inc b/recipes-osmocom/osmo-iuh/osmo-iuh.inc</span><br><span>index ab412ad..92b4633 100644</span><br><span>--- a/recipes-osmocom/osmo-iuh/osmo-iuh.inc</span><br><span>+++ b/recipes-osmocom/osmo-iuh/osmo-iuh.inc</span><br><span>@@ -3,9 +3,13 @@</span><br><span> LICENSE = "AGPLv3"</span><br><span> LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-DEPENDS = "libosmocore libosmo-netif libosmo-sccp libasn1c"</span><br><span style="color: hsl(120, 100%, 40%);">+DEPENDS = "libosmocore libosmo-netif libosmo-sccp libasn1c lksctp-tools"</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-INC_PR="r1.${META_TELEPHONY_OSMO_INC}"</span><br><span style="color: hsl(120, 100%, 40%);">+INC_PR="r2.${META_TELEPHONY_OSMO_INC}"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# Workaround to oe-core meta/site/* CONFIG_SITE files passed to autoconf forcing unavailability of netinet/sctp.h.</span><br><span style="color: hsl(120, 100%, 40%);">+# Patch fixing issue upstream: https://patchwork.openembedded.org/patch/168892/</span><br><span style="color: hsl(120, 100%, 40%);">+CACHED_CONFIGUREVARS += "ac_cv_header_netinet_sctp_h=yes"</span><br><span> </span><br><span> inherit autotools pkgconfig systemd</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/meta-telephony/+/22024">change 22024</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/meta-telephony/+/22024"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: meta-telephony </div>
<div style="display:none"> Gerrit-Branch: 201705 </div>
<div style="display:none"> Gerrit-Change-Id: Ic54c50300bcf2cd278db95550d14eef044caea05 </div>
<div style="display:none"> Gerrit-Change-Number: 22024 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>