Message ID | 20181215174652.1498-1-fontaine.fabrice@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> 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.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="L4hEa04w"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43HFH04mjbz9s5c for <incoming-buildroot@patchwork.ozlabs.org>; Sun, 16 Dec 2018 04:47:08 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id AB27F85BB5; Sat, 15 Dec 2018 17:47:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jQ1iRXEnvVj6; Sat, 15 Dec 2018 17:47:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 31CCD8550D; Sat, 15 Dec 2018 17:47:06 +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 6D3911BF3B9 for <buildroot@lists.busybox.net>; Sat, 15 Dec 2018 17:47:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6ACA6221D5 for <buildroot@lists.busybox.net>; Sat, 15 Dec 2018 17:47:05 +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 RrHz0VYban-B for <buildroot@lists.busybox.net>; Sat, 15 Dec 2018 17:47:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by silver.osuosl.org (Postfix) with ESMTPS id AC80A220EF for <buildroot@buildroot.org>; Sat, 15 Dec 2018 17:47:04 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id r10so8353206wrs.10 for <buildroot@buildroot.org>; Sat, 15 Dec 2018 09:47:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=iL5JRNFzgD9gjDHvCaAOfVETJxNmVrj5FQhCXqy2vfI=; b=L4hEa04weLbj7usOIYyeOYSKHF9XGgs76lCN0BPAZ2q4IxsguuzcS5v7D866XXhDBa Lkt7l839D4+nkazLLrqfXtL8NbJsm7qNKgkzPZfxpP9weYFBU2nhk4cfdWx0MksUojoi 5Td2JvFgcj5RZow7O+Erp6Gmxl7rnowVyHTApIOkBTAge69qghvYIsKY6peSMOnCX8QN 1IKe5QCzJPinSBj0fb5kycPNt9MN6khZF9Inf4negtpBY0LFveBzEuM/pnbavK1Yq028 AuEEY8pIyOAF31JmfT25/2OZr87VGSHeNaO/pT+1QCvK5vzxOhKYnkBM9r6BBctkM0UF HJcA== 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; bh=iL5JRNFzgD9gjDHvCaAOfVETJxNmVrj5FQhCXqy2vfI=; b=UJOAQIQuQpFBteuCCEotq77Me+PGqGYiXMeqbw0v5rGjzlr1rOoxjicUnOm2OswRJh /YxNOEI6UThShRfaSPSZAqJiKA5Wwrs4mdsdYUVJOWJX9mLLoZhQbyUJ3vvRWAelMRWq a/DfF/L/b1Xsc8Bq5AGxhzoCOowbB5by8LYGMPr3uyXxoHqmyIkekG4b/x5fQZSKhHSF gW3IcZAt/ZJehSY51R0EepWq8SDUsg9W+9xp1Avl/4ysWbYnsqbr+8s9SgvBXWgUnxNq 3eJbbJzf2NbfNWntJIapxbbnZWwUPogBcoxax1gerdwh9X1UaBAWhrBtdFnJzfx0xShf P3sQ== X-Gm-Message-State: AA+aEWbKUqp3yj0MdvmreHJPGOOgR+ZhwFm43I9gDjPJE4CtLBaaqWTa ZxmYL3+oafJhVjHPiusLD2FMbwDX X-Google-Smtp-Source: AFSGD/VxfHdXnKvAK/i6AWNthdfXvdvtcV1HHjWaKPAEo6Aw+6+5nNiAqgsLQd80GCH81ls/hMLBcw== X-Received: by 2002:adf:9d4c:: with SMTP id o12mr5604946wre.94.1544896022701; Sat, 15 Dec 2018 09:47:02 -0800 (PST) Received: from fabrice-VirtualBox.home (arennes-656-1-356-67.w86-214.abo.wanadoo.fr. [86.214.196.67]) by smtp.gmail.com with ESMTPSA id y34sm21502965wrd.68.2018.12.15.09.47.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Dec 2018 09:47:01 -0800 (PST) From: Fabrice Fontaine <fontaine.fabrice@gmail.com> To: buildroot@buildroot.org Date: Sat, 15 Dec 2018 18:46:52 +0100 Message-Id: <20181215174652.1498-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH 1/1] bluez_utils: fix systemd build wih pkgconf 1.5.3 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
[1/1] bluez_utils: fix systemd build wih pkgconf 1.5.3
|
expand
|
diff --git a/package/bluez_utils/bluez_utils.mk b/package/bluez_utils/bluez_utils.mk index 256f012df9..e9f55f3aa1 100644 --- a/package/bluez_utils/bluez_utils.mk +++ b/package/bluez_utils/bluez_utils.mk @@ -58,4 +58,8 @@ ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) BLUEZ_UTILS_CONF_OPTS += --disable-pie endif +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +BLUEZ_UTILS_CONF_OPTS += --with-systemdunitdir=/usr/lib/systemd/system +endif + $(eval $(autotools-package))
Since the bump to 1.5.3, pkgconf prepends the sysroot to all absolute paths found in the .pc file. This is correct when the paths refer to something in STAGING_DIR (e.g. libdir, includedir), but not when it refers to something used for the target. bluez_utils uses the systemdsystemunit variable from systemd.pc to decide where to install things. Since DESTDIR is prepended to the install destination, this will end up in the wrong location. Until a better solution is found in pkgconf, pass the systemdunitdir to use explicitly instead of relying on systemd.pc. Fixes: - http://autobuild.buildroot.org/results/0771dc2c956ebdf87de1cc54465538912301833b Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- package/bluez_utils/bluez_utils.mk | 4 ++++ 1 file changed, 4 insertions(+)