<p>laforge would like pespin to <strong>review</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/meta-telephony/+/22023">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">libosmo-netif: 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: Ide91e96648881a0c6d415d727a14c2ef913fb180<br>---<br>M recipes-osmocom/libosmo-netif/libosmo-netif.inc<br>1 file changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/meta-telephony refs/changes/23/22023/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/recipes-osmocom/libosmo-netif/libosmo-netif.inc b/recipes-osmocom/libosmo-netif/libosmo-netif.inc</span><br><span>index 0a51dfc..7098c42 100644</span><br><span>--- a/recipes-osmocom/libosmo-netif/libosmo-netif.inc</span><br><span>+++ b/recipes-osmocom/libosmo-netif/libosmo-netif.inc</span><br><span>@@ -12,4 +12,8 @@</span><br><span>     "</span><br><span> PACKAGECONFIG[libsctp] = "--enable-libsctp,--disable-libsctp,lksctp-tools,"</span><br><span> </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 += "${@bb.utils.contains('PACKAGECONFIG', 'libsctp', 'ac_cv_header_netinet_sctp_h=yes', '',d)}"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> inherit autotools pkgconfig</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/meta-telephony/+/22023">change 22023</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/+/22023"/><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: Ide91e96648881a0c6d415d727a14c2ef913fb180 </div>
<div style="display:none"> Gerrit-Change-Number: 22023 </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: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>