public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/libvips: fix static build
@ 2026-03-07 19:08 Bernd Kuhls
  2026-03-07 19:08 ` [Buildroot] [PATCH 2/2] package/libvips: bump version to 8.18.0 Bernd Kuhls
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bernd Kuhls @ 2026-03-07 19:08 UTC (permalink / raw)
  To: buildroot; +Cc: Pieter De Gendt

Buildroot commit 72c7d99e22eb7706e413992cf7084438fea657bb switched the
build system to meson which causes an error during configure:

output/build/libvips-8.17.2/meson.build:108:4:
 ERROR: Problem encountered: GModule is not supported on your system,
 please reconfigure with -Dmodules=disabled

using this defconfig:

  BR2_arm=y
  BR2_TOOLCHAIN_EXTERNAL=y
  BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
  BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
  BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-static-2020.11.2.tar.bz2"
  BR2_TOOLCHAIN_EXTERNAL_GCC_9=y
  BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4=y
  BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
  # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
  BR2_TOOLCHAIN_EXTERNAL_CXX=y
  BR2_STATIC_LIBS=y
  BR2_PACKAGE_LIBVIPS=y

Added configure options for -Dmodules to fix the problem which was not
yet caught by the autobuilders.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/libvips/libvips.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/libvips/libvips.mk b/package/libvips/libvips.mk
index e7641fa8cd..729d5fb9e3 100644
--- a/package/libvips/libvips.mk
+++ b/package/libvips/libvips.mk
@@ -31,6 +31,12 @@ LIBVIPS_DEPENDENCIES = \
 	host-pkgconf expat libglib2 \
 	$(TARGET_NLS_DEPENDENCIES)
 
+ifeq ($(BR2_STATIC_LIBS),)
+LIBVIPS_CONF_OPTS += -Dmodules=enabled
+else
+LIBVIPS_CONF_OPTS += -Dmodules=disabled
+endif
+
 ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
 LIBVIPS_CONF_OPTS += -Dintrospection=enabled
 LIBVIPS_DEPENDENCIES += gobject-introspection
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] package/libvips: bump version to 8.18.0
  2026-03-07 19:08 [Buildroot] [PATCH 1/2] package/libvips: fix static build Bernd Kuhls
@ 2026-03-07 19:08 ` Bernd Kuhls
  2026-03-07 20:12 ` [Buildroot] [PATCH 1/2] package/libvips: fix static build Julien Olivain via buildroot
  2026-03-14  7:54 ` Thomas Perale via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: Bernd Kuhls @ 2026-03-07 19:08 UTC (permalink / raw)
  To: buildroot; +Cc: Pieter De Gendt

https://github.com/libvips/libvips/blob/v8.18.0/ChangeLog

Added dependency to gcc >= 4.9 due to C++14 features being used since
this version bump:
https://github.com/libvips/libvips/commit/3fa537480dda6170c3d8fb39abb838161d1c45ce

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/libvips/Config.in    | 5 +++--
 package/libvips/libvips.hash | 5 +++--
 package/libvips/libvips.mk   | 2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/package/libvips/Config.in b/package/libvips/Config.in
index 70d01f0e35..ec2d031141 100644
--- a/package/libvips/Config.in
+++ b/package/libvips/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBVIPS
 	bool "libvips"
 	depends on BR2_USE_WCHAR # libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
 	depends on BR2_USE_MMU # fork()
 	# C++ support is required to build libvips
 	# https://github.com/jcupitt/libvips/issues/231
@@ -15,7 +16,7 @@ config BR2_PACKAGE_LIBVIPS
 
 	  http://www.vips.ecs.soton.ac.uk/
 
-comment "libvips needs a toolchain w/ wchar, threads, C++"
+comment "libvips needs a toolchain w/ wchar, threads, C++, gcc >= 4.9"
 	depends on BR2_USE_MMU
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
-		!BR2_INSTALL_LIBSTDCPP
+		!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
diff --git a/package/libvips/libvips.hash b/package/libvips/libvips.hash
index dd7510ecb2..956ff5924a 100644
--- a/package/libvips/libvips.hash
+++ b/package/libvips/libvips.hash
@@ -1,3 +1,4 @@
-# From https://github.com/libvips/libvips/releases/download/v8.17.2/vips-8.17.2.tar.xz.sha256sum
-sha256  57ea0ec4f30ea04748c9e8eec5415e7c9ac7cafe6822e4788fc110376a1d224a  vips-8.17.2.tar.xz
+# From https://github.com/libvips/libvips/releases/download/v8.18.0/vips-8.18.0.tar.xz.sha256sum
+sha256  b85ab92280c30d22f5c8fe2f68b809cddb7eaac437d8c33474475dac84ddc574  vips-8.18.0.tar.xz
+# Locally computed
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  LICENSE
diff --git a/package/libvips/libvips.mk b/package/libvips/libvips.mk
index 729d5fb9e3..8e576038e7 100644
--- a/package/libvips/libvips.mk
+++ b/package/libvips/libvips.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBVIPS_VERSION = 8.17.2
+LIBVIPS_VERSION = 8.18.0
 LIBVIPS_SOURCE = vips-$(LIBVIPS_VERSION).tar.xz
 LIBVIPS_SITE = https://github.com/libvips/libvips/releases/download/v$(LIBVIPS_VERSION)
 LIBVIPS_LICENSE = LGPL-2.1+
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/libvips: fix static build
  2026-03-07 19:08 [Buildroot] [PATCH 1/2] package/libvips: fix static build Bernd Kuhls
  2026-03-07 19:08 ` [Buildroot] [PATCH 2/2] package/libvips: bump version to 8.18.0 Bernd Kuhls
@ 2026-03-07 20:12 ` Julien Olivain via buildroot
  2026-03-14  7:54 ` Thomas Perale via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: Julien Olivain via buildroot @ 2026-03-07 20:12 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, Pieter De Gendt

On 07/03/2026 20:08, Bernd Kuhls wrote:
[...]
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/libvips: fix static build
  2026-03-07 19:08 [Buildroot] [PATCH 1/2] package/libvips: fix static build Bernd Kuhls
  2026-03-07 19:08 ` [Buildroot] [PATCH 2/2] package/libvips: bump version to 8.18.0 Bernd Kuhls
  2026-03-07 20:12 ` [Buildroot] [PATCH 1/2] package/libvips: fix static build Julien Olivain via buildroot
@ 2026-03-14  7:54 ` Thomas Perale via buildroot
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Perale via buildroot @ 2026-03-14  7:54 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: Thomas Perale, buildroot

In reply of:
> Buildroot commit 72c7d99e22eb7706e413992cf7084438fea657bb switched the
> build system to meson which causes an error during configure:
> 
> output/build/libvips-8.17.2/meson.build:108:4:
>  ERROR: Problem encountered: GModule is not supported on your system,
>  please reconfigure with -Dmodules=disabled
> 
> using this defconfig:
> 
>   BR2_arm=y
>   BR2_TOOLCHAIN_EXTERNAL=y
>   BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
>   BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
>   BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-static-2020.11.2.tar.bz2"
>   BR2_TOOLCHAIN_EXTERNAL_GCC_9=y
>   BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4=y
>   BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
>   # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
>   BR2_TOOLCHAIN_EXTERNAL_CXX=y
>   BR2_STATIC_LIBS=y
>   BR2_PACKAGE_LIBVIPS=y
> 
> Added configure options for -Dmodules to fix the problem which was not
> yet caught by the autobuilders.
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to 2025.02.x, 2025.11.x & 2026.02.x. Thanks

> ---
>  package/libvips/libvips.mk | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/package/libvips/libvips.mk b/package/libvips/libvips.mk
> index e7641fa8cd..729d5fb9e3 100644
> --- a/package/libvips/libvips.mk
> +++ b/package/libvips/libvips.mk
> @@ -31,6 +31,12 @@ LIBVIPS_DEPENDENCIES = \
>  	host-pkgconf expat libglib2 \
>  	$(TARGET_NLS_DEPENDENCIES)
>  
> +ifeq ($(BR2_STATIC_LIBS),)
> +LIBVIPS_CONF_OPTS += -Dmodules=enabled
> +else
> +LIBVIPS_CONF_OPTS += -Dmodules=disabled
> +endif
> +
>  ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
>  LIBVIPS_CONF_OPTS += -Dintrospection=enabled
>  LIBVIPS_DEPENDENCIES += gobject-introspection
> -- 
> 2.47.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-03-14  7:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-07 19:08 [Buildroot] [PATCH 1/2] package/libvips: fix static build Bernd Kuhls
2026-03-07 19:08 ` [Buildroot] [PATCH 2/2] package/libvips: bump version to 8.18.0 Bernd Kuhls
2026-03-07 20:12 ` [Buildroot] [PATCH 1/2] package/libvips: fix static build Julien Olivain via buildroot
2026-03-14  7:54 ` Thomas Perale via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox