package/ghostscript: link with libatomic if needed
PATCH v2 1/2 package/ghostscript: link with libatomic if needed
Fixes:
https://autobuild.buildroot.net/results/eed/eed88a2a77cb8c4ff8c59bac5091221e6873004c/
The build error occurs since 2024 so a backport to LTS branches should be considered:
https://autobuild.buildroot.net/results/1ab/1ab4767c1198838c3e3d126cdba790197d102053/
---
v2: added first build error recorded by the autobuilders
package/ghostscript/ghostscript.mk | 5 +++++ 1 file changed, 5 insertions(+)
package/ghostscript/ghostscript.mk +5 -0
@@ -37,6 +37,11 @@ GHOSTSCRIPT_CONF_ENV = \ CFLAGSAUX="$(HOST_CFLAGS) $(HOST_LDFLAGS)" \ PKGCONFIG="$(PKG_CONFIG_HOST_BINARY)" +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +GHOSTSCRIPT_MAKE_ENV += XTRALIBS=-latomic +endif + GHOSTSCRIPT_CONF_OPTS = \ --disable-compile-inits \ --enable-fontconfig \
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/ghostscript: security bump to version 10.08.0
https://ghostscript.readthedocs.io/en/gs10.08.0/News.html
"This release addresses a number of potential security issues."
---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/ebe6eaa9932490d58aa2eded1e2ab76d399f13a1
with the exception of an unrelated build error with the bootlin-arcle-hs38-uclibc toolchain.
package/ghostscript/ghostscript.hash | 4 ++-- package/ghostscript/ghostscript.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
package/ghostscript/ghostscript.hash +2 -2
@@ -1,5 +1,5 @@ -# From https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10071/SHA512SUMS -sha512 7b38ca10fa7ab648924f7db3e2e4933c3d18e04c8db1346fca4d4f7b85dfbd7888d5fc46f413613b46429fb47b675a593994c25e50e9de4dcdbee3bdd8a5e449 ghostscript-10.07.1.tar.xz +# From https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10080/SHA512SUMS +sha512 8006e2a32d03759a905b9548bdd83d4563173041006750e17e428b9eea24ad519aa4452ceecd7c073d3c420a68bf1b07ccc9e0533b1a05935f6b39ea8d9ce875 ghostscript-10.08.0.tar.xz # Hash for license file: sha256 8ce064f423b7c24a011b6ebf9431b8bf9861a5255e47c84bfb23fc526d030a8b LICENSE
package/ghostscript/ghostscript.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -GHOSTSCRIPT_VERSION = 10.07.1 +GHOSTSCRIPT_VERSION = 10.08.0 GHOSTSCRIPT_SOURCE = ghostscript-$(GHOSTSCRIPT_VERSION).tar.xz GHOSTSCRIPT_SITE = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs$(subst .,,$(GHOSTSCRIPT_VERSION)) GHOSTSCRIPT_LICENSE = AGPL-3.0
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Raphaël Mélotte via buildroot
AppliedRe: [Buildroot] [PATCH 2/2] package/ghostscript: security bump to version 10.08.0
In reply of:
Quoted 4 lines
https://ghostscript.readthedocs.io/en/gs10.08.0/News.html
"This release addresses a number of potential security issues."Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2025.02.x, 2026.08.x. Thanks
Quoted 27 lines
---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/ebe6eaa9932490d58aa2eded1e2ab76d399f13a1
with the exception of an unrelated build error with the bootlin-arcle-hs38-uclibc toolchain.package/ghostscript/ghostscript.hash | 4 ++-- package/ghostscript/ghostscript.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)package/ghostscript/ghostscript.hash +2
-2@@ -1,5 +1,5 @@ -# From https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10071/SHA512SUMS -sha512 7b38ca10fa7ab648924f7db3e2e4933c3d18e04c8db1346fca4d4f7b85dfbd7888d5fc46f413613b46429fb47b675a593994c25e50e9de4dcdbee3bdd8a5e449 ghostscript-10.07.1.tar.xz +# From https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10080/SHA512SUMS +sha512 8006e2a32d03759a905b9548bdd83d4563173041006750e17e428b9eea24ad519aa4452ceecd7c073d3c420a68bf1b07ccc9e0533b1a05935f6b39ea8d9ce875 ghostscript-10.08.0.tar.xz # Hash for license file: sha256 8ce064f423b7c24a011b6ebf9431b8bf9861a5255e47c84bfb23fc526d030a8b LICENSEpackage/ghostscript/ghostscript.mk +0
-0
package/ghostscript/ghostscript.mk line 10
Quoted 8 lines
package/ghostscript/ghostscript.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -GHOSTSCRIPT_VERSION = 10.07.1 +GHOSTSCRIPT_VERSION = 10.08.0 GHOSTSCRIPT_SOURCE = ghostscript-$(GHOSTSCRIPT_VERSION).tar.xz GHOSTSCRIPT_SITE = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs$(subst .,,$(GHOSTSCRIPT_VERSION)) GHOSTSCRIPT_LICENSE = AGPL-3.0
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 8 lines · Bernd Kuhls
Fixes:
https://autobuild.buildroot.net/results/eed/eed88a2a77cb8c4ff8c59bac5091221e6873004c/The build error occurs since 2024 so a backport to LTS branches should be considered:
https://autobuild.buildroot.net/results/1ab/1ab4767c1198838c3e3d126cdba790197d102053/Signed-off-by Bernd Kuhls <[email protected]>
Series applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Raphaël Mélotte via buildroot
AppliedIn reply of:
Quoted 8 lines
Fixes:
https://autobuild.buildroot.net/results/eed/eed88a2a77cb8c4ff8c59bac5091221e6873004c/The build error occurs since 2024 so a backport to LTS branches should be considered:
https://autobuild.buildroot.net/results/1ab/1ab4767c1198838c3e3d126cdba790197d102053/Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2025.02.x, 2026.08.x. Thanks
Quoted 12 lines
---
v2: added first build error recorded by the autobuilderspackage/ghostscript/ghostscript.mk | 5 +++++ 1 file changed, 5 insertions(+)package/ghostscript/ghostscript.mk +0
-0@@ -37,6 +37,11 @@ GHOSTSCRIPT_CONF_ENV = \ CFLAGSAUX="$(HOST_CFLAGS) $(HOST_LDFLAGS)" \
package/ghostscript/ghostscript.mk GHOSTSCRIPT_CONF_ENV = \ · line 47
Quoted 10 lines
package/ghostscript/ghostscript.mk +5
-0PKGCONFIG="$(PKG_CONFIG_HOST_BINARY)" +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +GHOSTSCRIPT_MAKE_ENV += XTRALIBS=-latomic +endif + GHOSTSCRIPT_CONF_OPTS = \ --disable-compile-inits \ --enable-fontconfig \
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot