From patchwork Mon Sep 15 11:54:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 70686 Return-Path: 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 52EF7CAC597 for ; Mon, 15 Sep 2025 11:54:52 +0000 (UTC) Received: from a27-30.smtp-out.us-west-2.amazonses.com (a27-30.smtp-out.us-west-2.amazonses.com [54.240.27.30]) by mx.groups.io with SMTP id smtpd.web10.30901.1757937287103732334 for ; Mon, 15 Sep 2025 04:54:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=j46ser6a2yusdzubpv7m7ewqgesde2ie header.b=2P1Xq+RU; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b=JzNmN9kp; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.30, mailfrom: 010101994d3a3c7a-3173d2b5-ac7d-477e-863f-95217a46ff87-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=j46ser6a2yusdzubpv7m7ewqgesde2ie; d=yoctoproject.org; t=1757937286; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=1SHCUOefOwZAhM4l/xhwENGWAg5c8hL7M+HtqN49Zxg=; b=2P1Xq+RU9HOSjSut088xGAQTSZDeCrA1DKGY/8Myarpy1D4Rxype0mxCQGN05/Q7 TIyR2QNd2I4JpE1V6bg5MySDKJ1e5qsAx6S/KD+HED7XPCFSPL6skCTqL4+ujzoaj3f x4f+T3OAOmnrRJ8W33f9Ircj4oGyxw7cExHvM1+E= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1757937286; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=1SHCUOefOwZAhM4l/xhwENGWAg5c8hL7M+HtqN49Zxg=; b=JzNmN9kp9ZpNKmUZ7YfN3tceo3odgAK91nmglwyGH9GyI2tg0KZ+7O5Dy6iydQKj 6mM58g0Cp5FqwaPHQP8GLWCdVN7CnrybEOqBXmkqhHeAYJ2c2aIK+xkOxN/OUumMHkn 6AY1IJTd2v1gJQT62Ee3d3M09BO10W+hdw+v66M8= MIME-Version: 1.0 From: auh@yoctoproject.org To: Hongxu Jia Cc: openembedded-core@lists.openembedded.org Subject: [AUH] ghostscript: upgrading to 10.06.0 FAILED Message-ID: <010101994d3a3c7a-3173d2b5-ac7d-477e-863f-95217a46ff87-000000@us-west-2.amazonses.com> Date: Mon, 15 Sep 2025 11:54:46 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2025.09.15-54.240.27.30 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 ; Mon, 15 Sep 2025 11:54:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/223445 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *ghostscript* to *10.06.0* has Failed(do_compile). Detailed error information: do_compile failed Next steps: - apply the patch: git am 0001-ghostscript-upgrade-10.05.1-10.06.0.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 7dc2d954b2a8fba9b2bce248970ff896222cac9e Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Mon, 15 Sep 2025 08:52:07 +0000 Subject: [PATCH] ghostscript: upgrade 10.05.1 -> 10.06.0 --- ...Fix-compatibility-with-C23-compilers.patch | 67 ------------------- .../avoid-host-contamination.patch | 4 +- .../ghostscript-9.16-Werror-return-type.patch | 2 +- ...ript_10.05.1.bb => ghostscript_10.06.0.bb} | 3 +- 4 files changed, 4 insertions(+), 72 deletions(-) delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/0001-Bug-708160-Fix-compatibility-with-C23-compilers.patch rename meta/recipes-extended/ghostscript/{ghostscript_10.05.1.bb => ghostscript_10.06.0.bb} (94%) diff --git a/meta/recipes-extended/ghostscript/ghostscript/0001-Bug-708160-Fix-compatibility-with-C23-compilers.patch b/meta/recipes-extended/ghostscript/ghostscript/0001-Bug-708160-Fix-compatibility-with-C23-compilers.patch deleted file mode 100644 index 78f3fc1c34..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/0001-Bug-708160-Fix-compatibility-with-C23-compilers.patch +++ /dev/null @@ -1,67 +0,0 @@ -From c595086bfe206776676e290df98cd09e91210e27 Mon Sep 17 00:00:00 2001 -From: Alex Cherepanov -Date: Thu, 3 Apr 2025 17:19:41 +0100 -Subject: [PATCH] Bug 708160: Fix compatibility with C23 compilers -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -* fixes: - http://errors.yoctoproject.org/Errors/Details/853021/ - -In file included from ./base/genconf.c:18: -./base/stdpre.h:348:13: error: ‘bool’ cannot be defined via ‘typedef’ - 348 | typedef int bool; - | ^~~~ -./base/stdpre.h:348:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwards -./base/stdpre.h:348:1: warning: useless type name in empty declaration - 348 | typedef int bool; - | ^~~~~~~ - -Upstream-Status: Backport [Partial backport of https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/base/stdpre.h?id=ae940946473ceb8c5353bc6e7f04673c6e60502d] - -Signed-off-by: Martin Jansa ---- - base/stdpre.h | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/base/stdpre.h b/base/stdpre.h -index dda30b6..2f9c84e 100644 ---- a/base/stdpre.h -+++ b/base/stdpre.h -@@ -1,4 +1,4 @@ --/* Copyright (C) 2001-2023 Artifex Software, Inc. -+/* Copyright (C) 2001-2025 Artifex Software, Inc. - All Rights Reserved. - - This software is provided AS-IS with no warranty, either express or -@@ -341,7 +341,9 @@ typedef signed char schar; - * and the MetroWerks C++ compiler insists that bool be equivalent to - * unsigned char. - */ --#ifndef __cplusplus -+ -+/* C23 has bool as a builtin type. */ -+#if !defined(__cplusplus) && (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 202311L) - #ifdef __BEOS__ - typedef unsigned char bool; - #else -diff --git a/base/gp.h b/base/gp.h -index ad5bb61..cf2c9cf 100644 ---- a/base/gp.h -+++ b/base/gp.h -@@ -1,4 +1,4 @@ --/* Copyright (C) 2001-2023 Artifex Software, Inc. -+/* Copyright (C) 2001-2025 Artifex Software, Inc. - All Rights Reserved. - - This software is provided AS-IS with no warranty, either express or -@@ -646,7 +646,7 @@ int gp_fseek_impl(FILE *strm, gs_offset_t offset, int origin); - /* Create a second open gp_file on the basis of a given one */ - FILE *gp_fdup_impl(FILE *f, const char *mode); - --int gp_fseekable_impl(FILE *f); -+bool gp_fseekable_impl(FILE *f); - - /* Force given file into binary mode (no eol translations, etc) */ - /* if 2nd param true, text mode if 2nd param false */ diff --git a/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch b/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch index d191231c7b..fb914c0dfa 100644 --- a/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch +++ b/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch @@ -1,4 +1,4 @@ -From 85905ce3b1bc63f0be9eda9888e40d8e7a803d21 Mon Sep 17 00:00:00 2001 +From efc886e916b04e5bbc0fe8d6c677db1674977773 Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Thu, 29 Mar 2018 16:02:05 +0800 Subject: [PATCH] avoid host contamination @@ -15,7 +15,7 @@ Signed-off-by: Hongxu Jia 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/devs.mak b/devices/devs.mak -index a5dbc7a..27b55f2 100644 +index 5785168..f6d4c21 100644 --- a/devices/devs.mak +++ b/devices/devs.mak @@ -403,7 +403,7 @@ $(DEVOBJ)gdevxalt.$(OBJ) : $(DEVSRC)gdevxalt.c $(GDEVX) $(math__h) $(memory__h)\ diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.16-Werror-return-type.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.16-Werror-return-type.patch index 0598c3dcd2..1d5819d233 100644 --- a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.16-Werror-return-type.patch +++ b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.16-Werror-return-type.patch @@ -1,4 +1,4 @@ -From c23b787f9a38be2cdc57133915c402b69acedd1a Mon Sep 17 00:00:00 2001 +From 4845bdb4e48968d99d5f6619b652bebc0a82b275 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Mon, 4 May 2015 22:31:48 -0700 Subject: [PATCH] base/gendev.c: fix for -Werror=return-type diff --git a/meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb b/meta/recipes-extended/ghostscript/ghostscript_10.06.0.bb similarity index 94% rename from meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb rename to meta/recipes-extended/ghostscript/ghostscript_10.06.0.bb index 417bf52a99..ad4e7f813b 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_10.06.0.bb @@ -24,10 +24,9 @@ def gs_verdir(v): SRC_URI = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${@gs_verdir("${PV}")}/${BPN}-${PV}.tar.gz \ file://ghostscript-9.16-Werror-return-type.patch \ file://avoid-host-contamination.patch \ - file://0001-Bug-708160-Fix-compatibility-with-C23-compilers.patch \ " -SRC_URI[sha256sum] = "121861b6d29b2461dec6575c9f3cab665b810bd408d4ec02c86719fa708b0a49" +SRC_URI[sha256sum] = "5bd6da34794928cc7e616f288e32bd0be7f9a5ca2d3c206a0af2c19a4e3a318f" PACKAGECONFIG ??= "" PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+3"