From patchwork Fri Dec 15 07:52:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36325 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0695C4332F for ; Fri, 15 Dec 2023 07:52:56 +0000 (UTC) Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) by mx.groups.io with SMTP id smtpd.web11.58178.1702626767509940515 for ; Thu, 14 Dec 2023 23:52:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AInKGrIQ; spf=pass (domain: gmail.com, ip: 209.85.208.46, mailfrom: alex.kanavin@gmail.com) Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-551f9ca15b4so373051a12.1 for ; Thu, 14 Dec 2023 23:52:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626766; x=1703231566; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ltSLUW8kU2c+IsecmorNJ6tQK4k1S6DwO48Yj5W1pEE=; b=AInKGrIQxwbe62gkPts/n95jzvhy1OrsRQtWOiNZLUm8qqn2nFhy+auzd0T5nKaPL2 d8A6DnIfwRSvmt+Mcol81GYmaq8iEYg8wdQuH5YUJHiRQNL2nTpz5YQvgIrgv68oi3gM KgqiqA+oOFxty0zmbahRWtFkIY0P/3+dpdvRwwSq9Onjbr5sUYDJEbEpAReCYXgY2fv4 7kX5BY4TPt1PhU3n+ptSsPBwLeVL+LH2IR/ZWOP2QcLhVtDCguQTzS+wV/QtBlKPsHRV DEj1TSmR7Z+p5FVqbNBExxgFA74epKPO/d9X6zoGmemH0L7HGQvzyvcMS6VW39TlKzix lyPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626766; x=1703231566; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ltSLUW8kU2c+IsecmorNJ6tQK4k1S6DwO48Yj5W1pEE=; b=Bs7iS0LEEJthIbAOd17y4bB8PvUKh4AndjLCzxxFW27Cw/i2FqsD5PXUnBuJcwpXMl VRY+gkCB/w1YelF76XDFVeZWkSVe64lZq2+H686EDCp9RJXGhhsYhvL86SvJbYKx9L+H B8LS86gvIR/U7hwmhh6OhQvrg3nOL2bi1E/BiOz3nb9E8echOcL9XWsqFZ4ERs+kHtPu TyXC73+W3TM6QfI9cgfUNTII5f+xoiqDeJ28kCr6UgAUbXtep/x71IOAJFkUSPlNW/Jq mwAir5+CVGP9FKfYtBnmMtnJGTeGFZOKOOOwmEQUZdhSusVIlXvg5Olm7C9VCn9sJroT 8lBA== X-Gm-Message-State: AOJu0YwDm98Sz0R87yplixeBycMjTNSMY4/F0q6v6BkRio3fKy95bVOY TjuKDUEd9uAaaZ6CleVT5zK5zBWwLD4= X-Google-Smtp-Source: AGHT+IFKNMv3i7sUf9tBz7FGLUiGvMqGrTmJMmMyWqXLtfURqRh1YNzdGrgu7Y8ztraqlswqXCqI0A== X-Received: by 2002:a17:906:5352:b0:a23:124a:a6f1 with SMTP id j18-20020a170906535200b00a23124aa6f1mr776884ejo.142.1702626765835; Thu, 14 Dec 2023 23:52:45 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:45 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 01/20] python3-pyinotify: remove as unmaintained Date: Fri, 15 Dec 2023 08:52:20 +0100 Message-Id: <20231215075239.3049865-1-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107494 There hasn't been a release in years, and python 3.12 is no longer compatible as it has removed the smtpd module. https://github.com/seb-m/pyinotify Signed-off-by: Alexander Kanavin --- .../packagegroups/packagegroup-meta-python.bb | 1 - .../python/python3-pyinotify_0.9.6.bb | 19 ------------------- 2 files changed, 20 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 3b9a0f048..af1b7ba92 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -321,7 +321,6 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-pyflakes \ python3-pyhamcrest \ python3-pyiface \ - python3-pyinotify \ python3-pyjks \ python3-pyjwt \ python3-pykickstart \ diff --git a/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb b/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb deleted file mode 100644 index 8dd5e1580..000000000 --- a/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "Python pyinotify: Linux filesystem events monitoring" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=ab173cade7965b411528464589a08382" - -RDEPENDS:${PN} += "\ - ${PYTHON_PN}-ctypes \ - ${PYTHON_PN}-fcntl \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-misc \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-smtpd \ - ${PYTHON_PN}-threading \ -" - -SRC_URI[md5sum] = "8e580fa1ff3971f94a6f81672b76c406" -SRC_URI[sha256sum] = "9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4" - -inherit pypi setuptools3 From patchwork Fri Dec 15 07:52:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36324 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C96CFC4167D for ; Fri, 15 Dec 2023 07:52:56 +0000 (UTC) Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) by mx.groups.io with SMTP id smtpd.web10.57801.1702626767961580271 for ; Thu, 14 Dec 2023 23:52:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CD7zok7a; spf=pass (domain: gmail.com, ip: 209.85.218.54, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a1e83adfe72so29879166b.1 for ; Thu, 14 Dec 2023 23:52:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626766; x=1703231566; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AXFO7yNzKWWDHP3MEoPuSPeKkv9b/9/VguxeZI/z22w=; b=CD7zok7ajv6ZhvPo2kJPmNLgMuxN5j1orPSc7oIvV3U8fXRv3TUOJ0aNTl/9mwnS67 2AyJPepn8DbsqMfP2OJZv89lEWiS476xrrizSoNfBfR+Hj4uP05ABeiV3ysV5VhMOnJN B4J4aGp1xw5u+6cKY6OHDRkYD+UYP2+zoPvaKu83Ye2PfOr6f4gBSeI3ybskzodI1n9u iGdfu8Feo3p6+jllyPqEhQ/F3xOM4z3oPqlz59p+Br9E/h0T7Hd47LK7AhOvESfbaTq5 /BDa1lFTpdw+qJhufLBUoRvk3q9kK19PaqEpfUz2b0liO70zAqNd6Hxz4m5tETK0sRv5 Yisw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626766; x=1703231566; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AXFO7yNzKWWDHP3MEoPuSPeKkv9b/9/VguxeZI/z22w=; b=Ub8ZSSUm4JdMRRmq41g+jsd8rpq3AdGD+kmzGPUH4ljm0/gfkw1kWepMHeRwlaMF8q BK8sIW4yuqcBpj7UTbHZihNd+R7szqhahLLeGwtIDOh1hYakRtck2Mba0DTcoYPVBt1J SY5DH/557P+szYBOovo41ABPTZTcXAgp7CRWAL5Zn1UU9Stk3EOuiY/mGQuYTiS7p3VK D+fJBHtSuYoCGBH6wQmkreDhSgnt+330ukKHE2tfhUo6+h5ulRGIuAytkY7emgvYZDqT gRus2MNNL3Be2XZ9A209ldYQVX0L9t2wAkYNrvFdCg5HGmvN8v//iHtFiJDSLHRyv4Ye ALBw== X-Gm-Message-State: AOJu0YymNGkJQh8h4Gcz+roWByW1azunWfZQFBHI+O0L0VBciTM8QXlv HAOuz+uavIN4hYXsT1ylSF7mhuFQZdU= X-Google-Smtp-Source: AGHT+IEFpxIx9oTQ7Bi+pWgEwE9NsnJptw5xFtaGlNOJ+vsvtbEMowjSCYTDG9Q+EXKgdNUupi6y/g== X-Received: by 2002:a17:906:1044:b0:a23:b67:d044 with SMTP id j4-20020a170906104400b00a230b67d044mr1501316ejj.8.1702626766348; Thu, 14 Dec 2023 23:52:46 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:46 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 02/20] python3-supervisor: do not rely on smtpd module Date: Fri, 15 Dec 2023 08:52:21 +0100 Message-Id: <20231215075239.3049865-2-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107495 It's not mentioned anywhere in source code, and python 3.12 has removed it. Signed-off-by: Alexander Kanavin --- meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb b/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb index 53f8011b0..06b08e78a 100644 --- a/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb +++ b/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb @@ -17,7 +17,6 @@ RDEPENDS:${PN} = "\ python3-xmlrpc \ python3-resource \ python3-setuptools \ - python3-smtpd \ " SRC_URI += "file://supervisord.conf \ From patchwork Fri Dec 15 07:52:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36330 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 100C6C46CC5 for ; Fri, 15 Dec 2023 07:52:57 +0000 (UTC) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mx.groups.io with SMTP id smtpd.web11.58180.1702626768486140707 for ; Thu, 14 Dec 2023 23:52:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cuusxiao; spf=pass (domain: gmail.com, ip: 209.85.128.47, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-40c41b43e1eso4447375e9.1 for ; Thu, 14 Dec 2023 23:52:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626767; x=1703231567; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CBZt3nP58UYnVCElJSYVWbd6e2WDwBHGpwM6hdLUYmU=; b=cuusxiaoBeAqc+AEFTB1XdXIWa41S3yHTkSPOJlvapNOuJZgwJe6ncwqSb9nHJgg06 2/pTYqoh08Ais90EFdnnkAlCxxtGkcX0oR5EyweBTLRDh4rrt7PeGe9dwaIHMhoP37jn oFB5PAcIFFu7XaQ3uKVqB1DF0XReJHZqCNT14CNSLjVO5QmvXLCqF9rvNSfyvnSB4Buc p+vgbMqqNU8++LYbnUpX7ieMTRwSU/0rR8qKZNdUHVxlh8X6oGeu5RKP4SMfOTaBLJ04 l+HpNz9NJYv1yGyyJSTFhDIfuFmUnpHZC1bMuc9QAI0qPWSVNrNy3b+uibBsLHEIyLU9 NTCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626767; x=1703231567; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CBZt3nP58UYnVCElJSYVWbd6e2WDwBHGpwM6hdLUYmU=; b=basgolHckfQIJ2Ks0ZqO5TdnYsdIEOYeabAA1L4/JwVByZ2IWzkEcU1VYZFNLWPgo0 W4bLkasz9N7zLhoI+DqkSNnazMWrTx99YgEXpdtd120I7mNqSVea7lHDTUgogaHYkQDd inLiS4LHBjxOFLUn1a4y6ddVCI4/pmA+cAmb0KY6pTGDyo/AgYNhYY0sn3ytK6maqVdp mmV560+ZcQ9S1Lw5tr5a4s93mL3ofrBfPeCG3Np8lB23tioad7i+rN5U5eghexxM/bdQ XR0OUTiKhe+29hANEvbKMWL6pXYuy/PNwzCMwIg13nBJ6as962CSXEBRPuZQyEfSjL+z b7TQ== X-Gm-Message-State: AOJu0YwrrB4qwy2ykm4tjMiFrmSUI7SwaYpl9TK3Kpp61uHe3iIx8uMs fFcaGWUJygY8cxnvTbWno3QUw+jnqok= X-Google-Smtp-Source: AGHT+IGYhCOFXMGc5nyywksUFqVSJt8ZdoVubntxudStO2Yk9PWwqcfvaMFr6GZYP65sZ3yLTstegA== X-Received: by 2002:a05:600c:294b:b0:40c:6161:6804 with SMTP id n11-20020a05600c294b00b0040c61616804mr1221158wmd.44.1702626766900; Thu, 14 Dec 2023 23:52:46 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:46 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 03/20] python3-meld3: do not rely on smtpd module Date: Fri, 15 Dec 2023 08:52:22 +0100 Message-Id: <20231215075239.3049865-3-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107496 It's not mentioned anywhere in source code, and python 3.12 has removed it. Signed-off-by: Alexander Kanavin --- meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb b/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb index 1be3fa5ad..7ebf9f141 100644 --- a/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-meld3_2.0.1.bb @@ -15,6 +15,5 @@ inherit pypi setuptools3 RDEPENDS:${PN} += " \ python3-cgitb \ - python3-smtpd \ python3-xml \ " From patchwork Fri Dec 15 07:52:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36332 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27B2CC46CC6 for ; Fri, 15 Dec 2023 07:52:57 +0000 (UTC) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by mx.groups.io with SMTP id smtpd.web11.58181.1702626769046325048 for ; Thu, 14 Dec 2023 23:52:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=brgwqs2H; spf=pass (domain: gmail.com, ip: 209.85.128.52, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-40c580ba223so4692705e9.3 for ; Thu, 14 Dec 2023 23:52:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626767; x=1703231567; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KO4qd174NqNYT/erDldb6vCur2aTiVqkamy5dUA1ERU=; b=brgwqs2HxZGOSqdYeBoVBvMu0k3305uLlSmAs0INFD5F2HpWdOrXKt4hsuGZ0ga9PY bDNixVDwu/DNW756eqf/f4PSBZ5idMn/b40FEk6KiopwL16P6FWLmJtqpo6+atifw/KO xWpYCVn3gujJFC/vnyLLY/w0+lEcZAREqn65sG9ByJUwoKz0CEDMcD0QOkvE4yOjCRvR Xky1NNJkYE+IENey4MR5zzotzHlghSRW4gssY8FsIOMKC9NTYqkyLJUDKgTmPwxAht0/ zOvL2Q0Wttf4XATewkuBRzWKzFC3LQ5UQdLjDGo+ZYDaYxwI1u4TSUh4ceyBswxc7VkE zfkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626767; x=1703231567; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KO4qd174NqNYT/erDldb6vCur2aTiVqkamy5dUA1ERU=; b=B3Mn1+cML885VWSK9nudGNqsPHYUiN8EHVo11gDNZtAUxEvqBKaS7Q3dSgjJojV3xl 6XmIbl66e9C2eCvdGiyMFyz9s8kmh8xQNRjWTCnzlLthLFFAIUow5DNdLktkJVYEJa/s +T0SwGZ5vuBwu5aj7X9k8WYQQkhgjJG7BrtAPfVQrw6NYqBBddJQPp5wLkl5+0GWiu04 GL+vXBbHLRieRP/ScWUcvAKwq/y6186i7g45cd4dzeEoUoH78bi6lBNDVE4dLjQYmHHc W39AJMqV55Hb0EokBgKQ7Jyh2FMwiMqqFs2y/nWFXpJ7jHhsRBHzPD0Ebo6fnjW+Biwg tbTA== X-Gm-Message-State: AOJu0YyOX7ZRBoaUcqjYmFOUpX1BWWdY+jZO3PoAvIucJvKmGiSILWqi pxuy1tVgjsVbXeyWYhhDMd2h7fkWhII= X-Google-Smtp-Source: AGHT+IEoYscG7TgGQXW/xXMJi1qg6s8HhMwbRhLwIoDjYg6k+m40lEUJdydZuOp8DfiuloKyD7UabA== X-Received: by 2002:a05:600c:81b:b0:40c:2757:d316 with SMTP id k27-20020a05600c081b00b0040c2757d316mr6075868wmp.150.1702626767548; Thu, 14 Dec 2023 23:52:47 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:47 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 04/20] python3-m2crypto: do not rely on smtpd module Date: Fri, 15 Dec 2023 08:52:23 +0100 Message-Id: <20231215075239.3049865-4-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107497 It's not mentioned anywhere in source code, and python 3.12 has removed it. Signed-off-by: Alexander Kanavin --- meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb b/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb index a55ded34d..c946edb2b 100644 --- a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb +++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb @@ -24,7 +24,6 @@ RDEPENDS:${PN} += "\ ${PYTHON_PN}-netclient \ ${PYTHON_PN}-netserver \ ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-smtpd \ ${PYTHON_PN}-xmlrpc \ " From patchwork Fri Dec 15 07:52:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36338 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 344DEC46CD7 for ; Fri, 15 Dec 2023 07:52:57 +0000 (UTC) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) by mx.groups.io with SMTP id smtpd.web10.57802.1702626769856439862 for ; Thu, 14 Dec 2023 23:52:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=i0DxRSXU; spf=pass (domain: gmail.com, ip: 209.85.208.45, mailfrom: alex.kanavin@gmail.com) Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-54dcfca54e0so455601a12.1 for ; Thu, 14 Dec 2023 23:52:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626768; x=1703231568; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GGqWke770wOSBAeZjzSRFAG/+6F6MY9265eGLduEq88=; b=i0DxRSXU+s7JfUKWLei9ktFbIvMYCJ7IQN5E+LjvVvxIPQna2lmGsONcy7i5eGg5wv F0+wNzsHIRY8QDg8DiruhT0p/puQMAiq0Y63AgWq7I9sA+XV/uQazQxQhwaWkt/tNchK AEMgFX5ZPMOaAZPSJ+igpTSTj6Ru65du23M7XPAWy8TBG2ghogm0CbgEpqlEDz5DDvVC +N403YAB0WIQQP70ygw/EAhY0x9HEdU/yqrh3QRRI65w0iBUXw2dLR35y2JSQebzAkfc MqmYcHs4oqvjScO65F220N58QqlHUZx0xdCP/PA9xiQd4uI433JXlAKCSy8l6dilxUf9 XMbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626768; x=1703231568; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GGqWke770wOSBAeZjzSRFAG/+6F6MY9265eGLduEq88=; b=HzNHQw4Cw4OUQd1z/ngJqJRYvyc/a+OeGjMyWtWX+IKYVCESWB6IGLLf5NRjYqmPid z0wli2jMrH2JW0PIaa34hUqEfjdR/BtOVt5F/dMvwabH7wW5MElMoSTt8uuYE6OEC3T3 p6R7JVP28seScmS0vnrM4C3qYlxlYqwxbZetLVnorBxPM3X3XpIfYs0ZSNK171bAScnc mYSpwDTLj8Kb07pR7sFth0idr3sToejtSO9CUNio+XaWgKaRnT2BnngYGUXuZj3gIfUF fNHZK1bCCFxcJ1lSrc6Wx8xGDarN9ledMA9yhtuRC5Y1Kq/QidyfsYgSQoMGA56PpMe3 zn4Q== X-Gm-Message-State: AOJu0Yy1Oha25Z7l2Grm6yyv0a8rkzGEWPlPz+4Oma21ZHkbRf1Obx+I +5avK8xKww4luhufV68vr4jnhto5jUg= X-Google-Smtp-Source: AGHT+IHXa8i+LDk4EFUt3o+BNHFk9zzCrw0azk2HYZ5EY7vAn0tu3Ay6km9r5Tedb+kKOxJrIAk0kQ== X-Received: by 2002:a17:907:728a:b0:a1b:a52e:3216 with SMTP id dt10-20020a170907728a00b00a1ba52e3216mr5882098ejc.122.1702626768082; Thu, 14 Dec 2023 23:52:48 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:47 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 05/20] python3-uinput: remove as unmaintained Date: Fri, 15 Dec 2023 08:52:24 +0100 Message-Id: <20231215075239.3049865-5-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107498 Both homepage and downloads are gone, last release in 2016, still relies on distutils which is no longer available in python core as of 3.12. https://pypi.org/project/python-uinput/ Signed-off-by: Alexander Kanavin --- .../packagegroups/packagegroup-meta-python.bb | 1 - ...time_t-default-on-32bit-architecture.patch | 43 ------------------- ...-use-setuptools-instead-of-distutils.patch | 30 ------------- .../python/python3-uinput_0.11.2.bb | 20 --------- 4 files changed, 94 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-uinput/0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch delete mode 100644 meta-python/recipes-devtools/python/python3-uinput/0001-setup-use-setuptools-instead-of-distutils.patch delete mode 100644 meta-python/recipes-devtools/python/python3-uinput_0.11.2.bb diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index af1b7ba92..a8b4532c3 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -438,7 +438,6 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-typeguard \ python3-tzlocal \ python3-u-msgpack-python \ - python3-uinput \ python3-ujson \ python3-unidiff \ python3-uritemplate \ diff --git a/meta-python/recipes-devtools/python/python3-uinput/0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch b/meta-python/recipes-devtools/python/python3-uinput/0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch deleted file mode 100644 index 4095fc909..000000000 --- a/meta-python/recipes-devtools/python/python3-uinput/0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 69adf9e32f5b11e15c0cbe17f9331c77fed65bf8 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 28 May 2022 15:50:50 -0700 -Subject: [PATCH] Deal with 64bit time_t default on 32bit architectures - -Deal with Y2K38 concerns related to Linux input events on more recent -kernels and libcs on 32-bit systems - -Upstream-Status: Pending -Signed-off-by: Khem Raj ---- - libsuinput/src/suinput.c | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -diff --git a/libsuinput/src/suinput.c b/libsuinput/src/suinput.c -index 8d5fb71..13ff16a 100644 ---- a/libsuinput/src/suinput.c -+++ b/libsuinput/src/suinput.c -@@ -45,11 +45,20 @@ int suinput_emit(int uinput_fd, uint16_t ev_type, uint16_t ev_code, - struct input_event event; - - memset(&event, 0, sizeof(event)); -- gettimeofday(&event.time, 0); - event.type = ev_type; - event.code = ev_code; - event.value = ev_value; - -+/* attempt to deal with 64-bit time keeping on recent 32-bit systems */ -+#if (__BITS_PER_LONG != 32 || !defined(__USE_TIME_BITS64)) -+ gettimeofday(&event.time, 0); -+#else -+ struct timeval now; -+ memset(&now, 0, sizeof(now)); -+ gettimeofday(&now, 0); -+ event.input_event_sec = now.tv_sec; -+ event.input_event_usec = now.tv_usec; -+#endif - return suinput_write_event(uinput_fd, &event); - } - --- -2.36.1 - diff --git a/meta-python/recipes-devtools/python/python3-uinput/0001-setup-use-setuptools-instead-of-distutils.patch b/meta-python/recipes-devtools/python/python3-uinput/0001-setup-use-setuptools-instead-of-distutils.patch deleted file mode 100644 index b2e1b9cd8..000000000 --- a/meta-python/recipes-devtools/python/python3-uinput/0001-setup-use-setuptools-instead-of-distutils.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 7a4dde83a9584adb42c7f810d882b1fbf5767e2c Mon Sep 17 00:00:00 2001 -From: Bartosz Golaszewski -Date: Tue, 24 May 2022 21:43:35 +0200 -Subject: [PATCH] setup: use setuptools instead of distutils - -The latter is deprecated, use setuptools instead. - -Signed-off-by: Bartosz Golaszewski ---- -Upstream-Status: Pending - - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 3fa3343..4900b8b 100644 ---- a/setup.py -+++ b/setup.py -@@ -3,7 +3,7 @@ - import errno - import subprocess - --from distutils.core import setup, Extension -+from setuptools import setup, Extension - - libudev_so = "libudev.so.1" - --- -2.34.1 - diff --git a/meta-python/recipes-devtools/python/python3-uinput_0.11.2.bb b/meta-python/recipes-devtools/python/python3-uinput_0.11.2.bb deleted file mode 100644 index ef466539b..000000000 --- a/meta-python/recipes-devtools/python/python3-uinput_0.11.2.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "Python interface to Linux uinput kernel module." -HOMEPAGE = "https://pypi.org/project/python-uinput/" -LICENSE = "GPL-3.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" - -SRC_URI += "file://0001-setup-use-setuptools-instead-of-distutils.patch \ - file://0001-Deal-with-64bit-time_t-default-on-32bit-architecture.patch \ -" -SRC_URI[sha256sum] = "99392b676c77b5795b86b7d75274db33fe754fd1e06fb3d58b167c797dc47f0c" - -PYPI_PACKAGE = "python-uinput" - -inherit pypi setuptools3 - -DEPENDS += "udev" -RDEPENDS:${PN} += " \ - python3-ctypes \ - python3-distutils \ -" -RRECOMMENDS:${PN} += "kernel-module-uinput" From patchwork Fri Dec 15 07:52:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36337 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 403C6C46CD2 for ; Fri, 15 Dec 2023 07:52:57 +0000 (UTC) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by mx.groups.io with SMTP id smtpd.web11.58182.1702626770143627475 for ; Thu, 14 Dec 2023 23:52:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Lh+W1s8s; spf=pass (domain: gmail.com, ip: 209.85.218.48, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a1f8f470903so44969466b.1 for ; Thu, 14 Dec 2023 23:52:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626768; x=1703231568; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gCPeWEN+/1kf3TTs0ddHJelzawtf5oPPO90Av9INCiY=; b=Lh+W1s8sxhwRiGoellXgLJBej3ZvCmYhLsR3fufd1Q1oRmKVADPLjHXX75dKeEzK6q CVYK0b51YBeFX4rEbOEF4cZbPIqwqd+jMfUuASS5Y7TeVuBnPz+DnAa/mg4hiE7LmGyz zJ3AJNh/tW6+3DoAO43QibYh6HzHzOY5p4Zo25eZlZTI53KMZEOVt/dYh2WeAgwXCCC3 Ov7MdGDmbF5kH2DB9SFq6LsUKqlw5ogNt6hhB6oq6yf1buErzwy4f3b4AwhmBC+Mw2JT bgf76XTDyaKIGdbci2fXG/h6TKHvuIKyy6CxB81m8r8yp5XoQvVIXxqLSljBpLjRVM+N /NqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626768; x=1703231568; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gCPeWEN+/1kf3TTs0ddHJelzawtf5oPPO90Av9INCiY=; b=R1V/T4kXAIz/BdriVb0BbnH3KSSW7cGpOdYl/fK5uz4O3TDz5BejyB3K9Izi3kyqHO 8FHVmjNrkKXZiRvKu0ckrPnIOH4HnqOn7nfb3gX+jK+76CTZDOHVrAjayxea5mx2Donb c5Bpl12T8sgU39EpWR6JJycsXfzmCyzfWzQrtsYWS+IPFTKskaid6xITeaiI0S6rWiQg IEnt/s5c0cWcTCn+Ds0bKrS6CDT2ECQqqhCvLG28lMTkqfrYPHqgeOA9ENCg7lBP+Cga warpoZtakHlqyNEuDcMA2ZNp/t5jWUgh5n+dbniE2vEQNwWQ77I81UvarjFZ4YXckBpB GWmA== X-Gm-Message-State: AOJu0Yxf0lq1u3WvAjgiJ6zlLFwh/RUZ1B2tHRfwndZTP0xtgupPLbmx QXtYiwFVuAr2sHJYcGKU6qOK3T3vwEs= X-Google-Smtp-Source: AGHT+IGmpI3t9KrOcJgwkZ530fZ9mKqheTaB9bPEkT9iRv2T+sSWz94U4y77cf2cjFDBHRyKTAbndQ== X-Received: by 2002:a17:906:57d2:b0:a1d:7070:cceb with SMTP id u18-20020a17090657d200b00a1d7070ccebmr5172918ejr.55.1702626768651; Thu, 14 Dec 2023 23:52:48 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:48 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 06/20] python3-mcrypto: rely on setuptools for distutils copy Date: Fri, 15 Dec 2023 08:52:25 +0100 Message-Id: <20231215075239.3049865-6-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107499 It's still used in source tree: src/M2Crypto/__init__.py: from distutils.version import StrictVersion as Version Signed-off-by: Alexander Kanavin --- meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb b/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb index c946edb2b..062a63a39 100644 --- a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb +++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb @@ -19,7 +19,7 @@ inherit pypi siteinfo setuptools3 DEPENDS += "openssl swig-native" RDEPENDS:${PN} += "\ ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-distutils \ + ${PYTHON_PN}-setuptools \ ${PYTHON_PN}-logging \ ${PYTHON_PN}-netclient \ ${PYTHON_PN}-netserver \ From patchwork Fri Dec 15 07:52:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36336 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44D28C46CD8 for ; Fri, 15 Dec 2023 07:52:57 +0000 (UTC) Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) by mx.groups.io with SMTP id smtpd.web10.57805.1702626770961932822 for ; Thu, 14 Dec 2023 23:52:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RgZ7Ner5; spf=pass (domain: gmail.com, ip: 209.85.218.52, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a1e83adfe72so29882666b.1 for ; Thu, 14 Dec 2023 23:52:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626769; x=1703231569; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qFsHje9COI/b9OIIHvICg/9h2CJC4kLVD0P/odq0XJ0=; b=RgZ7Ner5H2FWZgL2J7TQbBFpkXNXwOvk9YdZZU/PLNz816qBM5JbblND1JQirehtP+ JPRofVH5+WfuEYKoM7vqTkBp6xejkWuy+yzaDOf2t1e6nfdMvzxGe8oQEGbmdKg98bAR StKqDCjnrfEyeJoJD80oqmb2d8GCPgNJa9I5621VxMT7lb+V/ThcPd68BzI9wb9SmZyj D7qQ/smBD157eMnZRB8xBVRcC8w9xYcxXZUdC0jJ8Md0R46ln8Hs8qhlhWyOcsxS1Fz7 RG0/Q1v1FbT6PdnbjaDDuJ18zgefK5dbnWD59RuGqHhS9UXZ+8UBcyZ25l/zEBXY8n7w CHJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626769; x=1703231569; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qFsHje9COI/b9OIIHvICg/9h2CJC4kLVD0P/odq0XJ0=; b=ApuyW/OowHxNRFcIrxwlOpsUfET0GeQPUU8IeIphDXOUOJgq5scpcHPhs+dBsx5Tao 74S5E2mhK8VFsHAeHAEHhK/g6kv61+TMaZaZMufxxjgZofiFernyLIqzd1gHEa0KlIxw 7VzYUCw8rLwI75HjtfHJ5wxshD5aDVZ1m7Os7U6rxUegGydGKKFzh9lwrQdpTDJMpGvl X9+62bFunqRXFZRci6m++4MkPHJTsCoWA5/j0SBZSLeMpSQcRn9K5NbmX/rvXymsICKU /oaMNjh9jC3CXDijQsJubA4FIynLqIwnV132h/vl974K/hi0u5MXbSCM4yidYWURULhO a6Ag== X-Gm-Message-State: AOJu0YwNiDoqMElYN6HXqXVAqNKZhX8JNTXXQnk/YozGk43gdcsGLpTe Fkp0chdFNpFhD4ruZeyDf52iYywR2Po= X-Google-Smtp-Source: AGHT+IES0pFRLiGj/hBHBGAIwkqrfWuH+X3Dub01lQNfi0U1bLvKVEIieLrTbsHJrmDXs2AtVtkXEA== X-Received: by 2002:a17:906:35ca:b0:a19:29b3:89f4 with SMTP id p10-20020a17090635ca00b00a1929b389f4mr6049450ejb.52.1702626769239; Thu, 14 Dec 2023 23:52:49 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:49 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 07/20] python3-joblib: do not rely in distutils Date: Fri, 15 Dec 2023 08:52:26 +0100 Message-Id: <20231215075239.3049865-7-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107500 Upstream has removed the dependency as of 1.3.0: https://github.com/joblib/joblib/blob/master/CHANGES.rst Signed-off-by: Alexander Kanavin --- meta-python/recipes-devtools/python/python3-joblib_1.3.2.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-joblib_1.3.2.bb b/meta-python/recipes-devtools/python/python3-joblib_1.3.2.bb index fe1e68c5a..d68b40e38 100644 --- a/meta-python/recipes-devtools/python/python3-joblib_1.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-joblib_1.3.2.bb @@ -8,7 +8,6 @@ SRC_URI[sha256sum] = "92f865e621e17784e7955080b6d042489e3b8e294949cc44c6eac304f5 RDEPENDS:${PN} += " \ python3-asyncio \ - python3-distutils \ python3-json \ python3-multiprocessing \ python3-pprint \ From patchwork Fri Dec 15 07:52:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36335 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AE79C4706C for ; Fri, 15 Dec 2023 07:52:57 +0000 (UTC) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by mx.groups.io with SMTP id smtpd.web11.58183.1702626771410325705 for ; Thu, 14 Dec 2023 23:52:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NRVzi6A4; spf=pass (domain: gmail.com, ip: 209.85.218.42, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a1f47f91fc0so45039566b.0 for ; Thu, 14 Dec 2023 23:52:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626770; x=1703231570; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=unIgHetqlJSPTH80WvFUBbEV9GagmWSllFdRN1H5aPs=; b=NRVzi6A4Zg2/Dbt6euYWEZBxYywxxoHiDCK9VOKGpP7lfo0JI+jLJlER0h0IokgTbp JkJXa21pUIyIpd+EVvgpoF/2PI7dHSaJUWOGyHL/K6jjoWrU+JpdM39jgB6Lt5Nd8nrC rPLJtLFS5e//vUJVrITrVFESxWFJYsJ33qK18LXIMpV4nvkDqu0iziBIcfjcXTmZErHb jdf0X0Gx/XA9lA/ErUrT4fzscytEf/BQrl+a43GTpdfsIFZWKlde/N5Fly5WVQHfWdKa MuxyBpkJLmtxRt1bEnmxzhzV9fUAsJKEpq67YPxW83o87+7mG53vqX1et9qfCSCv6xR+ 4KqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626770; x=1703231570; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=unIgHetqlJSPTH80WvFUBbEV9GagmWSllFdRN1H5aPs=; b=ZE+Lf5JW43ajla+Oh2OYlxdc/y34tfSPYvZGjm3pM93xAPsHjRzSQ4mvYzR/9Y60Le nQFTrJhbd1VqyfHOhqs0ITXDx5nRwKqxiK1zyUWrLXqHCSnLrXSM//FcnJ1GubmM+Y15 3hBWcl2dRgClsXVOqtl1JxKyds0KEut/ErbJUi/XF72MNzphqfL0Dq6OEm8zRLMx8rt2 yYY8osddMmmdkS/rvGxtNAmtwt+PoPFErxTaBvqVQNJk9FgSwxHelELyBoDPOsYHbxvr dFbosaDg7eq/B2T76/4qXcJ0wIF4O4P8FnjaxqGgUdlUhuaW3xY/5Ras/nduDpsxR4ly Y15w== X-Gm-Message-State: AOJu0Yw0Yvd7L7T45qW2PxtXGecqxKOx8nuYAq6GQnPq6bYyVfgbr3Hu T2ILDNVaVJ5a95gdczW/gjB8ajcyQRk= X-Google-Smtp-Source: AGHT+IFbjpZW4P48H6K8GsaWHD7CCCvq1dQ2jAYmgwHpyPUFwusUmvrFyx+U+WPxrbQOiuu5td8pZg== X-Received: by 2002:a17:907:7288:b0:a02:2177:ad14 with SMTP id dt8-20020a170907728800b00a022177ad14mr6512367ejc.73.1702626769791; Thu, 14 Dec 2023 23:52:49 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:49 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 08/20] python3-web3: remove distutils dependency Date: Fri, 15 Dec 2023 08:52:27 +0100 Message-Id: <20231215075239.3049865-8-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107501 It's not mentioned in the source tree anymore. Signed-off-by: Alexander Kanavin --- meta-python/recipes-devtools/python/python3-web3_6.11.3.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-web3_6.11.3.bb b/meta-python/recipes-devtools/python/python3-web3_6.11.3.bb index 2c7aca9ba..31974a352 100644 --- a/meta-python/recipes-devtools/python/python3-web3_6.11.3.bb +++ b/meta-python/recipes-devtools/python/python3-web3_6.11.3.bb @@ -10,7 +10,6 @@ inherit pypi setuptools3 RDEPENDS:${PN} += " \ python3-aiohttp \ - python3-distutils \ python3-eth-account \ python3-idna \ python3-jsonschema \ From patchwork Fri Dec 15 07:52:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36329 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D20B5C46CA2 for ; Fri, 15 Dec 2023 07:52:56 +0000 (UTC) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by mx.groups.io with SMTP id smtpd.web10.57806.1702626772157148308 for ; Thu, 14 Dec 2023 23:52:52 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WredWFPC; spf=pass (domain: gmail.com, ip: 209.85.167.54, mailfrom: alex.kanavin@gmail.com) Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-50bf37fd2bbso404933e87.0 for ; Thu, 14 Dec 2023 23:52:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626770; x=1703231570; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2bjhoLbjhqyV43eSXkWedr7rjFfBSIzwVnag9ghGcfQ=; b=WredWFPCY8p4J+NCz7nvmD7XOrcX4Pv3mYb3OL15DOMEWnB+Bqm6NZwbw4vD40sjML vQlUtilpvqlizbhj66OaD2wsyN62bdqpTxTAcrW3doTiNCD4zFgmyncN4861f+B5VHjp ogbgvMw1+GDQxEKa8SUbummGSWzMdWG+vRO9TQfaoemxZjekSw9c06pKbnNL6uUVlFyH 45PI59/5avnXCj0henohxZFhQW4KKplAWMr4O/+aYOjMd3OWTHe0w8HD6tIjWMov3Caj PskKfXu/9QQrJOGBqWYTumZKats5Ih2TvmZuKG9fIHzJcmHBPYIuEhQlF9JxVi8jjUhY 5j9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626770; x=1703231570; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2bjhoLbjhqyV43eSXkWedr7rjFfBSIzwVnag9ghGcfQ=; b=guKTnh7jEKEEbZPyAN9IT0Rj6lKzHCLOB7p0w0I/wY8nPAW8uhi16jwbP3ufZMMnFz Lp5g2AFnwdVtiCGjBovEIGswm6Rq8Z+CjC9CcD/TbUBFdU5W8FJ8rLTuAWQYgMGf5Xxi 2qKbvbYTHnLdp+sFOy1LRFvD1rPsibVWPhCAZw49oskB7ECY2T+1q2+fbU0NHW3Ih3Yh xvAGh/U7Ku6XXoDHAHxzwiZOYskhkNbqgBaccd5+IINSFab4zhacAmqJjeHLTRF/e0Oy m/4XcotBOq0jAjcnekqUF8uGE+0fJFUnvGy5gDl895JpM5pGvTnHPTCj9FSs7Y8UD+Sv 0hFQ== X-Gm-Message-State: AOJu0YwCnP2hwyzozuTb5Pl1pgrsC1S3pDbGHqLzQeYFU6w1VbA0OEJ2 Mcoxh13AIYQzT/4HF9ix2CWwXZs85oo= X-Google-Smtp-Source: AGHT+IElitUYC4yi837jXRkkxSK29hisDmcSTXYFN1j8OwY/MOVR0W/FQI7+rmjGSgQ7rOT55/EVCg== X-Received: by 2002:a05:6512:1308:b0:50d:1a14:2f78 with SMTP id x8-20020a056512130800b0050d1a142f78mr7658535lfu.86.1702626770340; Thu, 14 Dec 2023 23:52:50 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:50 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 09/20] python3-cppy: remove unused distutils dependency Date: Fri, 15 Dec 2023 08:52:28 +0100 Message-Id: <20231215075239.3049865-9-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107502 It's not mentioned anywhere in source tree. Signed-off-by: Alexander Kanavin --- meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb b/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb index 270f74963..7817401fa 100644 --- a/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0bfb3e39b13587f0028f17baf0e42371" SRC_URI[sha256sum] = "83b43bf17b1085ac15c5debdb42154f138b928234b21447358981f69d0d6fe1b" -RDEPENDS:${PN} += "python3-setuptools python3-distutils" +RDEPENDS:${PN} += "python3-setuptools" inherit pypi python_setuptools_build_meta From patchwork Fri Dec 15 07:52:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36327 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9F15C4167B for ; Fri, 15 Dec 2023 07:52:56 +0000 (UTC) Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) by mx.groups.io with SMTP id smtpd.web11.58185.1702626772542314119 for ; Thu, 14 Dec 2023 23:52:52 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mfkOSNFu; spf=pass (domain: gmail.com, ip: 209.85.218.44, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a1e35c2807fso41080666b.3 for ; Thu, 14 Dec 2023 23:52:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626771; x=1703231571; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=C280Cc1OFkkhB5p1zbZFaKaRRDRlyLByGGjvrvOh0qY=; b=mfkOSNFuLuO23hR/7jd3sMUz/CjwQb06tiVi8I8RKTM1s8eagGqcsBy86fBWNoDttt KnJ7KTeduFp9DMEgZeqxgCo1m07B/gSaaynwC4MMmsVgQ+XvoFGdTCr4196eqRd783dK iXXJK22V1tOtYxw++DG1lRUmT8UFBeGedocskk5mSAiMuMpRqOl4dEjhQziVK83B0kXr OKv1/T6GrpaBfMpfjzpu3nd+Oh8lOc/vDaD2q7f+iyaR5iv2PJZwnBnZWkeDjXdcSZkO PWz8r1TjJpjgU2SQYBVhZ9Gv4OKXKKsfLIvtG6s5iMVJzEbVzpRdVW0A81izFfzhnf3v U4sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626771; x=1703231571; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=C280Cc1OFkkhB5p1zbZFaKaRRDRlyLByGGjvrvOh0qY=; b=geuBGnpT2tMRC7C0ftvHWbneqYxlbZMfuZhOFGUzs5/pffclvwRg+1MkZplfBaUD7R ie7N24c8YsEmJcP6xJ4Q3IunARN2qb81CyLXjTLX2Fyzo5NPfxeZi8Ant8DoRY05cHtx /Ne29fYoGb4wVoLqLKaLaspBlBqjVeGEKfDH1BVgIaX4HmV1xy+AbCPdj4G7jr8Eyi7J Ws9iZqZbFmv2WD9Dc9lK3cjga1pZ03eO1g1WY1ZVNBr7h1ykj/zaqSaE33G8dVYali97 YfNOEXv8Enp1LslGR1qgNY7hXaU4McjLsh0QZmPaQQGPS0EZmq0xIvNn4S37YPKfCpv4 qKew== X-Gm-Message-State: AOJu0YzirI9W5r/8Vc7HA9JmtLV954lqSFgY8apMmXvsJ4DDGT1sNOUc moL+vrTj9QarZxE7oF1+WGmlmKk9l0Q= X-Google-Smtp-Source: AGHT+IGHRpmyZBdBnamXPCiyiKrnM5efpUySm7Hg3z7VHu/6aufVjL12vxFo9s8m7PP+dXx5z8SimQ== X-Received: by 2002:a17:907:9710:b0:a1d:1b0e:45ba with SMTP id jg16-20020a170907971000b00a1d1b0e45bamr7415783ejc.93.1702626770947; Thu, 14 Dec 2023 23:52:50 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:50 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 10/20] python3-pyroute2: remove unused distutils dependency Date: Fri, 15 Dec 2023 08:52:29 +0100 Message-Id: <20231215075239.3049865-10-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107503 It's not mentioned in source tree. Signed-off-by: Alexander Kanavin --- meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb index baf3cf8ed..9365a330e 100644 --- a/meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb +++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.7.9.bb @@ -10,7 +10,6 @@ inherit setuptools3 pypi ptest RDEPENDS:${PN} += " \ python3-ctypes \ - python3-distutils \ python3-io \ python3-json \ python3-fcntl \ From patchwork Fri Dec 15 07:52:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36326 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0286EC10F13 for ; Fri, 15 Dec 2023 07:52:57 +0000 (UTC) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mx.groups.io with SMTP id smtpd.web10.57807.1702626773389067340 for ; Thu, 14 Dec 2023 23:52:53 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iEpUXBNl; spf=pass (domain: gmail.com, ip: 209.85.128.54, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-40c2db2ee28so4738605e9.2 for ; Thu, 14 Dec 2023 23:52:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626772; x=1703231572; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dGeZ5fcEoDZpG726+zmJXFzbmOs51hYXH+8YXmcfxDA=; b=iEpUXBNlQS9FIcQPLglsZHzBXFxSns1DYpfrIuqIOtZXYDAbkMYb89HHo0VFi2fN6v pb5/Yvmfwc7yE7cgHH0Yk3C5/l9U3fdeRC4D1i1ahgEnfVNSbw+qq5HLz3Hey02Cf8Sw 64rpl4QwTukLHuj7hST5o3nqQ69439tR8O06hwOmmSilXyBBl2IvUt3TC7DgaXfL2uXA wR4MCvuY0AGcV31adbrI3r11ppc4KqI+DnVpK78wP6cQQ+LpRtjONpSUqyT7utQj8yMh 4Ei8JaAo44ZKWHLq6+LZn1YAXGL5MQtuYByhIt14jEYtcERW0j5U0WFOrsfrJJt1F7Nh vXoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626772; x=1703231572; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dGeZ5fcEoDZpG726+zmJXFzbmOs51hYXH+8YXmcfxDA=; b=husct6Tn17rQv98RxuJjW24q6EdtKkHUXKXs+2wv9FBD8AY/rZ+6f6UyZocAS/cBac r9ICFXiFAhYG4wgLaN0/FPaZ87djHQJVHM4wBY5TmRZ/STggnt5r9Q4ZwvO71vF5C14m N94YjZZD7fOLDacPdifRDfcJULJ3tourn9qMe+2SzxBMi221uBCNsgGhUtvKdNMk51Zj oGzsO3ZkDi5/rLWbYNOPw61i8dLcoK79IfbSoNA04RO4Fe8r7Ikq59QMcVS6JyvZ3hu+ PYcwqOTPajwK1LBEHLUVs4GftWBC204TKzG2fJu/+Af87vbT4TObbW/W7+LNwfw3FXmH Pipw== X-Gm-Message-State: AOJu0YzNHpXgxPL2K3eryNfKFe0HSL2/aBHV6zBtjHWwjK911ud1/GhI ah7actqiyCbUZBEh3BiID1X+QTlZ6mc= X-Google-Smtp-Source: AGHT+IE4Joz41zoiqmfDNINg7n02d3mRzFMj0LVEHyhDPhdknTmq981sQ0MJbfHeXciigqXOIGfcyA== X-Received: by 2002:a7b:c40f:0:b0:40b:5e59:ccd3 with SMTP id k15-20020a7bc40f000000b0040b5e59ccd3mr5900869wmi.180.1702626771705; Thu, 14 Dec 2023 23:52:51 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:51 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 11/20] python3-eventlet: backport a patch to remove distutils dependency Date: Fri, 15 Dec 2023 08:52:30 +0100 Message-Id: <20231215075239.3049865-11-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107504 Signed-off-by: Alexander Kanavin --- ...o-host-0-is-not-supported-on-OpenInd.patch | 78 +++++++++++++++++++ .../python/python3-eventlet_0.33.3.bb | 2 +- 2 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python3-eventlet/0001-tests-getaddrinfo-host-0-is-not-supported-on-OpenInd.patch diff --git a/meta-python/recipes-devtools/python/python3-eventlet/0001-tests-getaddrinfo-host-0-is-not-supported-on-OpenInd.patch b/meta-python/recipes-devtools/python/python3-eventlet/0001-tests-getaddrinfo-host-0-is-not-supported-on-OpenInd.patch new file mode 100644 index 000000000..61a37d94e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eventlet/0001-tests-getaddrinfo-host-0-is-not-supported-on-OpenInd.patch @@ -0,0 +1,78 @@ +From ac2f960a50710bb257e87bed4e3c95a746f2a0fe Mon Sep 17 00:00:00 2001 +From: Sergey Shepelev +Date: Mon, 27 Mar 2023 22:07:15 +0300 +Subject: [PATCH] tests: getaddrinfo(host, 0) is not supported on OpenIndiana + platform + +https://github.com/eventlet/eventlet/issues/791 + +Upstream-Status: Backport +Signed-off-by: Alexander Kanavin +--- + tests/greendns_test.py | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +diff --git a/tests/greendns_test.py b/tests/greendns_test.py +index feab2b6..3802f44 100644 +--- a/tests/greendns_test.py ++++ b/tests/greendns_test.py +@@ -613,14 +613,14 @@ class TestGetaddrinfo(tests.LimitedTestCase): + def test_getaddrinfo_only_a_ans(self): + greendns.resolve = _make_mock_resolve() + greendns.resolve.add('example.com', '1.2.3.4') +- res = greendns.getaddrinfo('example.com', 0) ++ res = greendns.getaddrinfo('example.com', None) + addr = [('1.2.3.4', 0)] * len(res) + assert addr == [ai[-1] for ai in res] + + def test_getaddrinfo_only_aaaa_ans(self): + greendns.resolve = _make_mock_resolve() + greendns.resolve.add('example.com', 'dead:beef::1') +- res = greendns.getaddrinfo('example.com', 0) ++ res = greendns.getaddrinfo('example.com', None) + addr = [('dead:beef::1', 0, 0, 0)] * len(res) + assert addr == [ai[-1] for ai in res] + +@@ -637,7 +637,7 @@ class TestGetaddrinfo(tests.LimitedTestCase): + res.raises = greendns.dns.exception.Timeout + greendns.resolver._resolver = res() + +- result = greendns.getaddrinfo('example.com', 0, 0) ++ result = greendns.getaddrinfo('example.com', None, 0) + addr = [('1.2.3.4', 0)] * len(result) + assert addr == [ai[-1] for ai in result] + +@@ -654,7 +654,7 @@ class TestGetaddrinfo(tests.LimitedTestCase): + res.raises = greendns.dns.exception.DNSException + greendns.resolver._resolver = res() + +- result = greendns.getaddrinfo('example.com', 0, 0) ++ result = greendns.getaddrinfo('example.com', None, 0) + addr = [('1.2.3.4', 0)] * len(result) + assert addr == [ai[-1] for ai in result] + +@@ -667,7 +667,7 @@ class TestGetaddrinfo(tests.LimitedTestCase): + greendns.resolver._resolver = res() + + with tests.assert_raises(socket.gaierror): +- greendns.getaddrinfo('example.com', 0, 0) ++ greendns.getaddrinfo('example.com', None, 0) + + def test_getaddrinfo_hosts_only_dns_error(self): + hostsres = _make_mock_base_resolver() +@@ -678,13 +678,13 @@ class TestGetaddrinfo(tests.LimitedTestCase): + greendns.resolver._resolver = res() + + with tests.assert_raises(socket.gaierror): +- greendns.getaddrinfo('example.com', 0, 0) ++ greendns.getaddrinfo('example.com', None, 0) + + def test_canonname(self): + greendns.resolve = _make_mock_resolve() + greendns.resolve.add('host.example.com', '1.2.3.4') + greendns.resolve_cname = self._make_mock_resolve_cname() +- res = greendns.getaddrinfo('host.example.com', 0, ++ res = greendns.getaddrinfo('host.example.com', None, + 0, 0, 0, socket.AI_CANONNAME) + assert res[0][3] == 'cname.example.com' + diff --git a/meta-python/recipes-devtools/python/python3-eventlet_0.33.3.bb b/meta-python/recipes-devtools/python/python3-eventlet_0.33.3.bb index c1256661b..fe4d4f020 100644 --- a/meta-python/recipes-devtools/python/python3-eventlet_0.33.3.bb +++ b/meta-python/recipes-devtools/python/python3-eventlet_0.33.3.bb @@ -4,6 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=56472ad6de4caf50e05332a34b66e778" +SRC_URI += "file://0001-tests-getaddrinfo-host-0-is-not-supported-on-OpenInd.patch" SRC_URI[sha256sum] = "722803e7eadff295347539da363d68ae155b8b26ae6a634474d0a920be73cfda" inherit pypi setuptools3 @@ -11,6 +12,5 @@ inherit pypi setuptools3 RDEPENDS:${PN} += " \ ${PYTHON_PN}-dnspython \ ${PYTHON_PN}-six \ - ${PYTHON_PN}-distutils \ ${PYTHON_PN}-greenlet \ " From patchwork Fri Dec 15 07:52:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36328 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08D0EC46CA3 for ; Fri, 15 Dec 2023 07:52:57 +0000 (UTC) Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) by mx.groups.io with SMTP id smtpd.web11.58186.1702626774023187804 for ; Thu, 14 Dec 2023 23:52:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HOKT64FS; spf=pass (domain: gmail.com, ip: 209.85.218.53, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a1fae88e66eso39689766b.3 for ; Thu, 14 Dec 2023 23:52:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626772; x=1703231572; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=S4D6C6aQoSsgfkNALS/KpHnUEX35qsMHiEPH4fKmqjg=; b=HOKT64FS6Oz5B/ETrlcs/A6kHDYHdhGpqpDwT3fd0ICf8UKyxo1B2TU5hXsLaUbfIU UV0vx5Nej+QPs+pHvtOiPKWsYrLHXUDMfkaDxp0eSsEQhjyNBi0A0Wj2x9VN33Hd5IZ1 r3WAjRLJGtjy+5pdMqbtVpCUtUB79seBV2m0x9Bq3KPpdRxIjoBCAWusVLzDjInndNv9 ueVN42Pet/eX+JBYA2cDbppY7G//eo3ODbKvVD3xi5SxK2WUe+/rfO0RCJ+Xi8JKJ9cl Md7//SNV+B5s1i/5/NEKu9cD8JqlZlBZXWMyYteQLwAuhJFuiFsndMBT3YRLkgyIXGti 1mPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626772; x=1703231572; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S4D6C6aQoSsgfkNALS/KpHnUEX35qsMHiEPH4fKmqjg=; b=Dcm8aUUxGwwSyPSDA6GjfaYLgTKB23aOCMveV/ZHtABwTDIRnS8lau9A94ti6hk0rm DyQJAyGsUkq//gIbJxrOzX7N1CAtPKjm9o3E9vIDXomSRQL3JFlSWQ/sCjoih0iuMjEo TZq31DwnXVq5T4nYv2XSvmxarY/mJS3miNfwC/P4ioLeHAXNntcl4ASe1/k+2gT1DZ0I yBXRMi6xCv62jJqz5jIPaQ3LWtSIiVeA2o10w41B4MnX5qwrUVPhYmaWYMSGDM4GbsnZ mDjDPqE/JHsG2WoJ0q4ip90E63mxi3NGGI3eqBGJa/3erFAh/NXQO05Js2fjODhr7T+q Kwzw== X-Gm-Message-State: AOJu0YywPENl62W8CYKUHNJpKPhRjmdR6ih5lKxXhXhz7BLmsHXhByY3 oRFsoq9dmEURochy7IdcYyTc8SLS5Ys= X-Google-Smtp-Source: AGHT+IF2UVplOAjL7Q0ibJNSrg3V1BqMBh9aqA+eURLEx/QiusshtV4r+5AG7Y0hm8X7myyCIgcY+A== X-Received: by 2002:a17:906:790:b0:a19:a1ba:8cd1 with SMTP id l16-20020a170906079000b00a19a1ba8cd1mr5036959ejc.111.1702626772446; Thu, 14 Dec 2023 23:52:52 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:52 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 12/20] python3-unoconv: rely on setuptools to obtain distutils copy Date: Fri, 15 Dec 2023 08:52:31 +0100 Message-Id: <20231215075239.3049865-12-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107505 The source contains: from distutils.version import LooseVersion Signed-off-by: Alexander Kanavin --- meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb b/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb index 3c944b4f2..be1dab476 100644 --- a/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-unoconv_0.9.0.bb @@ -11,7 +11,7 @@ inherit pypi setuptools3 PYPI_PACKAGE="unoconv" RDEPENDS:${PN} += "\ - ${PYTHON_PN}-distutils \ + ${PYTHON_PN}-setuptools \ ${PYTHON_PN}-core \ ${PYTHON_PN}-shell \ " From patchwork Fri Dec 15 07:52:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36331 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C450C46CCD for ; Fri, 15 Dec 2023 07:52:57 +0000 (UTC) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by mx.groups.io with SMTP id smtpd.web11.58187.1702626774932069273 for ; Thu, 14 Dec 2023 23:52:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IvgDb8r9; spf=pass (domain: gmail.com, ip: 209.85.208.174, mailfrom: alex.kanavin@gmail.com) Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2cb21afa6c1so4510001fa.0 for ; Thu, 14 Dec 2023 23:52:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626773; x=1703231573; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=r4GMKBSE+A5P73RluNQnquXFAb5xjxGcNcrYL0fjvTc=; b=IvgDb8r9mtRl4Vr+nTrbQvzO1fra6+VhqU6/W6DbndQS+WYMhfjx5finJZ8GSOxlKX BFnplDVInrN1lOxpdDp5Tw2w2PlEzoWiMTNGWQ/dP1c2YmRcOnm23BF/7vlBQk4OW4AB DwsEErxDF67RSEOznQnJL2RMUFAixdhBAJlHgtTiRoFvgG5D5Xp92d1C18p3IfJdKOn4 SD9vkBCDQg3skblwG4hfNd07dxHCmt38ESdw7gWNbn/MESkOdATHimlB16F21EZonIDN 0WM0rQh551e2/TfhfA5xYY4pwW7Qbsz39USU3J3YQTVFH2Ukpa9FCNjGlwzLMenlaMGv eu0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626773; x=1703231573; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=r4GMKBSE+A5P73RluNQnquXFAb5xjxGcNcrYL0fjvTc=; b=MAtmVnPUfSsgCnh7Z8deRezyhTGTCb/dHJgOYpEiayZtlm8fPt3MKSVosfilMmyVfu HJKjMfTReNRBk/JfiUMAf2KHERcgMs16+tLWtemNoZD3kloP8Z4yUXFXAMiZkMp11DNb W2UwyTFFWX5I4A8GT65mizXrcqpxDSzEUQs2Xfe+IMj1YWDkDKrBn4VWnzbNB/zpqJ+D gX7E2Lf0KZAq4rfq57KlZoMAZWKzpkIQ+IZ0l/y8B2aj8U9omXH/faK3l7w+Bvk5hTI6 ZEBBGBOb9ojDCuZfrKukhtDYkdYbckn5i/NOb9KorEgK4QZtga1fT6oXjqOUEWQHwWMC UbeQ== X-Gm-Message-State: AOJu0Yzl8NNwsnw5vgds59HDc+kgRSzE2LqJWRPA1REkAuQ+MJVsjJvs w+Fd0loQKvNht9b6C6OhKq6C73uvjX8= X-Google-Smtp-Source: AGHT+IGNv++FzlF8Y3PGkhcqcJ+k84vOJLJ2nBC4WDEOvlhSng/r/6eTIlDN09lP2xS+z2MLOSH2ag== X-Received: by 2002:a05:6512:2153:b0:50c:d72:200d with SMTP id s19-20020a056512215300b0050c0d72200dmr4863742lfr.111.1702626773118; Thu, 14 Dec 2023 23:52:53 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:52 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 13/20] python3-astroid: remove unneeded distutils dependency Date: Fri, 15 Dec 2023 08:52:32 +0100 Message-Id: <20231215075239.3049865-13-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107506 Signed-off-by: Alexander Kanavin --- meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb b/meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb index db3ef4392..348dc2ebb 100644 --- a/meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-astroid_3.0.1.bb @@ -21,7 +21,6 @@ FILES:${PN}-tests += " \ " RDEPENDS:${PN}:class-target += "\ - ${PYTHON_PN}-distutils \ ${PYTHON_PN}-lazy-object-proxy \ ${PYTHON_PN}-logging \ ${PYTHON_PN}-six \ From patchwork Fri Dec 15 07:52:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36333 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 292E4C46CD3 for ; Fri, 15 Dec 2023 07:52:57 +0000 (UTC) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) by mx.groups.io with SMTP id smtpd.web10.57808.1702626775317047897 for ; Thu, 14 Dec 2023 23:52:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=afHcsT/S; spf=pass (domain: gmail.com, ip: 209.85.208.45, mailfrom: alex.kanavin@gmail.com) Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-552dc0d0e28so35659a12.0 for ; Thu, 14 Dec 2023 23:52:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626774; x=1703231574; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AUdgv4WWflcEmcAs09zIUGvX4R//XANa9Svkr6EJgL4=; b=afHcsT/SFDNsIX3Ep2S60Jb9cfmRrQrT6C6J9Pmzj9gAK58o3skcHyLCsbGzjsEQHQ vFIYr/b1rz+IwEtp2v7/fgw3UWRCr15OkAAMmD2jDKItwXAgL/Jm+wLaO2FeDJ4QGiiZ tabsNkHONKFjBenS0fwFqbMswENOhQp/TCd1G5NJIdjA/aD6OW76pbeSNcKPWcglL2Ul QFM2tNHNsGNMEr12UFu2zlCqR2lkmH6JAigawggAQj7gvya9hker/Wuv8EZbgCGxhN1B GI6C85emLzIAJ+RmCcmYgO3I/6YcT/t7tpKoipR5nFQTAAK2S0LJflmb9/DtWZQ5aJKQ xMag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626774; x=1703231574; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AUdgv4WWflcEmcAs09zIUGvX4R//XANa9Svkr6EJgL4=; b=cjZLVviFBmr6y/v3k8YY64h5c4dvMPWDh9/wzn6lLJI4yaJgz+tv/UN4jZ7dPNvVZS DTZS4vBDlHJH0QULp378DvPdYW0am1omfESAi9/vw2sPbubVfWUkGCdNNb1yy7oBIV4i CwqdsdQ7P97zAcefG+DWjx6Cdv9c+VwZLhUX+GyozSUT/Ggnui4w0wdfutbTJwdNHmya tUFc3T27kzaKDd9XfWoBVGURSC/3s15ZhLgdYNeP8Stab1hKVjVwGX1/JBDbHA09Av55 3WOusTSB9aheUTTZa7OZHjGamdFxo0k8ET99+h66P5BgqoXFrlk7GLn9keLg6HvhbUyz KpOQ== X-Gm-Message-State: AOJu0YyB0B5VoQ5JCKjYoNfqHLvs5IVVWhxD4Kds0Gdf+aoMXA5/bUl6 2wd9fkDTWgdSAepc1AL3SIhBOou9meA= X-Google-Smtp-Source: AGHT+IF3V0wFLeWOQ15zV54MbQUDS0+qtCb6FmwB2tTgtjWpvoSYb+1ArOqQX6q4SEZ1HXvQuz0wXg== X-Received: by 2002:a17:906:a847:b0:a19:a1ba:8cd0 with SMTP id dx7-20020a170906a84700b00a19a1ba8cd0mr5229710ejb.110.1702626773774; Thu, 14 Dec 2023 23:52:53 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:53 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 14/20] python3-django: remove unneeded distutils dependency Date: Fri, 15 Dec 2023 08:52:33 +0100 Message-Id: <20231215075239.3049865-14-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107507 Nothing in the source tree requires it at runtime. Signed-off-by: Alexander Kanavin --- meta-python/recipes-devtools/python/python-django.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python-django.inc b/meta-python/recipes-devtools/python/python-django.inc index e030ff408..11d5e6301 100644 --- a/meta-python/recipes-devtools/python/python-django.inc +++ b/meta-python/recipes-devtools/python/python-django.inc @@ -28,7 +28,6 @@ RDEPENDS:${PN} += "\ ${PYTHON_PN}-threading \ ${PYTHON_PN}-unixadmin \ ${PYTHON_PN}-xml \ - ${PYTHON_PN}-distutils \ " CVE_PRODUCT = "django" From patchwork Fri Dec 15 07:52:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36334 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34357C46CD4 for ; Fri, 15 Dec 2023 07:52:57 +0000 (UTC) Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) by mx.groups.io with SMTP id smtpd.web10.57809.1702626776267041221 for ; Thu, 14 Dec 2023 23:52:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VNCCxCMe; spf=pass (domain: gmail.com, ip: 209.85.218.41, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a1ceae92ab6so43426866b.0 for ; Thu, 14 Dec 2023 23:52:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626775; x=1703231575; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vvpJjMBEiM/VDL4RV1JdKkHJM8UEx8KAmZsDj+qFKQ8=; b=VNCCxCMeFDfrb+RpOFZMZ0W5uX5ThxayMM9fFzRhid5iHQw8Gb5TPiPN1ghyW9kYOp 5Eun7UBWC3tA/fScbetbA2hPCM+gyB44u5fr07utD/ujLcub4q+8Y3lYm9zcXE1vqINe tcmFn5Kxid9+jObB1/OAaEBNd1PSbmjcJt8K25wAnKnwGBmqdPaXDsSI0I/2pb+csDNi 1BCELiYlAFqZ157OWGZIj/RyLzsOiQYOe6U+MUdPNoyv4Z9Q67fg/DY/Bn03k4cRsl8A Vd4xXWNbmPcXXGc35D2obCdG/QoDHLSzFPCGO4H1eLERI+/tszpgPja7dzdosxZVF1Qh ZI/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626775; x=1703231575; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vvpJjMBEiM/VDL4RV1JdKkHJM8UEx8KAmZsDj+qFKQ8=; b=pVtgNO/Ki/ni39o3T5PO6UuRFhoyNsy+byTt0C8DfXfp+ni6+aA6Xl6s0nXAKH2Lu4 uGEZG8QQK4v5q2J7yTzW2VUgNW0etAr3mj6QYJsCANEM21ErlM4gfKoXxOdy6gA20erj f9+2tmWHnUe/XlXb0FbKn0ck5Cty2JgamJGNaCIRYK+LUMfaq9VArDx7DZhj1Rf+BH86 RqpLgqA56jJZdEIwrUwzEnsPEdiyVqbPijKxR9b2xyTXyPC2IDGKdwJpJS1EgBTfCDla MgisCwcb8HzAuvzRlJgCicN6dglo9JSDNkWthFa3Utc/L5ta3nWTHfhOHbZMUTEdpT2g zsIw== X-Gm-Message-State: AOJu0Yyq4IFLS8ByIGIGdWT3+1jXTdzuAV3QqzuNRRFy9q0/tRk56T2N JLhGALszx/Sp8PbwbvgkjRTPzka162Y= X-Google-Smtp-Source: AGHT+IGkDPlTSzmVUyily99fzb7b7VNgxJLjvZDO6FtRtTlL+BdEP4G5ojUgc1E1HE1yVsephz0VrA== X-Received: by 2002:a17:906:1de:b0:a22:e4f2:7abb with SMTP id 30-20020a17090601de00b00a22e4f27abbmr3153785ejj.153.1702626774526; Thu, 14 Dec 2023 23:52:54 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:54 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 15/20] python3-pillow: remove unneeded distutils dependency Date: Fri, 15 Dec 2023 08:52:34 +0100 Message-Id: <20231215075239.3049865-15-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:52:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107508 Signed-off-by: Alexander Kanavin --- meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb b/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb index 322c90eda..f895b1db3 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_10.1.0.bb @@ -39,7 +39,6 @@ RDEPENDS:${PN}-ptest += " \ jpeg-tools \ libwebp \ ${PYTHON_PN}-core \ - ${PYTHON_PN}-distutils \ ${PYTHON_PN}-image \ ${PYTHON_PN}-mmap \ ${PYTHON_PN}-pytest \ From patchwork Fri Dec 15 07:52:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36343 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4CE4BC4167D for ; Fri, 15 Dec 2023 07:53:07 +0000 (UTC) Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) by mx.groups.io with SMTP id smtpd.web10.57811.1702626776899462664 for ; Thu, 14 Dec 2023 23:52:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cE1Zf1yQ; spf=pass (domain: gmail.com, ip: 209.85.218.52, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a1915034144so45742066b.0 for ; Thu, 14 Dec 2023 23:52:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626775; x=1703231575; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=R9TP39jF5r4MgvJ5C4nghoY0RMngdkR3i8nFAaeSTnY=; b=cE1Zf1yQxJkKmleTxPFJsJGtozwNdAfz/fO1e4gLz+QhMx68FL0tgPAeVQVXjUdnE0 QJN5/yyAjMC9QRLgBwTKIvo8nWuXOFClh0R43ayDSgl2273aFYvZ6Q+nIpqiP8Hhmg2V Wr7V1x4Nrp00fTOO93l2NruRtvQhxWkt6xCa0kDkf6HVbERXt99nWAzG2COIPwaW2vVI am1CSKwrilgXRYwg01VLoMZWAR3ACLleHFlcvOBOSPNR1ssJv7R/yjea7hMnmbnY4auj yeXRS8e2vc1ChwnyfoEMBlGwKsAlNGjNztPHroMwFuB+n4MDrjSxbkC3om+3rpTJBHOh ttvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626775; x=1703231575; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R9TP39jF5r4MgvJ5C4nghoY0RMngdkR3i8nFAaeSTnY=; b=rhXOcgViNgqSFTePIeGpSUZxJ3Q3NCc5aDBX2JXuzpQSgroOyJBZ13KE/bUxdhj0xn kLHIifkF3M5qAq+jLx07ic4MvADQirzsSVRy6e/pTI4aQ+acCesGvTcbHgSkl5VNRWYy WPSJjORXitUbak4KFoi13a8wmu+lKp8v53RkoIjcLY2bTGlcLxS/WxlQqWzEIIwXLP9C gByFQo7xUzKkYxyfv2sv/+X0Nwrr7dgfiLLz+9aoQRIKH9Z0l4hNytj0uEqnBzYWr6NE 1Ycy3GzkE9Jrg11YOfMkwYQbn5YwiRCqSNNSZW5/S/uEJEQr8/2HO0FXdhTz4ig30vDY DFNQ== X-Gm-Message-State: AOJu0YyaJSHWQSeI0keEDmc+7oKrwXRi+Y2ugCuzzrk+zz2M73B04eoi 7mtvLCq0Ug+AM9ZqYVD9zS+N75V1haI= X-Google-Smtp-Source: AGHT+IEMMX/OpjBsgsAa7CNm4qmL4WsArdL3YTL9clIj4gzSXZevBB5ROhBPGDOdT7z0IeehgeEVvg== X-Received: by 2002:a17:906:44a:b0:a1b:86e5:4e1 with SMTP id e10-20020a170906044a00b00a1b86e504e1mr5245489eja.108.1702626775264; Thu, 14 Dec 2023 23:52:55 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:55 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 16/20] python3-grpcio: update 1.56.2 -> 1.59.3 Date: Fri, 15 Dec 2023 08:52:35 +0100 Message-Id: <20231215075239.3049865-16-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:53:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107509 This is needed for python 3.12 compatibility. Drop 0001-direct_mmap-Use-off_t-on-linux.patch as issue resolved upstream. Other dropped patches are all due to the code being significantly refactored upstream; if the issues persist, please write updated patches. Signed-off-by: Alexander Kanavin --- .../0001-Include-missing-cstdint-header.patch | 6 +- .../0001-direct_mmap-Use-off_t-on-linux.patch | 42 ----------- ...-Do-not-mix-C-and-C-compiler-options.patch | 73 ------------------- ...clude-unistd.h-for-open-close-C-APIs.patch | 6 +- .../python3-grpcio/abseil-ppc-fixes.patch | 63 +++++++++------- .../python3-grpcio/mips_bigendian.patch | 17 ----- .../ppc-boringssl-support.patch | 17 ----- ...cio_1.56.2.bb => python3-grpcio_1.59.3.bb} | 14 ++-- 8 files changed, 46 insertions(+), 192 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-grpcio/0001-direct_mmap-Use-off_t-on-linux.patch delete mode 100644 meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch delete mode 100644 meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch delete mode 100644 meta-python/recipes-devtools/python/python3-grpcio/ppc-boringssl-support.patch rename meta-python/recipes-devtools/python/{python3-grpcio_1.56.2.bb => python3-grpcio_1.59.3.bb} (63%) diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch index f970cf3c3..5cd94dee9 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch +++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch @@ -1,4 +1,4 @@ -From 752e30eebe5b91c323bafcbea8d450dd5683701a Mon Sep 17 00:00:00 2001 +From 252aa78526287fe033c5656cd166e551fa5daa88 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 30 Jan 2023 10:31:10 -0800 Subject: [PATCH] Include missing header @@ -11,6 +11,7 @@ int32_t. Upstream-Status: Submitted [https://code-review.googlesource.com/c/re2/+/60970] Signed-off-by: Khem Raj + --- third_party/re2/util/pcre.h | 1 + 1 file changed, 1 insertion(+) @@ -27,6 +28,3 @@ index 896b0bd..271a005 100644 #ifdef USEPCRE #include --- -2.39.1 - diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-direct_mmap-Use-off_t-on-linux.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-direct_mmap-Use-off_t-on-linux.patch deleted file mode 100644 index 49df528d7..000000000 --- a/meta-python/recipes-devtools/python/python3-grpcio/0001-direct_mmap-Use-off_t-on-linux.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 45fdade6c0415ec5af3f9312e6311a4ccc682a7b Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 28 Dec 2022 18:24:21 -0800 -Subject: [PATCH] direct_mmap: Use off_t on linux - -off64_t is not provided without defining _LARGEFILE64_SOURCE on musl -this define is not defined automatically like glibc where it gets -defined when _GNU_SOURCE is defined. Using off_t makes it portable -across musl/glibc and for using 64bit off_t on glibc 32bit systems --D_FILE_OFFSET_BITS=64 can be defined during build via CXXFLAGS - -Upstream-Status: Submitted [https://github.com/abseil/abseil-cpp/pull/1349] -Signed-off-by: Khem Raj ---- - absl/base/internal/direct_mmap.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/absl/base/internal/direct_mmap.h b/absl/base/internal/direct_mmap.h -index 815b8d23..fdf88f0b 100644 ---- a/absl/base/internal/direct_mmap.h -+++ b/absl/base/internal/direct_mmap.h -@@ -72,7 +72,7 @@ namespace base_internal { - // Platform specific logic extracted from - // https://chromium.googlesource.com/linux-syscall-support/+/master/linux_syscall_support.h - inline void* DirectMmap(void* start, size_t length, int prot, int flags, int fd, -- off64_t offset) noexcept { -+ off_t offset) noexcept { - #if defined(__i386__) || defined(__ARM_ARCH_3__) || defined(__ARM_EABI__) || \ - defined(__m68k__) || defined(__sh__) || \ - (defined(__hppa__) && !defined(__LP64__)) || \ -@@ -102,7 +102,7 @@ inline void* DirectMmap(void* start, size_t length, int prot, int flags, int fd, - #else - return reinterpret_cast( - syscall(SYS_mmap2, start, length, prot, flags, fd, -- static_cast(offset / pagesize))); -+ offset / pagesize)); - #endif - #elif defined(__s390x__) - // On s390x, mmap() arguments are passed in memory. --- -2.39.0 - diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch deleted file mode 100644 index 13911ddcf..000000000 --- a/meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch +++ /dev/null @@ -1,73 +0,0 @@ -From de10fbc2386dcac3ab810c49b6977b2ee01bf426 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 17 Feb 2021 13:30:23 -0800 -Subject: [PATCH] setup.py: Do not mix C and C++ compiler options - -EXTRA_ENV_COMPILE_ARGS is used both with CC and CXX -so using -std=c++11 or -std=gnu99 together will cause -build time errors espcially with clang - -Keep '-std=c++11' to fix native build error -with old gcc (such as gcc 5.4.0 on ubuntu 16.04), for clang -we will remove them through GRPC_PYTHON_CFLAGS at do_compile -in bb recipe. - -While export CC="gcc ", cc_args is None, it will -cause subprocess.Popen always return 1. On centos 8, if you don't -install package libatomic, there will be a native build error -`cannot find /usr/lib64/libatomic.so.1.2.0'. - -Add no harm '-g' to cc_args if cc_args is empty. - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Khem Raj -Signed-off-by: Hongxu Jia -Signed-off-by: Wang Mingyu ---- - setup.py | 11 +++++++---- - src/python/grpcio/commands.py | 5 ++++- - 2 files changed, 11 insertions(+), 5 deletions(-) - ---- a/setup.py -+++ b/setup.py -@@ -206,8 +206,11 @@ def check_linker_need_libatomic(): - """Test if linker on system needs libatomic.""" - code_test = (b'#include \n' + - b'int main() { return std::atomic{}; }') -- cxx = shlex.split(os.environ.get('CXX', 'c++')) -- cpp_test = subprocess.Popen(cxx + ['-x', 'c++', '-std=c++14', '-'], -+ cxx, cxx_args = os.environ.get('CXX').split(' ', 1) or 'c++' -+ if not cxx_args: -+ cxx_args = "-g" -+ -+ cpp_test = subprocess.Popen([cxx, cxx_args, '-x', 'c++', '-std=c++14', '-'], - stdin=PIPE, - stdout=PIPE, - stderr=PIPE) -@@ -216,8 +219,8 @@ def check_linker_need_libatomic(): - return False - # Double-check to see if -latomic actually can solve the problem. - # https://github.com/grpc/grpc/issues/22491 -- cpp_test = subprocess.Popen(cxx + -- ['-x', 'c++', '-std=c++14', '-', '-latomic'], -+ cpp_test = subprocess.Popen( -+ [cxx, cxx_args, '-x', 'c++', '-std=c++14', '-', '-latomic'], - stdin=PIPE, - stdout=PIPE, - stderr=PIPE) ---- a/src/python/grpcio/commands.py -+++ b/src/python/grpcio/commands.py -@@ -228,8 +228,10 @@ class BuildExt(build_ext.build_ext): - """ - try: - # TODO(lidiz) Remove the generated a.out for success tests. -- cc = os.environ.get('CC', 'cc') -- cc_test = subprocess.Popen([cc, '-x', 'c', '-std=c++14', '-'], -+ cc_test, cc_args = os.environ.get('CC').split(' ', 1) or 'gcc' -+ if not cc_args: -+ cc_args = "-g" -+ cc_test = subprocess.Popen([cc_test, cc_args, '-x', 'c', '-std=c++14', '-'], - stdin=subprocess.PIPE, - stdout=subprocess.PIPE, - stderr=subprocess.PIPE) diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch index 918c6c860..a5e767029 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch +++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch @@ -1,4 +1,4 @@ -From 4432b9a296c9c287dfe281b4d464dfd03e4eb721 Mon Sep 17 00:00:00 2001 +From 6ede7d01b18a4d9eeaccd25f5c1ab9985cb65307 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 12 Feb 2023 21:25:04 -0800 Subject: [PATCH] zlib: Include unistd.h for open/close C APIs @@ -6,6 +6,7 @@ Subject: [PATCH] zlib: Include unistd.h for open/close C APIs Upstream-Status: Pending Signed-off-by: Khem Raj + --- third_party/zlib/gzguts.h | 1 + 1 file changed, 1 insertion(+) @@ -22,6 +23,3 @@ index 57faf37..3c700c2 100644 #include "zlib.h" #ifdef STDC # include --- -2.39.1 - diff --git a/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch b/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch index 4100cf63f..4bb60b6e2 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch +++ b/meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch @@ -1,4 +1,7 @@ -An all-in-one patch that fixes several issues: +From 9cec6297effa9fab6f0c71e342046daceecd7d4d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 13 Mar 2021 10:26:25 -0800 +Subject: [PATCH] An all-in-one patch that fixes several issues: 1) UnscaledCycleClock not fully implemented for ppc*-musl (disabled on musl) 2) powerpc stacktrace implementation only works on glibc (disabled on musl) @@ -7,19 +10,21 @@ An all-in-one patch that fixes several issues: Sourced from void linux +Upstream-Status: Pending Signed-off-by: Khem Raj Signed-off-by: Xu Huan ---- -Upstream-Status: Pending - absl/base/internal/unscaledcycleclock.cc | 4 ++-- - absl/base/internal/unscaledcycleclock.h | 3 ++- - absl/debugging/internal/examine_stack.cc | 8 +++++++- - absl/debugging/internal/stacktrace_config.h | 2 +- +--- + .../abseil-cpp/absl/base/internal/unscaledcycleclock.cc | 4 ++-- + .../absl/base/internal/unscaledcycleclock_config.h | 3 ++- + .../abseil-cpp/absl/debugging/internal/examine_stack.cc | 8 +++++++- + .../absl/debugging/internal/stacktrace_config.h | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) ---- a/absl/base/internal/unscaledcycleclock.cc -+++ b/absl/base/internal/unscaledcycleclock.cc +diff --git a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +index b1c396c..d62bfd6 100644 +--- a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc ++++ b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc @@ -20,7 +20,7 @@ #include #endif @@ -38,8 +43,24 @@ Upstream-Status: Pending int64_t UnscaledCycleClock::Now() { #ifdef __GLIBC__ ---- a/absl/debugging/internal/examine_stack.cc -+++ b/absl/debugging/internal/examine_stack.cc +diff --git a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h +index 24b324a..5e232c1 100644 +--- a/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h ++++ b/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h +@@ -21,7 +21,8 @@ + + // The following platforms have an implementation of a hardware counter. + #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || \ +- defined(__powerpc__) || defined(__ppc__) || defined(__riscv) || \ ++ ((defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)) || \ ++ defined(__riscv) || \ + defined(_M_IX86) || (defined(_M_X64) && !defined(_M_ARM64EC)) + #define ABSL_HAVE_UNSCALED_CYCLECLOCK_IMPLEMENTATION 1 + #else +diff --git a/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc b/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc +index 5786322..72c7c46 100644 +--- a/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc ++++ b/third_party/abseil-cpp/absl/debugging/internal/examine_stack.cc @@ -33,6 +33,10 @@ #include #include @@ -51,7 +72,7 @@ Upstream-Status: Pending #include "absl/base/attributes.h" #include "absl/base/internal/raw_logging.h" #include "absl/base/macros.h" -@@ -174,8 +178,10 @@ void* GetProgramCounter(void* const vuc) +@@ -174,8 +178,10 @@ void* GetProgramCounter(void* const vuc) { return reinterpret_cast(context->uc_mcontext.pc); #elif defined(__powerpc64__) return reinterpret_cast(context->uc_mcontext.gp_regs[32]); @@ -63,8 +84,10 @@ Upstream-Status: Pending #elif defined(__riscv) return reinterpret_cast(context->uc_mcontext.__gregs[REG_PC]); #elif defined(__s390__) && !defined(__s390x__) ---- a/absl/debugging/internal/stacktrace_config.h -+++ b/absl/debugging/internal/stacktrace_config.h +diff --git a/third_party/abseil-cpp/absl/debugging/internal/stacktrace_config.h b/third_party/abseil-cpp/absl/debugging/internal/stacktrace_config.h +index 3929b1b..23d5e50 100644 +--- a/third_party/abseil-cpp/absl/debugging/internal/stacktrace_config.h ++++ b/third_party/abseil-cpp/absl/debugging/internal/stacktrace_config.h @@ -60,7 +60,7 @@ #elif defined(__i386__) || defined(__x86_64__) #define ABSL_STACKTRACE_INL_HEADER \ @@ -74,15 +97,3 @@ Upstream-Status: Pending #define ABSL_STACKTRACE_INL_HEADER \ "absl/debugging/internal/stacktrace_powerpc-inl.inc" #elif defined(__aarch64__) ---- a/absl/base/internal/unscaledcycleclock_config.h -+++ b/absl/base/internal/unscaledcycleclock_config.h -@@ -21,7 +21,8 @@ - - // The following platforms have an implementation of a hardware counter. - #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || \ -- defined(__powerpc__) || defined(__ppc__) || defined(__riscv) || \ -+ ((defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)) || \ -+ defined(__riscv) || \ - defined(_M_IX86) || (defined(_M_X64) && !defined(_M_ARM64EC)) - #define ABSL_HAVE_UNSCALED_CYCLECLOCK_IMPLEMENTATION 1 - #else diff --git a/meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch b/meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch deleted file mode 100644 index 088ce33fc..000000000 --- a/meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch +++ /dev/null @@ -1,17 +0,0 @@ -Upstream-Status: Pending - ---- a/third_party/boringssl-with-bazel/src/include/openssl/base.h -+++ b/third_party/boringssl-with-bazel/src/include/openssl/base.h -@@ -102,10 +102,10 @@ extern "C" { - #elif (defined(__PPC__) || defined(__powerpc__)) - #define OPENSSL_32_BIT - #define OPENSSL_PPC --#elif defined(__MIPSEL__) && !defined(__LP64__) -+#elif defined(__mips__) && !defined(__LP64__) - #define OPENSSL_32_BIT - #define OPENSSL_MIPS --#elif defined(__MIPSEL__) && defined(__LP64__) -+#elif defined(__mips__) && defined(__LP64__) - #define OPENSSL_64_BIT - #define OPENSSL_MIPS64 - #elif defined(__riscv) && __SIZEOF_POINTER__ == 8 diff --git a/meta-python/recipes-devtools/python/python3-grpcio/ppc-boringssl-support.patch b/meta-python/recipes-devtools/python/python3-grpcio/ppc-boringssl-support.patch deleted file mode 100644 index 5dacc689f..000000000 --- a/meta-python/recipes-devtools/python/python3-grpcio/ppc-boringssl-support.patch +++ /dev/null @@ -1,17 +0,0 @@ -Let boringSSL compile on ppc32 bit - -Upstream-Status: Pending -Signed-off-by: Khem Raj - ---- a/third_party/boringssl-with-bazel/src/include/openssl/base.h -+++ b/third_party/boringssl-with-bazel/src/include/openssl/base.h -@@ -96,6 +96,9 @@ extern "C" { - #elif defined(__ARMEL__) || defined(_M_ARM) - #define OPENSSL_32_BIT - #define OPENSSL_ARM -+#elif (defined(__PPC__) || defined(__powerpc__)) -+#define OPENSSL_32_BIT -+#define OPENSSL_PPC - #elif defined(__MIPSEL__) && !defined(__LP64__) - #define OPENSSL_32_BIT - #define OPENSSL_MIPS diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.56.2.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.59.3.bb similarity index 63% rename from meta-python/recipes-devtools/python/python3-grpcio_1.56.2.bb rename to meta-python/recipes-devtools/python/python3-grpcio_1.59.3.bb index c34391dd6..7b1631527 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio_1.56.2.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio_1.59.3.bb @@ -6,15 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906" DEPENDS += "${PYTHON_PN}-protobuf" -SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch" -SRC_URI:append:class-target = " file://ppc-boringssl-support.patch \ - file://mips_bigendian.patch \ - file://0001-Include-missing-cstdint-header.patch \ - file://abseil-ppc-fixes.patch;patchdir=third_party/abseil-cpp \ - file://0001-direct_mmap-Use-off_t-on-linux.patch;patchdir=third_party/abseil-cpp \ - file://0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch \ -" -SRC_URI[sha256sum] = "0ff789ae7d8ddd76d2ac02e7d13bfef6fc4928ac01e1dcaa182be51b6bcc0aaa" +SRC_URI += "file://0001-Include-missing-cstdint-header.patch \ + file://abseil-ppc-fixes.patch \ + file://0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch \ + " +SRC_URI[sha256sum] = "7800f99568a74a06ebdccd419dd1b6e639b477dcaf6da77ea702f8fb14ce5f80" RDEPENDS:${PN} = "${PYTHON_PN}-protobuf \ ${PYTHON_PN}-setuptools \ From patchwork Fri Dec 15 07:52:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36339 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47206C4332F for ; Fri, 15 Dec 2023 07:53:07 +0000 (UTC) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by mx.groups.io with SMTP id smtpd.web10.57812.1702626777405890972 for ; Thu, 14 Dec 2023 23:52:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cfiv1mNN; spf=pass (domain: gmail.com, ip: 209.85.218.48, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a1da1017a09so40891566b.3 for ; Thu, 14 Dec 2023 23:52:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626776; x=1703231576; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BJgL6KPR+MVKUSmbWPrVMPX/s60jKY6KDOMyvq4bi/U=; b=cfiv1mNNqaqgaLqJmlwHF/TVSuRoiLHWaLdCHPwZVAjnqUhxcWzR9bMznQfARG5dHp eHR4P/g0zumw5C1ety9kAqg5+BY4s3S22+mGpxvVhwchckOJTnmjOUNp5d//IFd/x3nv beA3Ev7hGg4KxW4dIhcW4xtIdyXbv9+HqrqHMzcrvPOV+LGP8uXw5EzO29JDJwMyCi+i BUyAijFzK3/ihlMy/2/hgq1gnWMkrfYBCv6A95R4zPvoPDOmZSR/56e386mEvaPnF5iK r6J8z1wzJYwGCl+uWG0pm3wLunHI+eQmqFK2Qw/N3GvD2fGpt4Jjrme4yy3PX882X0SI 972w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626776; x=1703231576; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BJgL6KPR+MVKUSmbWPrVMPX/s60jKY6KDOMyvq4bi/U=; b=jVMZ/pqiGGSQKTH7yoDriS+pMTTPtWVYoY2k92R4F8rR9jd8pDgu3Chz2CbSUNbX82 i1uBrDKARF9D5uw+zBUCydi1x6zilKleZQaoddNgCinnRqRgYUmb6P5RZpkzEan8LKUL HClnUOIuUzqRZYtlMnc0sDu5iJRMWuWuHOF14MGeeZOidEOWjFYE51LgACxU7ZCELk/U LcgKCqzipGsIsU1xoeI7S7SA7d3PNvldwoVRdgEFDIT4Ex6YNnk2ysIc6gvPqkm3znYl jETT0afJEeXKHbDUzAJxn7Sz8pCo7SWIZIKz+hG+0PF4vukYpITyznovghq6MmhnIMZa hP2w== X-Gm-Message-State: AOJu0YxW+GflyAJ2PNI4ztQSGDh28D/trtBoF6SUwC+6kNzdtcztnrfK ol2oun6+N7dBbAFKC3M32eeWjjj5xwU= X-Google-Smtp-Source: AGHT+IH0zvpyqacAh8qes38jz7zoge4klCPJpgLtLPQmPll4FOps7Wyt4avBnQWG4XZ6DRhlfPTvJQ== X-Received: by 2002:a17:906:5199:b0:a22:e615:4a38 with SMTP id y25-20020a170906519900b00a22e6154a38mr3342507ejk.81.1702626775880; Thu, 14 Dec 2023 23:52:55 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:55 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 17/20] gstd: correctly delete files in do_install Date: Fri, 15 Dec 2023 08:52:36 +0100 Message-Id: <20231215075239.3049865-17-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:53:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107510 gstd always installs these in /usr, so root_prefix would work only if usrmerge is in DISTRO_FEATURES. Signed-off-by: Alexander Kanavin --- .../recipes-multimedia/gstreamer-1.0/gstd_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb index cabbf2cc1..87792491a 100644 --- a/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb +++ b/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_git.bb @@ -20,9 +20,9 @@ GTKDOC_MESON_OPTION = "enable-gtk-doc" inherit meson pkgconfig gettext gtk-doc python3native python3-dir python3targetconfig do_install:append() { - rmdir ${D}${root_prefix}${localstatedir}/run/${BPN} ${D}${root_prefix}${localstatedir}/run \ - ${D}${root_prefix}${localstatedir}/log/${BPN} ${D}${root_prefix}${localstatedir}/log \ - ${D}${root_prefix}${localstatedir} + rmdir ${D}${exec_prefix}${localstatedir}/run/${BPN} ${D}${exec_prefix}${localstatedir}/run \ + ${D}${exec_prefix}${localstatedir}/log/${BPN} ${D}${exec_prefix}${localstatedir}/log \ + ${D}${exec_prefix}${localstatedir} rm -f ${D}${bindir}/gst-client ${D}${bindir}/gstd-client if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then install -d ${D}${sysconfdir}/tmpfiles.d From patchwork Fri Dec 15 07:52:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36340 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5869DC4167B for ; Fri, 15 Dec 2023 07:53:07 +0000 (UTC) Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) by mx.groups.io with SMTP id smtpd.web10.57813.1702626778117394058 for ; Thu, 14 Dec 2023 23:52:58 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BMGWJuS/; spf=pass (domain: gmail.com, ip: 209.85.218.54, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a1e35c2807fso41088066b.3 for ; Thu, 14 Dec 2023 23:52:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626776; x=1703231576; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8+tTv393kXZiAnB8d5+Zw+5kipYKThsaZQWVZ0xGRN8=; b=BMGWJuS/tyJJmEn2L3048RXnsflYXppyEJSO2+60j1NH/2ptBibaECPfCgdSCRvetB 0A+pxdUVI751lIUhg3u6zSSTF7/wuhXxfWXDcEcAEptnnDOadCiLnQ4BZjqz/nBIkY2Q q+7yV9TmucTkPPnDNjcga3dOLuz0wyBO+A8oRnKBvSirghbSIIbbm2S2kz5J7p1zmvZS 93TA4ZbqLCMK8QpBDPeZwK6pmf1ExGFMI2l11loERpTihyjj3HRVDM0Iw2zMqvgRQhFR 9Bg83meLbvbqPtXxiZXp+KhIEtRuNx+gU/1I2v5Y7aug2stnn3MEAKTjGRdyOy+KLMCb ho/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626776; x=1703231576; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8+tTv393kXZiAnB8d5+Zw+5kipYKThsaZQWVZ0xGRN8=; b=CgtkEqVAesfMuXJ4DLDpSgnCyugBHj7egzCLCyyOomjD34VZQnR75b7lM6ARpDpdOM DhOcs3S7o9b48Y9L1uMWo2xpVnrlMb0ub2qaNSNCGAc4iJqr6T+lDvNXMwu+n0W8se/v zOAlMOH36EBLq0CozbtPIXcgr3Re+IUEtAfBQ6PNtk4hZpRY9i9MiHSa2/1Iew42NnIV bnezhJF1XP1ioUXzafbgG7qGG3qvduboD2MFURu1KpazqStNZqzxKlABzSzIfMmE/8xb /kgOFftMpfCxz/Sm0eDnos3G2CxZa70qFwK1cXYbPUZ9FkzXYXsjU5yOx70sRffiHmO2 GBYw== X-Gm-Message-State: AOJu0Yw6LhibF8NVHwNLZleavtMfpwWyu1+eTSd/OpnYivo+rzeKfE3X lqzqADl7RXaQmrj7fuuPBi8S3RKD9kU= X-Google-Smtp-Source: AGHT+IEQI7l2uLiFm4NXOtEC90q+iGJWOqz+LOq5bCTNJYXQzO+87cQhbKOLvh3ySPKCGdqgCl8nDg== X-Received: by 2002:a17:906:dc:b0:a18:7929:f64a with SMTP id 28-20020a17090600dc00b00a187929f64amr6050653eji.19.1702626776384; Thu, 14 Dec 2023 23:52:56 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:56 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 18/20] libplist: fix python 3.12 compatibility Date: Fri, 15 Dec 2023 08:52:37 +0100 Message-Id: <20231215075239.3049865-18-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:53:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107511 Ticket: https://github.com/libimobiledevice/libplist/issues/247 Signed-off-by: Alexander Kanavin --- meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb | 4 ++++ meta-oe/recipes-extended/libimobiledevice/libplist_git.bb | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb b/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb index f636990f8..3eefda733 100644 --- a/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb +++ b/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb @@ -22,6 +22,10 @@ CVE_STATUS_LIBLIST = " \ CVE-2017-5836 \ " +do_configure:prepend() { + rm ${S}/m4/ax_python_devel.m4 +} + do_install:append () { if [ -e ${D}${libdir}/python*/site-packages/plist/_plist.so ]; then chrpath -d ${D}${libdir}/python*/site-packages/plist/_plist.so diff --git a/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb b/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb index f8e7f98df..0142bcbaf 100644 --- a/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb +++ b/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb @@ -23,6 +23,10 @@ CVE_STATUS_LIBLIST = " \ CVE-2017-5836 \ " +do_configure:prepend() { + rm ${S}/m4/ax_python_devel.m4 +} + do_install:append () { if [ -e ${D}${libdir}/python*/site-packages/plist/_plist.so ]; then chrpath -d ${D}${libdir}/python*/site-packages/plist/_plist.so From patchwork Fri Dec 15 07:52:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36342 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C5C5C46CA2 for ; Fri, 15 Dec 2023 07:53:07 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.web11.58189.1702626778512895079 for ; Thu, 14 Dec 2023 23:52:58 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Ynw0lfWn; spf=pass (domain: gmail.com, ip: 209.85.128.48, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-40c317723a8so4422695e9.3 for ; Thu, 14 Dec 2023 23:52:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626777; x=1703231577; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bRUWc4JfrCIM6FH+2oiQ8B44XDW43rluhvX2QnZyObY=; b=Ynw0lfWnyQrlWiMIWqevXhK4opUW1FTcZL3APNnuHm7VQgv2c+jZuDzYpRn2oTW+kW yU8qy0++d9e0gSjEOJA/pCyKUuWXFjwdGfjODioVf4Nr0tQhrDQCZvctOstAEZocwZRB 9bqp7BrbBL3QBMtHmuL7hIGFeSqI75+GICPee3VMjVAVpFfREn3LxBer51RTNgQWELaz KCvE0nVPEWEJ4ynIaagYwP+WhWh+vIpxnizpX/ld5wKRCLbxC63vOkowf3V7nHSVu8kF /lXgG5+27mEws6mQAhUskDwMEPR3Q/VqQpH7woqCTZESuAxx/MNxaC1B2Y+Q4Or2LiA7 umbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626777; x=1703231577; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bRUWc4JfrCIM6FH+2oiQ8B44XDW43rluhvX2QnZyObY=; b=Uxrej8NIT6XRElObnbwMBnd59Zj7o6yIic50tz04OsUFlnEkwbg62wvV/fiHPQ1OTU lL19eylErGEfKvXXslpnoFRPqaiPC+3iclE1nuhIwlX/SdYG1ElLGb59/IhTaMQ2CxlM +5kHDntSqHVzRm5VdyKNhACEbiiDH6VVfZ21UxmqdVGPIm4Fb3Azk60Xb3z/Aiy7/XSq cG8J9qcMiaKXQK5TpeqDPeTAtuaiwPE10dpQyiIT3czTjhXaXdaMK+BME1qHZ3ZeWeEu VlEVYX20tptEXPIev83LTbR86rFX3dBV8ZMtCKqrldjt32pFp5N6h+DU10OsxiXL+3aM uULA== X-Gm-Message-State: AOJu0YwSoHcJoeYkaNojq3JfXdhTOaGJ3/M/GR87cyWZtnr28UmH2yCL Z06iBi1bdR/o16zfn7ktjFFsStV+qZQ= X-Google-Smtp-Source: AGHT+IF+InjT7iT/bgAPnSdEEuHauK8BpS5TuXcWiiSZ8fW8+4qmZlXdM2SlZS5KIT8RqWj2oR6yaQ== X-Received: by 2002:a05:600c:1c05:b0:40c:3856:5e07 with SMTP id j5-20020a05600c1c0500b0040c38565e07mr5750434wms.9.1702626776980; Thu, 14 Dec 2023 23:52:56 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:56 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 19/20] libcamera: skip until upstream resolves python 3.12 compatibility Date: Fri, 15 Dec 2023 08:52:38 +0100 Message-Id: <20231215075239.3049865-19-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:53:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107512 I'd note that imp module has been deprecated for years, so that's what happens when deprecation warnings are ignored. Signed-off-by: Alexander Kanavin --- meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb | 1 + .../packagegroups/packagegroup-meta-multimedia.bb | 1 - meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb index 2a3c6473e..9c04d7434 100644 --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.1.0.bb @@ -73,3 +73,4 @@ FILES:${PN}-gst = "${libdir}/gstreamer-1.0" # both 32 and 64 bit file APIs. GLIBC_64BIT_TIME_FLAGS = "" +SKIP_RECIPE[libcamera] ?= "Not compatible with python 3.12, see https://bugs.libcamera.org/show_bug.cgi?id=206" diff --git a/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb b/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb index 672c8abc9..6ca4d539f 100644 --- a/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb +++ b/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb @@ -42,7 +42,6 @@ RDEPENDS:packagegroup-meta-multimedia = "\ tearsofsteel-1080p \ pipewire \ ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", bb.utils.contains("DISTRO_FEATURES", "x11", "projucer", "", d), "", d)} \ - libcamera \ vorbis-tools \ libopenmpt \ mimic \ diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb index b4da781f0..4d894349a 100644 --- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.0.0.bb @@ -86,7 +86,7 @@ PACKAGECONFIG:class-target ??= " \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd systemd-system-service systemd-user-service', '', d)} \ ${@bb.utils.filter('DISTRO_FEATURES', 'alsa vulkan pulseaudio', d)} \ ${PIPEWIRE_SESSION_MANAGER} \ - ${FFMPEG_AVAILABLE} avahi flatpak gstreamer gsettings jack libusb pw-cat raop sndfile v4l2 udev volume webrtc-echo-cancelling libcamera readline \ + ${FFMPEG_AVAILABLE} avahi flatpak gstreamer gsettings jack libusb pw-cat raop sndfile v4l2 udev volume webrtc-echo-cancelling readline \ " # "jack" and "pipewire-jack" packageconfigs cannot be both enabled, From patchwork Fri Dec 15 07:52:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 36341 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 631CAC10F13 for ; Fri, 15 Dec 2023 07:53:07 +0000 (UTC) Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) by mx.groups.io with SMTP id smtpd.web10.57814.1702626779378199928 for ; Thu, 14 Dec 2023 23:52:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XUJg13LJ; spf=pass (domain: gmail.com, ip: 209.85.167.43, mailfrom: alex.kanavin@gmail.com) Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-50bf4f97752so387444e87.1 for ; Thu, 14 Dec 2023 23:52:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702626777; x=1703231577; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7wEGD1BBzd5nq/vEqIoo6lixaAeugtKrxBWXo6an6AE=; b=XUJg13LJXj28dD5agBRjN5tyyiyL2/mcsTSimdjyGbUn8cLxESccsfNc6dJuXQVzfs mzyKvPQEnb7bRd9sFKBxo2SteRXkhmq5vMYB7uH2LsZF5ONJH7loA2ZDUdjXHYJkF8tD av8E24Rpe+/DmZe23mzJP+TqfY0/kE+0+j71Sxxp/RV2MLqJH1Yp9WJY2GjhVBdweDNB /YsUL3oSkRrfAWfDj4QyNva6M7rfPNBxfYJmub2+k1ujcsUaNXmanQA4fD0BO4IHPxeg FR9LSs/sBh4EqzP3aZDkYRsSUmv5upojAhQzMxmgJxYv55AEEdt9b/ZYv4GOzfGzMdzu x1fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702626777; x=1703231577; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7wEGD1BBzd5nq/vEqIoo6lixaAeugtKrxBWXo6an6AE=; b=PVVqeGEe/4EgscwQa3C5Uee3/VCza6vZWdoydvEVM/C9/w2O9yagnrLe6NuZFq/r1V O6zwBuvIK70C9ow0+meSDoI6BxvN3g4q0plLGibOmlKYE8DgSfVXSJwU87ZL36U5EbHJ R+1CMiuswCDYFeKQX2o2rwp8xtzqkqSPk9m7IJIUm4Zr/AZBLIr65H64yp6OxaWL+HWi rfQPKPWUS1jnzlD1sMK2Nxbi8xJBxrqhM67F/shRXKelUf+vMTSwC5AnCa2l+06IDgeV gtwiIsmU57uM40k5Igo2E3L6IF0f8nRNwPZD0aPbsw4Gr/nB9O0XQwBeKNkmPecJjYfW AcyQ== X-Gm-Message-State: AOJu0YxXhByvQ2mGMmEoCgbytJd9s1m1DVtm/SEcyhlB4ENqgIaGwLt/ QCeUsdQyRlI0CuTCoMv39/4sn5hqiw4= X-Google-Smtp-Source: AGHT+IEW1hEqSO9HvIp/DhLHKnRwrNAIJLoI97FieQfV1CVNpVTdmAi3DBxSFmJ+1Myv1MRso7ONgA== X-Received: by 2002:a19:750b:0:b0:50b:f509:a2d2 with SMTP id y11-20020a19750b000000b0050bf509a2d2mr4957204lfe.129.1702626777536; Thu, 14 Dec 2023 23:52:57 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id le9-20020a170907170900b00a1e2aa3d090sm10348666ejc.206.2023.12.14.23.52.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 23:52:57 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-devel@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 20/20] nodejs: backport (partially) python 3.12 support Date: Fri, 15 Dec 2023 08:52:39 +0100 Message-Id: <20231215075239.3049865-20-alex@linutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231215075239.3049865-1-alex@linutronix.de> References: <20231215075239.3049865-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Dec 2023 07:53:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107513 Signed-off-by: Alexander Kanavin --- ...001-build-fix-build-with-Python-3.12.patch | 55 ++++++++++++++++ .../0001-gyp-resolve-python-3.12-issues.patch | 63 +++++++++++++++++++ .../recipes-devtools/nodejs/nodejs_20.8.1.bb | 4 +- 3 files changed, 121 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch create mode 100644 meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch new file mode 100644 index 000000000..39026d074 --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch @@ -0,0 +1,55 @@ +From 656f6c91f1da7f1e1ffb01e2de7d9026a84958b5 Mon Sep 17 00:00:00 2001 +From: Luigi Pinca +Date: Wed, 8 Nov 2023 21:20:53 +0100 +Subject: [PATCH] build: fix build with Python 3.12 + +Replace `distutils.version.StrictVersion` with +`packaging.version.Version`. + +Refs: https://github.com/nodejs/node/pull/50209#issuecomment-1795852539 +PR-URL: https://github.com/nodejs/node/pull/50582 +Reviewed-By: Richard Lau +Reviewed-By: Chengzhong Wu + +Upstream-Status: Backport [https://github.com/nodejs/node/commit/95534ad82f4e33f53fd50efe633d43f8da70cba6] +Signed-off-by: Alexander Kanavin +--- + configure.py | 11 +++++------ + 1 file changed, 5 insertions(+), 6 deletions(-) + +diff --git a/configure.py b/configure.py +index 62f041ce..18fe7c14 100755 +--- a/configure.py ++++ b/configure.py +@@ -14,8 +14,6 @@ import bz2 + import io + from pathlib import Path + +-from distutils.version import StrictVersion +- + # If not run from node/, cd to node/. + os.chdir(Path(__file__).parent) + +@@ -30,6 +28,7 @@ tools_path = Path('tools') + + sys.path.insert(0, str(tools_path / 'gyp' / 'pylib')) + from gyp.common import GetFlavor ++from packaging.version import Version + + # imports in tools/configure.d + sys.path.insert(0, str(tools_path / 'configure.d')) +@@ -1565,10 +1564,10 @@ def configure_openssl(o): + # supported asm compiler for AVX2. See https://github.com/openssl/openssl/ + # blob/OpenSSL_1_1_0-stable/crypto/modes/asm/aesni-gcm-x86_64.pl#L52-L69 + openssl110_asm_supported = \ +- ('gas_version' in variables and StrictVersion(variables['gas_version']) >= StrictVersion('2.23')) or \ +- ('xcode_version' in variables and StrictVersion(variables['xcode_version']) >= StrictVersion('5.0')) or \ +- ('llvm_version' in variables and StrictVersion(variables['llvm_version']) >= StrictVersion('3.3')) or \ +- ('nasm_version' in variables and StrictVersion(variables['nasm_version']) >= StrictVersion('2.10')) ++ ('gas_version' in variables and Version(variables['gas_version']) >= Version('2.23')) or \ ++ ('xcode_version' in variables and Version(variables['xcode_version']) >= Version('5.0')) or \ ++ ('llvm_version' in variables and Version(variables['llvm_version']) >= Version('3.3')) or \ ++ ('nasm_version' in variables and Version(variables['nasm_version']) >= Version('2.10')) + + if is_x86 and not openssl110_asm_supported: + error('''Did not find a new enough assembler, install one or build with diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch new file mode 100644 index 000000000..9d878dfb8 --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch @@ -0,0 +1,63 @@ +From bf8c96ba6936050ed4a0de5bc8aeeaf2b3c50dc1 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Thu, 7 Dec 2023 12:54:30 +0100 +Subject: [PATCH] gyp: resolve python 3.12 issues + +Upstream has updated gyp wholesale in the main branch, so +this patch can be dropped in due time. + +Upstream-Status: Inappropriate [issue will be fixed upstream with the next nodejs LTS update] + +Signed-off-by: Alexander Kanavin +--- + deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py | 4 ++-- + tools/gyp/pylib/gyp/input.py | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +index d9699a0a..173e9465 100644 +--- a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py ++++ b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +@@ -16,7 +16,7 @@ import subprocess + import sys + import threading + import traceback +-from distutils.version import StrictVersion ++from packaging.version import Version + from gyp.common import GypError + from gyp.common import OrderedSet + +@@ -1183,7 +1183,7 @@ def EvalSingleCondition(cond_expr, true_dict, false_dict, phase, variables, buil + else: + ast_code = compile(cond_expr_expanded, "", "eval") + cached_conditions_asts[cond_expr_expanded] = ast_code +- env = {"__builtins__": {}, "v": StrictVersion} ++ env = {"__builtins__": {}, "v": Version} + if eval(ast_code, env, variables): + return true_dict + return false_dict +diff --git a/tools/gyp/pylib/gyp/input.py b/tools/gyp/pylib/gyp/input.py +index 354958bf..ab6112e5 100644 +--- a/tools/gyp/pylib/gyp/input.py ++++ b/tools/gyp/pylib/gyp/input.py +@@ -16,7 +16,7 @@ import subprocess + import sys + import threading + import traceback +-from distutils.version import StrictVersion ++from packaging.version import Version + from gyp.common import GypError + from gyp.common import OrderedSet + +@@ -1190,7 +1190,7 @@ def EvalSingleCondition(cond_expr, true_dict, false_dict, phase, variables, buil + else: + ast_code = compile(cond_expr_expanded, "", "eval") + cached_conditions_asts[cond_expr_expanded] = ast_code +- env = {"__builtins__": {}, "v": StrictVersion} ++ env = {"__builtins__": {}, "v": Version} + if eval(ast_code, env, variables): + return true_dict + return false_dict +-- +2.39.2 + diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_20.8.1.bb b/meta-oe/recipes-devtools/nodejs/nodejs_20.8.1.bb index 65f4eb3f3..0ca0c1498 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_20.8.1.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_20.8.1.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=162595a4a2f3453a0534e60b0afe4e7b" CVE_PRODUCT = "nodejs node.js" -DEPENDS = "openssl file-replacement-native" +DEPENDS = "openssl file-replacement-native python3-packaging-native" DEPENDS:append:class-target = " qemu-native" DEPENDS:append:class-native = " c-ares-native" @@ -27,6 +27,8 @@ SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \ file://0001-Revert-io_uring-changes-from-libuv-1.46.0.patch \ file://0002-Revert-io_uring-changes-from-libuv-1.45.0.patch \ file://run-ptest \ + file://0001-build-fix-build-with-Python-3.12.patch \ + file://0001-gyp-resolve-python-3.12-issues.patch \ " SRC_URI:append:class-target = " \