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 73E03EF06FC for ; Mon, 9 Feb 2026 01:23:33 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.38288.1770600210716173472 for ; Sun, 08 Feb 2026 17:23:31 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@windriver.com header.s=PPS06212021 header.b=lBWdETh9; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.178.238, mailfrom: prvs=650090017b=changqing.li@windriver.com) Received: from pps.filterd (m0250811.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6191KFU72743986; Mon, 9 Feb 2026 01:23:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=PPS06212021; bh=1gOhTy5M30s/vPicJeRbyP qLKPhm29cVlc1VBVQw7Oc=; b=lBWdETh9sUmzDJvzLNxwdUzv5iPEDuQ0IcnSdH lKIgpp7OHwQXltb867ibglI4dAsMlO7ZdsSqt2OosCw9cLU97k1b+o5TDe8mjfzB d28yp3AaQM3ZwH4SVXR3Q+bBtfyhU6O9vvx3yd9jtZ5Y/OGxxflp/vMGjpQUh3GD tGLSVIN48R3Q4Xj4EAnwXBN5bT0cUjNVa6S/kw4wQN3jwEeUWgIDiKQFlkTtB4mZ E9ddXp1m0OjDKWaTRC9jXwCtp1d8u5GqoTrSX5X/iHzxZ5eJtWGQp43AflcYPLay kpYRB98uk689Pf4E7zUpmMMwLFWNFupdSugMqZvq+7i/yCjQ== Received: from byapr05cu005.outbound.protection.outlook.com (mail-westusazon11010022.outbound.protection.outlook.com [52.101.85.22]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 4c5tkwhdyq-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 09 Feb 2026 01:23:28 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yBav+XbDBxIZJqS42oOWX5PTQyRI0PpnVsEykdF40yswHxC3xxooXy0XDR0H0+j5aI6f309r74mm/SBz0kHdcOfRp4OtJ9uzyV6vtSxsnG4/ZVhSuo4bjNpjZZGHRWAhbKckQpUAsh1ogpwfMMZwfpoPgBOh6qMWpqXbGwRIS+DNjV4SfDZIgQXhtzm9mkkUYoqtD/Uroud6AKFy57edBJyVB6//0kZhxkP4m8flAoyma85+NEAOGchA4w05wE6M4CKOvFEHZmP0Cn2fmMtAwSNH/4EMBspbHroFmQDrECob0WWP2QyZNsGd1sHiYLzr71Mi/yGElpQt+faIpS2V0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1gOhTy5M30s/vPicJeRbyPqLKPhm29cVlc1VBVQw7Oc=; b=LG1RT4zrFgjWA2O4CQzrZ08md95rtTHoIs5BPz+YltPRDY59TngnozZnMZW0lRUSZOuZXRaCjiiQm4aAduWEmanUtClxyzy8+7O3WsTC+Id4ZAMCLPsW0fY7CQq4XRomz53yRsjdOUCZHbNfNgSgGbheGB0SSBGOWNMPeDawkjHkeHvn15GXv0M6ukCIraAAJoXAJiUUQXc+ANJv0gOXbj9A/zyesf3140hNR0p3pXEukLmLJ6EQdEi3+gt/XQUs9EIZlqreSbn3vPruNrXozo70N2A+57SLXzuZ3jO70pphQKUpF5bfn3yU0jwvzVN2P7OS1LH+yUzb4WgOROVOPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from DS0PR11MB7312.namprd11.prod.outlook.com (2603:10b6:8:11f::18) by IA4PR11MB8943.namprd11.prod.outlook.com (2603:10b6:208:569::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9587.12; Mon, 9 Feb 2026 01:23:24 +0000 Received: from DS0PR11MB7312.namprd11.prod.outlook.com ([fe80::531e:6ef5:812b:48f6]) by DS0PR11MB7312.namprd11.prod.outlook.com ([fe80::531e:6ef5:812b:48f6%5]) with mapi id 15.20.9587.017; Mon, 9 Feb 2026 01:23:24 +0000 Content-Type: multipart/alternative; boundary="------------U6SP0ERvIYayrsHBQt7LKUL6" Message-ID: <575554b9-6a01-437f-9a46-7138563378c6@windriver.com> Date: Mon, 9 Feb 2026 09:23:17 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [meta-virtualization][PATCH 1/2] improve reproducibility To: Bruce Ashfield Cc: meta-virtualization@lists.yoctoproject.org References: <20260206091701.3904742-1-changqing.li@windriver.com> <1891A9344E389A40.377171@lists.yoctoproject.org> Content-Language: en-US From: Changqing Li In-Reply-To: X-ClientProxiedBy: SG2PR01CA0180.apcprd01.prod.exchangelabs.com (2603:1096:4:28::36) To DS0PR11MB7312.namprd11.prod.outlook.com (2603:10b6:8:11f::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7312:EE_|IA4PR11MB8943:EE_ X-MS-Office365-Filtering-Correlation-Id: e7fd6f1a-758b-469d-fa93-08de6779d167 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|4022899009|376014|366016|1800799024|8096899003|13003099007; X-Microsoft-Antispam-Message-Info: =?utf-8?B?b0hITXFKSjYyKzNFSG4weGJEUVpLRmx5N3RYNWdFL09vbWx2bG91MnlWY1VF?= =?utf-8?B?cEhCOGpIMFI2MlNWTHFkZk9sSmlGKzVRTzlzSnE3Y1dhWkRtZHQxQ0ZkZmR5?= =?utf-8?B?VXdSYnArYVFuanJzYVlJRitDNDB5bVVBclVQamNiTnV3dmtWK2JJd2tYUWtU?= =?utf-8?B?SGR3Wmp6S3YxUUZIK1ZxKy9WSlpudmZTdU9UcUNxUGpHUEpia0wyQUNEMjVh?= =?utf-8?B?Z2pJajBuYzg3RXpFZnBtMUJxYXZRTkhXOFRSR2FUbHcwaVdlQi9KTldGQU1C?= =?utf-8?B?NnlaZERNeGNyUmNZNnBPRlFpTGdBREJNck53czhmcEV2TTcwRng5aDErcTEx?= =?utf-8?B?eHlyeHNkdDhFSzg2Zmc3WlhXY0pRR0VDSVFLcTBOOU53UWJjaXJReTYxUmRE?= =?utf-8?B?VGV2NU16U0VrK0JkS0VLNWVZQ040ZzlMY2NKYjZOOFJrMTN2Qk1wRGxFdW93?= =?utf-8?B?K1orT3NURjV4RCsxSVpJdmhuS1REQ0lzUUd1cy8zNk1wSllCMUJjREp3NDVF?= =?utf-8?B?bWFlbFBqUVIzNkNUTno4NFowd0wzenZ4YkNMbloxUzR2dHRraUIzMVR3Zi9h?= =?utf-8?B?UUt1VEJMTEVXanN5OHZUS3c4eGh0aENNUzN0Uzh0R1hkaFRqd0pxcGNibUUz?= =?utf-8?B?UlJJMHpGZVlUL21GbzRIRHBqQzZEOXFBVlVPSmF6ak1lYVoyckNSSStiYVNM?= =?utf-8?B?VmlqUVUyVUFrazlPYzJ1OXhrelVSVE5nZjVqM0hnU1RJVGdsYzV3OEdZYnk4?= =?utf-8?B?SUZ0S3dyQitMN3ZKSzZ3M1pkb0VCdktNcm5HemtHZm1aU3d5SnMzUkhqTEZC?= =?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lZbmF2dDU0?= =?utf-8?B?WDRoL2lQdWs2OFg3dEd0azhkT2JNNklVUVlETnBYaSsvMkNEVmI4b2tWbFpw?= =?utf-8?B?ajZXWFZDdHZJMndOejJPT1dsc2xTUVpNVytsdi93UEtDeU9YSUJjZVRWS2hJ?= =?utf-8?B?SHU3Q0dYelRobVViTHVtNS9vOENkOG0zaDIvQ2xhZTlnNlZONVJvY0NyNHVn?= =?utf-8?B?ZkdZaE9EcmpsMVFZdTN0QlhIbGhXSkRWR1E1RHVSOGJNNEZ3TWthV2JITTAr?= =?utf-8?Q?0o4kf5YxjCGiSAVE6YcJjkR+hLlUio=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR11MB7312.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(4022899009)(376014)(366016)(1800799024)(8096899003)(13003099007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?b1QzTEFoUTladWJGend5NVRvbFZuek52ZXdNd2k1WVhsdFc1eU9YNC9jalZL?= =?utf-8?B?L3hRZTcvVktBWTR5NTI2cGtzZjJQZ1ZsaVdzOEJ2L1FMblVJWmh2SXRaL1Bu?= =?utf-8?B?c1ByU2kzZnVDV2ZTdlgxcWtOcE9uMDUrZ3ZjOVhsNjRjL3VwSTdZdWJtdDdB?= =?utf-8?B?MTRTeUJyNmZKaFdCaFEreWwxVC9YSUJqSG9RbVEvbFo0bGtPTVBIYkM0Znl5?= =?utf-8?B?QjhHVXI5YnUyVzJEV0UrKzFSODVOKzBpaUdPak0vbkdZWHpEUVh6YjZsWURH?= =?utf-8?B?VG8zaXRLVjNwTGlPVnJwSklSTmxoQzkvWUNiTXVWeVpWOVYwS05HcVRrVWFC?= =?utf-8?B?anRGQjdRa3VzelVvQ09xc0RIRW1vZWxNSEFRNGN2eUhzRStuM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EV4UU9BMkJNbEg5K04wMEQrTlVFN1lyK2F4?= =?utf-8?B?YVRwTGJBMkUrNkZjVmdKWmpRZnNIbGV6dzZEOXRWQjJMbkxPWHRWNk1lUFlX?= =?utf-8?B?Ull4dWNCQzllN3pDa3c4bCtnOW50UzFwTmk2d2l5cjFRbTJMWDJkWjN3VGFp?= =?utf-8?Q?22DdIgJNVVVGr09Y=3D?= X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: e7fd6f1a-758b-469d-fa93-08de6779d167 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7312.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2026 01:23:24.5554 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: wOaDIos+tcXL0mWqvZqMShsTfvldHYUYHfX2g6zrUi1uYn/c8ukThkQ7R8L+nBwTG2cHHyGK4rGZ2uVY0U4wsKZB8X3vdQvmkC1ysHCDLts= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA4PR11MB8943 X-Authority-Analysis: v=2.4 cv=bvBBxUai c=1 sm=1 tr=0 ts=69893710 cx=c_pps a=0Qqeoa/8LQ4SOC89qm8Uhg==:117 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=HzLeVaNsDn8A:10 a=VkNPw1HP01LnGYTKEx00:22 a=Mpw57Om8IfrbqaoTuvik:22 a=GgsMoib0sEa3-_RKJdDe:22 a=iGHA9ds3AAAA:8 a=ySjF6f4xAAAA:8 a=Q4-j1AaZAAAA:8 a=RFjtG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Cq3BjlUIdSnnVzjUAKDBg+6RekSmiSn TPJ2+Zej3i3hSkB/hjVBzLvYVLIopvWgkRQRW6eaEJubtnyr/TuyB+7d8SixsBS9qiGakBq8j75 WtnuiZCzI3uiAHH4VbrbOMFwUj+b6J3ZWowYZ7+uRy5ZOOkvPrV6uUILR5SJVhkQGIvDZRosVbz wc4mL5x3PgzMF/lS6wAAmgEpZCJWEnJS7uppAP5ikGTbu2EpMhaDrchykIYsCi7XE76CZQ36njn r5U8wwTjqem2lpshnIB6gNNy/DJenHhVguqi+sVwYpe5DVoqBNoec/VILitnSJzWWSV7UoNhfsE xKkHFMYO6/U7KepsrJw== X-Proofpoint-ORIG-GUID: 75Y1PkcdHsZBVTuOop9MIp75MKdWB1wE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-08_05,2026-02-05_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 spamscore=0 adultscore=0 impostorscore=0 bulkscore=0 suspectscore=0 phishscore=0 priorityscore=1501 clxscore=1015 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2602090010 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 09 Feb 2026 01:23:33 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-virtualization/message/9565 --------------U6SP0ERvIYayrsHBQt7LKUL6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx0a-0064b401.pphosted.com id 6191KFU72743986 On 2/6/26 20:51, Bruce Ashfield wrote: > ** > *CAUTION: This email comes from a non Wind River email account!* > Do not click links or open attachments unless you recognize the sender=20 > and know the content is safe. > > > > On Fri, Feb 6, 2026 at 7:49=E2=80=AFAM Bruce Ashfield via=20 > lists.yoctoproject.org=20 > =20 > wrote: > > > > On Fri, Feb 6, 2026 at 4:17=E2=80=AFAM Changqing Li via > lists.yoctoproject.org > > =3Dwindriver.com@lists.yoctoproject.org> > wrote: > > From: Changqing Li > > * Refer [1], cgo will embeded cgo_ldflags in the intermediary > output, > =C2=A0 which make content ID will be incfluenced by cgo_ldflags. > =C2=A0 '--sysroot=3Dxxx' includes build path, which will make t= he > binary not > =C2=A0 reproducible, these recipes can build successfully witho= ut > --sysroot, so > =C2=A0 remove it > > * CGO_ENABLED/CGO_CFLAGS/CGO_LDFLAGS already exported in > go.bbclass with > =C2=A0 the same value, remove the not needed settings > > > refer to all my previous email on the subject. > > I will continue to set these in the classes themselves. > > > BUT, I will take the removal of the sysroot if we no longer need it. > > But the duplicated values from the go classes are entirely intentional. > > Bruce OK,=C2=A0 I will send a V2, only remove --sysroot and keep the duplicated= value. Regards Changqing > > Bruce > > > [1] > https://git.openembedded.org/openembedded-core/commit/?id=3D179= 7741aad02b8bf429fac4b81e30cdda64b5448 > > > Signed-off-by: Changqing Li > --- > =C2=A0recipes-containers/containerd/containerd_git.bb > > =C2=A0 =C2=A0 =C2=A0 =C2=A0| 3 --- > =C2=A0recipes-containers/cri-tools/cri-tools_git.bb > > =C2=A0 =C2=A0 =C2=A0 =C2=A0| 5 ----- > =C2=A0recipes-containers/docker-compose/docker-compose_git.bb > > =C2=A0| 6 +----- > =C2=A0.../docker-distribution/docker-distribution_git.bb > > =C2=A0 =C2=A0 =C2=A0 | 3 --- > =C2=A0recipes-containers/docker/docker.inc > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 4 ---- > =C2=A0recipes-containers/kubernetes/kubernetes_git.bb > > =C2=A0 =C2=A0 =C2=A0 =C2=A0| 8 +++++--- > =C2=A0recipes-containers/nerdctl/nerdctl_git.bb > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 6 ------ > =C2=A0recipes-containers/oci-image-tools/oci-image-tools_git.bb > > | 3 --- > =C2=A0.../oci-runtime-tools/oci-runtime-tools_git.bb > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 3 --- > =C2=A0recipes-containers/podman/podman_git.bb > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 8 -------- > =C2=A0recipes-containers/runc/runc.inc > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 3 --- > =C2=A0recipes-containers/skopeo/skopeo_git.bb > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 3 --- > =C2=A0recipes-containers/umoci/umoci_git.bb > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 3 --- > =C2=A013 files changed, 6 insertions(+), 52 deletions(-) > > diff --git a/recipes-containers/containerd/containerd_git.bb > > b/recipes-containers/containerd/containerd_git.bb > > index 081cf354..3d66e06e 100644 > --- a/recipes-containers/containerd/containerd_git.bb > > +++ b/recipes-containers/containerd/containerd_git.bb > > @@ -47,9 +47,6 @@ do_compile() { > > =C2=A0 =C2=A0 =C2=A0# Pass the needed cflags/ldflags so that cg= o > =C2=A0 =C2=A0 =C2=A0# can find the needed headers files and lib= raries > -=C2=A0 =C2=A0 export CGO_ENABLED=3D"1" > -=C2=A0 =C2=A0 export CGO_CFLAGS=3D"${CFLAGS} --sysroot=3D${STA= GING_DIR_TARGET}" > -=C2=A0 =C2=A0 export CGO_LDFLAGS=3D"${LDFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > =C2=A0 =C2=A0 =C2=A0export BUILDTAGS=3D"no_btrfs static_build n= etgo" > =C2=A0 =C2=A0 =C2=A0export CFLAGS=3D"${CFLAGS}" > =C2=A0 =C2=A0 =C2=A0export LDFLAGS=3D"${LDFLAGS}" > diff --git a/recipes-containers/cri-tools/cri-tools_git.bb > > b/recipes-containers/cri-tools/cri-tools_git.bb > > index dad675e8..98c43b6b 100644 > --- a/recipes-containers/cri-tools/cri-tools_git.bb > > +++ b/recipes-containers/cri-tools/cri-tools_git.bb > > @@ -46,12 +46,7 @@ do_compile() { > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export > GOPATH=3D"${S}/src/import/.gopath:${S}/src/import/vendor:${STAG= ING_DIR_TARGET}/${prefix}/local/go" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 cd ${S}/src/import > > -=C2=A0 =C2=A0 =C2=A0 =C2=A0# Build the target binaries > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export GOARCH=3D"${TARGET_GOARCH}" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Pass the needed cflags/ldflags so= that cgo can find > the needed headers files and libraries > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_ENABLED=3D"1" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_CFLAGS=3D"${CFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_LDFLAGS=3D"${LDFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export CFLAGS=3D"" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export LDFLAGS=3D"" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export CC=3D"${CC}" > diff --git > a/recipes-containers/docker-compose/docker-compose_git.bb > > b/recipes-containers/docker-compose/docker-compose_git.bb > > index ccb36a16..de9427ae 100644 > --- a/recipes-containers/docker-compose/docker-compose_git.bb > > +++ b/recipes-containers/docker-compose/docker-compose_git.bb > > @@ -53,13 +53,9 @@ do_compile() { > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # GOMODCACHE, GOPROXY, GOSUMDB, GOT= OOLCHAIN are set by > go-mod-vcs.bbclass > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export > GOPATH=3D"${S}/src/import/.gopath:${STAGING_DIR_TARGET}/${prefi= x}/local/go" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_ENABLED=3D"1" > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Pass the needed cflags/ldflags so= that cgo > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # can find the needed headers files= and libraries > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export GOARCH=3D${TARGET_GOARCH} > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_CFLAGS=3D"${CFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_LDFLAGS=3D"${LDFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 GO_LDFLAGS=3D"-s -w -X internal.Ver= sion=3D${PV} -X > ${COMPOSE_PKG}/internal.Version=3D${PV}" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 GO_BUILDTAGS=3D"" > @@ -85,4 +81,4 @@ INSANE_SKIP:${PN} +=3D "ldflags already-strip= ped" > > =C2=A0# the AWS dependency is 8GB, try and control the > =C2=A0# size of the clones > -BB_GIT_SHALLOW =3D "1" > \ No newline at end of file > +BB_GIT_SHALLOW =3D "1" > diff --git > a/recipes-containers/docker-distribution/docker-distribution_gi= t.bb > > b/recipes-containers/docker-distribution/docker-distribution_gi= t.bb > > index 5e37fe74..63001331 100644 > --- > a/recipes-containers/docker-distribution/docker-distribution_gi= t.bb > > +++ > b/recipes-containers/docker-distribution/docker-distribution_gi= t.bb > > @@ -28,12 +28,9 @@ do_compile() { > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export GOROOT=3D"${STAGING_LIBDIR}/= go" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Pass the needed cflags/ldflags so= that cgo > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # can find the needed headers files= and libraries > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_ENABLED=3D"1" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export CFLAGS=3D"" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export LDFLAGS=3D"" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_CFLAGS=3D"${TARGET_CFLAG= S}" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export GO_GCFLAGS=3D"" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_LDFLAGS=3D"${TARGET_LDFL= AGS}" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export GO111MODULE=3Doff > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export GO_BUILD_FLAGS=3D"-trimpath" > > diff --git a/recipes-containers/docker/docker.inc > > b/recipes-containers/docker/docker.inc > > index 99535a77..b0f52d77 100644 > --- a/recipes-containers/docker/docker.inc > > +++ b/recipes-containers/docker/docker.inc > > @@ -80,10 +80,6 @@ do_compile() { > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Pass the needed cflags/ldflags so= that cgo > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # can find the needed headers files= and libraries > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export GOARCH=3D${TARGET_GOARCH} > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_ENABLED=3D"1" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_CFLAGS=3D"${CFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_LDFLAGS=3D"${LDFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export DOCKER_BUILDTAGS=3D'${BUILD_= TAGS} > ${PACKAGECONFIG_CONFARGS}' > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export GO111MODULE=3Doff > > diff --git a/recipes-containers/kubernetes/kubernetes_git.bb > > b/recipes-containers/kubernetes/kubernetes_git.bb > > index f7b6940a..89c53930 100644 > --- a/recipes-containers/kubernetes/kubernetes_git.bb > > +++ b/recipes-containers/kubernetes/kubernetes_git.bb > > @@ -54,6 +54,9 @@ inherit cni_networking > > =C2=A0COMPATIBLE_HOST =3D '(x86_64.*|arm.*|aarch64.*)-linux' > > +CGO_LDFLAGS ?=3D "${LDFLAGS}" > +CGO_LDFLAGS:remove =3D "${DEBUG_PREFIX_MAP}" > + > =C2=A0do_compile() { > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export > GOPATH=3D"${S}/src/import/.gopath:${S}/src/import/vendor:${STAG= ING_DIR_TARGET}/${prefix}/local/go:${UNPACKDIR}/git/" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 cd ${S} > @@ -70,7 +73,6 @@ do_compile() { > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export CGO_LDFLAGS=3D"$(echo ${BUIL= D_LDFLAGS} | sed > 's/-Wl,-O1//g' | sed 's/-Wl,--dynamic-linker.*?\( \|$\)//g')" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export CC=3D"${BUILD_CC}" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export LD=3D"${BUILD_LD}" > - > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # set the toolchain to local to avo= id an attempted > fetch of > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # valiation by the build > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # https://github.com/actions/setup-= go/issues/420 > > @@ -85,8 +87,8 @@ do_compile() { > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export GOARCH=3D"${TARGET_GOARCH}" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Pass the needed cflags/ldflags so= that cgo can find > the needed headers files and libraries > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export CGO_ENABLED=3D"1" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_CFLAGS=3D"${CFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_LDFLAGS=3D"${LDFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > +=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_CFLAGS=3D"${CFLAGS}" > +=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_LDFLAGS=3D"${CGO_LDFLAGS= }" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export CFLAGS=3D"" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export LDFLAGS=3D"" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export CC=3D"${CC}" > diff --git a/recipes-containers/nerdctl/nerdctl_git.bb > > b/recipes-containers/nerdctl/nerdctl_git.bb > > index 8f63b48c..eb873e23 100644 > --- a/recipes-containers/nerdctl/nerdctl_git.bb > > +++ b/recipes-containers/nerdctl/nerdctl_git.bb > > @@ -71,12 +71,6 @@ do_compile() { > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0cd ${S}/src/import > > -=C2=A0 =C2=A0 =C2=A0 =C2=A0 # Pass the needed cflags/ldflags s= o that cgo > -=C2=A0 =C2=A0 =C2=A0 =C2=A0 # can find the needed headers file= s and libraries > -=C2=A0 =C2=A0 =C2=A0 =C2=A0 export GOARCH=3D${TARGET_GOARCH} > -=C2=A0 =C2=A0 =C2=A0 =C2=A0 export CGO_CFLAGS=3D"${CFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0 export CGO_LDFLAGS=3D"${LDFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > - > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# -trimpath removes build pat= hs from the binary > (required for reproducible builds) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0oe_runmake GO=3D${GO} BUILDTA= GS=3D"${BUILDTAGS}" > GO_BUILD_FLAGS=3D"-trimpath" binaries > =C2=A0} > diff --git > a/recipes-containers/oci-image-tools/oci-image-tools_git.bb > > b/recipes-containers/oci-image-tools/oci-image-tools_git.bb > > index 36026214..6c355377 100644 > --- > a/recipes-containers/oci-image-tools/oci-image-tools_git.bb > > +++ > b/recipes-containers/oci-image-tools/oci-image-tools_git.bb > > @@ -29,11 +29,8 @@ do_compile() { > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Pass the needed cflags/ldflags so= that cgo > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # can find the needed headers files= and libraries > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_ENABLED=3D"1" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export CFLAGS=3D"" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export LDFLAGS=3D"" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_CFLAGS=3D"${TARGET_CFLAG= S}" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_LDFLAGS=3D"${TARGET_LDFL= AGS}" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export GO111MODULE=3Doff > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export GOBUILDFLAGS=3D"-trimpath" > diff --git > a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb > > b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb > > index 81f51f9c..0ba69756 100644 > --- > a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb > > +++ > b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb > > @@ -25,11 +25,8 @@ do_compile() { > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Pass the needed cflags/ldflags so= that cgo > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # can find the needed headers files= and libraries > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_ENABLED=3D"1" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export CFLAGS=3D"" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export LDFLAGS=3D"" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_CFLAGS=3D"${TARGET_CFLAG= S}" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_LDFLAGS=3D"${TARGET_LDFL= AGS}" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export GO111MODULE=3Doff > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export GOFLAGS=3D"-mod=3Dvendor" > > diff --git a/recipes-containers/podman/podman_git.bb > > b/recipes-containers/podman/podman_git.bb > > index f09e01f8..5e5f1f9b 100644 > --- a/recipes-containers/podman/podman_git.bb > > +++ b/recipes-containers/podman/podman_git.bb > > @@ -78,19 +78,11 @@ do_compile() { > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 ln -sf "../../../import/vendor/gith= ub.com/varlink/ > " > ".gopath/src/github.com/varlink > " > > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export GOARCH=3D"${BUILD_GOARCH}" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export GOPATH=3D"${S}/src/.gopath" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export > GOROOT=3D"${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/g= o" > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 cd ${S}/src/.gopath/src/"${PODMAN_P= KG}" > > -=C2=A0 =C2=A0 =C2=A0 =C2=A0# Pass the needed cflags/ldflags so= that cgo > -=C2=A0 =C2=A0 =C2=A0 =C2=A0# can find the needed headers files= and libraries > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export GOARCH=3D${TARGET_GOARCH} > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_ENABLED=3D"1" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_CFLAGS=3D"${CFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_LDFLAGS=3D"${LDFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > - > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # podman now builds go-md2man and r= equires the > host/build details > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export NATIVE_GOOS=3D${BUILD_GOOS} > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export NATIVE_GOARCH=3D${BUILD_GOAR= CH} > diff --git a/recipes-containers/runc/runc.inc > > b/recipes-containers/runc/runc.inc > > index b834ab14..ebff354f 100644 > --- a/recipes-containers/runc/runc.inc > > +++ b/recipes-containers/runc/runc.inc > > @@ -57,9 +57,6 @@ do_compile() { > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Pass the needed cflags/ldflags so= that cgo > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # can find the needed headers files= and libraries > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_ENABLED=3D"1" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_CFLAGS=3D"${CFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_LDFLAGS=3D"${LDFLAGS} > --sysroot=3D${STAGING_DIR_TARGET}" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export GO=3D${GO} > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export CFLAGS=3D"" > diff --git a/recipes-containers/skopeo/skopeo_git.bb > > b/recipes-containers/skopeo/skopeo_git.bb > > index 936d2c3d..1542f2a6 100644 > --- a/recipes-containers/skopeo/skopeo_git.bb > > +++ b/recipes-containers/skopeo/skopeo_git.bb > > @@ -53,11 +53,8 @@ do_compile() { > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # Pass the needed cflags/ldflags so= that cgo > =C2=A0 =C2=A0 =C2=A0 =C2=A0 # can find the needed headers files= and libraries > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_ENABLED=3D"1" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export CFLAGS=3D"" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export LDFLAGS=3D"" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_CFLAGS=3D"${TARGET_CFLAG= S}" > -=C2=A0 =C2=A0 =C2=A0 =C2=A0export CGO_LDFLAGS=3D"${TARGET_LDFL= AGS}" > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export GO111MODULE=3Doff > =C2=A0 =C2=A0 =C2=A0 =C2=A0 export EXTRA_LDFLAGS=3D"-s -w" > diff --git a/recipes-containers/umoci/umoci_git.bb > > b/recipes-containers/umoci/umoci_git.bb > > index f148b7fa..32868594 100644 > --- a/recipes-containers/umoci/umoci_git.bb > > +++ b/recipes-containers/umoci/umoci_git.bb > > @@ -62,11 +62,8 @@ do_compile() { > > =C2=A0 =C2=A0 =C2=A0# Pass the needed cflags/ldflags so that cg= o > =C2=A0 =C2=A0 =C2=A0# can find the needed headers files and lib= raries > -=C2=A0 =C2=A0 export CGO_ENABLED=3D"1" > =C2=A0 =C2=A0 =C2=A0export CFLAGS=3D"" > =C2=A0 =C2=A0 =C2=A0export LDFLAGS=3D"" > -=C2=A0 =C2=A0 export CGO_CFLAGS=3D"${TARGET_CFLAGS}" > -=C2=A0 =C2=A0 export CGO_LDFLAGS=3D"${TARGET_LDFLAGS}" > > =C2=A0 =C2=A0 =C2=A0export GO111MODULE=3Doff > > --=20 > 2.34.1 > > > > > > > --=20 > - Thou shalt not follow the NULL pointer, for chaos and madness > await thee at its end > - "Use the force Harry" - Gandalf, Star Trek II > > > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > Links: You receive all messages sent to this group. > View/Reply Online (#9563): > https://lists.yoctoproject.org/g/meta-virtualization/message/9563 > > Mute This Topic: > https://lists.yoctoproject.org/mt/117668816/1050810 > > Group Owner: meta-virtualization+owner@lists.yoctoproject.org > > Unsubscribe: > https://lists.yoctoproject.org/g/meta-virtualization/unsub > > [bruce.ashfield@gmail.com] > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > > > > --=20 > - Thou shalt not follow the NULL pointer, for chaos and madness await=20 > thee at its end > - "Use the force Harry" - Gandalf, Star Trek II > --------------U6SP0ERvIYayrsHBQt7LKUL6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx0a-0064b401.pphosted.com id 6191KFU72743986


On 2/6/26 20:51, Bruce Ashfield wrote:=
=20
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.



On Fri, Feb 6, 2026 a= t 7:49=E2=80=AFAM Bruce Ashfield via lists.yoctoproject.org <bruce.ashfield=3Dgmail.com@lists.yoctoproje= ct.org> wrote:


On Fri, Feb 6, 2026 at 4:17=E2=80=AFAM Changqing Li via lists.yoctoproject.org <changqing.li=3Dwindriver.com@list= s.yoctoproject.org> wrote:
From: Changqing Li <changqing.li@windriver.com>

* Refer [1], cgo will embeded cgo_ldflags in the intermediary output,
  which make content ID will be incfluenced by cgo_ldflags.
  '--sysroot=3Dxxx' includes build path, which= will make the binary not
  reproducible, these recipes can build successfully without --sysroot, so
  remove it

* CGO_ENABLED/CGO_CFLAGS/CGO_LDFLAGS already exported in go.bbclass with
  the same value, remove the not needed settin= gs

refer to all my previous email on the subject.

I will continue to set these in the classes themselves.

BU= T, I will take the removal of the sysroot if we no longer need it.
Bu= t the duplicated values from the go classes are entirely intentional.
Br= uce

OK,  I will send a V2, only remove --sysroot and keep the duplicated value.

Regards

Changqing

 

Bruce

 

[1] https://git.openembedded.org/openembedded-core/commit/?id=3D1797741aad02b= 8bf429fac4b81e30cdda64b5448

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 recipes-containers/containerd/containerd_git.bb           | 3 ---
 recipes-containers/cri-tools/cri-tools_git.bb             | 5 -----
 recipes-containers/docker-compose/docker-compose_git.bb   | 6 +-----
 .../docker-distribution/docker-distribution_git.bb        | 3 ---
 recipes-containers/docker/docker.inc        &= nbsp;             | 4 ----
 recipes-containers/kubernetes/kubernetes_git.bb           | 8 +++++---
 recipes-containers/nerdctl/n= erdctl_git.bb                 | 6 ------
 recipes-containers/oci-image-tools/oci-image-tools_git.bb | 3 ---
 .../oci-runtime-tools/oci-runtime-tools_git.bb            | 3 ---
 recipes-containers/podman/pod= man_git.bb                   | 8 ------= --
 recipes-containers/runc/runc.inc          =                 | 3 ---  recipes-containers/skopeo/sko= peo_git.bb                   | 3 ---  recipes-containers/umoci/umoci= _git.bb                     | 3 ---  13 files changed, 6 insertions(+), 52 deletions(-)

diff --git a/recipes-containers/containerd/containerd_git.bb b/recipes-containers/containerd/containerd_git.bb
index 081cf354..3d66e06e 100644
--- a/recipes-containers/containerd/containerd_git.bb
+++ b/recipes-containers/containerd/containerd_git.bb
@@ -47,9 +47,6 @@ do_compile() {

     # Pass the needed cflags/ldflag= s so that cgo
     # can find the needed headers f= iles and libraries
-    export CGO_ENABLED=3D"1" -    export CGO_CFLAGS=3D"${CFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"
-    export CGO_LDFLAGS=3D"${LDFLAGS= } --sysroot=3D${STAGING_DIR_TARGET}"
     export BUILDTAGS=3D"no_btr= fs static_build netgo"
     export CFLAGS=3D"${CFLAGS}= "
     export LDFLAGS=3D"${LDFLAG= S}"
diff --git a/recipes-containers/cri-tools/cri-tools_git.bb b/recipes-containers/cri-tools/c= ri-tools_git.bb
index dad675e8..98c43b6b 100644
--- a/recipes-containers/cri-tools/cri-tools_git.bb
+++ b/recipes-containers/cri-tools/cri-tools_git.bb
@@ -46,12 +46,7 @@ do_compile() {
        export GOPATH=3D"${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_D= IR_TARGET}/${prefix}/local/go"
        cd ${S}/src/import

-       # Build the target bina= ries
-       export GOARCH=3D"$= {TARGET_GOARCH}"
        # Pass the needed cflag= s/ldflags so that cgo can find the needed headers files and libraries
-       export CGO_ENABLED=3D&q= uot;1"
-       export CGO_CFLAGS=3D&qu= ot;${CFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"
-       export CGO_LDFLAGS=3D&q= uot;${LDFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"
        export CFLAGS=3D"&= quot;
        export LDFLAGS=3D"= "
        export CC=3D"${CC}= "
diff --git a/recipes-containers/docker-compose/docker-compose_git.bb b/recipes-containers/docker-compose/docker-compose_git.bb
index ccb36a16..de9427ae 100644
--- a/recipes-containers/docker-compose/docker-compose_git.bb
+++ b/recipes-containers/docker-compose/docker-compose_git.bb
@@ -53,13 +53,9 @@ do_compile() {

        # GOMODCACHE, GOPROXY, = GOSUMDB, GOTOOLCHAIN are set by go-mod-vcs.bbclass
        export GOPATH=3D"${S}/src/import/.gopath:${STAGING_DIR_TARGET}/${prefix}/lo= cal/go"
-       export CGO_ENABLED=3D&q= uot;1"

        # Pass the needed cflag= s/ldflags so that cgo
        # can find the needed h= eaders files and libraries
-       export GOARCH=3D${TARGE= T_GOARCH}
-       export CGO_CFLAGS=3D&qu= ot;${CFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"
-       export CGO_LDFLAGS=3D&q= uot;${LDFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"

        GO_LDFLAGS=3D"-s -= w -X internal.Version=3D${PV} -X ${COMPOSE_PKG}/internal.Version=3D${PV}"
        GO_BUILDTAGS=3D"&q= uot;
@@ -85,4 +81,4 @@ INSANE_SKIP:${PN} +=3D "ldfl= ags already-stripped"

 # the AWS dependency is 8GB, try and control = the
 # size of the clones
-BB_GIT_SHALLOW =3D "1"
\ No newline at end of file
+BB_GIT_SHALLOW =3D "1"
diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb b/recipes-containers/docker-distribution/docker-distribution_git.bb
index 5e37fe74..63001331 100644
--- a/recipes-containers/docker-distribution/docker-distribution_git.bb
+++ b/recipes-containers/docker-distribution/docker-distribution_git.bb
@@ -28,12 +28,9 @@ do_compile() {
        export GOROOT=3D"$= {STAGING_LIBDIR}/go"
        # Pass the needed cflag= s/ldflags so that cgo
        # can find the needed h= eaders files and libraries
-       export CGO_ENABLED=3D&q= uot;1"
        export CFLAGS=3D"&= quot;
        export LDFLAGS=3D"= "
-       export CGO_CFLAGS=3D&qu= ot;${TARGET_CFLAGS}"
        export GO_GCFLAGS=3D&qu= ot;"
-       export CGO_LDFLAGS=3D&q= uot;${TARGET_LDFLAGS}"
        export GO111MODULE=3Dof= f
        export GO_BUILD_FLAGS=3D= "-trimpath"

diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc
index 99535a77..b0f52d77 100644
--- a/recipes-containers/docker/docker.inc
+++ b/recipes-containers/docker/docker.inc
@@ -80,10 +80,6 @@ do_compile() {

        # Pass the needed cflag= s/ldflags so that cgo
        # can find the needed h= eaders files and libraries
-       export GOARCH=3D${TARGE= T_GOARCH}
-       export CGO_ENABLED=3D&q= uot;1"
-       export CGO_CFLAGS=3D&qu= ot;${CFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"
-       export CGO_LDFLAGS=3D&q= uot;${LDFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"
        export DOCKER_BUILDTAGS= =3D'${BUILD_TAGS} ${PACKAGECONFIG_CONFARGS}'
        export GO111MODULE=3Dof= f

diff --git a/recipes-containers/kubernetes/kubernetes_git.bb b/recipes-containers/kubernetes/kubernetes_git.bb
index f7b6940a..89c53930 100644
--- a/recipes-containers/kubernetes/kubernetes_git.bb
+++ b/recipes-containers/kubernetes/kubernetes_git.bb
@@ -54,6 +54,9 @@ inherit cni_networking

 COMPATIBLE_HOST =3D '(x86_64.*|arm.*|aarch64.*)-linux'

+CGO_LDFLAGS ?=3D "${LDFLAGS}"
+CGO_LDFLAGS:remove =3D "${DEBUG_PREFIX_MAP}&q= uot;
+
 do_compile() {
        export GOPATH=3D"${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_D= IR_TARGET}/${prefix}/local/go:${UNPACKDIR}/git/"
        cd ${S}
@@ -70,7 +73,6 @@ do_compile() {
        export CGO_LDFLAGS=3D&q= uot;$(echo ${BUILD_LDFLAGS} | sed 's/-Wl,-O1//g' | sed 's/-Wl,--dynamic-linker.*?\( \|$\)//g')"
        export CC=3D"${BUI= LD_CC}"
        export LD=3D"${BUI= LD_LD}"
-
        # set the toolchain to = local to avoid an attempted fetch of
        # valiation by the buil= d
        # https://github.com/actions/setup-go/issues/420
@@ -85,8 +87,8 @@ do_compile() {
        export GOARCH=3D"$= {TARGET_GOARCH}"
        # Pass the needed cflag= s/ldflags so that cgo can find the needed headers files and libraries
        export CGO_ENABLED=3D&q= uot;1"
-       export CGO_CFLAGS=3D&qu= ot;${CFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"
-       export CGO_LDFLAGS=3D&q= uot;${LDFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"
+       export CGO_CFLAGS=3D&qu= ot;${CFLAGS}"
+       export CGO_LDFLAGS=3D&q= uot;${CGO_LDFLAGS}"
        export CFLAGS=3D"&= quot;
        export LDFLAGS=3D"= "
        export CC=3D"${CC}= "
diff --git a/recipes-containers/nerdctl/
nerdctl_git.bb b/recipes-containers/nerdctl/nerdc= tl_git.bb
index 8f63b48c..eb873e23 100644
--- a/recipes-containers/nerdctl/n= erdctl_git.bb
+++ b/recipes-containers/nerdctl/n= erdctl_git.bb
@@ -71,12 +71,6 @@ do_compile() {

         cd ${S}/src/impor= t

-        # Pass the needed cfla= gs/ldflags so that cgo
-        # can find the needed = headers files and libraries
-        export GOARCH=3D${TARG= ET_GOARCH}
-        export CGO_CFLAGS=3D&q= uot;${CFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"
-        export CGO_LDFLAGS=3D&= quot;${LDFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"
-
         # -trimpath remov= es build paths from the binary (required for reproducible builds)
         oe_runmake GO=3D$= {GO} BUILDTAGS=3D"${BUILDTAGS}" GO_BUILD_FLAGS=3D"-trimpath" binaries
 }
diff --git a/recipes-containers/oci-image-tools/oci-image-tools_git.bb b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
index 36026214..6c355377 100644
--- a/recipes-containers/oci-image-tools/oci-image-tools_git.bb
+++ b/recipes-containers/oci-image-tools/oci-image-tools_git.bb
@@ -29,11 +29,8 @@ do_compile() {

        # Pass the needed cflag= s/ldflags so that cgo
        # can find the needed h= eaders files and libraries
-       export CGO_ENABLED=3D&q= uot;1"
        export CFLAGS=3D"&= quot;
        export LDFLAGS=3D"= "
-       export CGO_CFLAGS=3D&qu= ot;${TARGET_CFLAGS}"
-       export CGO_LDFLAGS=3D&q= uot;${TARGET_LDFLAGS}"
        export GO111MODULE=3Dof= f

        export GOBUILDFLAGS=3D&= quot;-trimpath"
diff --git a/recipes-containers/oci-runtime-tools/<= a href=3D"https://urldefense.com/v3/__http://oci-runtime-tools_git.bb__;!= !AjveYdw8EvQ!a7XmcWhdCOyYHFfX7BXsZa3Q6MwU8S4BYPrfgGuWvKwkn4sk-0XiTm13VgNN= rgIStZbv67szL79VQNGLHh_zXlHo17vUNg$" rel=3D"noreferrer" target=3D"_blank"= moz-do-not-send=3D"true">oci-runtime-tools_git.bb b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb
index 81f51f9c..0ba69756 100644
--- a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb
+++ b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb
@@ -25,11 +25,8 @@ do_compile() {

        # Pass the needed cflag= s/ldflags so that cgo
        # can find the needed h= eaders files and libraries
-       export CGO_ENABLED=3D&q= uot;1"
        export CFLAGS=3D"&= quot;
        export LDFLAGS=3D"= "
-       export CGO_CFLAGS=3D&qu= ot;${TARGET_CFLAGS}"
-       export CGO_LDFLAGS=3D&q= uot;${TARGET_LDFLAGS}"
        export GO111MODULE=3Dof= f
        export GOFLAGS=3D"= -mod=3Dvendor"

diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_= git.bb
index f09e01f8..5e5f1f9b 100644
--- a/recipes-containers/podman/pod= man_git.bb
+++ b/recipes-containers/podman/pod= man_git.bb
@@ -78,19 +78,11 @@ do_compile() {

        ln -sf "../../../i= mport/vendor/github.com/varlink/" ".gopath/src/github.com/v= arlink"

-       export GOARCH=3D"$= {BUILD_GOARCH}"
        export GOPATH=3D"$= {S}/src/.gopath"
        export GOROOT=3D"${STAGING_DIR_NATIVE}/${nonarch_libd= ir}/${HOST_SYS}/go"

        cd ${S}/src/.gopath/src= /"${PODMAN_PKG}"

-       # Pass the needed cflag= s/ldflags so that cgo
-       # can find the needed h= eaders files and libraries
-       export GOARCH=3D${TARGE= T_GOARCH}
-       export CGO_ENABLED=3D&q= uot;1"
-       export CGO_CFLAGS=3D&qu= ot;${CFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"
-       export CGO_LDFLAGS=3D&q= uot;${LDFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"
-
        # podman now builds go-= md2man and requires the host/build details
        export NATIVE_GOOS=3D${= BUILD_GOOS}
        export NATIVE_GOARCH=3D= ${BUILD_GOARCH}
diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/runc.inc
index b834ab14..ebff354f 100644
--- a/recipes-containers/runc/runc.inc
+++ b/recipes-containers/runc/runc.inc
@@ -57,9 +57,6 @@ do_compile() {

        # Pass the needed cflag= s/ldflags so that cgo
        # can find the needed h= eaders files and libraries
-       export CGO_ENABLED=3D&q= uot;1"
-       export CGO_CFLAGS=3D&qu= ot;${CFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"
-       export CGO_LDFLAGS=3D&q= uot;${LDFLAGS} --sysroot=3D${STAGING_DIR_TARGET}"
        export GO=3D${GO}

        export CFLAGS=3D"&= quot;
diff --git a/recipes-containers/skopeo/skopeo_git.bb b/recipes-containers/skopeo/skopeo_= git.bb
index 936d2c3d..1542f2a6 100644
--- a/recipes-containers/skopeo/sko= peo_git.bb
+++ b/recipes-containers/skopeo/sko= peo_git.bb
@@ -53,11 +53,8 @@ do_compile() {

        # Pass the needed cflag= s/ldflags so that cgo
        # can find the needed h= eaders files and libraries
-       export CGO_ENABLED=3D&q= uot;1"
        export CFLAGS=3D"&= quot;
        export LDFLAGS=3D"= "
-       export CGO_CFLAGS=3D&qu= ot;${TARGET_CFLAGS}"
-       export CGO_LDFLAGS=3D&q= uot;${TARGET_LDFLAGS}"

        export GO111MODULE=3Dof= f
        export EXTRA_LDFLAGS=3D= "-s -w"
diff --git a/recipes-containers/umoci/umoci_git.bb b/recipes-containers/umoci/umoci_git= .bb
index f148b7fa..32868594 100644
--- a/recipes-containers/umoci/umoci= _git.bb
+++ b/recipes-containers/umoci/umoci= _git.bb
@@ -62,11 +62,8 @@ do_compile() {

     # Pass the needed cflags/ldflag= s so that cgo
     # can find the needed headers f= iles and libraries
-    export CGO_ENABLED=3D"1"      export CFLAGS=3D""      export LDFLAGS=3D"" -    export CGO_CFLAGS=3D"${TARGET_C= FLAGS}"
-    export CGO_LDFLAGS=3D"${TARGET_= LDFLAGS}"

     export GO111MODULE=3Doff

--
2.34.1






--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Tre= k II


-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
Links: You receive all messages sent to this group.
View/Reply Online (#9563): https://lists.yoctoproject.org/g/meta-virtualization/message/9563
Mute This Topic: https://lists.yoctoproject.org/mt/117668816/1050810=
Group Owner: meta-virtualization+owner@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-



--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
--------------U6SP0ERvIYayrsHBQt7LKUL6--