From patchwork Thu Apr 24 11:10:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 61801 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 B658AC369D1 for ; Thu, 24 Apr 2025 11:10:23 +0000 (UTC) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by mx.groups.io with SMTP id smtpd.web10.12421.1745493022002739496 for ; Thu, 24 Apr 2025 04:10:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UanGZrY3; spf=pass (domain: gmail.com, ip: 209.85.221.52, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-39c13fa05ebso562391f8f.0 for ; Thu, 24 Apr 2025 04:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745493020; x=1746097820; 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=qnmWx2qm8HDuNbXl0BSTpiMkRi1bOT/TSQNrq+w2BIY=; b=UanGZrY3mbC7c1ai4BH7qceTfC8Bpd7HbNV/I+snANvtl7CDXM0nWgcgP3f0VW3eUg 4myewjM5VRoYw3TBdVEXMmTz3XlHqnVSCU80KAmVayg1t+foPHM1lPIuJ9bI1gSNZiu/ CmSN+7a41PjEzh7DM7ABKq32MKoNzRV2sXsFCYNXqoWWgyDyq1qojoCEDjDLvaAVDdmG h9UktP12SXOSRAtNak2VCoff7wS868e3OpKzmykwWro0SduaDKcJoSxdj5mKwL/duNKc UI1TsOIQjRPXCowcBmq4JlfffP2auA7we2pV1ck11Nc4x+Id4pmC7qfQBVnI64wOZLCv 1VFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745493020; x=1746097820; 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=qnmWx2qm8HDuNbXl0BSTpiMkRi1bOT/TSQNrq+w2BIY=; b=j7qJaHB2cppICiRR1YVzuYTRYYd1v7ylHtnpk4vpokFiXH37YyLoeKXDX5USO67vSp pILhg0SbOXiO9RDTlzf8RBXBexUIUYQY1Gc76lfU4ShWQO3wAqPXvJzB9C8ImagC82ST BBXlFRHO9B5K7SwaZxT8whqDT75GXkyDR84V/fkgqtJS/iDakM/cyeuU8dfANOrrpqvF KOfObhKKo/2fU8g0XzMSfY6133w6fqz38Km+Qkx/EI40t7znUgxKTK3A1JDIPAuD1oaR rYD4tlTooNROn/JMP8YdD9TZjSog9Ld/cSJurH2NETumCCFr5k0tjax9L17EySK/cHpV Z9Vw== X-Gm-Message-State: AOJu0YyGDVzulH/XI1UczzzBfr9Al0s0XEtZqFBtGwIdSiCQSDoiZBZA Meq+c57d4o3K9WBRM5WBAPckPFneUoeo5s7AqRQrVrZLlHb45bM5p4TZQw== X-Gm-Gg: ASbGncsLzwsAL2LpZsLRfFvvoiXc4Ib+AXO/ascaEbn5DYtupZ5BpTB+YadEmniggOr B0yS5ReQyMsKqkzjvVYVc4Rp1hjoNgmWw8dblFkvtfscJASnrxeRe3QOSKT543u+8yazhyj1gSp S0Fy6NkkAgW7teOh92oiMj2AS55GWKQxWAjXbkho6EpaLyelLtsuvGiT0J8gb5oPEPk2vhXoeek LUm6TeInSRU/L0VPBHMUZEU0vtrrcD6wf1Gei+spLTfTHBh/g4DzyWZygOxpt4k/DNoE/L29XlA JGabUYz6QQGHF9bRlQsCtd7Zzcgi5ibBdtjdlSumek9FYIYu7frQV2YmS8cFExNZwPnFUfKdYQy Xtg== X-Google-Smtp-Source: AGHT+IHPdOin+C8g0wx1FVZXK9GftbDzEJfJn9J/WD865yYV0xgfOIIUDg43u3XvYZ+S5/kuWeK0wA== X-Received: by 2002:a05:6000:240b:b0:39c:1257:c96c with SMTP id ffacd0b85a97d-3a06cfa9c7bmr1770009f8f.56.1745493020130; Thu, 24 Apr 2025 04:10:20 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a06d5323b4sm1753499f8f.66.2025.04.24.04.10.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Apr 2025 04:10:19 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 1/4] devtool: account for sources in UNPACKDIR Date: Thu, 24 Apr 2025 13:10:11 +0200 Message-Id: <20250424111014.905507-1-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.5 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, 24 Apr 2025 11:10:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/215360 From: Alexander Kanavin There's a couple of assumptions in devtool that sources are always in a directory under WORKDIR; this is no longer the case since introduction of UNPACKDIR: some recipes are starting to use S = "${UNPACKDIR}/git" or similar, and so the logic to determine source locations needs to be tweaked accordingly. The issue is that oe-core has no concept of 'top level source path' (S points to where the build is started from, inside that top level location), and yet devtool needs to know that in order to move the complete source tree correctly to a workspace (and possibly other uses). And so devtool performs convoluted path calculations from WORKDIR and S; now this has been extended to include UNPACKDIR and became more convoluted but hopefully it won't get any worse. Signed-off-by: Alexander Kanavin --- meta/classes/devtool-source.bbclass | 8 ++++++-- scripts/lib/devtool/ide_sdk.py | 2 +- scripts/lib/devtool/standard.py | 25 +++++++++++++++++++------ scripts/lib/devtool/upgrade.py | 2 +- 4 files changed, 27 insertions(+), 10 deletions(-) diff --git a/meta/classes/devtool-source.bbclass b/meta/classes/devtool-source.bbclass index 9762003ba75..d4e307e886b 100644 --- a/meta/classes/devtool-source.bbclass +++ b/meta/classes/devtool-source.bbclass @@ -92,9 +92,13 @@ python devtool_post_unpack() { for fname in local_files: f.write('%s\n' % fname) - if os.path.dirname(srcsubdir) != workdir: + if srcsubdir.startswith(unpackdir) and srcsubdir != unpackdir: + srcparentdir = unpackdir + else: + srcparentdir = workdir + if os.path.dirname(srcsubdir) != srcparentdir: # Handle if S is set to a subdirectory of the source - srcsubdir = os.path.join(workdir, os.path.relpath(srcsubdir, workdir).split(os.sep)[0]) + srcsubdir = os.path.join(srcparentdir, os.path.relpath(srcsubdir, srcparentdir).split(os.sep)[0]) scriptutils.git_convert_standalone_clone(srcsubdir) diff --git a/scripts/lib/devtool/ide_sdk.py b/scripts/lib/devtool/ide_sdk.py index f8cf65f4a84..e1717bc4ab5 100755 --- a/scripts/lib/devtool/ide_sdk.py +++ b/scripts/lib/devtool/ide_sdk.py @@ -334,7 +334,7 @@ class RecipeModified: self.srctree = workspace[workspacepn]['srctree'] # Need to grab this here in case the source is within a subdirectory self.real_srctree = get_real_srctree( - self.srctree, recipe_d.getVar('S'), recipe_d.getVar('WORKDIR')) + self.srctree, recipe_d.getVar('S'), recipe_d.getVar('WORKDIR'), recipe_d.getVar('UNPACKDIR')) self.bbappend = workspace[workspacepn]['bbappend'] self.ide_sdk_dir = os.path.join( diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index cdfdba43eef..9a8f990d84a 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py @@ -625,7 +625,12 @@ def _extract_source(srctree, keep_temp, devbranch, sync, config, basepath, works srcsubdir = f.read() except FileNotFoundError as e: raise DevtoolError('Something went wrong with source extraction - the devtool-source class was not active or did not function correctly:\n%s' % str(e)) - srcsubdir_rel = os.path.relpath(srcsubdir, os.path.join(tempdir, 'workdir')) + unpackdir = d.getVar('UNPACKDIR') + if d.getVar('S').startswith(d.getVar('UNPACKDIR')): + srcparentdir = os.path.relpath(d.getVar('UNPACKDIR'), d.getVar('WORKDIR')) + else: + srcparentdir = '' + srcsubdir_rel = os.path.relpath(srcsubdir, os.path.join(tempdir, 'workdir', srcparentdir)) # Check if work-shared is empty, if yes # find source and copy to work-shared @@ -742,14 +747,22 @@ def get_staging_kbranch(srcdir): staging_kbranch = "".join(branch.split('\n')[0]) return staging_kbranch -def get_real_srctree(srctree, s, workdir): +def get_real_srctree(srctree, s, workdir, unpackdir): # Check that recipe isn't using a shared workdir s = os.path.abspath(s) workdir = os.path.abspath(workdir) - if s.startswith(workdir) and s != workdir and os.path.dirname(s) != workdir: + unpackdir = os.path.abspath(unpackdir) + + if s.startswith(workdir) and s != workdir: # Handle if S is set to a subdirectory of the source - srcsubdir = os.path.relpath(s, workdir).split(os.sep, 1)[1] - srctree = os.path.join(srctree, srcsubdir) + if s.startswith(unpackdir) and s != unpackdir: + srcparentdir = unpackdir + else: + srcparentdir = workdir + + if os.path.dirname(s) != srcparentdir: + srcsubdir = os.path.relpath(s, srcparentdir).split(os.sep, 1)[1] + srctree = os.path.join(srctree, srcsubdir) return srctree def modify(args, config, basepath, workspace): @@ -907,7 +920,7 @@ def modify(args, config, basepath, workspace): # Need to grab this here in case the source is within a subdirectory srctreebase = srctree - srctree = get_real_srctree(srctree, rd.getVar('S'), rd.getVar('WORKDIR')) + srctree = get_real_srctree(srctree, rd.getVar('S'), rd.getVar('WORKDIR'), rd.getVar('UNPACKDIR')) bb.utils.mkdirhier(os.path.dirname(appendfile)) with open(appendfile, 'w') as f: diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py index 0dace1fb240..e584e03e17c 100644 --- a/scripts/lib/devtool/upgrade.py +++ b/scripts/lib/devtool/upgrade.py @@ -571,7 +571,7 @@ def upgrade(args, config, basepath, workspace): else: srctree = standard.get_default_srctree(config, pn) - srctree_s = standard.get_real_srctree(srctree, rd.getVar('S'), rd.getVar('WORKDIR')) + srctree_s = standard.get_real_srctree(srctree, rd.getVar('S'), rd.getVar('WORKDIR'), rd.getVar('UNPACKDIR')) # try to automatically discover latest version and revision if not provided on command line if not args.version and not args.srcrev: From patchwork Thu Apr 24 11:10:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 61800 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 C1111C369D9 for ; Thu, 24 Apr 2025 11:10:23 +0000 (UTC) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mx.groups.io with SMTP id smtpd.web10.12422.1745493022495111874 for ; Thu, 24 Apr 2025 04:10:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bI0wu2Al; spf=pass (domain: gmail.com, ip: 209.85.221.43, mailfrom: alex.kanavin@gmail.com) Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-39c266c2dd5so932455f8f.3 for ; Thu, 24 Apr 2025 04:10:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745493021; x=1746097821; 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=nwsw9bqndstjqHeXAG/VI+VkZ400FPIxbzGjgJvkn8c=; b=bI0wu2Al/s4g+B+TsefNJ6eb7FTxI1N3cBOX6BoflBzDX2nRx6gDbo2hO4f8vhJJjM pkyomHmJI+pSrZPGUQVaym8Erq7FbmfKfW0Iuw/LmPtlKmLdgSxkskT0x/y0QMYfg+Jp DBvCJ07qthO4eQ5obKhhYe7rNM/OIQQ6Ainzu4fz1qdo/YYxAXvr1TnlQvJknE1kGeZ8 QoSe0tnRaREsfUo2vKNs6KqIf6j3ewmQ908EpNCnZskyyousrpXtQvd9F1/m5V7CALxU 3FEEL/SyLVpZvgm4uK1Qjs9Vypzccj6nwS3dZkFQK4SbPJcFf7ISyKRRJBDa66vKEn2d 1Llw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745493021; x=1746097821; 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=nwsw9bqndstjqHeXAG/VI+VkZ400FPIxbzGjgJvkn8c=; b=PtRUUD8Ud1Ra308apSKSv/Ln+dI/HcCnakRCwqbkdDKdLjKqr5O2iDCIvcku7VFF27 XWONr1myPqmdgAVw4pvjiS8vBweqaSEAfn0AYvTRAAI0F3Gorw+Zmmf0YvrRZBcigF6e 1JCBowXBPFN7BNGOaaY3EB7c8xPYMyYU8dnD4Hozv78iHEDp2LrLfwjUi4CE1IZ23x8H wRwCuiQarjeUWt95bU8wOlo4OC/3LawpYxqmbYZ3Be50StYp6Qg6LOua/vbziXh+b3ck J0FncnqOXftHHzVfUbBw+mMlqW3HhxJvrRUGZQmvCDRAx+YTwHo5BiDVG6OHuuWLrzhc AYfA== X-Gm-Message-State: AOJu0YybaioSN8LV240IdsNAwfs6yqOmaZuaH2q+lw5uwnaEpIy1Zrvy 7W2xuWFF6rZjuU/Xurf9FfYwf0+Kp2XlkM7hUSKic+jSZc5cPjHgyg0nsw== X-Gm-Gg: ASbGncuu3nURsFdEzNEeJWh4mjxbL9rXaxpQf/05IF6f7TtjwX7EdV/ARd2HeTUvCRe 7tUsImO4hXK49CBLTwMssoPtBMLs8i8PLrTxl7HnOHq8w8kwN5niFGxpx9ak/CS6TrOLG2Mcdwf Z5Gh+UkJPYbTfkAEl6Mmqw029nbhYu0hspNT8bFqZ68mde4lamsvtX/cgPjIeEDrjEXh3LtWLt/ J2aysSboG0LKSrBgoLJjNCvARNgUm6RiD3WTuZLElN8B6Lv2HZauo3l/yoxI9n2BtNjjNNRPuYH XUrDrANAHs9JYlUROkS59U5LBiQfqStckczHjTHd+e/y4CWsVY8QpBeMFSNnUQfdOPShIr+0fu/ arg== X-Google-Smtp-Source: AGHT+IED25+gK1zXQOENSTHwvvE2iMuPrcmvo6J/ejcC2aV+iYMnW/pnUy5ZL6pjw2FUefma8Kxfpw== X-Received: by 2002:a05:6000:4201:b0:38d:e584:81ea with SMTP id ffacd0b85a97d-3a06cfa3192mr1778854f8f.45.1745493020821; Thu, 24 Apr 2025 04:10:20 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a06d5323b4sm1753499f8f.66.2025.04.24.04.10.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Apr 2025 04:10:20 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 2/4] tcf-agent: update SRC_URI to https://gitlab.eclipse.org Date: Thu, 24 Apr 2025 13:10:12 +0200 Message-Id: <20250424111014.905507-2-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250424111014.905507-1-alex.kanavin@gmail.com> References: <20250424111014.905507-1-alex.kanavin@gmail.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, 24 Apr 2025 11:10:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/215361 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb index e1ac0a29a7a..235936288ba 100644 --- a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb +++ b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb @@ -10,7 +10,7 @@ SRCREV = "1f11747e83ebf4f53e8d17f430136f92ec378709" PV = "1.8.0+git" UPSTREAM_CHECK_GITTAGREGEX = "(?P(\d+(\.\d+)+))" -SRC_URI = "git://git.eclipse.org/r/tcf/org.eclipse.tcf.agent.git;protocol=https;branch=master \ +SRC_URI = "git://gitlab.eclipse.org/eclipse/tcf/tcf.agent.git;protocol=https;branch=master \ file://ldflags.patch \ file://tcf-agent.init \ file://tcf-agent.service \ From patchwork Thu Apr 24 11:10:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 61802 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 BFF6FC369D7 for ; Thu, 24 Apr 2025 11:10:23 +0000 (UTC) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mx.groups.io with SMTP id smtpd.web10.12423.1745493023286507671 for ; Thu, 24 Apr 2025 04:10:23 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SC6qdAje; spf=pass (domain: gmail.com, ip: 209.85.128.42, mailfrom: alex.kanavin@gmail.com) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-43cf848528aso6123845e9.2 for ; Thu, 24 Apr 2025 04:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745493021; x=1746097821; 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=VxUwNeRRnxdmW6ZSA8EID0+bHFWko7I58vyAO59ps44=; b=SC6qdAje7QzdIjbTLpilPLXcM23o4H4sK0NJFeoGKinvT9JyIqkAixq23SzZD4M/CE Jxh+jOE+3UTKsJlfQPV8jpEN9TOLZKJPIEu+C+b7LC6gnx6AT6yiuPDAVfEheM6xDvvG hNB8soe0DlvIPpK8GwleoBSZQm/EBew0prN48HExYFOPSmEFnG2TfXIlpwMZD+bJz2zF Ig88wJy7vnRfNupj4CrnNypz6YFjwjmDIENjaVoYMc1IBxfZEvtmPgB81mSgWulupjzt Z8r8imZXzcCU1sf77WyelKzNjVTS26fcwkWquTPJFE9tO+zQYYW2g7zHfKJSnNhnXgJs MpXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745493021; x=1746097821; 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=VxUwNeRRnxdmW6ZSA8EID0+bHFWko7I58vyAO59ps44=; b=hMk9y+IzCURECBeFYfm1iCvrVfBsJJi3eoP9yFALkBlVVeXBOcEsUGHViIL8lXsmsD 10Ni+bV+ltxSalweVzx40Mv0tVwMB1MJXLGI5qHe0lWDksy5LvSp4IPiin3wTqfTDwj6 dEYfbdE2twDUKUHmpHKxhT530Cpuu4ceiu2+lhhBFKfTcWfQpdvMZSOVKtX+rDDSB6vD Qa1qCnHxzuc/310tQgedz8zNKM+HcFGTF2kooOONSjsUKS+4R4ruoyH19HP2BJrFET5J 6E+Cosf0Lyo9jHwAeDuJTuZEct/px4rzJypRKSIQEFM6juC5Q/EAduU9hbE04vJWaLJ+ Su/g== X-Gm-Message-State: AOJu0YwsaVqpWzNAn4lx+FeSH2fDuGhHzsg7OeZEDoLGwUYwV/4tmJbB b4QHVROONngPgVZ8wlnfMzHKhE4biCb6cWZ86v1XPKrj97BEu07n0WKuyQ== X-Gm-Gg: ASbGnctSElMF5QzZ1VXn16zyDOvChWz/WOa7/30GZ+FUsDFJyouVKGc9swWB99AM+mA XPsI3l7b7CA6sbpHNjuWCe7orKsmfwJDeUZov8rY97DnTE6PPgvRY1Fed5r+0MpSfnqF5nvKEXt KKxsyYmYyIfnTr8vKi/RESzzmq+0ufPL55g3Jr4rGcGxTGnMbQKlz4dyqXmn6Trqkbd8+spB0+y zXi1zgyoe0UutmMlz3YLgDqQpAQX899GYvUGQJfyWOzduIyqTp+iPtPhy+Uz0JLSH++u/z5/+uy TgXdK8jGLe3gAxbpR3nupkLT11F/jp4c7D/h0Xg/BP/LP6GjeXQVh9uTZwQ0SyXFbdvXeohtgoB S9Q== X-Google-Smtp-Source: AGHT+IE4/Vv1CI2rBZhcSppSzKhBwFKNn3QdqoAIIlJ0kryfF1P05DvXUGQBbNEM/1rsH0PhLdIuiQ== X-Received: by 2002:a05:6000:4022:b0:39c:1f11:bb2 with SMTP id ffacd0b85a97d-3a06cf5ee5amr1638721f8f.22.1745493021454; Thu, 24 Apr 2025 04:10:21 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a06d5323b4sm1753499f8f.66.2025.04.24.04.10.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Apr 2025 04:10:21 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 3/4] libarchive: correct upstream version check Date: Thu, 24 Apr 2025 13:10:13 +0200 Message-Id: <20250424111014.905507-3-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250424111014.905507-1-alex.kanavin@gmail.com> References: <20250424111014.905507-1-alex.kanavin@gmail.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, 24 Apr 2025 11:10:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/215362 From: Alexander Kanavin File index works now: http://libarchive.org/downloads/ Signed-off-by: Alexander Kanavin --- meta/recipes-extended/libarchive/libarchive_3.7.9.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-extended/libarchive/libarchive_3.7.9.bb b/meta/recipes-extended/libarchive/libarchive_3.7.9.bb index 9d134f7d381..d70cdb3d835 100644 --- a/meta/recipes-extended/libarchive/libarchive_3.7.9.bb +++ b/meta/recipes-extended/libarchive/libarchive_3.7.9.bb @@ -31,8 +31,6 @@ EXTRA_OECONF += "--enable-largefile --without-iconv" SRC_URI = "https://libarchive.org/downloads/libarchive-${PV}.tar.gz" -UPSTREAM_CHECK_URI = "http://libarchive.org/" - SRC_URI[sha256sum] = "aa90732c5a6bdda52fda2ad468ac98d75be981c15dde263d7b5cf6af66fd009f" inherit autotools update-alternatives pkgconfig From patchwork Thu Apr 24 11:10:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 61803 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 B4612C369D7 for ; Thu, 24 Apr 2025 11:10:33 +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.web10.12424.1745493023884214662 for ; Thu, 24 Apr 2025 04:10:24 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gBraXW0t; 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-43edecbfb46so6014445e9.0 for ; Thu, 24 Apr 2025 04:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745493022; x=1746097822; 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=WmDRo+OZlG877o/mbyYc/opZ+1bQjZpzqv9fBPHLr3g=; b=gBraXW0tGSMWwUNK7bsKQQcoXhXBPD3GsBuDkAqlpJWlRJGrhpPwUFwD9/XZkxbKH+ PxkEZOBTNTjFUp2Ntyl9J1C/CQr1kIQI2RvD+le1nFHCSEAA4HuZrQyT5oHrXrTrbrrp pIB1FhfdKTDTseV2WM/WF8j6560HctKuy/5RyxvpZsyJ3VuyQapeX268aqZ32qo/p6Ma F+NAYy0mWWovB5llQjyVd8l5e37R+/ZH9yVITM3GU4ua+a2311kT96rtCD0GO7H+o8Zc qLuynPN7qjqLgUk1Oz2FnYSGyxnGnXNexVdfGlo+dXZuMJOsULFfkQfAERxwNTuVHlKW ti/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745493022; x=1746097822; 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=WmDRo+OZlG877o/mbyYc/opZ+1bQjZpzqv9fBPHLr3g=; b=YN3s7CtPlqiGilO0YKHo8jzYobkqRmTP0AiMAfCi8Q86VlyalqtEYeJbJVqk9C98kD /OOccEpjdLJxbBCbXARg0SgiTi6wa+Y/ZSg63Gh36CnPg1vfENoHALVIr9Rnoea8RiSM IvajGfcAarMWJZJO5nVmIh6uJdW3TNNYGZNlnonkJMSqKxu5Muh5gn4C8j08hA0OEWCa RuX15Hw/F7lCFENqH2aKJYwLrIR3NPydvWRkESP/afptktr2fNgYoGg9tHQwCh7PfVOg MbuKfsj6sZTCiMz5IYwCIdtPO1iE93xVytQSSfrUdlmgw5FXbsoy5QU3nqeW9TSay7M0 jVeQ== X-Gm-Message-State: AOJu0YxxBpbDmw+2aP8j11nnvHyexGxTyTqEZwv8YzBXiCh9WgH8XT9G +KgMk/QEAdABrmmJncWgzNy8Rwx7FxmoxX/6XVhNesDQHwofQOgq29SdEA== X-Gm-Gg: ASbGncsfqe5MnXwI9SRzkMEo3fz9zgaGqSb9SGhO7+aReN7lUXzDOV4lADmCRGm4PHO gLVEBothOXPjnNRk7j7rePHt1YpmCNviUyoySs2bMur4vGETvXXhJNa/ihXZb+LDTokShsEFhKA m6jyW0baLLVF4njnsdXez/QaCq4Ys2Q64Ao43XMqAz0CmMThSuXghLfxrDDv+RBBqAKAjdVEMmw KQ+18PWg9FiQteBmLBbOOM3j6NSTimmlQZhp+vD5lcgfgc5klXQT5VOxxhFI/UyphkcDxTeHxOx +7/ge2gfZtLn86uSzf/17SfpZX+AChXphwg5zXALalcqC1OoNf6b2jU11qtMPygNqjERTMB6v3B 8qg== X-Google-Smtp-Source: AGHT+IFy6aXV4FS7C+FWjgz+zoikDve5hmuhHCxLnmkDW/6xmEVC6Ova/YLw3BCh3uAun7t3ilekpA== X-Received: by 2002:a05:600c:3487:b0:43c:f8fc:f69a with SMTP id 5b1f17b1804b1-4409bd05295mr20379285e9.4.1745493022087; Thu, 24 Apr 2025 04:10:22 -0700 (PDT) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a06d5323b4sm1753499f8f.66.2025.04.24.04.10.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Apr 2025 04:10:21 -0700 (PDT) From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 4/4] libunwind: use github-releases class to determine latest versions Date: Thu, 24 Apr 2025 13:10:14 +0200 Message-Id: <20250424111014.905507-4-alex.kanavin@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250424111014.905507-1-alex.kanavin@gmail.com> References: <20250424111014.905507-1-alex.kanavin@gmail.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, 24 Apr 2025 11:10:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/215363 From: Alexander Kanavin Signed-off-by: Alexander Kanavin --- meta/recipes-support/libunwind/libunwind_1.8.1.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/libunwind/libunwind_1.8.1.bb b/meta/recipes-support/libunwind/libunwind_1.8.1.bb index 1885da4d09f..ee4a8401ba6 100644 --- a/meta/recipes-support/libunwind/libunwind_1.8.1.bb +++ b/meta/recipes-support/libunwind/libunwind_1.8.1.bb @@ -5,7 +5,8 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=2d80c8ed4062b8339b715f90fa68cc9f" DEPENDS:append:libc-musl = " libucontext" -SRC_URI = "https://github.com/libunwind/libunwind/releases/download/v${PV}/${BP}.tar.gz \ +GITHUB_BASE_URI = "https://github.com/libunwind/libunwind/releases" +SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \ file://mips-byte-order.patch \ file://0001-tests-Garm64-test-sve-signal-check-that-SVE-is-prese.patch \ file://0002-coredump-use-glibc-or-musl-register-names-as-appropr.patch \ @@ -16,7 +17,7 @@ SRC_URI = "https://github.com/libunwind/libunwind/releases/download/v${PV}/${BP} SRC_URI[sha256sum] = "ddf0e32dd5fafe5283198d37e4bf9decf7ba1770b6e7e006c33e6df79e6a6157" -inherit autotools multilib_header +inherit autotools multilib_header github-releases COMPATIBLE_HOST:riscv32 = "null"