From patchwork Thu Oct 14 21:30:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1541139 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: bilbo.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=20210112 header.b=cQnzweQp; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HVjKX6xKZz9sR4 for ; Fri, 15 Oct 2021 08:32:16 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 39E7D81B35; Thu, 14 Oct 2021 21:32:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gfe4WASK88ge; Thu, 14 Oct 2021 21:32:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 9774381A73; Thu, 14 Oct 2021 21:32:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 232721BF576 for ; Thu, 14 Oct 2021 21:32:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 112F94011C for ; Thu, 14 Oct 2021 21:32:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 DUo1SP_ibsil for ; Thu, 14 Oct 2021 21:32:10 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by smtp2.osuosl.org (Postfix) with ESMTPS id C4AF5400D9 for ; Thu, 14 Oct 2021 21:32:09 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id b189-20020a1c1bc6000000b0030da052dd4fso652032wmb.3 for ; Thu, 14 Oct 2021 14:32:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RV5eBFirfgWlJdLDTcUMk4ztzXnxxezVuRPzcc+ogT4=; b=cQnzweQpVaZXO5mSn///PaNlk8R72wOtz6aM5coxNpzK4QvPbDDxxnASPAMyqbiwP1 52U910KbsjzQAGVHXxDCheAwZw90FCdOyr8Rn/Sktsd5X+prjzzpGik4KtXgWq7qTkwE l1Bv7eLhQ4Qkd1XWSksHU3W/xITyDidQfS741aDN/ttQMIGEFTjWA7QDsj05kBksQIdn O7ZiyCkCXNtUHfJ3YyJms5pnafQY/cxHLsHmJHB2C4M0kCU9VjxtblMva4+1Hl5u/n81 TNmgfWvXnAfHlg0UdM3JYF3vD6JSkwrI9+fedh7gzD4dznJ7kFQAaywlRrsGfZbtktun JvlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RV5eBFirfgWlJdLDTcUMk4ztzXnxxezVuRPzcc+ogT4=; b=pHSrHWJhfGd8rQ3aY2j0XckNLRQDJ2PGG4Sv0GnDQyq1gEUFSnntggrcmfUdyI6VJo GyDAqMs00ANNgX6QKx7UBElRYhHmlTdtN89jPVVicE/ScnNxxIkkL92CM/ehj9vEbv03 mCi2cknOVp02Zcwlp/Dd7dWrclPg5dfRG0uo7b/drwcFCk27kH1DCCh6fSwdUZ3h3s9n 8Z3IJpIDrKKlIB1DRn2p7tCL2l5QdQcP56rFOiRL6z8PyddUYUVz480R8eYH+2KmXXMG Q+Wn9rEqkuv4ZmoYuwD/qgJdcQxBJh49SSUamXXFAjfmHbvb7Ba2cxHP+kAp3pbqyj+i bfqw== X-Gm-Message-State: AOAM5300MCwhZxhNFcYDQJpGoueb3bzJANn0/rAv7VA0KLJY8PUWBDyq bYiG5hs1kUc8PAkqZY2DSR5PQUMH5zY= X-Google-Smtp-Source: ABdhPJzWxaJ7TqeUb+73aVu7ip9kJKIdHZT9cBS93VnAWlhgbmMmpGK/9dr1CbW+u6gCHIN1LT8xww== X-Received: by 2002:a05:600c:4fcd:: with SMTP id o13mr22740447wmq.158.1634247127676; Thu, 14 Oct 2021 14:32:07 -0700 (PDT) Received: from kali.home (lfbn-ren-1-1732-95.w86-253.abo.wanadoo.fr. [86.253.44.95]) by smtp.gmail.com with ESMTPSA id 143sm9257844wma.37.2021.10.14.14.32.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Oct 2021 14:32:07 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Thu, 14 Oct 2021 23:30:25 +0200 Message-Id: <20211014213025.66942-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/micropython: depends on host-python3 X-BeenThere: buildroot@buildroot.org 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: Chris Packham , Fabrice Fontaine Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Replace BR2_PYTHON3_HOST_DEPENDENCY by host-python3 to avoid the following build failure raised since bump to version 1.17 in commit 32b2a03745785afeb496979aa3c0f654bc6063ce: Traceback (most recent call last): File "../py/makeversionhdr.py", line 117, in make_version_header(sys.argv[1]) File "../py/makeversionhdr.py", line 79, in make_version_header info = get_version_info_from_docs_conf() File "../py/makeversionhdr.py", line 67, in get_version_info_from_docs_conf for line in f: File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2154: ordinal not in range(128) Indeed, this build failure is not reproduced by host-python3 (in version 3.9.7) so it is probably an issue with python 3.5 (which is 6-years old). Fixes: - http://autobuild.buildroot.org/results/96f7b81f5d14715b0b6673a8016a31e9e1552d0b Signed-off-by: Fabrice Fontaine Reviewed-by: Chris Packham --- package/micropython/micropython.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/micropython/micropython.mk b/package/micropython/micropython.mk index 3d69e152e5..c49ca23449 100644 --- a/package/micropython/micropython.mk +++ b/package/micropython/micropython.mk @@ -11,7 +11,7 @@ MICROPYTHON_SITE = $(call github,micropython,micropython,v$(MICROPYTHON_VERSION) # and most of the copied code is not used in the unix build. MICROPYTHON_LICENSE = MIT, BSD-1-clause, BSD-3-clause, Zlib MICROPYTHON_LICENSE_FILES = LICENSE -MICROPYTHON_DEPENDENCIES = host-pkgconf libffi $(BR2_PYTHON3_HOST_DEPENDENCY) +MICROPYTHON_DEPENDENCIES = host-pkgconf libffi host-python3 # Set GIT_DIR so package won't use buildroot's version number MICROPYTHON_MAKE_ENV = \