From patchwork Thu May 15 16:50:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Desai X-Patchwork-Id: 63061 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 BC844C2D0CD for ; Thu, 15 May 2025 16:57:25 +0000 (UTC) Received: from mx0b-00300601.pphosted.com (mx0b-00300601.pphosted.com [148.163.142.35]) by mx.groups.io with SMTP id smtpd.web10.17764.1747328244979844048 for ; Thu, 15 May 2025 09:57:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@emerson.com header.s=email header.b=FVIXe+qg; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: emerson.com, ip: 148.163.142.35, mailfrom: prvs=4230c9aaef=rajendra.desai@emerson.com) Received: from pps.filterd (m0144092.ppops.net [127.0.0.1]) by mx0b-00300601.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 54FFY5Aw001878 for ; Thu, 15 May 2025 16:57:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emerson.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=email; bh=afQy y1r0BCCT0eu5bwe0amwGjmzDei0ADCz9Z3NZaoA=; b=FVIXe+qg68K+tR3e2H3D BUURi/AAK8pHY20Sk/VrP58OtkJtjTFqeyaV2S+cz6VB/DOHXs4XAFDoGuRg7F2d iCR3889GALxyhRJhBDo+5rMmpeUul4wGnmXw3Fr7iB3mn+Awgu5rVsWa25aS8509 cmr8MGDmGZd99wGK8w03DMY3sGaMECZpJVdcMKdudcGp36TmSHNJQTVA2pCwy3hc 80oVM3a2iFFAts5REZoXrPtaNshJ0OdsTuqsMTGz8KqgzsjbI6mQi9Wiqtg7OB/l bCAOHUyI9mpTBxO0H1Mkp6dju+MKnjVyKickXxrN6MpG+MT/y5M4c5tNGsPDyyg5 lQ== Received: from us-aus-excas-p2.ni.corp.natinst.com ([130.164.94.74]) by mx0b-00300601.pphosted.com (PPS) with ESMTPS id 46nk19sknb-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 15 May 2025 16:57:24 +0000 (GMT) Received: from us-aus-excas-p2.ni.corp.natinst.com (130.164.68.18) by us-aus-excas-p2.ni.corp.natinst.com (130.164.68.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Thu, 15 May 2025 11:57:12 -0500 Received: from sombRayRo.ni.corp.natinst.com (172.18.68.32) by us-aus-excas-p2.ni.corp.natinst.com (130.164.68.18) with Microsoft SMTP Server id 15.2.1258.28 via Frontend Transport; Thu, 15 May 2025 11:57:11 -0500 From: Rajendra Desai To: CC: Rajendra Desai Subject: [PATCH 1/5] perl-ptest: include gcc as a recommended package Date: Thu, 15 May 2025 22:20:05 +0530 Message-ID: <20250515165010.242349-2-rajendra.desai@emerson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250515165010.242349-1-rajendra.desai@emerson.com> References: <20250515165010.242349-1-rajendra.desai@emerson.com> MIME-Version: 1.0 X-Authority-Analysis: v=2.4 cv=UK/dHDfy c=1 sm=1 tr=0 ts=68261cf4 cx=c_pps a=VUOoxcgKHUMpfFMIT0tLvw==:117 a=VUOoxcgKHUMpfFMIT0tLvw==:17 a=dt9VzEwgFbYA:10 a=geDs06hvAAAA:8 a=IQzofabYzv3DVsMlAgYA:9 a=7yvi0DHx91fDKfvzWsLo:22 X-Proofpoint-GUID: kOH5UuAvTl97f4TWKvlvzHh_282pEmd8 X-Proofpoint-ORIG-GUID: kOH5UuAvTl97f4TWKvlvzHh_282pEmd8 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTE1MDE2OSBTYWx0ZWRfXy9Qy5yTxldiy JFmZBSMgV97mSsJmNDIbDXkrDjheNtIfnxXkKha29m20OMauBZSxmnPk2yY/h0qJsJK7LY6o1z0 nG4b5P8OtXmN2fEZiL3q6ykDXZWViVfhrVgggN3Kda88kVYuqlLA6rcGM261IgGQX4tFO2SZyuO 7sKb7FyQHxiMBVr2BqJDiJqrCEZIXLTDMtZErylpYpT4AtCMbyOaDXVY8jwQjXiOpnDGMOscfOB mLMeVWcFZybbpjHNjYL3JTky/kGY2H+0vFZXXc/9E/3HOSaXPOjfH2TBPmTTiVXtiJLNutJinsq CCIxhhhEBmrn7A4+nlQcxqvZCTGZwy/aShVAM3hWPcm8El+/9LUltIqSlAAYAy63j394PPEgH1G thgMUCYI+w9VBM4ImJnWG5TpXds1oCbcaXf27s0PSl4kko4glcynppnaD6Q5ARwU2n6ww7KZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-15_07,2025-05-15_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 mlxscore=0 phishscore=0 clxscore=1015 impostorscore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 spamscore=0 mlxlogscore=999 adultscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505070000 definitions=main-2505150169 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 15 May 2025 16:57:25 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/216694 The following perl ptests: dist/ExtUtils-ParseXS/t/001-basic dist/ExtUtils-ParseXS/t/002-more dist/ExtUtils-ParseXS/t/003-usage are giving out below warning while running on the yocto CI build: Can't exec "x86_64-poky-linux-gcc": No such file or directory at /usr/lib/perl/ptest/dist/ExtUtils-ParseXS/../../lib/ExtUtils/CBuilder/Base.pm line 362. additionally, 2 of the tests are skipping out: SKIP: cpan/ExtUtils-Constant/t/Constant SKIP: cpan/ExtUtils-MakeMaker/t/02-xsdynamic This is mainly due to a missing gcc dependency which is needed by the above tests. Hence, adding the package under RRECOMMENDS to make sure the tests are able to find the compiler and that the tests do not skip or output the missing file or directory warning. Signed-off-by: Rajendra Desai --- meta/recipes-devtools/perl/perl-ptest.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc index 4b4756118c..817ad401f4 100644 --- a/meta/recipes-devtools/perl/perl-ptest.inc +++ b/meta/recipes-devtools/perl/perl-ptest.inc @@ -60,6 +60,7 @@ python populate_packages:prepend() { } RDEPENDS:${PN}-ptest += "${PN}-modules ${PN}-doc sed procps-ps" +RRECOMMENDS:${PN}-ptest += "gcc" # The perl-ptest package contains Perl internal modules and generating file # dependencies for it causes problems. From patchwork Thu May 15 16:50:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Desai X-Patchwork-Id: 63062 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 BD541C2D0CD for ; Thu, 15 May 2025 16:57:55 +0000 (UTC) Received: from mx0a-00300601.pphosted.com (mx0a-00300601.pphosted.com [148.163.146.64]) by mx.groups.io with SMTP id smtpd.web10.17776.1747328266298183653 for ; Thu, 15 May 2025 09:57:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@emerson.com header.s=email header.b=Fq/Dfql0; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: emerson.com, ip: 148.163.146.64, mailfrom: prvs=4230c9aaef=rajendra.desai@emerson.com) Received: from pps.filterd (m0142705.ppops.net [127.0.0.1]) by mx0b-00300601.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 54FGkokX037458 for ; Thu, 15 May 2025 16:57:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emerson.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=email; bh=Gvio qPi+R/dR5h4hoc3DaFZGrBjWP1CK5ToHZ8hXvbw=; b=Fq/Dfql0f1aFWgmR/7mK NqcJ/qdjYJi6M4iSY0srjKWe+9O34B2Xvh+K4Xd67Us4dPuDuZjlfDxShRy8ftFO kXJhFK68Vy7vdjfRDkDefXEGWkRUQfr7iwAPOR+iDEM60a+Non7BWmY5AdNeT1/5 IkFNy25FRugpNvBYt6gLRWf3w/d1wlSEG6WJyioJ+t8obPwxzxXUoPpl5pSkpdA0 8O6V18l+XzRteZQ1gArDFhQ8mazDpEg+nzKBe+pSOo4frmGn+AJtQodSHEkf8WO8 2BjWJH0VNMVGB56xJtVG4m0EAZYJHpB3ditlSrDbPvKIZ5OYxYHBp+WUiw132c/P xA== Received: from us-aus-excas-p1.ni.corp.natinst.com ([130.164.94.73]) by mx0b-00300601.pphosted.com (PPS) with ESMTPS id 46nm3406q8-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 15 May 2025 16:57:45 +0000 (GMT) Received: from us-aus-excas-p2.ni.corp.natinst.com (130.164.68.18) by us-aus-excas-p1.ni.corp.natinst.com (130.164.68.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Thu, 15 May 2025 11:57:43 -0500 Received: from sombRayRo.ni.corp.natinst.com (172.18.68.32) by us-aus-excas-p2.ni.corp.natinst.com (130.164.68.18) with Microsoft SMTP Server id 15.2.1258.28 via Frontend Transport; Thu, 15 May 2025 11:57:42 -0500 From: Rajendra Desai To: CC: Rajendra Desai Subject: [PATCH 2/5] perl-ptest: include libxcrypt-dev as recommended Date: Thu, 15 May 2025 22:20:06 +0530 Message-ID: <20250515165010.242349-3-rajendra.desai@emerson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250515165010.242349-1-rajendra.desai@emerson.com> References: <20250515165010.242349-1-rajendra.desai@emerson.com> MIME-Version: 1.0 X-Proofpoint-GUID: _hZvtw2TmQzWmiPkEwMj3YzG4_T6-g7G X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTE1MDE2OSBTYWx0ZWRfX+e2D2c51JW8w xvgS+ReNE2zKN9Sv4Zl4uyVIItNhsBccuIPc3+42+st061L/maWdvKBZuNMJovoO+ZDYzUMxXPT 2TxMcvAKaZNvTcCKDFZukV9GqepuP9KP2XtZDczQRIj3AZIVdEo4QbeYFpaVyLAYEYGLnInPV/y u+O5RKFftSU0InW5SKh9mOp/D5rgURi8WfFtdUKd2dfLRRh9IZfyZCt7QouPICJRlr80Et9XHVa LWr9wRdPgJOV2d+PDCjpHzyec97xrm2UEoqrqieKzusVCi/9gcPeGX/ByrdpVq0KyXpb66NlZnJ uATlU9WGHXudJbS5rrqC8Pjl1XioaHmwjYKKOa8tv5418JjrSmYsIkP2G2p0AKbPEyUPJVQRJD6 SAiIDQhQqCKcf6JeCcmEvlORDfvoW9pDVVd7OJbQsc5nH9rRu5TUdZCYFmD3C1u6LpNWe0Z2 X-Authority-Analysis: v=2.4 cv=H/rbw/Yi c=1 sm=1 tr=0 ts=68261d09 cx=c_pps a=cVKeW2pxJVqlUTLH3Z+MUA==:117 a=cVKeW2pxJVqlUTLH3Z+MUA==:17 a=dt9VzEwgFbYA:10 a=geDs06hvAAAA:8 a=oLMx_og6YXf7H0T5OWQA:9 a=7yvi0DHx91fDKfvzWsLo:22 X-Proofpoint-ORIG-GUID: _hZvtw2TmQzWmiPkEwMj3YzG4_T6-g7G X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-15_07,2025-05-15_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 clxscore=1015 bulkscore=0 spamscore=0 adultscore=0 priorityscore=1501 impostorscore=0 mlxscore=0 phishscore=0 mlxlogscore=947 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505070000 definitions=main-2505150169 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 15 May 2025 16:57:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/216695 The following perl ptests: dist/ExtUtils-ParseXS/t/001-basic dist/ExtUtils-ParseXS/t/002-more dist/ExtUtils-ParseXS/t/003-usage cpan/ExtUtils-Constant/t/Constant cpan/ExtUtils-MakeMaker/t/02-xsdynamic are erroring out with: In file included from /usr/lib/perl/ptest/op.h:700, from /usr/lib/perl/ptest/perl.h:4553, from XSUsage.xs:2: /usr/lib/perl/ptest/reentr.h:126:16: fatal error: crypt.h: No such file or directory 126 | # include | ^~~~~~~~~ compilation terminated. error building XSUsage.o from 'XSUsage.c' at /usr/lib/perl/ptest/dist/ExtUtils-ParseXS/../../lib/ExtUtils/CBuilder/Base.pm line 185. This is because the tests require crypt.h file which is provided by the libxcrypt-dev package. Hence, adding the package under RRECOMMENDS to make sure the tests are able to find the required header file and not fail with the above error. Signed-off-by: Rajendra Desai --- meta/recipes-devtools/perl/perl-ptest.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc index 817ad401f4..3eab5e25e9 100644 --- a/meta/recipes-devtools/perl/perl-ptest.inc +++ b/meta/recipes-devtools/perl/perl-ptest.inc @@ -60,7 +60,7 @@ python populate_packages:prepend() { } RDEPENDS:${PN}-ptest += "${PN}-modules ${PN}-doc sed procps-ps" -RRECOMMENDS:${PN}-ptest += "gcc" +RRECOMMENDS:${PN}-ptest += "gcc libxcrypt-dev" # The perl-ptest package contains Perl internal modules and generating file # dependencies for it causes problems. From patchwork Thu May 15 16:50:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Desai X-Patchwork-Id: 63065 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 D9734C2D0CD for ; Thu, 15 May 2025 16:58:05 +0000 (UTC) Received: from mx0b-00300601.pphosted.com (mx0b-00300601.pphosted.com [148.163.142.35]) by mx.groups.io with SMTP id smtpd.web10.17778.1747328277954649482 for ; Thu, 15 May 2025 09:57:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@emerson.com header.s=email header.b=UfzK3DU0; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: emerson.com, ip: 148.163.142.35, mailfrom: prvs=4230c9aaef=rajendra.desai@emerson.com) Received: from pps.filterd (m0144091.ppops.net [127.0.0.1]) by mx0b-00300601.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 54FEZJt5021756 for ; Thu, 15 May 2025 16:57:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emerson.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=email; bh=pFnl a/Tp+Q3qWB4kml5D91rQwBKUpt7C5noV4sdSGnc=; b=UfzK3DU0dU5AxyXb1m5k fx+W981dHZVVHl0GH8p3ykgRxzYfSIY68xFSGkQ1bZey/NUAtUktax5q3NmOkQU+ SK60BScqRAKGwjcLfuOXfgEtvaHJxNp2pK/V3w8C70fAHY7XZTo8FGNHbuCv8p7J etQVSwD4rGV89b1izKi5fxuRRRnVT2Kyo9TlZbF4SnLyamSYxGzYpqXoPPaJV59l XX5HzDLyFJ7pMYTpWrXwIpq2OYlK5X9St/CIZimthnaKwsGxId0/0pJaUa0XGsrj 1Q3T4dCu+bwJcSRchW5GW2VVo5kdfOmn1qfPhyqxjkDJV7nFvtPFgAfiKDcbXCfA UQ== Received: from us-aus-excas-p1.ni.corp.natinst.com ([130.164.94.73]) by mx0b-00300601.pphosted.com (PPS) with ESMTPS id 46nj5mjqk6-5 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 15 May 2025 16:57:56 +0000 (GMT) Received: from us-aus-excas-p2.ni.corp.natinst.com (130.164.68.18) by us-aus-excas-p1.ni.corp.natinst.com (130.164.68.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Thu, 15 May 2025 11:57:48 -0500 Received: from sombRayRo.ni.corp.natinst.com (172.18.68.32) by us-aus-excas-p2.ni.corp.natinst.com (130.164.68.18) with Microsoft SMTP Server id 15.2.1258.28 via Frontend Transport; Thu, 15 May 2025 11:57:47 -0500 From: Rajendra Desai To: CC: Rajendra Desai Subject: [PATCH 3/5] perl-ptest: include g++ as a recommended package Date: Thu, 15 May 2025 22:20:07 +0530 Message-ID: <20250515165010.242349-4-rajendra.desai@emerson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250515165010.242349-1-rajendra.desai@emerson.com> References: <20250515165010.242349-1-rajendra.desai@emerson.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: U0hw3336SUIPkblkoqdBNx774BmVJwja X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTE1MDE2OSBTYWx0ZWRfX++p55OnZ9HyY hwe5Jkx8B/dAPSqjW99xGFpcpBpmRBcIqpriUPvozHYBIkMDRfJASuyy44kS0kA9/hm7mFf3FmT bR29tuFreDmO2Nz6/zYiMTf/dXmX4VOLs7rUOZQWjTSBIl/wOnikcHNky+JlgdXr1RW4VepYUwG dQ1K0cYbuKlJK7BVrFiuBUkHS3LHKH2m9VhcRP0VuZYSr9uw1fV7vI6wHva8vtQeCScLv/U3N8y odoyCPX+MIBj/BNv1oqO0BcSqNuOa/wPhAy/ZeYbBY7GkOKr1wExWSp1yDatCdlTi+IsjhbOx37 /cuRyddeg3U4yy9OgGW+Okc1e5G68JrA2LqgvuIGXxDxFnK7HKc7p3HoXE9hwMP+uKspxurZgxj VV/RttmsYExVfhklRECIqwIwclIyI53RlzkK2PxOB2G7SclKbvlRoHGn+/A4cXF0rF+L7x2z X-Authority-Analysis: v=2.4 cv=dKummPZb c=1 sm=1 tr=0 ts=68261d15 cx=c_pps a=cVKeW2pxJVqlUTLH3Z+MUA==:117 a=cVKeW2pxJVqlUTLH3Z+MUA==:17 a=dt9VzEwgFbYA:10 a=geDs06hvAAAA:8 a=e3XReqEdg1xMzR6-cUEA:9 a=7yvi0DHx91fDKfvzWsLo:22 X-Proofpoint-GUID: U0hw3336SUIPkblkoqdBNx774BmVJwja X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-15_07,2025-05-15_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=878 impostorscore=0 mlxscore=0 bulkscore=0 phishscore=0 priorityscore=1501 adultscore=0 suspectscore=0 clxscore=1015 lowpriorityscore=0 spamscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505070000 definitions=main-2505150169 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 15 May 2025 16:58:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/216697 The following perl ptests: dist/ExtUtils-ParseXS/t/001-basic dist/ExtUtils-ParseXS/t/002-more dist/ExtUtils-ParseXS/t/003-usage are giving out below warning while running on the yocto CI build: /usr/lib/gcc/x86_64-poky-linux/14.2.0/../../../../x86_64-poky-linux/bin/ld: cannot find crtbeginS.o: No such file or directory /usr/lib/gcc/x86_64-poky-linux/14.2.0/../../../../x86_64-poky-linux/bin/ld: cannot find -lgcc: No such file or directory /usr/lib/gcc/x86_64-poky-linux/14.2.0/../../../../x86_64-poky-linux/bin/ld: cannot find -lgcc_s: No such file or directory collect2: error: ld returned 1 exit status additionally, 2 of the tests are skipping out: SKIP: cpan/ExtUtils-Constant/t/Constant /usr/lib/gcc/x86_64-poky-linux/14.2.0/../../../../x86_64-poky-linux/bin/ld: cannot find crtbeginS.o: No such file or directory /usr/lib/gcc/x86_64-poky-linux/14.2.0/../../../../x86_64-poky-linux/bin/ld: cannot find -lgcc: No such file or directory /usr/lib/gcc/x86_64-poky-linux/14.2.0/../../../../x86_64-poky-linux/bin/ld: cannot find -lgcc_s: No such file or directory collect2: error: ld returned 1 exit status SKIP: cpan/ExtUtils-MakeMaker/t/02-xsdynamic This is mainly due to a missing g++ dependency which is needed by the above tests. Hence, adding the package under RRECOMMENDS to make sure the tests are able to find the compiler and that the tests do not skip or output the missing file or directory warning. Signed-off-by: Rajendra Desai --- meta/recipes-devtools/perl/perl-ptest.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc index 3eab5e25e9..e14f0d0403 100644 --- a/meta/recipes-devtools/perl/perl-ptest.inc +++ b/meta/recipes-devtools/perl/perl-ptest.inc @@ -60,7 +60,7 @@ python populate_packages:prepend() { } RDEPENDS:${PN}-ptest += "${PN}-modules ${PN}-doc sed procps-ps" -RRECOMMENDS:${PN}-ptest += "gcc libxcrypt-dev" +RRECOMMENDS:${PN}-ptest += "gcc libxcrypt-dev g++" # The perl-ptest package contains Perl internal modules and generating file # dependencies for it causes problems. From patchwork Thu May 15 16:50:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Desai X-Patchwork-Id: 63063 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 BE22CC3DA6D for ; Thu, 15 May 2025 16:58:05 +0000 (UTC) Received: from mx0a-00300601.pphosted.com (mx0a-00300601.pphosted.com [148.163.146.64]) by mx.groups.io with SMTP id smtpd.web10.17777.1747328276277975759 for ; Thu, 15 May 2025 09:57:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@emerson.com header.s=email header.b=CH3pnxq2; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: emerson.com, ip: 148.163.146.64, mailfrom: prvs=4230c9aaef=rajendra.desai@emerson.com) Received: from pps.filterd (m0142705.ppops.net [127.0.0.1]) by mx0b-00300601.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 54FGkq6i037654 for ; Thu, 15 May 2025 16:57:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emerson.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=email; bh=LW7V pnRhdQfndmDHEqUej2oGp1epVMHvqibObybzoj8=; b=CH3pnxq2sOmYjrW/dOLh J3Fm8+wHa3tZfKhrjP2qHyJTtzMZ3O/KbdmNoJ9zcOq1BdswzAo0LhUc6jajZtR1 Z2+y5dy43aosSFCtXQulxwNitu3DQscSJfLDzUdbVCbOEUwsM0bJ59vFfF6ci1s2 TnZknGyjmyhSdkHKKFJI7gGq0y5asR6aOdkWNDUSFeR+2XRHqDb9NEr+p1/p9czE +0I8V+Rq5yn2LkHBK9TPiXEiPSHJEIhM7xcuKjksv0NtqUVnqqzylIt/gcGU2Quq VZxp8fvDylan9p9gTYttKLr3vAIHka0WIh5ZossGAC1ZCfd5cuvej+DEp+VNqe8W yA== Received: from us-aus-excas-p2.ni.corp.natinst.com ([130.164.94.74]) by mx0b-00300601.pphosted.com (PPS) with ESMTPS id 46nm3406tm-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 15 May 2025 16:57:55 +0000 (GMT) Received: from us-aus-excas-p2.ni.corp.natinst.com (130.164.68.18) by us-aus-excas-p2.ni.corp.natinst.com (130.164.68.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Thu, 15 May 2025 11:57:53 -0500 Received: from sombRayRo.ni.corp.natinst.com (172.18.68.32) by us-aus-excas-p2.ni.corp.natinst.com (130.164.68.18) with Microsoft SMTP Server id 15.2.1258.28 via Frontend Transport; Thu, 15 May 2025 11:57:52 -0500 From: Rajendra Desai To: CC: Rajendra Desai Subject: [PATCH 4/5] perl-ptest: include make as a recommended package Date: Thu, 15 May 2025 22:20:08 +0530 Message-ID: <20250515165010.242349-5-rajendra.desai@emerson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250515165010.242349-1-rajendra.desai@emerson.com> References: <20250515165010.242349-1-rajendra.desai@emerson.com> MIME-Version: 1.0 X-Proofpoint-GUID: HnA1QI9yqYeZWkjMmi2Ryg6YYpu6PE6S X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTE1MDE2OSBTYWx0ZWRfX//LrXL1ZA5E9 PuKOhRVlFOnduHqJlcCmbBuIDlTGADLHXzPUPapG0bb90V0EDPQDPA7uu3vxxCobNjUUryPW8Rm 7Z8AOlvD4LvvrvCreiBbaBewKJNE2fkvqlZt6/vnOeuWupj2fJ2Jj2XBmVUzLRsRsRtZFOLvo8M a28GQMsEj+KqmyDzeNbGIGqE7q1oUAJ3EuCzlnL6yAmHNkd8Ejs1mro4hkMqDcfLAntthfK3GXT ugmzkru4dJiQx7DbbU64waeOFMQBNqyVpBxiZUjmEJioOd8OhO2Sp6PYw0QDgVhp2IRShm9evo/ ED3g5bd+diHFz2xdwouJgGqEqvrA5sUpc4xOMI7dQ09jsFrzG4eSveoTK9BiPIMKHjBfq2i7YBV hgRDlTq/YWj91W/4iDf3FP7ApoyMG2e7DwNCcQOmqxwTcMN3NBIiWE1031itSH3VK960nv5A X-Authority-Analysis: v=2.4 cv=H/rbw/Yi c=1 sm=1 tr=0 ts=68261d13 cx=c_pps a=VUOoxcgKHUMpfFMIT0tLvw==:117 a=VUOoxcgKHUMpfFMIT0tLvw==:17 a=dt9VzEwgFbYA:10 a=geDs06hvAAAA:8 a=oLMx_og6YXf7H0T5OWQA:9 a=7yvi0DHx91fDKfvzWsLo:22 X-Proofpoint-ORIG-GUID: HnA1QI9yqYeZWkjMmi2Ryg6YYpu6PE6S X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-15_07,2025-05-15_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 clxscore=1015 bulkscore=0 spamscore=0 adultscore=0 priorityscore=1501 impostorscore=0 mlxscore=0 phishscore=0 mlxlogscore=901 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505070000 definitions=main-2505150169 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 15 May 2025 16:58:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/216696 The following perl ptest: cpan/ExtUtils-MakeMaker/t/02-xsdynamic is failing with below error: Failed test '"make" exited normally' at lib/MakeMaker/Test/Setup/XS.pm line 448. got: '32512' expected: '0' sh: make: not found This is mainly due to a missing make dependency which is needed by the above test. Hence, adding the package under RRECOMMENDS. Signed-off-by: Rajendra Desai --- meta/recipes-devtools/perl/perl-ptest.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc index e14f0d0403..df6db7def9 100644 --- a/meta/recipes-devtools/perl/perl-ptest.inc +++ b/meta/recipes-devtools/perl/perl-ptest.inc @@ -60,7 +60,7 @@ python populate_packages:prepend() { } RDEPENDS:${PN}-ptest += "${PN}-modules ${PN}-doc sed procps-ps" -RRECOMMENDS:${PN}-ptest += "gcc libxcrypt-dev g++" +RRECOMMENDS:${PN}-ptest += "gcc libxcrypt-dev g++ make" # The perl-ptest package contains Perl internal modules and generating file # dependencies for it causes problems. From patchwork Thu May 15 16:50:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Desai X-Patchwork-Id: 63064 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 BF408C54754 for ; Thu, 15 May 2025 16:58:05 +0000 (UTC) Received: from mx0a-00300601.pphosted.com (mx0a-00300601.pphosted.com [148.163.146.64]) by mx.groups.io with SMTP id smtpd.web10.17784.1747328283087158735 for ; Thu, 15 May 2025 09:58:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@emerson.com header.s=email header.b=1fN0njcz; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: emerson.com, ip: 148.163.146.64, mailfrom: prvs=4230c9aaef=rajendra.desai@emerson.com) Received: from pps.filterd (m0359308.ppops.net [127.0.0.1]) by mx0b-00300601.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 54FEXeOL006404 for ; Thu, 15 May 2025 16:58:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emerson.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=email; bh=2DEe rB9KSmDBftcEtxECrgiSCyb2FG9yEJhUY90tBnk=; b=1fN0njcz8VOr7MzbQRjQ pjKJLPIS8BYygzUU3l4Q4hs2lu1OoT1FAlfE6Sry30pADJAVP5P4dDObUL5f3VqW 5gIcuqMs5V3tSKQTXXsS+ZVAbTGs+CM2mRwozHFdKoKAhvkbdJW/C7Zx3S435pdN cVPMwpgygFetTNj3JG41mD20PHYtLJEFKoTb20g/PbPN7ZO5cFM9G3NGa/quVcTj JSISrnsn9DDOXyy0RX+Odb7xurtaN7oFyTABYGQkFyo5OCkd98mFMojrl6fHl5u/ 125rXYqVPrzWpRGAVyheScHITendQbWc+HcwZ/LopSJEGvNP0Im2tjhETwpuSiU6 jQ== Received: from us-aus-excas-p1.ni.corp.natinst.com ([130.164.94.73]) by mx0b-00300601.pphosted.com (PPS) with ESMTPS id 46nj4h2ntr-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 15 May 2025 16:58:02 +0000 (GMT) Received: from us-aus-excas-p2.ni.corp.natinst.com (130.164.68.18) by us-aus-excas-p1.ni.corp.natinst.com (130.164.68.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Thu, 15 May 2025 11:58:00 -0500 Received: from sombRayRo.ni.corp.natinst.com (172.18.68.32) by us-aus-excas-p2.ni.corp.natinst.com (130.164.68.18) with Microsoft SMTP Server id 15.2.1258.28 via Frontend Transport; Thu, 15 May 2025 11:57:58 -0500 From: Rajendra Desai To: CC: Rajendra Desai Subject: [PATCH 5/5] perl-ptest: copy xconfig data from perl source directory Date: Thu, 15 May 2025 22:20:09 +0530 Message-ID: <20250515165010.242349-6-rajendra.desai@emerson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250515165010.242349-1-rajendra.desai@emerson.com> References: <20250515165010.242349-1-rajendra.desai@emerson.com> MIME-Version: 1.0 X-Authority-Analysis: v=2.4 cv=Yf+95xRf c=1 sm=1 tr=0 ts=68261d1a cx=c_pps a=cVKeW2pxJVqlUTLH3Z+MUA==:117 a=cVKeW2pxJVqlUTLH3Z+MUA==:17 a=dt9VzEwgFbYA:10 a=geDs06hvAAAA:8 a=Zzrao7GPYH0jphs0LQwA:9 a=7yvi0DHx91fDKfvzWsLo:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTE1MDE2OSBTYWx0ZWRfX2IwWk0p7ncuZ I90zDMv47lvQAtTWYOEDWqGePwf+mHByxL9p3j0jKxB+kEl8OPbPEZS7mhYXaLcvg/Mn5ix4gQ9 89rHXiF99It9/irkkIIa8snIvrVgYzkI7c030Dwke8LVrK4NydiPWJp0pGvXtEKELNCzHnW58R8 K7sHxFL8UiiqvDcMo2YD8lvTq/1FSRp4xVl7d8xVcnafTgnqGu2arkUTHNpSFZPQNRSS4pCgShl cb1/OFpjTRXmP1q5KXQFGDCcUfP6ivRgsOYoZaadKVJyFn+IjCRoeeP0Qppa+ZmpiIff1UitWgF Hng0z+XIKnkzdpxXgWurDCqXCjG9iRdmU6vCF2m6N/GeNnR00bhSBxLqksNchD2xW4tfYYdZK9M CHFyuBa1eNVhsBcwy6zt46Qzet8UcqClXORXF0hmTrxt/w2ePmRCLeWQJQF+CdF4hakaujhk X-Proofpoint-GUID: dNBwxuvJFyuO-Si11huLvC4mNrn2jOqB X-Proofpoint-ORIG-GUID: dNBwxuvJFyuO-Si11huLvC4mNrn2jOqB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-15_07,2025-05-15_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 suspectscore=0 lowpriorityscore=0 spamscore=0 clxscore=1015 adultscore=0 mlxlogscore=999 mlxscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505070000 definitions=main-2505150169 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 15 May 2025 16:58:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/216698 The following perl ptests: - dist/ExtUtils-ParseXS/t/001-basic - dist/ExtUtils-ParseXS/t/002-more - dist/ExtUtils-ParseXS/t/003-usage - cpan/ExtUtils-Constant/t/Constant - cpan/ExtUtils-MakeMaker/t/02-xsdynamic are erroring out with: | /usr/lib/perl/ptest/perl_langinfo.h:8:10: fatal error: xconfig.h: No such file or directory | 8 | #include "xconfig.h" xconfig.h contains references to the build host architecture and was removed by commit 2e0f30c46802 ("perl: do not install files that contain build host specific data") However, it is still included from various other places including these tests, and we are still depending on build host architecture data by including the patches from perl-cross recipe, a dependency to perl recipe. xconfig.h was added back as a copy step in the commit 5b18d7a0c048 ("update 5.36.1 -> 5.38.0") but was not added back in perl-ptest include file. Borrowed the logic from the above commit to make a copy of config.h that is specific to the target architecture. The changes in this commit fixes the test failures. Signed-off-by: Rajendra Desai --- meta/recipes-devtools/perl/perl-ptest.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc index df6db7def9..d9eb0a1905 100644 --- a/meta/recipes-devtools/perl/perl-ptest.inc +++ b/meta/recipes-devtools/perl/perl-ptest.inc @@ -20,6 +20,11 @@ do_install_ptest () { ln -sf ${bindir}/perl ${D}${PTEST_PATH}/t/perl + # xconfig.h contains references to build host architecture, and yet is included from various other places. + # To make it reproducible let's make it a copy of config.h patch that is specific to the target architecture. + # It is believed that the original header is the product of building miniperl (a helper executable built with host compiler). + cp ${D}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/CORE/config.h ${D}${PTEST_PATH}/xconfig.h + # Remove build host references from various scattered files... find "${D}${PTEST_PATH}" \ \( -name '*.PL' -o -name 'myconfig' -o -name 'cflags' -o -name '*.pl' -o -name '*.sh' -o -name '*.pm' \ @@ -44,7 +49,7 @@ do_install_ptest () { sed -i -e '/Autogenerated starting on/d' ${D}${PTEST_PATH}/lib/unicore/mktables.lst # Remove files with host-specific configuration for building native binaries - rm ${D}${PTEST_PATH}/Makefile.config ${D}${PTEST_PATH}/xconfig.h ${D}${PTEST_PATH}/xconfig.sh + rm ${D}${PTEST_PATH}/Makefile.config ${D}${PTEST_PATH}/xconfig.sh # create an empty file that is checked for existence by makerel test touch ${D}${PTEST_PATH}/win32/Makefile