From patchwork Wed Sep 11 08:40:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Dahl X-Patchwork-Id: 1160808 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.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=lespocky.de 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 46SwVH07vGz9s00 for ; Wed, 11 Sep 2019 18:46:12 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B3CE987BB6; Wed, 11 Sep 2019 08:46:08 +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 7UlbaOTgMwqe; Wed, 11 Sep 2019 08:46:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 299E887AB5; Wed, 11 Sep 2019 08:46:05 +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 3FA741BF5A3 for ; Wed, 11 Sep 2019 08:46:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3C3F487AB5 for ; Wed, 11 Sep 2019 08:46:04 +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 Rc+lzSbAE9gP for ; Wed, 11 Sep 2019 08:46:03 +0000 (UTC) X-Greylist: delayed 00:05:09 by SQLgrey-1.7.6 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) by hemlock.osuosl.org (Postfix) with ESMTPS id 8EEF987A8E for ; Wed, 11 Sep 2019 08:46:01 +0000 (UTC) Received: from methusalix.home.lespocky.de ([92.117.41.79]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M91Tq-1i5ClJ3jte-0068Zi; Wed, 11 Sep 2019 10:40:43 +0200 Received: from falbala.home.lespocky.de ([192.168.243.94]) by methusalix.home.lespocky.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) (envelope-from ) id 1i7yB7-0006u7-G9; Wed, 11 Sep 2019 10:40:42 +0200 Received: (nullmailer pid 17027 invoked by uid 2001); Wed, 11 Sep 2019 08:40:41 -0000 From: Alexander Dahl To: buildroot@buildroot.org Date: Wed, 11 Sep 2019 10:40:39 +0200 Message-Id: <20190911084039.16983-1-post@lespocky.de> X-Mailer: git-send-email 2.11.0 X-Scan-Signature: ab40037355d1c42112bd0b161aa348b1 X-Provags-ID: V03:K1:SbsfDlGYEs5aEAkJVCZmlpmSYfEwvI2GpnGYer3MUnZENFo/Rne Fks7PReLageto/q6gyWY3ntLD+eOjaWEly1DLVuOVwoH8VTPpbT24fz7u2V0nhZ/MMEcHol +pVnfrndjH6ol2D7TbrgxhmTHUms64Lbj2Pl5krWWV8HfgrNJzzqeKMknMNHnCrvk5hWndr nG4hsNi6QYHYGFN1UmUOA== X-UI-Out-Filterresults: notjunk:1; V03:K0:/nM8y9jOoAE=:It+z5vSQhMAXVv1a8mbbLw +bsdFnwz1ZzkYxUfzuDCoQ2LzPerIfhOHmTok9aftCQnjj3sN58gdOnZt+u/s/oJTrAJdslyw 17TgatEHzqx5c7OKYQM80nssl8jxmEqBVxoJQXD4oQbpCwDNXqA3Tg7pVmPZRjkDlPFtT0KCV E1B068Vjm1sfGpMLPSiLOnzrvPt8zRkwaShB3lQZFi7NOnXHf0bPZ/VTEE2ixGfeUOreWoiow 7s2ncdDlImmBxDShuaPUeygGHBhYPnHqn/AFnV3lMZm1zLesP4UXbfg4oPaVkyYAJRUzS/+Dt qajwycLnflzRDLubPbuRdyEy8ZpgjiaF4ZMccSwEQVR5OCDQrcq6odyTOqOgup7SIgfXCbziK 3M6yy6w2OUA5P+RbsdKNZaM0jcKOFWgMG2AdnG+9EbvQs38m+3w0ajM9t/wo6R74+6DKjy+ON lA8k8OV8YN5AvLpw7sVNX+xTzyMG8/6zyF202jZBiAFJtnuhqwOZbDh3MPfsb7s0dDOt+ovW3 X8ccDN3ITLsDtIG738YZ6pQeEmNROr6rniiV3Ls/07y9c1a8DEa4+3cLxGdp+4N+QhYd+y5Di 3BIfhcA+wRBu7Ceq5hf9QgTQ1VWoGBmW+J8t3hcU7Ptxus7PkjYqNgQGxNTTNCcnaXCb1eygD ywTdEII0mUusqzsPb8Nf+A039DoJeIokk1xsaC/Z7iaV0fM2z4tiWwogfhAR3Uu7QLGZWnyXv xYYjja3T6lRqXwd9NFyrUloMz5Man7ujwKfhDjrPqjQ5zXheWkpZ5WqrEapxfwyKCqq/AWIN8 MjH9ff8cpDZl1OgK4QafBpBZ/8J9Vx0bGVtwriI6O/S+M3g4FlteFK7DuqFrf1eTFS377F5 Subject: [Buildroot] [PATCH] package: qemu: Make dependency to nettle explicit 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: Alexander Dahl , Florian Wolters MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" For the fli4l router distribution we had problems building 'qemu', some builds failed complaining when checking dynamic linking of the package: >>> qemu 2.12.1 Error: Library libnettle.so.6 referenced by usr/libexec/qemu-bridge-helper belongs to package nettle which is not a dependency of qemu https://web.nettworks.org/ci/job/fli4l/job/buildroot/job/4.0/job/trunk-x86_64/495/console Making the dependency explicit, by calling ./configure with --enable-nettle or --disable-nettle depending on the activation status of package nettle, solves the issue. For fli4l the fix is still based on buildroot 2018.02.x, but the problem is the same in recent version of buildroot, and the fix works for master as well. Cc: Florian Wolters Signed-off-by: Alexander Dahl --- package/qemu/qemu.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index 05d16560f7..1d3759a850 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -97,6 +97,13 @@ else QEMU_OPTS += --disable-libssh2 endif +ifeq ($(BR2_PACKAGE_NETTLE),y) +QEMU_OPTS += --enable-nettle +QEMU_DEPENDENCIES += nettle +else +QEMU_OPTS += --disable-nettle +endif + # Override CPP, as it expects to be able to call it like it'd # call the compiler. define QEMU_CONFIGURE_CMDS