From patchwork Tue May 21 16:18:32 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: 1102919 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.138; helo=whitealder.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="wCELXYnk"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 457gwy4c1Nz9s7h for ; Wed, 22 May 2019 02:20:47 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3F75886B78; Tue, 21 May 2019 16:20:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AzDC55o36xJC; Tue, 21 May 2019 16:20:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 1B0AE81D76; Tue, 21 May 2019 16:20:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id C4B521BF29D for ; Tue, 21 May 2019 16:20:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C18C687B20 for ; Tue, 21 May 2019 16:20:38 +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 mh9pj5zbt7e1 for ; Tue, 21 May 2019 16:20:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from koncepto.io (koncepto.io [195.154.119.111]) by hemlock.osuosl.org (Postfix) with ESMTPS id CB00E87B18 for ; Tue, 21 May 2019 16:20:37 +0000 (UTC) Received: from localhost.localdomain (lfbn-1-8938-37.w193-250.abo.wanadoo.fr [193.250.79.37]) by koncepto.io (Postfix) with ESMTPSA id 45CDE6003B; Tue, 21 May 2019 18:20:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=koncepto.io; s=default; t=1558455629; bh=OJJIDzcOVOLTVkqHSmPG+HM/hUMrZksRG9Ti1qJJG88=; h=From:To:Cc:Subject:Date:From; b=wCELXYnkzz8GHeF8jj70qqjfS8dK5drg1Ic3cZSfJ1aphj8CPEdLbSrAm83gOVusi gwznvHt53VO9FqXmvHpQPRJtXBmL1737JAUJPDxFEu1wCmFpU+EKYVnDjTn3Rw6weQ etlUldq+DNj3a+BYYt2lIdUzDj7qblNMzOknwbpNRyTa6YtDR+IMT7LegDkv9Yg/uI 7GSptqGynVgqJh7Tc4oGjmsmuI59lAWEehkAqFEL2/r0HBklgxJ/BVS7mzIu4nJSL0 X12dLYo68Qnv8OOPKTVkH20ZC2LGjObFJzTSaNBay3yVI71/YXkJWGSgzjNdYwvVjZ 5Dv3EB5HJ5cUg== From: Pierre-Jean Texier To: buildroot@buildroot.org Date: Tue, 21 May 2019 18:18:32 +0200 Message-Id: <1558455512-31444-1-git-send-email-pjtexier@koncepto.io> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH/next 1/1] package/libubootenv: fix build with musl and static lib 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: Pierre-Jean Texier MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Libubootenv is a shared library, so add missing dependency on !BR2_STATIC_LIBS. Also add BR2_TOOLCHAIN_USES_MUSL dependency to avoid 'unknown type name 'loff_t''. Fixes: - http://autobuild.buildroot.net/results/206/206f1eba0dec39de1c02d760fa8f961d5a3879d0/ - http://autobuild.buildroot.net/results/8a6/8a6b3087a4c2cb53f4e9b80183c7f4b0ea6ffd3b/ Signed-off-by: Pierre-Jean Texier --- package/libubootenv/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libubootenv/Config.in b/package/libubootenv/Config.in index 9be52c4..bad5aee 100644 --- a/package/libubootenv/Config.in +++ b/package/libubootenv/Config.in @@ -1,5 +1,7 @@ config BR2_PACKAGE_LIBUBOOTENV bool "libubootenv" + depends on !BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_USES_MUSL # loff_t select BR2_PACKAGE_ZLIB help libubootenv is a library that provides a hardware independent @@ -9,3 +11,6 @@ config BR2_PACKAGE_LIBUBOOTENV new tools build from the library and not from U-Boot. https://github.com/sbabic/libubootenv/ + +comment "libubootenv application library needs a glibc or uClibc toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL