From patchwork Thu Mar 28 16:22:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 41608 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 6CE80CD1283 for ; Thu, 28 Mar 2024 16:23:05 +0000 (UTC) Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by mx.groups.io with SMTP id smtpd.web11.772.1711642983164897827 for ; Thu, 28 Mar 2024 09:23:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=pQydofyQ; spf=pass (domain: konsulko.com, ip: 209.85.214.195, mailfrom: tim.orling@konsulko.com) Received: by mail-pl1-f195.google.com with SMTP id d9443c01a7336-1e2178b2cf2so7175275ad.0 for ; Thu, 28 Mar 2024 09:23:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1711642982; x=1712247782; 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=4wAT93UjE1Jxj4ECMbIX0/fhecHywws4Yw1mTjHSPdE=; b=pQydofyQTKlqx2ap/BbqwCb7PHStOAQEbxgC7oVizPxcUQrBTmUh/mrTgLgWM18+nx i7uY6su/DTfcR3gttqM0ncVx6HJWbOXst0M+ASKY+zauMoHv81tWBXPkIMLHDYx6FfJI S2R68qZa5yuQPrzR3DZfe8bv9XH132I/L5uTk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711642982; x=1712247782; 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=4wAT93UjE1Jxj4ECMbIX0/fhecHywws4Yw1mTjHSPdE=; b=GVAikC7QRviyWh9Wy7WtTvEjp4fjwdk6cyTM+4qH6REbchwevXKN8/69WFzkp2qjHN poIaYUaB0EQoZk78nusQf4syW78yBAnSzWLl+sqRrvxq6kc/u+nQpzEPFcLDQ6WANvGj 9GVj3C0gb0QIgaTkmUf4wp/s4OHWOD2Y8+F+koWXSwZLOIGwUtQcrphrvpz+wGu7PfsB lso9uOl+DvH3/5CpVnvvrYpOaJ1DtuIM3vAcXxyOulWwL2nJCoMmfznXGLNbx6lSugUT tJygqrr84GL9RUCeCY/msMVVdiYr5pehpyHm87CkUnGdN35uQquDh5PCxIpnka4Sm3Lp WrvQ== X-Gm-Message-State: AOJu0YzAbxu+dDZervAbBD79WkUGYV1b0HY66g45WHjjLYaHgNEQdy88 JbwCeIkyyQBb8H+Vch7rJGGKiD0NWNDdN7KA12mY52H8onQho8DSadrn5k9AvEeXXljA0qYzSiP ovXUfNKj9 X-Google-Smtp-Source: AGHT+IF87cu6KuG4txy+05RqABthzKuT8/6AJwrh5zNk+nMehrteto4JC/KPttd/WCS5ak65vj24gA== X-Received: by 2002:a17:902:d4cb:b0:1de:e5aa:5ce with SMTP id o11-20020a170902d4cb00b001dee5aa05cemr3764528plg.41.1711642981825; Thu, 28 Mar 2024 09:23:01 -0700 (PDT) Received: from localhost ([2601:1c0:ca00:bd60:6ae3:9cc1:54c1:30c]) by smtp.gmail.com with ESMTPSA id d1-20020a170902854100b001e0d6cd042bsm1780818plo.303.2024.03.28.09.23.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 09:23:01 -0700 (PDT) From: Tim Orling To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 1/2] coreutils: drop obsolete liberror-perl RDEPENDS Date: Thu, 28 Mar 2024 09:22:19 -0700 Message-Id: <20240328162218.1521815-2-tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240328162218.1521815-1-tim.orling@konsulko.com> References: <20240328162218.1521815-1-tim.orling@konsulko.com> 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 ; Thu, 28 Mar 2024 16:23:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/197588 The upstream maintainer for Error has deprecated it for quite some time [1]. There is no dependency in current coreutils tests for it. [YOCTO #15461] [1] https://metacpan.org/pod/Error#WARNING Using the "Error" module is no longer recommended due to the black-magical nature of its syntactic sugar, which often tends to break. Its maintainers have stopped actively writing code that uses it, and discourage people from doing so. Signed-off-by: Tim Orling --- meta/recipes-core/coreutils/coreutils_9.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/coreutils/coreutils_9.4.bb b/meta/recipes-core/coreutils/coreutils_9.4.bb index fc51adcd5b1..62ecdea6ec1 100644 --- a/meta/recipes-core/coreutils/coreutils_9.4.bb +++ b/meta/recipes-core/coreutils/coreutils_9.4.bb @@ -23,7 +23,7 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \ SRC_URI[sha256sum] = "ea613a4cf44612326e917201bbbcdfbd301de21ffc3b59b6e5c07e040b275e52" # http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=v8.27-101-gf5d7c0842 -# +# CVE_STATUS[CVE-2016-2781] = "disputed: runcon is not really a sandbox command, use `runcon ... setsid ...` to avoid this particular issue." EXTRA_OECONF:class-target = "--enable-install-program=arch,hostname --libexecdir=${libdir}" @@ -169,7 +169,7 @@ BBCLASSEXTEND = "native nativesdk" inherit ptest -RDEPENDS:${PN}-ptest += "bash findutils gawk liberror-perl make perl perl-modules python3-core sed shadow" +RDEPENDS:${PN}-ptest += "bash findutils gawk make perl perl-modules python3-core sed shadow" # -dev automatic dependencies fails as we don't want libmodule-build-perl-dev, its too heavy # may need tweaking if DEPENDS changes From patchwork Thu Mar 28 16:22:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 41609 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 73F9CCD1283 for ; Thu, 28 Mar 2024 16:23:15 +0000 (UTC) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by mx.groups.io with SMTP id smtpd.web11.782.1711642994142630585 for ; Thu, 28 Mar 2024 09:23:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=Y4zS/ANt; spf=pass (domain: konsulko.com, ip: 209.85.214.193, mailfrom: tim.orling@konsulko.com) Received: by mail-pl1-f193.google.com with SMTP id d9443c01a7336-1dddbe47ac1so15133585ad.1 for ; Thu, 28 Mar 2024 09:23:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1711642993; x=1712247793; 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=pr9T/1YbJ8dHYGOrpU6g7oOWIqOa6e11PT6YsG68X/Q=; b=Y4zS/ANtoSCj6C3Di1QvzORVLj/0UvdHL1oUjGSt21QBtGQQV/DU1nlg/wGOPkmcYT 5CXB7nkmWvySLytqwQBIfTetonYFB1p2HDDzq3cGkvxgwoRQNGHAL2qUtMeWI6pBv2Vc 748vx2XgihRxko7tYhhvrgUhF52kfjJF6w0ss= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711642993; x=1712247793; 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=pr9T/1YbJ8dHYGOrpU6g7oOWIqOa6e11PT6YsG68X/Q=; b=uuTRYQYd/N1ELgCjhRcMP/gYLFyYCklR7Y0Qx2f4BRHWf4c5XPMpB5XbV372rSO7vo qFfO4OQtVs3dY+BevbNpGH1TSB2GfPEUHx1fMz0Ljh1Z+5lZJji2jNswLbX81f3jrLFz JOAGetAbFIBvPdFoTE8QoptXmXinKUfxHrx1y1Qz2/Z7249Tw3XFozDKet+OHi/PD/wK 8/YWzF6yUWSih9LaJjRwEKNJ+5py0MlwxGK63JALizlCbe9+KZM9xiEqVq3yOQuIPVUh TZ3gjfXCPA8bRenVIcMX5BHONyEnshFX6/HDwl28jWFR04oNgJeU9cxG25My+QAA6nfA THyg== X-Gm-Message-State: AOJu0Yz3HSs4vUmWczGHNkQEHguJ91JJ1xNSfGV3zRYe1rz1DqWUSyY2 g/Rh4xU5UrYWeSZkH9z4vFHiZNuYlX2Ot9ILRgr2oIYSpJjVB+kqkT6vVWLZJqje4Hnef/kBo8T t04mEx/+m X-Google-Smtp-Source: AGHT+IGct8lVFr0b5G0M1LmZyT4hQAKIf4VPQHo/U2Q0aqqXfkedjjm+NdHmqbPj6GOygYSIO6Z7rA== X-Received: by 2002:a17:902:e844:b0:1e2:118f:e589 with SMTP id t4-20020a170902e84400b001e2118fe589mr3645523plg.32.1711642992722; Thu, 28 Mar 2024 09:23:12 -0700 (PDT) Received: from localhost ([2601:1c0:ca00:bd60:6ae3:9cc1:54c1:30c]) by smtp.gmail.com with ESMTPSA id l18-20020a170903245200b001e197cfe08fsm1800746pls.59.2024.03.28.09.23.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 09:23:12 -0700 (PDT) From: Tim Orling To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 2/2] liberror-perl: move to meta-perl Date: Thu, 28 Mar 2024 09:22:21 -0700 Message-Id: <20240328162218.1521815-3-tim.orling@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240328162218.1521815-1-tim.orling@konsulko.com> References: <20240328162218.1521815-1-tim.orling@konsulko.com> 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 ; Thu, 28 Mar 2024 16:23:15 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/197589 The upstream maintainer for Error has deprecated it for quite some time [1]. The only dependency in oe-core was coreutils-ptest. [YOCTO #15461] [1] https://metacpan.org/pod/Error#WARNING Using the "Error" module is no longer recommended due to the black-magical nature of its syntactic sugar, which often tends to break. Its maintainers have stopped actively writing code that uses it, and discourage people from doing so. See the "SEE ALSO" section below for better recommendations [2]. [2] https://metacpan.org/pod/Error#SEE-ALSO SEE ALSO -------- See Exception::Class for a different module providing Object-Oriented exception handling, along with a convenient syntax for declaring hierarchies for them. It doesn't provide Error's syntactic sugar of try { ... }, catch { ... }, etc. which may be a good thing or a bad thing based on what you want. (Because Error's syntactic sugar tends to break.) Error::Exception aims to combine Error and Exception::Class "with correct stringification". TryCatch and Try::Tiny are similar in concept to Error.pm only providing a syntax that hopefully breaks less. Signed-off-by: Tim Orling --- meta/conf/distro/include/maintainers.inc | 1 - .../distro/include/ptest-packagelists.inc | 1 - .../perl/liberror-perl_0.17029.bb | 48 ------------------- 3 files changed, 50 deletions(-) delete mode 100644 meta/recipes-devtools/perl/liberror-perl_0.17029.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 4ca5430a941..2d1f9fdec55 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -328,7 +328,6 @@ RECIPE_MAINTAINER:pn-libdrm = "Otavio Salvador