From patchwork Sun Oct 27 14:35:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Titouan Christophe X-Patchwork-Id: 1185026 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=railnova.eu Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=railnova-eu.20150623.gappssmtp.com header.i=@railnova-eu.20150623.gappssmtp.com header.b="VaIyT1U+"; 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 471L4D04Qzz9sP3 for ; Mon, 28 Oct 2019 01:35:39 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3DEEC2043A; Sun, 27 Oct 2019 14:35:37 +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 uZtOwpk21GD0; Sun, 27 Oct 2019 14:35:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E9DC020027; Sun, 27 Oct 2019 14:35:35 +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 3011A1BF5DA for ; Sun, 27 Oct 2019 14:35:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2C5B085EE7 for ; Sun, 27 Oct 2019 14:35:34 +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 5bnEPmJqmVXx for ; Sun, 27 Oct 2019 14:35:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by hemlock.osuosl.org (Postfix) with ESMTPS id 69DC485D22 for ; Sun, 27 Oct 2019 14:35:32 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id n7so6808716wmc.3 for ; Sun, 27 Oct 2019 07:35:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=railnova-eu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UDtKAwUIJoO49kEH3nrrsgWiz91lke+jBpCz94HdMgk=; b=VaIyT1U+0gRXduCfi3GIfuB74+9yThCuGeba4Z8UimSIqR8si0Z1Lekxfk1JeB/pom WtZDXao3sso5METB5pRIoh/aTOurSC85g1bfXLAYI/P8QcRhcpxFiHYa2Fn0qIl9etZ5 peF5arAFb1Co9e1Jr1hRi+6bQY2Dpst2VWUZMvnbR5zwRIp+ad9soFk0HPdaZs2MzaBs u008y3J8QbduInwz7ZfuE4iAr2eggD7EXDIzwFakPsvAzrG05p5QtDTTs2IwAHIjiKzV O9Tx8O7UMz27jUqFH9O6DY7iMpYya1HFQwBlK+xZM3YxsENdqJ85530OE6ufJcwZyOuZ v1tw== 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=UDtKAwUIJoO49kEH3nrrsgWiz91lke+jBpCz94HdMgk=; b=iMUPD5W8v0NpzRLn6fROWGL2ShfMZHntPwTRq5Hn97FJQKMyeqOGGxuqZ3oKFFmNgg 6RzsKRl987/eF5TQjKDK1xB5iBTxd6EdVczia93HqIDMAhdrKwvCiBPvic+7mMXT9l0Z j34WrYDUPjK/wfBYr5zoKc0TlmiTHvwoYyfn+Lpqu5xgPJ0DSs+OQfqg/ZXsDfOygoMs Ms+Q6GepvuACcdI5k97uorqNki/xX1yNkVsM8mfi6VczLfAY+2RMhqdtDX/X9h2zhUhD dQ5YnTUN7j5AphioVDwxU4odU2rBWEQ/WptQhRCC5UDtqg9m0MrQ/cWOYdVLiSu3CJ4S hPuA== X-Gm-Message-State: APjAAAXs10/f9t+UvNcx5bDQ37Tm7MAz6qBwumoQi5o4GjXjXGJWPuV0 E5ha7f0sAKpy5e5WbesMQgBzkRj+iIxUfQ== X-Google-Smtp-Source: APXvYqxFQ2Sv+3hTGz/4+6WcdCc/qMWUfd5baHpl8eRmW2RHUT8Zzz8REOj2ZCt2KXXgJ/Wh0/qZwg== X-Received: by 2002:a1c:3cc4:: with SMTP id j187mr12116218wma.95.1572186930570; Sun, 27 Oct 2019 07:35:30 -0700 (PDT) Received: from taurus.dhcp.lyon.intranet (static-css-ccs-204145.business.bouyguestelecom.com. [176.157.204.145]) by smtp.gmail.com with ESMTPSA id s12sm2288991wrt.70.2019.10.27.07.35.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Oct 2019 07:35:29 -0700 (PDT) From: Titouan Christophe To: buildroot@buildroot.org Date: Sun, 27 Oct 2019 15:35:00 +0100 Message-Id: <20191027143500.237922-1-titouan.christophe@railnova.eu> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/gpsd: perform SCons build with Python3 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: Bernd Kuhls , Titouan Christophe Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Titouan Christophe --- package/gpsd/gpsd.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package/gpsd/gpsd.mk b/package/gpsd/gpsd.mk index 79d2ccfeaa..53f423626f 100644 --- a/package/gpsd/gpsd.mk +++ b/package/gpsd/gpsd.mk @@ -10,7 +10,7 @@ GPSD_LICENSE = BSD-2-Clause GPSD_LICENSE_FILES = COPYING GPSD_INSTALL_STAGING = YES -GPSD_DEPENDENCIES = host-python host-scons host-pkgconf +GPSD_DEPENDENCIES = host-python3 host-scons host-pkgconf GPSD_LDFLAGS = $(TARGET_LDFLAGS) GPSD_CFLAGS = $(TARGET_CFLAGS) @@ -204,7 +204,7 @@ GPSD_SCONS_ENV += LDFLAGS="$(GPSD_LDFLAGS)" CFLAGS="$(GPSD_CFLAGS)" define GPSD_BUILD_CMDS (cd $(@D); \ $(GPSD_SCONS_ENV) \ - $(HOST_DIR)/bin/python2 $(SCONS) \ + $(HOST_DIR)/bin/python3 $(SCONS) \ $(GPSD_SCONS_OPTS)) endef @@ -212,7 +212,7 @@ define GPSD_INSTALL_TARGET_CMDS (cd $(@D); \ $(GPSD_SCONS_ENV) \ DESTDIR=$(TARGET_DIR) \ - $(HOST_DIR)/bin/python2 $(SCONS) \ + $(HOST_DIR)/bin/python3 $(SCONS) \ $(GPSD_SCONS_OPTS) \ install) endef @@ -226,7 +226,7 @@ define GPSD_INSTALL_STAGING_CMDS (cd $(@D); \ $(GPSD_SCONS_ENV) \ DESTDIR=$(STAGING_DIR) \ - $(HOST_DIR)/bin/python2 $(SCONS) \ + $(HOST_DIR)/bin/python3 $(SCONS) \ $(GPSD_SCONS_OPTS) \ install) endef @@ -238,7 +238,7 @@ define GPSD_INSTALL_UDEV_RULES (cd $(@D); \ $(GPSD_SCONS_ENV) \ DESTDIR=$(TARGET_DIR) \ - $(HOST_DIR)/bin/python2 $(SCONS) \ + $(HOST_DIR)/bin/python3 $(SCONS) \ $(GPSD_SCONS_OPTS) \ udev-install) chmod u+w $(TARGET_DIR)/lib/udev/rules.d/25-gpsd.rules