From patchwork Thu May 20 20:34:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1481900 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=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) 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=EXpUwkMX; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FmM125p23z9sW4 for ; Fri, 21 May 2021 06:34:46 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 6AAD7405A9; Thu, 20 May 2021 20:34:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P83ySUWCrqHP; Thu, 20 May 2021 20:34:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id C2902401C6; Thu, 20 May 2021 20:34:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id B65D01BF3C0 for ; Thu, 20 May 2021 20:34:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id B28406085C for ; Thu, 20 May 2021 20:34:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XFpANWgf9v53 for ; Thu, 20 May 2021 20:34:39 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by smtp3.osuosl.org (Postfix) with ESMTPS id 84DEE60818 for ; Thu, 20 May 2021 20:34:39 +0000 (UTC) Received: by mail-pl1-x635.google.com with SMTP id b7so5612890plg.0 for ; Thu, 20 May 2021 13:34:39 -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=odc4e+vl9LqlhbeDqavnBJGwFCAydI23Lx8xgNkSvF4=; b=EXpUwkMXjbUTpg2OUYZJpSEvRSTD9aPDuszvajMaP5E3LG0S5fMN0E/nHQfqkCR//v yglwoxGxXDbbiJVDGFRPyux/XOKgdVZRhrZrJEkThHspYxmh7M09Lo9UCBZoO15Jtzc7 TLXwAqBSBCIkqnLxKCVLnyIqjqCTH1vI/Zzit1tNPNsfPeuHY8ryWU7v14inRTFQRlQj f62X/8/TNe/U/6cfjmJBTbWzxk9EO29CYgSZygJGuPhNpeqzk35hUhtr62ydfCo68oDP 3yQLQNDnCEswIu3dl1F1eSs3UMRnPXhkdjw1bfSwjOhexct/Iw47VB1AiZVT0MS/u5bO ZW1A== 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=odc4e+vl9LqlhbeDqavnBJGwFCAydI23Lx8xgNkSvF4=; b=oL90CZxpgKpxCKPvbZp7Ehhvrk2ApD2nOT7j25ReklbABCfULCVlzYLkTS7EWyZ9rt zwMhzA3sueflp8jMeS4B3jDoGKnH2HdivwrXn7V5s2lhpBkkRt3cMcgEnGlHZzcL9Gwh YoQ9VV3BhDQLzpnsmFffqqwjGHIrhetdZ6qT7GS0GxekpGSOQQb/W01g/QAWQNjc7Xnw BFu8+1oO0Kv14uWav8qkXhP7Jwba8Rqo5rvBbx/8dlenUE9hDYp/mfP8oCaEqMOvytJJ DfGO8kt5YOwvloYpKbHGhOjX2mgPP5H49o+NwGnJilyBLuT74sHEefxnPxvSsg/2oQnR ERKw== X-Gm-Message-State: AOAM530icMB76OteuFtDwIjBx48VFAn41rQoOpEwSj2+f15uvwo9XKyr IRbh3rfZdvN9XJ/yojl18e4Q8PnBfN8= X-Google-Smtp-Source: ABdhPJwe4R6n7loc4pzFS8sAH0ok0izFEbKe+p1H59mp1BEWuvaHmTOgxZbK10WrlkJkdHe5GzlJKg== X-Received: by 2002:a17:903:22c1:b029:f0:bec6:7c35 with SMTP id y1-20020a17090322c1b02900f0bec67c35mr7867788plg.69.1621542878532; Thu, 20 May 2021 13:34:38 -0700 (PDT) Received: from adam.duskett ([47.153.80.143]) by smtp.gmail.com with ESMTPSA id q9sm7051703pjm.23.2021.05.20.13.34.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 13:34:38 -0700 (PDT) From: Adam Duskett To: buildroot@buildroot.org Date: Thu, 20 May 2021 13:34:36 -0700 Message-Id: <20210520203436.1656860-1-aduskett@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH/Master: 1/1] package/mender: the dbus plugin requires libglib2 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: Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" If libglib2 is not build before building the dbus plugin, mender fails to compile with the following error: Package 'gio-2.0', required by 'virtual:world', not found - Add a check for libglib2 in addition to dbus when enabling the dbus plugin. - Depend on libglib2 if both packages are selected. Fixes: http://autobuild.buildroot.org/results/1bc5893b88db08612059ad899c2bc3b2abb291fb Signed-off-by: Adam Duskett --- package/mender/mender.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/mender/mender.mk b/package/mender/mender.mk index b4c5761151..a110caf551 100644 --- a/package/mender/mender.mk +++ b/package/mender/mender.mk @@ -87,7 +87,8 @@ else MENDER_TAGS += nolzma endif -ifeq ($(BR2_PACKAGE_DBUS),y) +ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBGLIB2),yy) +MENDER_DEPENDENCIES += libglib2 define MENDER_INSTALL_DBUS_AUTHENTICATION_MANAGER_CONF $(INSTALL) -D -m 0755 $(@D)/support/dbus/io.mender.AuthenticationManager.conf \ $(TARGET_DIR)/etc/dbus-1/system.d/io.mender.AuthenticationManager.conf