From patchwork Sun Oct 4 18:41:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1376492 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=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.a=rsa-sha256 header.s=20161025 header.b=KY/qahqT; 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 4C4CJX3mfpz9s1t for ; Mon, 5 Oct 2020 05:42:19 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D78B020108; Sun, 4 Oct 2020 18:42:13 +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 aIDgrkFKyAOz; Sun, 4 Oct 2020 18:42:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id D2EFA2010F; Sun, 4 Oct 2020 18:42:10 +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 4B2951BF381 for ; Sun, 4 Oct 2020 18:42:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 10DF62010F for ; Sun, 4 Oct 2020 18:42:09 +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 Am3YKN6qocR3 for ; Sun, 4 Oct 2020 18:42:08 +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 BA09D20108 for ; Sun, 4 Oct 2020 18:42:07 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id j2so7159147wrx.7 for ; Sun, 04 Oct 2020 11:42:07 -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=tMEDZaNJXz1U1fBKYj8v25Sxn5tWkYWW3BZ0InJV9HM=; b=KY/qahqTTVzTD+efeXVnb/Klz7gVo0kMJO78VZ3QwWf3dxOey04N069e8V5i7lV9UO Ogkb8LFzXtYYer0ZGynLhj62Qm73fWfD5nQUc7w5yxKmb2ttQSYtDx7TWvWWo1fjTvt2 yQRaSFLEqR0CAMcuuP/y4UVxXIYlZcVEusQaBb9rJbLfw7MJ3GxouCx5TGAYjYbplMF1 fDZmVPFrOVtWgu//j2Kcc0lfcufqYqvEC6vssTWdDQuK61uTfolYRa6Ifx22hv28JEx+ DJeOt4WHz0vh/Fq/b4l+huFyPXbdcw93rtLuC2QC12Jfy+gWVmVWfp82EYoEq8wEb636 Jn2w== 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=tMEDZaNJXz1U1fBKYj8v25Sxn5tWkYWW3BZ0InJV9HM=; b=POyLzO1djAyej9fHJFwzIy6Ruc+27b3PE9TKcBhN+QsH3D73ZIGaSia3jEjG8HLtFO jI0Yc4+vD/P0Tws29QvOfjGbb0SCfNZzxIhrtegjlGEF9Y88I2dspfwaRHqgcZR2LYtq vfMgc+udTp4KaPrRkpgzXwr+0xSItPUCtpZwpbxylt1Rhj2ihQDEC2nBj6Kfnlp9mU5Z z5zkQO9yO70Nsk0OvJ1WfhB6LBgNpbouxEt+JiEm+QCMKrB9gIWZyzCzyOru0UVSP3OJ ZdI6MMkr1k1CuCAgtVnkJqLPUX9LxWqzh71mwTHmfTU7Ff/S/b9EKajjEddHyEjquob2 i4XA== X-Gm-Message-State: AOAM530fz1Mgf85GEOoclrxYJFtz0IUuwdgk98JUqvcSEo/ghh9dCHjw 4W1mn+I5xLkT2mNrNihGkxMOK0NU3UiIVQ== X-Google-Smtp-Source: ABdhPJzFTR5asf1yjZJ5DVb2lkGspCx6TQFMOGESMLEkq67xg+FyqROtsc/7PFlde6bgnU0aJsLlkQ== X-Received: by 2002:a5d:568d:: with SMTP id f13mr13345716wrv.303.1601836925821; Sun, 04 Oct 2020 11:42:05 -0700 (PDT) Received: from kali.home (2a01cb0881b76d0062c55ff6bf2a37aa.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:62c5:5ff6:bf2a:37aa]) by smtp.gmail.com with ESMTPSA id u5sm2523301wru.63.2020.10.04.11.42.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Oct 2020 11:42:05 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 4 Oct 2020 20:41:57 +0200 Message-Id: <20201004184157.1488521-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/sentry-cli: pass HOST_LDFLAGS 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: Joseph Kogut , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Pass HOST_LDFLAGS to avoid the following build failure due to missing RPATH: *** ERROR: package host-sentry-cli installs executables without proper RPATH: *** /srv/storage/autobuild/run/instance-3/output-1/host/bin/sentry-cli Fixes: - http://autobuild.buildroot.org/results/d52638baefec961ff693aecf833af7adfc482fe4 Signed-off-by: Fabrice Fontaine --- package/sentry-cli/sentry-cli.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/sentry-cli/sentry-cli.mk b/package/sentry-cli/sentry-cli.mk index c4dbc5ebfd..7e53f16026 100644 --- a/package/sentry-cli/sentry-cli.mk +++ b/package/sentry-cli/sentry-cli.mk @@ -11,7 +11,9 @@ SENTRY_CLI_LICENSE_FILES = LICENSE HOST_SENTRY_CLI_DEPENDENCIES = host-rustc host-zlib -HOST_SENTRY_CLI_CARGO_ENV = CARGO_HOME=$(HOST_DIR)/share/cargo +HOST_SENTRY_CLI_CARGO_ENV = \ + CARGO_HOME=$(HOST_DIR)/share/cargo \ + RUSTFLAGS="$(addprefix -C link-args=,$(HOST_LDFLAGS))" HOST_SENTRY_CLI_CARGO_OPTS = \ --release \