From patchwork Thu Oct 17 16:21:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hilliard X-Patchwork-Id: 1178775 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.133; helo=hemlock.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="SAW4lpzd"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46vDvC0rfDz9sPJ for ; Fri, 18 Oct 2019 03:21:41 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 95DB38442F; Thu, 17 Oct 2019 16:21:36 +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 iZnlPTgJ1yos; Thu, 17 Oct 2019 16:21:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id BBE8D86CD7; Thu, 17 Oct 2019 16:21:34 +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 DFD751BF4E3 for ; Thu, 17 Oct 2019 16:21:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id DC35520378 for ; Thu, 17 Oct 2019 16:21:33 +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 Xquz4JAOSp6Q for ; Thu, 17 Oct 2019 16:21:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-il1-f196.google.com (mail-il1-f196.google.com [209.85.166.196]) by silver.osuosl.org (Postfix) with ESMTPS id 4986D2010E for ; Thu, 17 Oct 2019 16:21:33 +0000 (UTC) Received: by mail-il1-f196.google.com with SMTP id l12so2624988ilq.4 for ; Thu, 17 Oct 2019 09:21:33 -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=ZacpGdNAB+IjjADD8FRsYX0mobVa+XH5X06FIizmDek=; b=SAW4lpzdzla41eVozBbY0YGDoYWbCr2RJrDzvNMbmDgVhS6X04LtfFSUW2Jfln+KQ+ RQCtEHwLFCzW0pKC+H1j3B0OiIiKwl3GX9Ze68aSpA5Uow7xPW5sJ9ZnuY8+Amk20tXH aTog7et2ij8I6StAt6X9fys+VU14TzGa4GhTBWhAszk8YlT6WGSjOraWqce6Qu/YAjZM CeuMtlnr7myNH+lu6Ca/xZcOZyrW5/tBTteaqor+TZvJ2yJ/xZEbHrpciwcsD81McUUA Qtr+VJiySsXLqjoxd/giRhRHQLh1q4sSIMvLEbMfMYMYJ6vfQYKGEX/YenlJequV8LIb 8izQ== 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=ZacpGdNAB+IjjADD8FRsYX0mobVa+XH5X06FIizmDek=; b=MghL2XEhIoK8zLw7XxDlWrTRyGfbMvg70zS7I6JSPDPNzlIkFhx4mWaQ6731r4tWh4 kcDZfvUcaWKHByWHrX3WfWY7+UHFJfdiDDsq64XPStQglL27affSzlij5Uw9sSj0FrCG cyb+4okCCvif5aoX8hKjt/NdCi34A9ymgAdU6VxeEAwQ0eqXn80Gva7OJOwx7Uy420pU 9d4vAox3Sqjhz4WZh1871Q7bHd+N2+BMWa+1THd5CfOTxDNEGoqiOqlOaCdc3GQ4n564 z/7i/+a+eCbWCN3PtFPxR6yYif2JvFuePHMbEACJHrrrmxz7Id9+3XqINXQwosb1BZWy L8DA== X-Gm-Message-State: APjAAAVQzEoO/bsNRgUnRseinnJK1mnd4Zw6+RF1I3RTU/xKDGfzf1fh ZYHMssa+jE2zZV8nmOPpoffpFcHv+JQ= X-Google-Smtp-Source: APXvYqzXRIBGgacckiebT/jH9CotMofrEJN4o0F3gE2W+eRJqmNrl6o0w/bmfXThmT6BZ45HRKlVvw== X-Received: by 2002:a92:8f46:: with SMTP id j67mr4772893ild.236.1571329292108; Thu, 17 Oct 2019 09:21:32 -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 u25sm1182248ill.4.2019.10.17.09.21.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 09:21:31 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Thu, 17 Oct 2019 10:21:27 -0600 Message-Id: <20191017162127.4261-1-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/pkg-python: fix python 3.8.0 package builds 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 , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" We need to update the sysconfigdata path for python 3.8.0 per upstream commit 7efc526e5cfb929a79c192ac2dcf7eb78d3a4401 which indicates the "m" flag has been removed from sys.abiflags. Fixes this build error when building target packages: ValueError: Empty module name Signed-off-by: James Hilliard --- package/pkg-python.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pkg-python.mk b/package/pkg-python.mk index e906920417..be1ce071df 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -21,7 +21,7 @@ ################################################################################ define PKG_PYTHON_SYSCONFIGDATA_NAME -$(basename $(notdir $(wildcard $(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/_sysconfigdata_m_linux_*.py))) +$(basename $(notdir $(wildcard $(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/_sysconfigdata__linux_*.py))) endef # Target distutils-based packages