Change in meta-telephony[201705]: osmo-iuh: workaround oe-core forcing fail of sctp.h autoconf check

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Jan 7 13:46:08 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/meta-telephony/+/22024 )

Change subject: osmo-iuh: workaround oe-core forcing fail of sctp.h autoconf check
......................................................................

osmo-iuh: workaround oe-core forcing fail of sctp.h autoconf check

oe-core is currently (pyro and current master) forcing non-availability
of netinet/sctp.h header file through autoconf's export CONFIG_SITE
pointing to files in meta/site/, which contain:
ac_cv_header_netinet_sctp_h=${ac_cv_header_netinet_sctp_h=no}

As a result, netinet/sctp.h is not found despite DEPENDS="lksctp-tools"
and the file being available correctly under recipe-sysroot/ and finally
configure fails with AC_MSG_ERROR().

It was confirmed by OE devs that those lines should not be there, and a
patch has been submitted:
https://patchwork.openembedded.org/patch/168892/

Since it's not available in pyro nor latest release, let's workaround it
in our recipe to make sure it works with older versions of OE.

Change-Id: Ic54c50300bcf2cd278db95550d14eef044caea05
---
M recipes-osmocom/osmo-iuh/osmo-iuh.inc
1 file changed, 6 insertions(+), 2 deletions(-)

Approvals:
  laforge: Looks good to me, approved; Verified



diff --git a/recipes-osmocom/osmo-iuh/osmo-iuh.inc b/recipes-osmocom/osmo-iuh/osmo-iuh.inc
index ab412ad..92b4633 100644
--- a/recipes-osmocom/osmo-iuh/osmo-iuh.inc
+++ b/recipes-osmocom/osmo-iuh/osmo-iuh.inc
@@ -3,9 +3,13 @@
 LICENSE = "AGPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
 
-DEPENDS = "libosmocore libosmo-netif libosmo-sccp libasn1c"
+DEPENDS = "libosmocore libosmo-netif libosmo-sccp libasn1c lksctp-tools"
 
-INC_PR="r1.${META_TELEPHONY_OSMO_INC}"
+INC_PR="r2.${META_TELEPHONY_OSMO_INC}"
+
+# Workaround to oe-core meta/site/* CONFIG_SITE files passed to autoconf forcing unavailability of netinet/sctp.h.
+# Patch fixing issue upstream: https://patchwork.openembedded.org/patch/168892/
+CACHED_CONFIGUREVARS += "ac_cv_header_netinet_sctp_h=yes"
 
 inherit autotools pkgconfig systemd
 

-- 
To view, visit https://gerrit.osmocom.org/c/meta-telephony/+/22024
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: meta-telephony
Gerrit-Branch: 201705
Gerrit-Change-Id: Ic54c50300bcf2cd278db95550d14eef044caea05
Gerrit-Change-Number: 22024
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210107/8b9c712b/attachment.htm>


More information about the gerrit-log mailing list