From patchwork Tue Jul 28 10:45:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Keeping X-Patchwork-Id: 1337747 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.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=metanate.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=metanate.com header.i=@metanate.com header.a=rsa-sha256 header.s=stronger header.b=zZE8bYYL; 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 4BGCxt6qT2z9sTC for ; Tue, 28 Jul 2020 20:45:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 45FE82318D; Tue, 28 Jul 2020 10:45:35 +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 mIoJBLuJ5rFz; Tue, 28 Jul 2020 10:45:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 5D3DC23077; Tue, 28 Jul 2020 10:45:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id BBDBE1BF396 for ; Tue, 28 Jul 2020 10:45:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B889B86AB6 for ; Tue, 28 Jul 2020 10:45:32 +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 0JphqhMx8dtc for ; Tue, 28 Jul 2020 10:45:31 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from metanate.com (dougal.metanate.com [90.155.101.14]) by whitealder.osuosl.org (Postfix) with ESMTPS id B149786AA1 for ; Tue, 28 Jul 2020 10:45:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=metanate.com; s=stronger; h=Content-Transfer-Encoding:Message-Id:Date: Subject:Cc:To:From:Content-Type:Reply-To:Content-ID:Content-Description: In-Reply-To:References; bh=M/zoDWOk5wBi/L+od9flAfYD2UpIgTh7SM1IpYodiP8=; b=zZ E8bYYLrcLtVTenGth/PjF3ZwFTDffEv7fX2Ilm+0cfeugLJPclCVi3RXWlad9UxwdpbunJuwvjFon GfDSZ7rjtynParCBGOt6047Gv6jGlevXo0wAJKOYMXyjrgim+rLiclW/EijosCtl0Ea0LsTSjD7Uv jcPkgym7Izwwxf12GXW11jmrylevw+oQuAKPGsenfe4aGYYQHMEYADz0/RUhtXGuryavV0+ENSwZz G2nJmFhy9DKhr3Tqk4u6f1aSni7taYOd8lYFDQbjVwVADmaWkyXld8W1GRoMV4f5gyMSyhpv/dFas 3/eLZEBQ5O+3x0GWHmGdx+1u1PVsrZDw==; Received: from [81.174.171.191] (helo=donbot.metanate.com) by email.metanate.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1k0N6t-0000CB-Tx; Tue, 28 Jul 2020 11:45:28 +0100 From: John Keeping To: buildroot@buildroot.org Date: Tue, 28 Jul 2020 11:45:19 +0100 Message-Id: <20200728104519.3328479-1-john@metanate.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Authenticated: YES Subject: [Buildroot] [PATCH] package/dbus: disable systemd for host build 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: John Keeping Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This fixes an issue if host-dbus happens to be rebuilt after systemd, in which case it autodetects systemd support but then ignored the prefix when installing unit files. That means that is tries to write to the host system's /usr/lib/ which fails. There is no reason to build and install systemd support in the host build, so disable it explicitly. Signed-off-by: John Keeping Tested-by: Adam Duskett --- package/dbus/dbus.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk index 312c6ba1d8..3c67625688 100644 --- a/package/dbus/dbus.mk +++ b/package/dbus/dbus.mk @@ -107,6 +107,7 @@ HOST_DBUS_CONF_OPTS = \ --disable-selinux \ --disable-xml-docs \ --disable-doxygen-docs \ + --disable-systemd \ --without-x \ --with-xml=expat