From patchwork Wed Jan 29 18:04:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 56234 X-Patchwork-Delegate: steve@sakoman.com 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 DE3A1C0218D for ; Wed, 29 Jan 2025 18:05:17 +0000 (UTC) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web10.19357.1738173912426474604 for ; Wed, 29 Jan 2025 10:05:12 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=y7+q8Del; spf=softfail (domain: sakoman.com, ip: 209.85.214.173, mailfrom: steve@sakoman.com) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-216281bc30fso11531565ad.0 for ; Wed, 29 Jan 2025 10:05:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1738173912; x=1738778712; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=+fOc+JNn/BxN1hUpxRNh0mTxm73MZUCUwBexXwOSDAM=; b=y7+q8DelD27ShzJEFkdhjbumcK2Spf03btSO1GXltTS12hyKV0AaTJUhIKjoN8NNCC gdY9Bfb3raM1ELcLYX0M8HW/YXy7LVQkK83j0YvvIgQV8MtoOZa6xprlM5HRS98Cv1jJ w5qCo+V3wcj/m8KW019kRIDy+VjSqZFOOdPCk93JUX7pLo9sA2rlDRW/jwdyfFtdDiFi mNKBPLjJ/jbtZQ9Ti4cvzRsAnGwZ8rtyjm/WJknxwSUolio1JolUXlDycY2nQx5RO1Iz izJACubtx5erdS2vEk3Ocznq25Sx5UyUL3nLg/oefeaAkvYfrQIAVUNIwzdB1m+ajMrn Czhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738173912; x=1738778712; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+fOc+JNn/BxN1hUpxRNh0mTxm73MZUCUwBexXwOSDAM=; b=DsdJ458uXKeniTEnuuM498unTnp0oeXT9pAUa8Q6/uRsJVGx9up4ObM+3pUSn2q5Nn MpMd1G0pFdYB4Arc6lGCzmHRZiO6QZ4N3UD9FuKhKHUuF8RdEOW4BSp6AQQDTPUgCddE kvxlo/EYM3epGENlC/D3ZQpSm1xaYU0dT0fioJcVuMAvawOKj5ac41VEeB2BAWtVKdw2 yCd0Vbtgj6HVqYIo17VUQGrlMnepXImQQuIXp2P1JwxsTk/T3esW1ZzRUq+okmNozeTS hMyDIyhoiachLZqJHCs8SCVw8UZ6f8kFEg2RXGWIA/KdMt0/UpYe/b7VKCOu/V/ZqPMA Hxjw== X-Gm-Message-State: AOJu0YxMu+yFl1J0nIpv59uW8/8qbuguFUg/Yl3wx4AcVwf0ZGLCOXC9 oQ400qAhwcJo7KIXCTjWO8v1Ehf3QyesB7qVNg2ZmYwP8kfmLeunSi7VaZrP2fSLWZoNQgOXe8o O4V8= X-Gm-Gg: ASbGncvOQnzScPfQqqWw3ToNqbqaMzajm8hLTooFwJa2fnq00vSgN5iRUmpI9h3J8sg kbGyWmRf7hwS8Rh1fq3+jUuiH547LwxNG/gr8nJZRqgJalAwVLno6cXo3H/LDTjMN/mZT6/QPMW pDuFyCHCvBmrracDkwF7GxF1xBigzGZiVykOhbJscN/EUh4mvGaUoSjH5er+mizm7CIlHPvDIFg pbj2+JhRaqh2mB/pHMHiA2iI3zXtxAde0XuEYQUIWwjah/QffPJw698r0vi63MwQpEgbHbkXEIX OE6w X-Google-Smtp-Source: AGHT+IHDVtFAMIc4gK1ihe9+++wADBZrsgHmZMshl8B8lh/XOOhs6fpD9dtSIbI6R0OCRJaN+O/ZSw== X-Received: by 2002:a05:6a21:3a8a:b0:1e1:ab03:8653 with SMTP id adf61e73a8af0-1ed7a49a2cdmr7038827637.9.1738173907292; Wed, 29 Jan 2025 10:05:07 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72f8a69fb24sm11496435b3a.8.2025.01.29.10.05.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2025 10:05:07 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 1/8] go: upgrade 1.22.8 -> 1.22.9 Date: Wed, 29 Jan 2025 10:04:50 -0800 Message-ID: <3425dd4ba1723fb9c660b3941fd92209c3141dd3.1738173760.git.steve@sakoman.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: 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 ; Wed, 29 Jan 2025 18:05:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210395 From: Peter Marko Upgrade to latest 1.22.x release [1]: $ git --no-pager log --oneline go1.22.8..go1.22.9 8af39d30a4 (tag: go1.22.9) [release-branch.go1.22] go1.22.9 c19e5887f4 [release-branch.go1.22] cmd/cgo/internal/testcarchive: remove 1-minute timeout e3fd4ba7f9 [release-branch.go1.22] cmd/link: generate Mach-O UUID when -B flag is specified 29252e4c5a [release-branch.go1.22] runtime: fix TestGdbAutotmpTypes on gdb version 15 [1] https://github.com/golang/go/compare/go1.22.8...go1.22.9 (From OE-Core rev: 4f2f202506bcefb4d6c46a11738e159e261a4a4b) Signed-off-by: Peter Marko Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- meta/recipes-devtools/go/{go-1.22.8.inc => go-1.22.9.inc} | 2 +- ...o-binary-native_1.22.8.bb => go-binary-native_1.22.9.bb} | 6 +++--- ...cross-canadian_1.22.8.bb => go-cross-canadian_1.22.9.bb} | 0 .../go/{go-cross_1.22.8.bb => go-cross_1.22.9.bb} | 0 .../go/{go-crosssdk_1.22.8.bb => go-crosssdk_1.22.9.bb} | 0 .../go/{go-runtime_1.22.8.bb => go-runtime_1.22.9.bb} | 0 meta/recipes-devtools/go/{go_1.22.8.bb => go_1.22.9.bb} | 0 7 files changed, 4 insertions(+), 4 deletions(-) rename meta/recipes-devtools/go/{go-1.22.8.inc => go-1.22.9.inc} (89%) rename meta/recipes-devtools/go/{go-binary-native_1.22.8.bb => go-binary-native_1.22.9.bb} (78%) rename meta/recipes-devtools/go/{go-cross-canadian_1.22.8.bb => go-cross-canadian_1.22.9.bb} (100%) rename meta/recipes-devtools/go/{go-cross_1.22.8.bb => go-cross_1.22.9.bb} (100%) rename meta/recipes-devtools/go/{go-crosssdk_1.22.8.bb => go-crosssdk_1.22.9.bb} (100%) rename meta/recipes-devtools/go/{go-runtime_1.22.8.bb => go-runtime_1.22.9.bb} (100%) rename meta/recipes-devtools/go/{go_1.22.8.bb => go_1.22.9.bb} (100%) diff --git a/meta/recipes-devtools/go/go-1.22.8.inc b/meta/recipes-devtools/go/go-1.22.9.inc similarity index 89% rename from meta/recipes-devtools/go/go-1.22.8.inc rename to meta/recipes-devtools/go/go-1.22.9.inc index 542519b930..8fe2a8e39c 100644 --- a/meta/recipes-devtools/go/go-1.22.8.inc +++ b/meta/recipes-devtools/go/go-1.22.9.inc @@ -15,4 +15,4 @@ SRC_URI += "\ file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \ file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ " -SRC_URI[main.sha256sum] = "df12c23ebf19dea0f4bf46a22cbeda4a3eca6f474f318390ce774974278440b8" +SRC_URI[main.sha256sum] = "e81a362f51aee2125722b018e46714e6a055a1954283414c0f937e737013db22" diff --git a/meta/recipes-devtools/go/go-binary-native_1.22.8.bb b/meta/recipes-devtools/go/go-binary-native_1.22.9.bb similarity index 78% rename from meta/recipes-devtools/go/go-binary-native_1.22.8.bb rename to meta/recipes-devtools/go/go-binary-native_1.22.9.bb index 98799eb503..040091be79 100644 --- a/meta/recipes-devtools/go/go-binary-native_1.22.8.bb +++ b/meta/recipes-devtools/go/go-binary-native_1.22.9.bb @@ -9,9 +9,9 @@ PROVIDES = "go-native" # Checksums available at https://go.dev/dl/ SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}" -SRC_URI[go_linux_amd64.sha256sum] = "5f467d29fc67c7ae6468cb6ad5b047a274bae8180cac5e0b7ddbfeba3e47e18f" -SRC_URI[go_linux_arm64.sha256sum] = "5c616b32dab04bb8c4c8700478381daea0174dc70083e4026321163879278a4a" -SRC_URI[go_linux_ppc64le.sha256sum] = "c546f27866510bf8e54e86fe6f58c705af0e894341e5572c91f197a734152c27" +SRC_URI[go_linux_amd64.sha256sum] = "84a8f05b7b969d8acfcaf194ce9298ad5d3ddbfc7034930c280006b5c85a574c" +SRC_URI[go_linux_arm64.sha256sum] = "5beec5ef9f019e1779727ef0d9643fa8bf2495e7222014d2fc4fbfce5999bf01" +SRC_URI[go_linux_ppc64le.sha256sum] = "dcee55b402eaf46e7ffb2018b9e30b27ae5e821367697d8f8ff1ed1cecfd7948" UPSTREAM_CHECK_URI = "https://golang.org/dl/" UPSTREAM_CHECK_REGEX = "go(?P\d+(\.\d+)+)\.linux" diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.22.8.bb b/meta/recipes-devtools/go/go-cross-canadian_1.22.9.bb similarity index 100% rename from meta/recipes-devtools/go/go-cross-canadian_1.22.8.bb rename to meta/recipes-devtools/go/go-cross-canadian_1.22.9.bb diff --git a/meta/recipes-devtools/go/go-cross_1.22.8.bb b/meta/recipes-devtools/go/go-cross_1.22.9.bb similarity index 100% rename from meta/recipes-devtools/go/go-cross_1.22.8.bb rename to meta/recipes-devtools/go/go-cross_1.22.9.bb diff --git a/meta/recipes-devtools/go/go-crosssdk_1.22.8.bb b/meta/recipes-devtools/go/go-crosssdk_1.22.9.bb similarity index 100% rename from meta/recipes-devtools/go/go-crosssdk_1.22.8.bb rename to meta/recipes-devtools/go/go-crosssdk_1.22.9.bb diff --git a/meta/recipes-devtools/go/go-runtime_1.22.8.bb b/meta/recipes-devtools/go/go-runtime_1.22.9.bb similarity index 100% rename from meta/recipes-devtools/go/go-runtime_1.22.8.bb rename to meta/recipes-devtools/go/go-runtime_1.22.9.bb diff --git a/meta/recipes-devtools/go/go_1.22.8.bb b/meta/recipes-devtools/go/go_1.22.9.bb similarity index 100% rename from meta/recipes-devtools/go/go_1.22.8.bb rename to meta/recipes-devtools/go/go_1.22.9.bb From patchwork Wed Jan 29 18:04:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 56235 X-Patchwork-Delegate: steve@sakoman.com 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 F01E5C0218F for ; Wed, 29 Jan 2025 18:05:17 +0000 (UTC) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web10.19358.1738173913978823132 for ; Wed, 29 Jan 2025 10:05:14 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=BEvhdm5o; spf=softfail (domain: sakoman.com, ip: 209.85.214.173, mailfrom: steve@sakoman.com) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-21680814d42so119908515ad.2 for ; Wed, 29 Jan 2025 10:05:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1738173913; x=1738778713; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=xy8mtGeejVADMOrxbcig/qW7Uzokw47RXb7URxtK2lA=; b=BEvhdm5oWglSkAOao40Onm6ukesz6N0hODAYQ4gu2L+0/2r8wqgiBnBOIbw9moUvPu dlZurFgQ+GU7uGv1p/I19fMvINfveAsLFjRnJnNlTN/EHlN6RMLvHgkJ9GVRmJ0WAi/e UoI7FGdXr7HN+CjREDg5tf+5XzofVfx4HhS4WSn7bvmnnFEfdvBcxA0JIWbvNmeI9b1H bd4LKKMwxvbW+yNRke4L4+jmht3mPiAKp2wItK3pFyAKDqhjgUX6SMu0frhaKf3/qZeM aObLWvIrpwyzfRA5AIaWC/kW0OcgeSDIr7afKh6//1EeJWavjZJbPjpRc0xv7zPBMdr2 uZaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738173913; x=1738778713; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xy8mtGeejVADMOrxbcig/qW7Uzokw47RXb7URxtK2lA=; b=f+88ttaLdzrkxqsbhvmj29UW+tlqa4SoXwivWnBdGotZCE57NSSQTmjfkN2YWgRrnw 0CsE91AB3OrC2goVnKFKFzUI7ndEDpH3Ulitr84dC3l8zz82/wSt6+Ca1qZRUbj0jkqi GZV93wH7T7hPICXoFn7O3EhizVqYUqgiB7VMuPbzorJotH28yORs2sJh8clhPlQ6PvDD H+LDk4lCU55+ompln0/ocCuVxiKYz5Ac6VgbjfVoVe5echCB/yyJ+R6E390Ja/MhVFxx YKATthCC4chxPDlmeENijVHD4lkKBWPt+7ojptUXFyEfGL2w6X8fRAShHqH+dnrJx/QB l0mg== X-Gm-Message-State: AOJu0YwKA9lfws/vB37lJurtSu4peHQGinZpICkWHanrCqnbYAONvuF/ 2M3Gf8OyO3JTT8Q9EqOYfH5X05+4Mcow8Ob9P0h2DGy13UjsDk54D+8JrnVyp6uYg/F+oiKo83E tmNw= X-Gm-Gg: ASbGncuVb5vBGQimUIKSOVOX/5APKdADznhNp9sFplpFTlDHDqXD/2ERJudZDq1Ec1I eAgMYWu3TsZmygCESrTmTeMxCp2FpF5e5HrdIobnhjthU4bnSoj3yA+8R/dNliU5bPZIdMm1D+q XwgJCzbP1PdZpxEDNyReqpsQLHGVV0Ds53YBj00NbrxarJgEhY0rCclV7pcQUWxDBq+moyCAsgf eIb+bbyfwPhGD9Cw4P4SVlfbp0Tfzy+4oXb9rh8gurbZ6f6uYYKeuglRmBjnMW4d0r9RtGj2nyT BMRh X-Google-Smtp-Source: AGHT+IFdFV41KbqZVT58nODh38zQpVHXw0ppTyXOVMAj/FzR8FRs+6Kec0lA07eZpDRbG70+jb74IA== X-Received: by 2002:a05:6a21:3388:b0:1e1:6ec8:fc63 with SMTP id adf61e73a8af0-1ed7a5f4207mr5492749637.11.1738173913186; Wed, 29 Jan 2025 10:05:13 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72f8a69fb24sm11496435b3a.8.2025.01.29.10.05.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2025 10:05:12 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 2/8] go: upgrade 1.22.9 -> 1.22.10 Date: Wed, 29 Jan 2025 10:04:51 -0800 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: 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 ; Wed, 29 Jan 2025 18:05:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210396 From: Peter Marko Upgrade to latest 1.22.x release [1]: $ git --no-pager log --oneline go1.22.9..go1.22.10 8f3f22eef8 (tag: go1.22.10) [release-branch.go1.22] go1.22.10 6d7a95abca [release-branch.go1.22] runtime: reserve 4kB for system stack on windows-386 6f05fa7a4f [release-branch.go1.22] syscall: mark SyscallN as noescape 3355db9690 [release-branch.go1.22] time: accept "+01" in TestLoadFixed on OpenBSD [1] https://github.com/golang/go/compare/go1.22.9...go1.22.10 (From OE-Core rev: e357c93b39df938dc36195dbd779a58b2951b8e6) Signed-off-by: Peter Marko Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- meta/recipes-devtools/go/{go-1.22.9.inc => go-1.22.10.inc} | 2 +- ...-binary-native_1.22.9.bb => go-binary-native_1.22.10.bb} | 6 +++--- ...ross-canadian_1.22.9.bb => go-cross-canadian_1.22.10.bb} | 0 .../go/{go-cross_1.22.9.bb => go-cross_1.22.10.bb} | 0 .../go/{go-crosssdk_1.22.9.bb => go-crosssdk_1.22.10.bb} | 0 .../go/{go-runtime_1.22.9.bb => go-runtime_1.22.10.bb} | 0 meta/recipes-devtools/go/{go_1.22.9.bb => go_1.22.10.bb} | 0 7 files changed, 4 insertions(+), 4 deletions(-) rename meta/recipes-devtools/go/{go-1.22.9.inc => go-1.22.10.inc} (89%) rename meta/recipes-devtools/go/{go-binary-native_1.22.9.bb => go-binary-native_1.22.10.bb} (78%) rename meta/recipes-devtools/go/{go-cross-canadian_1.22.9.bb => go-cross-canadian_1.22.10.bb} (100%) rename meta/recipes-devtools/go/{go-cross_1.22.9.bb => go-cross_1.22.10.bb} (100%) rename meta/recipes-devtools/go/{go-crosssdk_1.22.9.bb => go-crosssdk_1.22.10.bb} (100%) rename meta/recipes-devtools/go/{go-runtime_1.22.9.bb => go-runtime_1.22.10.bb} (100%) rename meta/recipes-devtools/go/{go_1.22.9.bb => go_1.22.10.bb} (100%) diff --git a/meta/recipes-devtools/go/go-1.22.9.inc b/meta/recipes-devtools/go/go-1.22.10.inc similarity index 89% rename from meta/recipes-devtools/go/go-1.22.9.inc rename to meta/recipes-devtools/go/go-1.22.10.inc index 8fe2a8e39c..2abe7d0f3e 100644 --- a/meta/recipes-devtools/go/go-1.22.9.inc +++ b/meta/recipes-devtools/go/go-1.22.10.inc @@ -15,4 +15,4 @@ SRC_URI += "\ file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \ file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ " -SRC_URI[main.sha256sum] = "e81a362f51aee2125722b018e46714e6a055a1954283414c0f937e737013db22" +SRC_URI[main.sha256sum] = "1e94fd48be750d1fafb4d9b3b6dd31a6e9d2735d339bf2462bc97b64ca4c1037" diff --git a/meta/recipes-devtools/go/go-binary-native_1.22.9.bb b/meta/recipes-devtools/go/go-binary-native_1.22.10.bb similarity index 78% rename from meta/recipes-devtools/go/go-binary-native_1.22.9.bb rename to meta/recipes-devtools/go/go-binary-native_1.22.10.bb index 040091be79..8c8fe5bff9 100644 --- a/meta/recipes-devtools/go/go-binary-native_1.22.9.bb +++ b/meta/recipes-devtools/go/go-binary-native_1.22.10.bb @@ -9,9 +9,9 @@ PROVIDES = "go-native" # Checksums available at https://go.dev/dl/ SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}" -SRC_URI[go_linux_amd64.sha256sum] = "84a8f05b7b969d8acfcaf194ce9298ad5d3ddbfc7034930c280006b5c85a574c" -SRC_URI[go_linux_arm64.sha256sum] = "5beec5ef9f019e1779727ef0d9643fa8bf2495e7222014d2fc4fbfce5999bf01" -SRC_URI[go_linux_ppc64le.sha256sum] = "dcee55b402eaf46e7ffb2018b9e30b27ae5e821367697d8f8ff1ed1cecfd7948" +SRC_URI[go_linux_amd64.sha256sum] = "736ce492a19d756a92719a6121226087ccd91b652ed5caec40ad6dbfb2252092" +SRC_URI[go_linux_arm64.sha256sum] = "5213c5e32fde3bd7da65516467b7ffbfe40d2bb5a5f58105e387eef450583eec" +SRC_URI[go_linux_ppc64le.sha256sum] = "db05b9838f69d741fb9a5301220b1a62014aee025b0baf341aba3d280087b981" UPSTREAM_CHECK_URI = "https://golang.org/dl/" UPSTREAM_CHECK_REGEX = "go(?P\d+(\.\d+)+)\.linux" diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.22.9.bb b/meta/recipes-devtools/go/go-cross-canadian_1.22.10.bb similarity index 100% rename from meta/recipes-devtools/go/go-cross-canadian_1.22.9.bb rename to meta/recipes-devtools/go/go-cross-canadian_1.22.10.bb diff --git a/meta/recipes-devtools/go/go-cross_1.22.9.bb b/meta/recipes-devtools/go/go-cross_1.22.10.bb similarity index 100% rename from meta/recipes-devtools/go/go-cross_1.22.9.bb rename to meta/recipes-devtools/go/go-cross_1.22.10.bb diff --git a/meta/recipes-devtools/go/go-crosssdk_1.22.9.bb b/meta/recipes-devtools/go/go-crosssdk_1.22.10.bb similarity index 100% rename from meta/recipes-devtools/go/go-crosssdk_1.22.9.bb rename to meta/recipes-devtools/go/go-crosssdk_1.22.10.bb diff --git a/meta/recipes-devtools/go/go-runtime_1.22.9.bb b/meta/recipes-devtools/go/go-runtime_1.22.10.bb similarity index 100% rename from meta/recipes-devtools/go/go-runtime_1.22.9.bb rename to meta/recipes-devtools/go/go-runtime_1.22.10.bb diff --git a/meta/recipes-devtools/go/go_1.22.9.bb b/meta/recipes-devtools/go/go_1.22.10.bb similarity index 100% rename from meta/recipes-devtools/go/go_1.22.9.bb rename to meta/recipes-devtools/go/go_1.22.10.bb From patchwork Wed Jan 29 18:04:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 56237 X-Patchwork-Delegate: steve@sakoman.com 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 03D12C02195 for ; Wed, 29 Jan 2025 18:05:18 +0000 (UTC) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mx.groups.io with SMTP id smtpd.web11.19279.1738173915437447160 for ; Wed, 29 Jan 2025 10:05:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=dolV5I1P; spf=softfail (domain: sakoman.com, ip: 209.85.214.172, mailfrom: steve@sakoman.com) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-21670dce0a7so11661945ad.1 for ; Wed, 29 Jan 2025 10:05:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1738173915; x=1738778715; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=RIUUXzA6Bs30r6F0wxrFz+H7jxSWchng2i8h7gBhsLk=; b=dolV5I1PZ04ybMOTWR8r77knLcqmfDA+g9rNUm6U4J2FspH7ZHKXhf4dZxrvF9zcpb KiNp8hfxqTv/51ZllJgTNC47Tu1mZG/zIpjVMxWppd2DUGYgBO+2uvxH6w1XWAsEgWnY 4VSbcvOJrSMLRxzFrrMdjGQ3OA8z/V7F61+gq/KeWVNLFv5t4oMFNHezXXMCHl2niwvy eNOCBCTKh9q+ZVvqDUT+rRToosEtY0QjycOgxyipIUxWEwGMq1Sat//v4k4XE/Uf6hR8 Dz37YqMwV9rJbf6pYeEDuU2KXAnBtxzBvLae5Q92VEJm1tnAUM36i77GZh3ANLF/+3ca yFoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738173915; x=1738778715; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RIUUXzA6Bs30r6F0wxrFz+H7jxSWchng2i8h7gBhsLk=; b=hNx5ByWw62HYxDQJSLEh42QsE25pIKwuDtWxypHfR/FZwMU1qcZzttC9UdcStQotRV uGW9aRVKrVmvK+3SXHRzxpAzzWjRnW/nKxygTcIZc6k4Mc+IWSmFn+x4S4SSUecfpA0G thDceXlS3kpCpDHiqC7ApgwFNEXIqeRrbQ8OVXzfDAuLJN/w3kJ5wWEg4jAf7u9izjEy j9SjagDHfD5M+Z1TPDabsKRsVm+AL57tZn2iatmAeqVS3TVhXYjmJDm6hb3V86O3qdDK Mh70uuNcnxAVQIaS9J0h6A/9EZ0iIBq9Yy2gTl0RdoF7t8IFMKny20cDGdExspSHQV1h f+uQ== X-Gm-Message-State: AOJu0YwB+PNNuaN47XEjttH+GmF+n7P/1V14hLh6KRgyJX0xKnpF5i5D 4jAHBIBtxL0tk+1h6q8rUJHRLZfs8c3C02UlSI/TikBEsXVPr0T2Yp0GvaO3Dx46668XhUPvKiB d9kQ= X-Gm-Gg: ASbGnct5r8HqeCavdCzWglujYKe4pGsaz0GJwl8YkYnSWeVKflQVtFZgEkVD9PrJmBS z1gXTnh2fgPfn/P3nFrTqUcr3pF0iUTugUk3LKjdd9hTE3ZUaJ/9+EPXcLqwO3mpIQm0/fCWV+O qMLwcK8ybb4c8FNv3u7xeJJ5o2/9uFMeECWl3BdGvLfqPVVKYlBDvnD9KHQ3OzWQwnrc+HllxN7 bxAlMG/wRZmDA802fQYl1GTrnSgCZVpnc/D32FuJWaYaRw1Js0rcuEjP2Pv1fSRIcgoTYKf8Aur ODTS X-Google-Smtp-Source: AGHT+IEdc2XRg3TX1a3brL4gfTCc42uMiy1Z+X6n0q81GFen8SIOTugqNW6+3SeB3iWFCzWdSehmxA== X-Received: by 2002:a05:6a00:278e:b0:71e:6b8:2f4a with SMTP id d2e1a72fcca58-72fd0c1487fmr5672597b3a.12.1738173914625; Wed, 29 Jan 2025 10:05:14 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72f8a69fb24sm11496435b3a.8.2025.01.29.10.05.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2025 10:05:14 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 3/8] go: upgrade 1.22.10 -> 1.22.11 Date: Wed, 29 Jan 2025 10:04:52 -0800 Message-ID: <622f866e00c0c3bdc80670df04378cb49381ea9c.1738173760.git.steve@sakoman.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: 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 ; Wed, 29 Jan 2025 18:05:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210397 From: Peter Marko Upgrade to latest 1.22.x release [1]: $ git --no-pager log --oneline go1.22.10..go1.22.11 f072884354 (tag: go1.22.11) [release-branch.go1.22] go1.22.11 b72d56f98d [release-branch.go1.22] net/http: persist header stripping across repeated redirects 19d2103415 [release-branch.go1.22] crypto/x509: properly check for IPv6 hosts in URIs ae9996f965 [release-branch.go1.22] runtime: hold traceAcquire across casgstatus in injectglist 223260bc63 [release-branch.go1.22] crypto/tls: fix Config.Time in tests using expired certificates Fixes CVE-2024-45336 and CVE-2024-45341 [1] https://github.com/golang/go/compare/go1.22.10...go1.22.11 (From OE-Core rev: 4589986602319f9ed61e381b333bb53b731eb8d8) Signed-off-by: Peter Marko Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- meta/recipes-devtools/go/{go-1.22.10.inc => go-1.22.11.inc} | 2 +- ...binary-native_1.22.10.bb => go-binary-native_1.22.11.bb} | 6 +++--- ...oss-canadian_1.22.10.bb => go-cross-canadian_1.22.11.bb} | 0 .../go/{go-cross_1.22.10.bb => go-cross_1.22.11.bb} | 0 .../go/{go-crosssdk_1.22.10.bb => go-crosssdk_1.22.11.bb} | 0 .../go/{go-runtime_1.22.10.bb => go-runtime_1.22.11.bb} | 0 meta/recipes-devtools/go/{go_1.22.10.bb => go_1.22.11.bb} | 0 7 files changed, 4 insertions(+), 4 deletions(-) rename meta/recipes-devtools/go/{go-1.22.10.inc => go-1.22.11.inc} (89%) rename meta/recipes-devtools/go/{go-binary-native_1.22.10.bb => go-binary-native_1.22.11.bb} (78%) rename meta/recipes-devtools/go/{go-cross-canadian_1.22.10.bb => go-cross-canadian_1.22.11.bb} (100%) rename meta/recipes-devtools/go/{go-cross_1.22.10.bb => go-cross_1.22.11.bb} (100%) rename meta/recipes-devtools/go/{go-crosssdk_1.22.10.bb => go-crosssdk_1.22.11.bb} (100%) rename meta/recipes-devtools/go/{go-runtime_1.22.10.bb => go-runtime_1.22.11.bb} (100%) rename meta/recipes-devtools/go/{go_1.22.10.bb => go_1.22.11.bb} (100%) diff --git a/meta/recipes-devtools/go/go-1.22.10.inc b/meta/recipes-devtools/go/go-1.22.11.inc similarity index 89% rename from meta/recipes-devtools/go/go-1.22.10.inc rename to meta/recipes-devtools/go/go-1.22.11.inc index 2abe7d0f3e..21222bea4e 100644 --- a/meta/recipes-devtools/go/go-1.22.10.inc +++ b/meta/recipes-devtools/go/go-1.22.11.inc @@ -15,4 +15,4 @@ SRC_URI += "\ file://0008-src-cmd-dist-buildgo.go-do-not-hardcode-host-compile.patch \ file://0009-go-Filter-build-paths-on-staticly-linked-arches.patch \ " -SRC_URI[main.sha256sum] = "1e94fd48be750d1fafb4d9b3b6dd31a6e9d2735d339bf2462bc97b64ca4c1037" +SRC_URI[main.sha256sum] = "a60c23dec95d10a2576265ce580f57869d5ac2471c4f4aca805addc9ea0fc9fe" diff --git a/meta/recipes-devtools/go/go-binary-native_1.22.10.bb b/meta/recipes-devtools/go/go-binary-native_1.22.11.bb similarity index 78% rename from meta/recipes-devtools/go/go-binary-native_1.22.10.bb rename to meta/recipes-devtools/go/go-binary-native_1.22.11.bb index 8c8fe5bff9..a526cc88bc 100644 --- a/meta/recipes-devtools/go/go-binary-native_1.22.10.bb +++ b/meta/recipes-devtools/go/go-binary-native_1.22.11.bb @@ -9,9 +9,9 @@ PROVIDES = "go-native" # Checksums available at https://go.dev/dl/ SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}" -SRC_URI[go_linux_amd64.sha256sum] = "736ce492a19d756a92719a6121226087ccd91b652ed5caec40ad6dbfb2252092" -SRC_URI[go_linux_arm64.sha256sum] = "5213c5e32fde3bd7da65516467b7ffbfe40d2bb5a5f58105e387eef450583eec" -SRC_URI[go_linux_ppc64le.sha256sum] = "db05b9838f69d741fb9a5301220b1a62014aee025b0baf341aba3d280087b981" +SRC_URI[go_linux_amd64.sha256sum] = "0fc88d966d33896384fbde56e9a8d80a305dc17a9f48f1832e061724b1719991" +SRC_URI[go_linux_arm64.sha256sum] = "9ebfcab26801fa4cf0627c6439db7a4da4d3c6766142a3dd83508240e4f21031" +SRC_URI[go_linux_ppc64le.sha256sum] = "963a0ec973640b23ee8bb7a462cc415276fd8436111a03df8c34eb3b1ae29f12" UPSTREAM_CHECK_URI = "https://golang.org/dl/" UPSTREAM_CHECK_REGEX = "go(?P\d+(\.\d+)+)\.linux" diff --git a/meta/recipes-devtools/go/go-cross-canadian_1.22.10.bb b/meta/recipes-devtools/go/go-cross-canadian_1.22.11.bb similarity index 100% rename from meta/recipes-devtools/go/go-cross-canadian_1.22.10.bb rename to meta/recipes-devtools/go/go-cross-canadian_1.22.11.bb diff --git a/meta/recipes-devtools/go/go-cross_1.22.10.bb b/meta/recipes-devtools/go/go-cross_1.22.11.bb similarity index 100% rename from meta/recipes-devtools/go/go-cross_1.22.10.bb rename to meta/recipes-devtools/go/go-cross_1.22.11.bb diff --git a/meta/recipes-devtools/go/go-crosssdk_1.22.10.bb b/meta/recipes-devtools/go/go-crosssdk_1.22.11.bb similarity index 100% rename from meta/recipes-devtools/go/go-crosssdk_1.22.10.bb rename to meta/recipes-devtools/go/go-crosssdk_1.22.11.bb diff --git a/meta/recipes-devtools/go/go-runtime_1.22.10.bb b/meta/recipes-devtools/go/go-runtime_1.22.11.bb similarity index 100% rename from meta/recipes-devtools/go/go-runtime_1.22.10.bb rename to meta/recipes-devtools/go/go-runtime_1.22.11.bb diff --git a/meta/recipes-devtools/go/go_1.22.10.bb b/meta/recipes-devtools/go/go_1.22.11.bb similarity index 100% rename from meta/recipes-devtools/go/go_1.22.10.bb rename to meta/recipes-devtools/go/go_1.22.11.bb From patchwork Wed Jan 29 18:04:53 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 56236 X-Patchwork-Delegate: steve@sakoman.com 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 E6DC9C02194 for ; Wed, 29 Jan 2025 18:05:17 +0000 (UTC) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.web11.19281.1738173916695661773 for ; Wed, 29 Jan 2025 10:05:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=HF/+fW0r; spf=softfail (domain: sakoman.com, ip: 209.85.214.176, mailfrom: steve@sakoman.com) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-2164b662090so142254095ad.1 for ; Wed, 29 Jan 2025 10:05:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1738173916; x=1738778716; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=w75ELIzPny+h6xAN1aQ5KROlnMLHHc8UycCY9UB3+pY=; b=HF/+fW0raw69Ujf94rKL0ZnTRxEMe19O+O39PZ5k0ZHwxzNnNrEQvsQ5f3/3Ehf1op 1CP3tskFpHnqoa+YM1TvQ5PmJRVPV3qmj0E7DVWt3/Fd/Q1S0xK25gQ5LUs7eAjUJIne 48pLZK0vNHIZN/tLDAadDKr0NlyCfRoG7stDrjQWuUJbwSRfGqzJGBfp0nA8BhHxLuh9 neqzswD5G6rQiRyuB7c9KUcJO9vYhkgAYyyAdEdQKHfeHJEy9+vYv3wED9I/bC7cZc9F 53U/6VrV1lQSemmzyHFB819EpUPN/ZLdHtWb/KCuETWihhjZpFOY6eF9f6gSUmIfMgjD PfLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738173916; x=1738778716; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=w75ELIzPny+h6xAN1aQ5KROlnMLHHc8UycCY9UB3+pY=; b=NWlXAsO0+ZVi+iWuJHkKcIEXcZbTWIuSj2w2RiVJdEPOEAh4kor//F/LxmMAqQ5oXU +gpikcMnLO7fC7jIR4LAbAIT9x0sVbowkeHK6/KugweD6IiJDksaGMyGnjAQlygTqiZa ulYn/UBQgeUAvnIvYYDX3WsZ7gP8nJQb7q0ZdwMYoswYF1X6yraXbi3nlj9kMuocg2Zl kBT3lRs80naIm90K8M+4hHIUpOV7zcxURKZ/GUUfz7Q32PXMoCscLWpRXX8nUaqXQ3sd j+kd8mvn5Ci8BTyoLCOJ/Mv6d5pMHIstSru7thuZFz+G4aEQT9tkle6ovFFfpwo8BXCX QS0Q== X-Gm-Message-State: AOJu0YwYYX+xPEXxjD1/iV/8/3/XvyQap/EawRvaVPCHn8TyHbEK03x0 9ZZfJ2cPsbEwTDUwSB2vVKyLv2SG12XYYpbF+Uj8pDWR9nEMwW1xgWzX6Rb1i9IOYj/OhfPHbXm 4/WI= X-Gm-Gg: ASbGnctWd8M0YGF6NkIY2+6YXmeMszg3Z0/VZmUEO5QCjT0Xe3anwJfV/BkQE2ssIvT bdMicj6vy2tTHJ1NzjNFsAOhTPj7R0awe5gPo05bgXSXAsDIhDN4x+k06b1M3CCsKK5XLixlYLP JBUVHBKlBi+Y4UqUiWxWxjaHq20VoQVG17M1NYpBUnLYWCFZ4jNynby6b0L3olJh5zJZOEMAN1y Q2y1Jz9mAfDI5WBjaORiRm8No+w3q7lDNkCDYSDKd5hRNDBt+b1IHuNZdmPn3oEllyciBYgL3d/ fA75 X-Google-Smtp-Source: AGHT+IFQeEkC/o9KBBwfLVxF90ooU8LPRJGPx+yt1TkwMxQnTXyTLinU6I/bPatjyzmO+tTsyT8qlA== X-Received: by 2002:a05:6a00:3a1d:b0:729:cc5:fa42 with SMTP id d2e1a72fcca58-72fd0c74f96mr6565829b3a.20.1738173915906; Wed, 29 Jan 2025 10:05:15 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72f8a69fb24sm11496435b3a.8.2025.01.29.10.05.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2025 10:05:15 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 4/8] devtool: modify support debug-builds Date: Wed, 29 Jan 2025 10:04:53 -0800 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: 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 ; Wed, 29 Jan 2025 18:05:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210398 From: Adrian Freihofer Add a new option --debug-builds to automatically add DEBUG_BUILD = “1” to the bbappend file of this recipe. This is especially useful when invoking devtool modify before invoking devtool ide-sdk to perform a remote debugging session. Signed-off-by: Adrian Freihofer Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- scripts/lib/devtool/standard.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index b2e1a6ca3a..286c121fdd 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py @@ -975,6 +975,8 @@ def modify(args, config, basepath, workspace): if branch == args.branch: continue f.write('# patches_%s: %s\n' % (branch, ','.join(branch_patches[branch]))) + if args.debug_build: + f.write('\nDEBUG_BUILD = "1"\n') update_unlockedsigs(basepath, workspace, args.fixed_setup, [pn]) @@ -2313,6 +2315,7 @@ def register_commands(subparsers, context): parser_modify.add_argument('--branch', '-b', default="devtool", help='Name for development branch to checkout (when not using -n/--no-extract) (default "%(default)s")') parser_modify.add_argument('--no-overrides', '-O', action="store_true", help='Do not create branches for other override configurations') parser_modify.add_argument('--keep-temp', help='Keep temporary directory (for debugging)', action="store_true") + parser_modify.add_argument('--debug-build', action="store_true", help='Add DEBUG_BUILD = "1" to the modified recipe') parser_modify.set_defaults(func=modify, fixed_setup=context.fixed_setup) parser_extract = subparsers.add_parser('extract', help='Extract the source for an existing recipe', From patchwork Wed Jan 29 18:04:54 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 56233 X-Patchwork-Delegate: steve@sakoman.com 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 E626AC02193 for ; Wed, 29 Jan 2025 18:05:17 +0000 (UTC) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mx.groups.io with SMTP id smtpd.web11.19282.1738173917734392979 for ; Wed, 29 Jan 2025 10:05:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=w+pChZo2; spf=softfail (domain: sakoman.com, ip: 209.85.214.170, mailfrom: steve@sakoman.com) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-2166651f752so16021005ad.3 for ; Wed, 29 Jan 2025 10:05:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1738173917; x=1738778717; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=suqRx0QmP0olUg42W/3rUoJz+0dDu63k1QA5/RiTXzs=; b=w+pChZo2j7OPgeH0L47I6CWLxLgtjiZfOzHG1fByARx8mQk8T2bzZmEURWw33ASiI0 CkJ8QjhMGP2ZTQl2tAPCsrwLhO58w4EyCJIetW6X/6mkCZYVt1aFPKSWmmBTu1RRCPHF LtZQEiJl6e+7HkncfwEDWF7ways31e0tzXnhZUoeL+Oer5l7g0157KeVDJylqD6Ecl++ XRcS7qpwCNZzpcOuJunaqqTOEQ5Ut4p59if/an1EZr3VKGm62HZpIGgz5YW7Mnr+Objp p/RXOVZsNbOTsyyt2TdqJbtX26+UiSb7OU0UbkpGedXPvI+k8PeXkuTvvr5EtF/1/ijG nNIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738173917; x=1738778717; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=suqRx0QmP0olUg42W/3rUoJz+0dDu63k1QA5/RiTXzs=; b=oKq8i0byj7D+qnoBE7SzmwAAmRV/dFIO5Tp8LrIASI7DOdp4iORAAEK1aKscQ65gL2 e7CiffeqrXCOsF1eV/RvdjF9I9oNMuVXq9Cd3i8G6ycScp70/I8mf9c34kYGGKArSRqw u+DLQCiPCdz3GwyBAdR4jFXSh87Dn2VRzpOy6t4EYtp6vmeufx0br3xEj/ewQynG58cm OzkjHyBUk+u7iHN3KLoTPBWCzeCjS8mXHSwP6X0gwPxJS5IfQ7J7Lr3xqyHKZQSoIHsS A28+D2ySDESAcQz2Ta5jkc8RZ/432YS7MT5lwAukXM9SFBfrzBv4YCE5DV/jnF4QxaF0 jEeg== X-Gm-Message-State: AOJu0Yy9I+PM64Upl/BRjZP+K9lcTCamtsCEcOMnNaQdkp6YA7M9m5Qf j6AuOR2TDOD9drpAnIxhjYHNjC+N5hl8NVbbofl6gZrEYK2q+IiWFAlcllzby/pkE9XKPjhNFp/ daYs= X-Gm-Gg: ASbGncsvoV7mHs3TvNQ+pfRpSiHkAbl+rktp4SXrhq93yEIwWPf7wGyeCbKbkafq4y2 meLKVjGOvuYrizzX3/aksy+6UqA94yZsHBpL678vuFHJQ+UQdniWZW85PTxGE/re9B774o1logq 2bPyuFfj5IX6hCxBTyCx3W54aPvk7ZFMG8uBKpEhU59j4r8A5JCRzRbgAk4mKaply4c6NEm4zb6 NVjOVwGBal0gfjxED/Br33fcvos87umqWns5aXZVfiubfipdI8gcfYsFVgvFWtcXJ0kW57LaNqF hAY4 X-Google-Smtp-Source: AGHT+IGb4itOEUMwulWXPhZp+XHDnfifrvTgt21YFeOtd5Etwwl7UaXiuHQJQYZkCHcrT0Qyob7AWQ== X-Received: by 2002:a05:6a00:2302:b0:72a:bc6a:3a85 with SMTP id d2e1a72fcca58-72fd0c72bbbmr5829605b3a.22.1738173917049; Wed, 29 Jan 2025 10:05:17 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72f8a69fb24sm11496435b3a.8.2025.01.29.10.05.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2025 10:05:16 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 5/8] devtool: ide-sdk sort cmake preset Date: Wed, 29 Jan 2025 10:04:54 -0800 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: 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 ; Wed, 29 Jan 2025 18:05:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210399 From: Adrian Freihofer Sort the keys of the generated CMakeUserPreset.json file to make it easier to search and compare. Signed-off-by: Adrian Freihofer Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- scripts/lib/devtool/ide_sdk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/devtool/ide_sdk.py b/scripts/lib/devtool/ide_sdk.py index 65873b088d..eee5425aa7 100755 --- a/scripts/lib/devtool/ide_sdk.py +++ b/scripts/lib/devtool/ide_sdk.py @@ -493,7 +493,7 @@ class RecipeModified: vars = (key for key in d.keys() if not key.startswith( "__") and not d.getVarFlag(key, "func", False)) - for var in vars: + for var in sorted(vars): func = d.getVarFlag(var, "func", False) if d.getVarFlag(var, 'python', False) and func: continue @@ -545,7 +545,7 @@ class RecipeModified: cache_vars = {} oecmake_args = d.getVar('OECMAKE_ARGS').split() extra_oecmake = d.getVar('EXTRA_OECMAKE').split() - for param in oecmake_args + extra_oecmake: + for param in sorted(oecmake_args + extra_oecmake): d_pref = "-D" if param.startswith(d_pref): param = param[len(d_pref):] From patchwork Wed Jan 29 18:04:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 56240 X-Patchwork-Delegate: steve@sakoman.com 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 0118BC0218F for ; Wed, 29 Jan 2025 18:05:28 +0000 (UTC) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.web11.19284.1738173919116173342 for ; Wed, 29 Jan 2025 10:05:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=bcs2x00R; spf=softfail (domain: sakoman.com, ip: 209.85.214.181, mailfrom: steve@sakoman.com) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-216401de828so134867415ad.3 for ; Wed, 29 Jan 2025 10:05:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1738173918; x=1738778718; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=X+F6BB0qRD0vhqAy8HOXNuvdBIlExc3dRkXfBllP5LE=; b=bcs2x00Ri7g3X8FlzhfUSBCPni4xROnBQLWJJ8mSfAZjHUT++8i9MYXw0TgcVTRFOq o+RTUn7FVbMeTyKX35RUVaphlzC9fz3aamqEK5n/bUxfW0K29tkpeM/DctrozNgyIXVx yR3BMz4Mhjy506bnDinaA4OznYZIW8WiWC6Gd+hnGlSUqi/xRVVAh1dpbltqx5D1+ygR LthpK0QOc64OckyBw67gcJW8Y8QXmc/gIHKl7FHCnzX5kKPbkeUtwZrAOpTpdUVah1IB Wy4imrTVPRBiaMqyERatCLe3Wo9/SzhkfVVqOg60YKqPlbwnAorIIfybaixHAJlm76X9 N+1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738173918; x=1738778718; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=X+F6BB0qRD0vhqAy8HOXNuvdBIlExc3dRkXfBllP5LE=; b=KQqv+ITQhnhueOLewBLcFpPBPkAXtIQM68SJk+Wj+tbwHInTvu3heHvPrgxsIxGP+J aZ1ZT5UNO8nGF51IrrPiI7Z2t5OXHT9YmMEev6XfWstIG1FGYQS0Izf0LUfMRr11NTMD s9PM9SJ78AufDQvhT0v9LvnIbMsKa4W3vSxqxzoyhfIzjISdJwMFbZH3jeJcjzj49QE6 rkLWBww47YEkd5D2VpafOSbDwkYdm6awEovPQB/7kSicEEWPAedfH+X0lUvukGR8+VAL A/rBYB9eBwFLinZq5iTt+gphIy/iBymWE7uwCIpKsNz1kOfNYQGv4BBAtaUDev0tL8PP xtnw== X-Gm-Message-State: AOJu0Yxtsp5NSDvwtK93iQ1xZB9TblPPopc4et9C1my4gK6B/i9+a1L3 8OPVaW7yEujQ4uGsvVFUMneTtZcLZlEedBft1ZH6yJXR2PIiLVTzbehcZ5dlf/lusWxaoOuKMGd gVnw= X-Gm-Gg: ASbGncvtCdulMC5oXtK6yyQ4dREckYCFZ9hZX6WnEZz2F9OILRCSZvIVgN2JW38vLlI EMba+tYoSUVnSCzPSEhzaZJblidNf703VRwZqUnuK85mSk9WBF/EyhDuCOYzQd7ILsxJbAcoX6Z yEWH9uZoRcTRLza60uomtEAfjVrlTDTDRU8Ryjnxv4BVeDOgkioXAP2vvnuKGuvYfz0AlEaDOIY KxEw5W04mWVqHHY4t7TxvTfb7RiKV+Y5a3NYoKqlMM8E/P+fShI7PdKEkxYRjix/maiqVJYb1LE jcBl X-Google-Smtp-Source: AGHT+IEOYBdH46KuUxzVNeXAADkmGahGrk3YiPOVnRyIL/8OPKEyOXGtBySLq48xX/qwbSfOxGmA5w== X-Received: by 2002:a05:6a20:9f45:b0:1ea:ddd1:2fcf with SMTP id adf61e73a8af0-1ed7a462e94mr6976862637.4.1738173918342; Wed, 29 Jan 2025 10:05:18 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72f8a69fb24sm11496435b3a.8.2025.01.29.10.05.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2025 10:05:18 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 6/8] devtool: ide-sdk recommend DEBUG_BUILD Date: Wed, 29 Jan 2025 10:04:55 -0800 Message-ID: <8753ddc7a42a09eec9b12af97b2b511b2970d83c.1738173760.git.steve@sakoman.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: 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 ; Wed, 29 Jan 2025 18:05:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210400 From: Adrian Freihofer The debug_build_config function was never called. Compiling with debug optimized compiler flags was not working. Even with the --debug-build-config flag set, the build configuration from the recipe was used. The devtool ide-sdk --debug-build-config approach didn't work very well anyway. The problem is that changing the bbappend file doesn't work while bitbake uses the bbappend file. As a workaround, it would be possible to parse the recipe, get DEBUG_BUILD and the path to the append file, exit tinfoil, change the bbappend file, reopen tinfoil and do what ide-sdk is supposed to do. Such an implementation would be complicated and slow. Therefore, the code that was originally supposed to implement this is removed from ide-sdk and the new --debug-build function of devtool modify is used instead. Additionally, a hint should be given on how to manually add DEBUG_BUILD = '1' to bbappend. This is compatible with the VSCode Bitbake plug-in, which does not support this parameter anyway. Signed-off-by: Adrian Freihofer Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- scripts/lib/devtool/ide_sdk.py | 50 ++++++---------------------------- 1 file changed, 9 insertions(+), 41 deletions(-) diff --git a/scripts/lib/devtool/ide_sdk.py b/scripts/lib/devtool/ide_sdk.py index eee5425aa7..5e4c543275 100755 --- a/scripts/lib/devtool/ide_sdk.py +++ b/scripts/lib/devtool/ide_sdk.py @@ -288,6 +288,7 @@ class RecipeModified: self.bblayers = None self.bpn = None self.d = None + self.debug_build = None self.fakerootcmd = None self.fakerootenv = None self.libdir = None @@ -348,6 +349,7 @@ class RecipeModified: self.bpn = recipe_d.getVar('BPN') self.cxx = recipe_d.getVar('CXX') self.d = recipe_d.getVar('D') + self.debug_build = recipe_d.getVar('DEBUG_BUILD') self.fakerootcmd = recipe_d.getVar('FAKEROOTCMD') self.fakerootenv = recipe_d.getVar('FAKEROOTENV') self.libdir = recipe_d.getVar('libdir') @@ -389,17 +391,6 @@ class RecipeModified: self.recipe_id = self.bpn + "-" + self.package_arch self.recipe_id_pretty = self.bpn + ": " + self.package_arch - def append_to_bbappend(self, append_text): - with open(self.bbappend, 'a') as bbap: - bbap.write(append_text) - - def remove_from_bbappend(self, append_text): - with open(self.bbappend, 'r') as bbap: - text = bbap.read() - new_text = text.replace(append_text, '') - with open(self.bbappend, 'w') as bbap: - bbap.write(new_text) - @staticmethod def is_valid_shell_variable(var): """Skip strange shell variables like systemd @@ -412,34 +403,6 @@ class RecipeModified: return True return False - def debug_build_config(self, args): - """Explicitely set for example CMAKE_BUILD_TYPE to Debug if not defined otherwise""" - if self.build_tool is BuildTool.CMAKE: - append_text = os.linesep + \ - 'OECMAKE_ARGS:append = " -DCMAKE_BUILD_TYPE:STRING=Debug"' + os.linesep - if args.debug_build_config and not 'CMAKE_BUILD_TYPE' in self.cmake_cache_vars: - self.cmake_cache_vars['CMAKE_BUILD_TYPE'] = { - "type": "STRING", - "value": "Debug", - } - self.append_to_bbappend(append_text) - elif 'CMAKE_BUILD_TYPE' in self.cmake_cache_vars: - del self.cmake_cache_vars['CMAKE_BUILD_TYPE'] - self.remove_from_bbappend(append_text) - elif self.build_tool is BuildTool.MESON: - append_text = os.linesep + 'MESON_BUILDTYPE = "debug"' + os.linesep - if args.debug_build_config and self.meson_buildtype != "debug": - self.mesonopts.replace( - '--buildtype ' + self.meson_buildtype, '--buildtype debug') - self.append_to_bbappend(append_text) - elif self.meson_buildtype == "debug": - self.mesonopts.replace( - '--buildtype debug', '--buildtype plain') - self.remove_from_bbappend(append_text) - elif args.debug_build_config: - logger.warn( - "--debug-build-config is not implemented for this build tool yet.") - def solib_search_path(self, image): """Search for debug symbols in the rootfs and rootfs-dbg @@ -988,6 +951,13 @@ def ide_setup(args, config, basepath, workspace): recipe_modified.gen_meson_wrapper() ide.setup_modified_recipe( args, recipe_image, recipe_modified) + + if recipe_modified.debug_build != '1': + logger.warn( + 'Recipe %s is compiled with release build configuration. ' + 'You might want to add DEBUG_BUILD = "1" to %s. ' + 'Note that devtool modify --debug-build can do this automatically.', + recipe_modified.name, recipe_modified.bbappend) else: raise DevtoolError("Must not end up here.") @@ -1065,6 +1035,4 @@ def register_commands(subparsers, context): '-p', '--no-preserve', help='Do not preserve existing files', action='store_true') parser_ide_sdk.add_argument( '--no-check-space', help='Do not check for available space before deploying', action='store_true') - parser_ide_sdk.add_argument( - '--debug-build-config', help='Use debug build flags, for example set CMAKE_BUILD_TYPE=Debug', action='store_true') parser_ide_sdk.set_defaults(func=ide_setup) From patchwork Wed Jan 29 18:04:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 56238 X-Patchwork-Delegate: steve@sakoman.com 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 06175C3DA4A for ; Wed, 29 Jan 2025 18:05:28 +0000 (UTC) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mx.groups.io with SMTP id smtpd.web11.19286.1738173921982579192 for ; Wed, 29 Jan 2025 10:05:22 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=xtwI6gqg; spf=softfail (domain: sakoman.com, ip: 209.85.214.171, mailfrom: steve@sakoman.com) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-2164b1f05caso126966285ad.3 for ; Wed, 29 Jan 2025 10:05:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1738173921; x=1738778721; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=DdQfDkkAg3oBK6N7aOlRAd6ou62y/IN9uco9E+Dpgfs=; b=xtwI6gqgjHEV8SonIOfFRbt7n6i5aetDe3/dGkCy5dWoQHnsW+YyADjADNjnnVIUNE ESOlHn0XYx5QyIkHwetqQ4yt3EzUt5qwVDZEPsGgGghbqhBx1AxYKLAJ97uYu685T1Kr Z3oXpZ1lN4/VPTIwVTM7A2ezTvpoNhBmBl36RBZNlY6SJemk0DQ8dhytsakTYk+Qmoyg BM6XGXNocLqYTZw2CWFfVGKVQA7JNn0A7zkG0eMwXUOB3Tb1tWuWJQW1Qv9nRc/8vThy rB0Q6Va3fSBNZteSPSE9tVxitdX3iDTfZvkSkrCIircUYWzYCuk9/0N4a1r0u7mCAYGh Su2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738173921; x=1738778721; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DdQfDkkAg3oBK6N7aOlRAd6ou62y/IN9uco9E+Dpgfs=; b=oBxcn9T3sHalqoSgjsKhdG5U5vCoyTS8pUm0/wUT6M7oJePRl8AtS7JMJIzab0L6J8 h4rAy5rYGIO9aIDTTBKHaEShniUcTRjTr2Rhg5el2iCqNdGkyXfF2mByDtBBTQAW+58N M4qJi2kbmTUgHSb0EBt5IDXApPZj9veAph/OKbWtVa7vhJwcgdPvRCAYbxDYmdRTaXUP UTGRvSfI2mxSmGgkluJ6Axt5C7I8KsH2lLooBZDK6w2klf8KE4hHD8Lidp1ZK+CD98rS r0rvTICqInc8JlD8sMzeDd7H47Y10b3Vpp3AsgriBp/cj6T7lZrt5nxwouO1oop31q9W f/YA== X-Gm-Message-State: AOJu0YwEt30GHgXgENxCFv3baqh2Ww64yO4fup904xytPiPxDyFDRGSO q/q0Tx92FKPTe4EE1BqUcnX3yjUA9VNTGVXTsRrKLwpGfR+FbeoO18PChhaSnUAB1JdRbsG8sBp c5oo= X-Gm-Gg: ASbGncuZGH+ra1A2f7IUhp0IlO8v6HWTv1WXkGFPmT4a2vXA1m6Vql5Xd+HExSnWTjl edbjtoVheN0yzOtzHlxFIq8ZPM4egQ08JpA6FjTqLjNXmku/djdru0CAyUHSHGpEyCbMrlkvDWn qHPcKApM+1RQihAEGrCkS3u+WBea2J7f5fX+9RXJz0vxPgCq8yDY0m4bZ/zDyOoGGUTJhCucBgZ w8r0FuyRd4Y4X0mjLQuutgsyBPe0QQjMwkjzYgWj3thsKkE1W8ojSq8GVDDE68mzz+AB+dmK4rM kcSb X-Google-Smtp-Source: AGHT+IGCMNZGXYVbgUJ0B6TDJHdmJBsvVXVs+RoF6UEjgHZ6JLOcO4cq3Rq1L6ykWlg9KNkJQMwrCQ== X-Received: by 2002:a05:6a21:3416:b0:1e1:afa9:d39b with SMTP id adf61e73a8af0-1ed7a5a5102mr7510469637.7.1738173919730; Wed, 29 Jan 2025 10:05:19 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72f8a69fb24sm11496435b3a.8.2025.01.29.10.05.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2025 10:05:19 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 7/8] oe-selftest: devtool ide-sdk use modify debug-build Date: Wed, 29 Jan 2025 10:04:56 -0800 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: 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 ; Wed, 29 Jan 2025 18:05:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210402 From: Adrian Freihofer Signed-off-by: Adrian Freihofer Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index 8e709944a8..a89f9edda3 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py @@ -2533,7 +2533,7 @@ class DevtoolIdeSdkTests(DevtoolBase): self.track_for_cleanup(tempdir) self.add_command_to_tearDown('bitbake -c clean %s' % recipe_name) - result = runCmd('devtool modify %s -x %s' % (recipe_name, tempdir)) + result = runCmd('devtool modify %s -x %s --debug-build' % (recipe_name, tempdir)) self.assertExists(os.path.join(tempdir, build_file), 'Extracted source could not be found') self.assertExists(os.path.join(self.workspacedir, 'conf', From patchwork Wed Jan 29 18:04:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 56239 X-Patchwork-Delegate: steve@sakoman.com 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 00E9BC0218D for ; Wed, 29 Jan 2025 18:05:28 +0000 (UTC) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.web10.19363.1738173921791172402 for ; Wed, 29 Jan 2025 10:05:21 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=sY7+IQnx; spf=softfail (domain: sakoman.com, ip: 209.85.214.176, mailfrom: steve@sakoman.com) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-2165cb60719so129762575ad.0 for ; Wed, 29 Jan 2025 10:05:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1738173921; x=1738778721; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=kOxlbr27ZnvjGHtjWc9CIPmUuLsQtpl/yuZMOHIwal0=; b=sY7+IQnxSx7pnZ9ZYIk1aMyJzbJe2IcwM5/c+XG1M76ObrqIVbSjrYymyrPGQSl+jW uORlbYNuY5Rmu0jPz28FuaQ/bBIZFlzxPbenrgppvb3Z4vx+53aJNdac+eS6nd+V9A4u o9UuFDMc9yZx+V3FP9DXyIRSBGNEl92U9M1xz5gC0FUXdzWlqqj2Iyana8+J+TKcGxRD fxkZ765ZOJ6e4r//SUrYYKY0X3cpUjsJRkAiT0UOvrtZH1j/uJ6DV5QIZCS4e4Lqxaa7 hOqOLcCPOvQbl0xCe3t29PFMvNJrOjrW9m5f+D84tFAiz0ttZDsUEfQwSZjf8XUCAGYu qV3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738173921; x=1738778721; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kOxlbr27ZnvjGHtjWc9CIPmUuLsQtpl/yuZMOHIwal0=; b=kYkre8UY/dwpry8I+7VTOw6AA0tUqeIeoFv73PwLpvOWi22R6g1k3zVPb/41QpIz0p /CO+jbHzL0ZqqxjxquAyk8zr41d3Vj12/+M8AA/e271CyfStbZyFw7CKJO6NiAQono4M YFdZlKpWZAQw0Wr7UiYE/e9MMA9YUYGjL4iEUBBdCatojNDFf3oAeBsdvApaxIBq15Mr R1VV5R8JvROcynybuWEa6xp0LwdPsvd3qTfL/ZGxJpGqq72qtzPyzchZewyhipenD4wt y+0unfGCbTXvHPjfr076fBWWgCjhwrbr1YrTYbQeYEadgs1PW7uAlsjRatr9xtu9IttU KqPg== X-Gm-Message-State: AOJu0Yyw4HBgrvJWFABHzEJUKhMxUFUJVf1rQhuQEZyYVztknwyx20kj gd0hfHydKnN3K5jI3+bVGNlbGHGlxjDL5eSse0iKhrkwIzdqJWcz4aErArW4+OV/XWlZepYVCAy XRb4= X-Gm-Gg: ASbGncujoQQNPd+Oh7tDKx6pyy/TVFlHl5HlBm3mHshkjw/6ArAf+EQIosEnDVEKbnM dWcvgK5ClyC5sHBH6Vc18OAl5ScLKLc+b/pD1s+mNNeseEnrOuVOF/pvTDCI2g0FsmbRug/qNH2 xzaKIKccAewwh1Jqaj4bAJx/NSOS1SoZjNJyN+Ad+kp316QYLkxJacWhec8DWa107g3phcrkhIO EapLC1Q0ux0q2xDKrcmlOi2969Y8XMtFR0QC1risHXm4gGvdNYs3e9cqqWs/YNc5oqMrbZiLGtZ Hxht X-Google-Smtp-Source: AGHT+IHlo28n8vBMY0BXMcPFijFqN8joP24o5jgNaa8ouYcH72+1cpfc0yBoRqaxTg+oMt6R6otaMg== X-Received: by 2002:a05:6a00:3927:b0:729:c7b:9385 with SMTP id d2e1a72fcca58-72fd0be5439mr5985477b3a.6.1738173920938; Wed, 29 Jan 2025 10:05:20 -0800 (PST) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72f8a69fb24sm11496435b3a.8.2025.01.29.10.05.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2025 10:05:20 -0800 (PST) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][styhead 8/8] devtool: ide-sdk remove the plugin from eSDK installer Date: Wed, 29 Jan 2025 10:04:57 -0800 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: 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 ; Wed, 29 Jan 2025 18:05:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/210401 From: Adrian Freihofer The ide-sdk command bootstraps the SDK from the bitbake environment before the IDE configuration is generated. In the case of the eSDK installer, the bootstrapping is performed during the installation of the eSDK installer. Running the ide-sdk plugin from an eSDK installer based setup would require skipping the bootstrapping and probably taking some other differences into account when generating the IDE configurations. This would be possible. But it will probably never be implemented, as running devtool ide-sdk directly from the bitbake environment is much more flexible. Also, some of the recent improvements that have made it into the core have the potential to make the eSDK installer obsolete at some point in the future: - bitbake-layers create-layers-setup replicates the layers - bitbake-config-build replicates the build configuration - The new sstate mirror features replicate the sstate - bblock locks the sstate more flexible than the eSDK installer - devtool ide-sdk bootstraps the SDK directly from the bitbake environment. The same environment-setup... file is provided with --mode=shared. The devtool modify based workflow is supported since always by devtool and also the default --mode of devtool ide-sdk. These functions essentially cover what the eSDK installer does without a need for the current implementation of the eSDK installer and the populate_sdk_ext, which is hard to maintain and takes a lot of time to build. This means that instead of making the ide-sdk plugin compatible with the eSDK installer, we should rather replace the current implementation of the eSDK installer and populate_sdk_ext with an implementation that can replicate a normal bitbake environment in a convenient way where the ide-sdk plugin also just works without additional complexity. Signed-off-by: Adrian Freihofer Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie Signed-off-by: Steve Sakoman --- scripts/lib/devtool/ide_sdk.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/lib/devtool/ide_sdk.py b/scripts/lib/devtool/ide_sdk.py index 5e4c543275..0b50165a12 100755 --- a/scripts/lib/devtool/ide_sdk.py +++ b/scripts/lib/devtool/ide_sdk.py @@ -965,6 +965,15 @@ def ide_setup(args, config, basepath, workspace): def register_commands(subparsers, context): """Register devtool subcommands from this plugin""" + # The ide-sdk command bootstraps the SDK from the bitbake environment before the IDE + # configuration is generated. In the case of the eSDK, the bootstrapping is performed + # during the installation of the eSDK installer. Running the ide-sdk plugin from an + # eSDK installer-based setup would require skipping the bootstrapping and probably + # taking some other differences into account when generating the IDE configurations. + # This would be possible. But it is not implemented. + if context.fixed_setup: + return + global ide_plugins # Search for IDE plugins in all sub-folders named ide_plugins where devtool seraches for plugins.