From patchwork Wed Oct 22 02:59:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongxu Jia X-Patchwork-Id: 72822 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 A74B6CCD1A5 for ; Wed, 22 Oct 2025 02:59:51 +0000 (UTC) Received: from mx0a-0064b401.pphosted.com (mx0a-0064b401.pphosted.com [205.220.166.238]) by mx.groups.io with SMTP id smtpd.web11.187.1761101990807358461 for ; Tue, 21 Oct 2025 19:59:50 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=Feb0rGRJ; 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.166.238, mailfrom: prvs=2390edad6f=hongxu.jia@windriver.com) Received: from pps.filterd (m0250809.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 59M2uvb3162092 for ; Tue, 21 Oct 2025 19:59:50 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=PPS06212021; bh=oJUkB+V3GfJAHDqsTNeROEiqwx4BtXkoxfzCsqGQ6eA=; b=Feb0rGRJYiMl birEgYEj++fw+sQSl9ofBNz6zjQnaJRlmbiXCBsYLN4PU+JCRETXIiZBTsjB4fpQ ahtesb1ffU5sofnDWxc8ouAqVWbjpzMxxW4psBm7WgmS0GM07T4jFNLoLtRoWYmK nCQbkornGwJtwKFSAqosjx8TYmhgY3n6CDXIMFLmAGQGXMq5yLCSxw0cdx3LEAdq kp32w7d4I8xK/QPckBMSJqiKiq7prtDmPTnDrc362JhZGiE4NW2yOeF6DorsXjqU 1gSLGrj/gDSbAwDhTDPd4ogfBDyZm7swc4YXoI4ArSksc4GlePzXMP31sJr125oS gviHH3LmYg== Received: from ala-exchng02.corp.ad.wrs.com ([128.224.246.37]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 49vadj3r38-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 21 Oct 2025 19:59:50 -0700 (PDT) Received: from ala-exchng01.corp.ad.wrs.com (10.11.224.121) by ALA-EXCHNG02.corp.ad.wrs.com (10.11.224.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.59; Tue, 21 Oct 2025 19:59:49 -0700 Received: from pek-lpg-core5.wrs.com (10.11.232.110) by ala-exchng01.corp.ad.wrs.com (10.11.224.121) with Microsoft SMTP Server id 15.1.2507.59 via Frontend Transport; Tue, 21 Oct 2025 19:59:49 -0700 From: Hongxu Jia To: Subject: [meta-oe][PATCH v3] poppler: fix racing build issue Date: Wed, 22 Oct 2025 10:59:48 +0800 Message-ID: <20251022025948.3520973-1-hongxu.jia@windriver.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <1870AFA4856349AB.25855@lists.openembedded.org> References: <1870AFA4856349AB.25855@lists.openembedded.org> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: OczlY5xDiDqzl_m0LQXfSbgGg0gSB4jb X-Authority-Analysis: v=2.4 cv=K+4v3iWI c=1 sm=1 tr=0 ts=68f848a6 cx=c_pps a=Lg6ja3A245NiLSnFpY5YKQ==:117 a=Lg6ja3A245NiLSnFpY5YKQ==:17 a=x6icFKpwvdMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=e5mUnYsNAAAA:8 a=t7CeM3EgAAAA:8 a=1RYnrb_XOU5N2zFwRhgA:9 a=Vxmtnl_E_bksehYqCbjh:22 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDIyMDAyMyBTYWx0ZWRfX+TbvNPzjJdiY RMjfn162g+yzT/YvDWs+yCcGA5nUB/ROr9PAG/9AWTk9hBdSdMBFcLQONBND0xTYQtRjAjQ2D+r tML59KGJ7uB5UT5PwU6d85yLB+x6EPBMS3il1UCOB7fdXhaQZFT8chVgrzYln4e6bN+2kKA/fBT O36sI666jU8V5F8NmtOWP2C+rjn3hvgS2cQxSaEHVjnmYi1BtseEoGXslFUHaPpW495KyiJBL9G xsuKh81w46zGnnKUeqN+gdQZn8RBVXE7m0TaQXUd/65b6lYB343J1fitDAUrokXnRa3z1eeP9b7 kcBYcqiJHbsJmxVbWgCYNHDAByWowpI4KV/VVxr5I32wXDldLvgPREk9NRT7BFfD9N3al/macDy 0NecEmiSImDHrzc3QCWeoPm56kIzXA== X-Proofpoint-GUID: OczlY5xDiDqzl_m0LQXfSbgGg0gSB4jb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-10-22_01,2025-10-13_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 impostorscore=0 phishscore=0 clxscore=1015 priorityscore=1501 malwarescore=0 spamscore=0 bulkscore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510020000 definitions=main-2510220023 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, 22 Oct 2025 02:59:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120878 There is a racing issue in world build while multilib enabled: ...log.do_install... CMake Error at utils/po/ca/cmake_install.cmake:46 (file): file INSTALL cannot find "TOPDIR/tmp/work/core2-32-wrs-linux/poppler/25.08.0/build/utils/po/ca/pdfsig.gmo": No such file or directory. Call Stack (most recent call first): utils/po/cmake_install.cmake:47 (include) utils/cmake_install.cmake:243 (include) cmake_install.cmake:229 (include) ...log.do_install... The issue has reported to upstream [1] and upstream tried to fix it [2], but the issue still existed. The catalan translation of pdfsig is not vital for poppler. So revert upstream commit "pdfsig: Catalan translation" to workaround [1] https://gitlab.freedesktop.org/poppler/poppler/-/issues/1551 [2] https://gitlab.freedesktop.org/poppler/poppler/-/commit/053acd5d2b310c696993dc97072d1f2b3b1dd7ac Signed-off-by: Hongxu Jia --- .../0001-workaround-build-racing.patch | 43 +++++++++++++++++++ .../poppler/poppler_25.08.0.bb | 1 + 2 files changed, 44 insertions(+) create mode 100644 meta-oe/recipes-support/poppler/poppler/0001-workaround-build-racing.patch diff --git a/meta-oe/recipes-support/poppler/poppler/0001-workaround-build-racing.patch b/meta-oe/recipes-support/poppler/poppler/0001-workaround-build-racing.patch new file mode 100644 index 0000000000..fdf4f7ff70 --- /dev/null +++ b/meta-oe/recipes-support/poppler/poppler/0001-workaround-build-racing.patch @@ -0,0 +1,43 @@ +From 83ad73024c69d41fda302f39acf50c381684890e Mon Sep 17 00:00:00 2001 +From: Hongxu Jia +Date: Tue, 21 Oct 2025 02:39:36 -0700 +Subject: [PATCH] workaround build racing + +There is a racing issue in world build while multilib enabled: + +...log.do_install... +CMake Error at utils/po/ca/cmake_install.cmake:46 (file): + file INSTALL cannot find + "TOPDIR/tmp/work/core2-32-wrs-linux/poppler/25.08.0/build/utils/po/ca/pdfsig.gmo": + No such file or directory. +Call Stack (most recent call first): + utils/po/cmake_install.cmake:47 (include) + utils/cmake_install.cmake:243 (include) + cmake_install.cmake:229 (include) +...log.do_install... + +Revert "pdfsig: Catalan translation" to workaround + +This reverts commit 99f5416d9bfb6a34bbc5cbcb368e258b98fd3f08. + +Upstream-Status: Inappropriate [Yocto specific] + +Signed-off-by: Hongxu Jia +--- + utils/po/ca/CMakeLists.txt | 4 ---- + 1 file changed, 4 deletions(-) + delete mode 100644 utils/po/ca/CMakeLists.txt + +diff --git a/utils/po/ca/CMakeLists.txt b/utils/po/ca/CMakeLists.txt +deleted file mode 100644 +index 3225131c..00000000 +--- a/utils/po/ca/CMakeLists.txt ++++ /dev/null +@@ -1,4 +0,0 @@ +-get_filename_component(_lang ${CMAKE_CURRENT_SOURCE_DIR} NAME) +-gettext_process_po_files(${_lang} ALL INSTALL_DESTINATION ${CMAKE_INSTALL_LOCALEDIR} PO_FILES +- pdfsig.po +-) +-- +2.49.0 + diff --git a/meta-oe/recipes-support/poppler/poppler_25.08.0.bb b/meta-oe/recipes-support/poppler/poppler_25.08.0.bb index 45f94b0ae7..3b0b4b0e99 100644 --- a/meta-oe/recipes-support/poppler/poppler_25.08.0.bb +++ b/meta-oe/recipes-support/poppler/poppler_25.08.0.bb @@ -7,6 +7,7 @@ SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.xz \ file://0001-Do-not-overwrite-all-our-build-flags.patch \ file://basename-include.patch \ file://0001-cmake-Do-not-use-isystem.patch \ + file://0001-workaround-build-racing.patch \ " SRC_URI[sha256sum] = "425ed4d4515a093bdcdbbaac6876f20617451edc710df6a4fd6c45dd67eb418d"