From patchwork Sun Jun 23 13:10:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Jean Texier X-Patchwork-Id: 1120799 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=koncepto.io Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=koncepto.io header.i=@koncepto.io header.b="tlQd9+Ex"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45WtCy14vkz9s4Y for ; Sun, 23 Jun 2019 23:13:47 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 90BA120383; Sun, 23 Jun 2019 13:13:44 +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 pZjhRFFUybVx; Sun, 23 Jun 2019 13:13:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7C5E5203D1; Sun, 23 Jun 2019 13:13:43 +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 31F341BF47F for ; Sun, 23 Jun 2019 13:13:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2E6D9203D1 for ; Sun, 23 Jun 2019 13:13:42 +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 7a97q46CLKrH for ; Sun, 23 Jun 2019 13:13:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from koncepto.io (koncepto.io [195.154.119.111]) by silver.osuosl.org (Postfix) with ESMTPS id B01EF20383 for ; Sun, 23 Jun 2019 13:13:40 +0000 (UTC) Received: from localhost.localdomain (lfbn-1-8923-205.w193-250.abo.wanadoo.fr [193.250.65.205]) by koncepto.io (Postfix) with ESMTPSA id 523506030E; Sun, 23 Jun 2019 15:13:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=koncepto.io; s=default; t=1561295608; bh=KV/Q+DdaDipC6cseOU32zkFi9kmW6bhYvMGp/U7/iJY=; h=From:To:Cc:Subject:Date:From; b=tlQd9+Ex8uWv87Pw/EydVCNuruCR33U1aEpXViXNC9V2NXxANfh6PhyyDid8UAgc7 lXUbdx2vJeeDXI228p9pWHpuBYNIG45Qtf5tse/fYtpY3822McG07OFpgVSeyEniQy HptFK9Jlz9ZRC1i6/eQci6tSE/5kaOIhy7R1xH/FNKKVhNY5z3GA8XGXQqhn15h7s3 V2HwmYd2uj3kd7G2bVFJDjCIPZ2/sShAhjnKAJKZVMWz5hCAMj42NPZd/tBH839Xau eXILt4vvUVbmL6WGsDmQvs5ohgWJ8Ui3dsRM0lquftgFHA8SubYqev//VrSdsOskzP AHq9dcwLnhDPA== From: Pierre-Jean Texier To: buildroot@buildroot.org Date: Sun, 23 Jun 2019 15:10:39 +0200 Message-Id: <1561295439-11676-1-git-send-email-pjtexier@koncepto.io> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH 1/1] package/libiio: bump to version 0.18 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: Paul Cercueil , Pierre-Jean Texier MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" See https://github.com/analogdevicesinc/libiio/releases Signed-off-by: Pierre-Jean Texier --- ...ll-of-binaries-with-a-static-only-library.patch | 44 ++++++++++++++++++++++ package/libiio/libiio.hash | 2 +- package/libiio/libiio.mk | 2 +- 3 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 package/libiio/0001-fix-install-of-binaries-with-a-static-only-library.patch diff --git a/package/libiio/0001-fix-install-of-binaries-with-a-static-only-library.patch b/package/libiio/0001-fix-install-of-binaries-with-a-static-only-library.patch new file mode 100644 index 0000000..a02bb60 --- /dev/null +++ b/package/libiio/0001-fix-install-of-binaries-with-a-static-only-library.patch @@ -0,0 +1,44 @@ +From 5090603d01779bb1717fb0c50953330e8770550f Mon Sep 17 00:00:00 2001 +From: Pierre-Jean Texier +Date: Sun, 23 Jun 2019 14:11:37 +0200 +Subject: [PATCH] fix install of binaries with a static only library + +Define CMAKE_INSTALL_RPATH only if ENABLE_SHARED is set otherwise the +following issue occured: + +CMake Error at iiod/cmake_install.cmake:45 (file): + file RPATH_CHANGE could not write new RPATH: + + /usr/lib + + to the file: + + /home/pjtexier//usr/sbin/iiod + + No valid ELF RPATH or RUNPATH entry exists in the file; File does not have + a valid ELF identification. +Call Stack (most recent call first): + cmake_install.cmake:50 (include) + +Signed-off-by: Pierre-Jean Texier +[Upstream status: https://github.com/analogdevicesinc/libiio/pull/283] +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d9b7ea1..634e553 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -15,7 +15,7 @@ endif() + + set(CMAKE_INSTALL_DOCDIR "" CACHE PATH "documentation root (DATAROOTDIR/doc/${PROJECT_NAME}${LIBIIO_VERSION_MAJOR}-doc)") + include(GNUInstallDirs) +-if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") ++if(ENABLE_SHARED AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}") + set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) + endif() +-- +2.7.4 + diff --git a/package/libiio/libiio.hash b/package/libiio/libiio.hash index 800b2ee..34c3144 100644 --- a/package/libiio/libiio.hash +++ b/package/libiio/libiio.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 a729f8ff48137ad271a3e2951f322b35c1bf2ec075b488d75c8bd071c693fd19 libiio-0.15.tar.gz +sha256 bc2c5299974b65cfe9aa4a06d8c74d7651594e026bce416db48a2c5aa7ba2554 libiio-0.18.tar.gz sha256 102900208eef27b766380135906d431dba87edaa7ec6aa72e6ebd3dd67f3a97b COPYING.txt diff --git a/package/libiio/libiio.mk b/package/libiio/libiio.mk index 2371a71..8c8f79b 100644 --- a/package/libiio/libiio.mk +++ b/package/libiio/libiio.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBIIO_VERSION = 0.15 +LIBIIO_VERSION = 0.18 LIBIIO_SITE = $(call github,analogdevicesinc,libiio,v$(LIBIIO_VERSION)) LIBIIO_INSTALL_STAGING = YES LIBIIO_LICENSE = LGPL-2.1+