From patchwork Tue Jun 9 08:25:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1305710 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=GiDjLZgY; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49h39g1ZyWz9sRW for ; Tue, 9 Jun 2020 18:26:12 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CAC1F8869E; Tue, 9 Jun 2020 08:26:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mb7JtxN1ZVsZ; Tue, 9 Jun 2020 08:26:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 7A5F38796C; Tue, 9 Jun 2020 08:26:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 9DE701BF324 for ; Tue, 9 Jun 2020 08:26:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 93CAC203C3 for ; Tue, 9 Jun 2020 08:26:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tmYrTtkn56wu for ; Tue, 9 Jun 2020 08:26:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by silver.osuosl.org (Postfix) with ESMTPS id 6E0E220367 for ; Tue, 9 Jun 2020 08:26:00 +0000 (UTC) Received: by mail-wm1-f45.google.com with SMTP id q25so2209463wmj.0 for ; Tue, 09 Jun 2020 01:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NUwHUwmSLQ6l18XEkLFAIzMxwfQkRUW47A8sWEg+m2E=; b=GiDjLZgY+m2OK6Wa9RBh+H19zTSIWgVtml1YoGqKWNrgdeH22WasBpOy9gamV80AJl /9ooPLsyPQX+R5ZyzrzLxr9L1f0Mh4Sridzp5i5nqx9xT+l/N9N1+t1ETSj2Q2xw6pPk IX/xgUczafU89Uk5jJbjs2TArMKNR/9QlmY9npJ9Hc0Y3XiTqM8NL3PJ9uoE8/zgrLP+ uN+A8oKIf3xl1hUJ+fdWvXwsfKijovW6ioWBLq9m80w7FRMP7bulrUbnvSMuTQY3Fbm3 9IH/c0Ra2p90Lm/TuhhU2mAbXWOAnz39VDRHLzT1N/eW3IlXUOfrHQ0d6fa/4u5kuhEF AoMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NUwHUwmSLQ6l18XEkLFAIzMxwfQkRUW47A8sWEg+m2E=; b=tFh/GqPwdmYAjHCc+hbNYuTZH8WPaFwJQQfB1K7k5P+tSeSHSqd1vbR+IEsReZFYly s1YNJPt45EmKmmpKIHdjv9xFObmwogM7CaLahag+Qfq1+2eWWqPZJcsDA+vq6DHliU9u awKau2kb+HqnW5q8qhB7NZ46DliuzWFdm0+KtWJUoTxPN7viRXt/HVjNmfW28ykPU2bn 9L5CrCBZzqbIm+Z5P1bdChBOo/SrAK8Okr8LneIrECsXlwf8uOqzgjfbX7jP2zsfi6xi 1SGhay0VYGkyspUh5NyltBOiO5NhKPfIlU5Zp9Zr6XKSChk8emONYiP14OQ3YF3FDMwf 5cdQ== X-Gm-Message-State: AOAM531c5BSUaa9tGQag1rWBROLu91DlHPMwRS41mC2EHadDRPJWqItz 3p01iFYFSsLrvEURZbpxZ3oMtkEw X-Google-Smtp-Source: ABdhPJwjc4ziIRAtT5nx8lBOXDBxFe99aGOIJZZh9xEj8Ypsotrq0HkESK5okAyv1xtIW/Iaq4m3zw== X-Received: by 2002:a1c:f301:: with SMTP id q1mr2858015wmq.110.1591691158414; Tue, 09 Jun 2020 01:25:58 -0700 (PDT) Received: from t450s.fritz.box (ip5b426f84.dynamic.kabel-deutschland.de. [91.66.111.132]) by smtp.gmail.com with ESMTPSA id 5sm2636964wrr.5.2020.06.09.01.25.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 01:25:57 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org Date: Tue, 9 Jun 2020 10:25:20 +0200 Message-Id: <20200609082519.15482-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v1 1/1] package/freeswitch: add patch to fix build issues X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bernd Kuhls , Heiko Thiery Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The build fails due to problems with check unit test framework. The API of the check framework seems to have changed API and is incompatible with freeswitch. See upstream discussion: https://github.com/signalwire/freeswitch/issues/681#issuecomment-641079430 Add the patch that disables the support for check. Fixes: http://autobuild.buildroot.net/results/04f36d541ee6754cd59a9db8605de9de4e1af7f9/ Signed-off-by: Heiko Thiery --- ...0001-disable-the-check-for-check-lib.patch | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/freeswitch/0001-disable-the-check-for-check-lib.patch diff --git a/package/freeswitch/0001-disable-the-check-for-check-lib.patch b/package/freeswitch/0001-disable-the-check-for-check-lib.patch new file mode 100644 index 0000000000..213d7d35f4 --- /dev/null +++ b/package/freeswitch/0001-disable-the-check-for-check-lib.patch @@ -0,0 +1,33 @@ +From 6a63b51efdf431960711832d78225e50772ba8aa Mon Sep 17 00:00:00 2001 +From: Heiko Thiery +Date: Tue, 9 Jun 2020 08:32:51 +0200 +Subject: [PATCH] disable the check for check lib + +Do not set the define HAVE_CHECK to prevent building code with +incompatible check lib. + +Signed-off-by: Heiko Thiery +--- + libs/sofia-sip/configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/libs/sofia-sip/configure.ac b/libs/sofia-sip/configure.ac +index 9542208cb6..ebc677628d 100644 +--- a/libs/sofia-sip/configure.ac ++++ b/libs/sofia-sip/configure.ac +@@ -249,9 +249,9 @@ SAC_TPORT + dnl Check is used for testing + PKG_CHECK_MODULES(CHECK, check >= 0.9.4, have_check="yes", have_check="no") + AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes") +-if test x"$have_check" = "xyes"; then +- AC_DEFINE([HAVE_CHECK], 1, [Define to 1 if check library is available]) +-fi ++#if test x"$have_check" = "xyes"; then ++# AC_DEFINE([HAVE_CHECK], 1, [Define to 1 if check library is available]) ++#fi + AC_CHECK_HEADERS([fnmatch.h]) + + AC_CHECK_LIB(pthread, pthread_setschedparam, [AC_DEFINE(HAVE_PTHREAD_SETSCHEDPARAM, 1, [Define if you have pthread_setschedparam()])]) +-- +2.20.1 +