From patchwork Sun Oct 20 19:38:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1180066 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.137; helo=fraxinus.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.b="Ktf/H5Mk"; 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 46x96w6stkz9sNw for ; Mon, 21 Oct 2019 06:38:31 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E892485BCA; Sun, 20 Oct 2019 19:38:28 +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 S2vqWZtUFsgx; Sun, 20 Oct 2019 19:38:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7C94E85BD0; Sun, 20 Oct 2019 19:38:25 +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 4E5621BF470 for ; Sun, 20 Oct 2019 19:38:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2805F87939 for ; Sun, 20 Oct 2019 19:38:23 +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 QNJw4ttjdE5E for ; Sun, 20 Oct 2019 19:38:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) by hemlock.osuosl.org (Postfix) with ESMTPS id 77298875B9 for ; Sun, 20 Oct 2019 19:38:22 +0000 (UTC) Received: by mail-io1-f51.google.com with SMTP id r144so1516875iod.8 for ; Sun, 20 Oct 2019 12:38:22 -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=Iq6+zQDxC0HM2RpXjFXMZxeT5x76Nin7YNtZj55BZXQ=; b=Ktf/H5MktQgP7aOObbjPcLMoTBDl8LJY7KXnLcM/Tiz2/Iexpx+DVNCWwlPP2GD/uZ t3wZc0nSGF4LuRS+zynZ8TlWvzqF6nlYJKglBCaiGasarGbg+lm9U+rdH0+m7gi3l6JD OboY2ugyHtbmUvDuPLs+ov0cXjR+gHgT7H3i53ZZHQOlCl9wi0jNeys2pen/hSGqr/2e uIaYvJzeemr8ksu3gHMbGT+o5aHh7ACoVP+0WYROQBSs0lNa5wvaQycEn2gk5Tmn/is7 HxM0OHAxw4tix+EdCE38zfz/eGSGS0KK8BM1L9DpwXyWFH6lzl7tRcNuHE+2eYfOYeEv S/ow== 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=Iq6+zQDxC0HM2RpXjFXMZxeT5x76Nin7YNtZj55BZXQ=; b=qkU5vxfU8PQvzfmiE7FkgUKzjJwemCPGShL4aVuU2I2p5962oIp1h0h7PrhVtMy99E doKV9uIcl9G/LCck98AO5RtrzX9HvCxzIdZ9ZFU+EG1fyRpnvabqkmKQw0l4faI/9n+q yWXP0OVrnbw4j1Ip8i/NbuT+9zzwMmzfgWIEKoBxAWudvs5Eq1DdcoihsBjQdVhBFx4y yNPWiJiRvsDlLsjzqvj5CqeJ+0YhS38+0q4eLk3zqd1Ni2Q5MwSjt2XLBRZUb/lhsSh8 Ew9rGrOAZrDYWJABC/bycR1b7SxMgHX//ySoPtNUXidJaWp0aubjd4jh7UR8EZGG0IWt /wSQ== X-Gm-Message-State: APjAAAUAvBX+Cyfkrj3mKX41fWggAnF55/V91wLEZIToLM5QAjPWcif/ R9BxZd1bSNuyvAkVou1paUxuh1NNwOs= X-Google-Smtp-Source: APXvYqz2vPfDpx5UeKG72XgScBCiz1QjQcniRUKhzBf736dbVzSsDmdqiuu8BUeneBuocbFFXn2ffA== X-Received: by 2002:a5d:8d8f:: with SMTP id b15mr16661684ioj.296.1571600301018; Sun, 20 Oct 2019 12:38:21 -0700 (PDT) Received: from james-x399.localdomain (71-218-230-115.hlrn.qwest.net. [71.218.230.115]) by smtp.gmail.com with ESMTPSA id n26sm5203753ili.8.2019.10.20.12.38.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2019 12:38:20 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Sun, 20 Oct 2019 13:38:18 -0600 Message-Id: <20191020193818.85518-1-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/kmod: fix build with python 3.8 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: James Hilliard Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: - http://autobuild.buildroot.net/results/71bf937339705a520e047d12c146229ec42a76f2 Details: - https://bugs.python.org/issue36721 Signed-off-by: James Hilliard --- package/kmod/kmod.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk index a5bcf2f2d6..a63fe99d91 100644 --- a/package/kmod/kmod.mk +++ b/package/kmod/kmod.mk @@ -45,6 +45,10 @@ endif ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) KMOD_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) KMOD_CONF_OPTS += --enable-python +ifeq ($(BR2_PACKAGE_PYTHON3),y) +KMOD_CONF_ENV += \ + PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --libs --embed`" +endif endif ifeq ($(BR2_PACKAGE_KMOD_TOOLS),y)