public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
From: Thomas Perale via buildroot <buildroot@buildroot.org>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: Thomas Perale <thomas.perale@mind.be>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/2] package/libvips: fix static build
Date: Sat, 14 Mar 2026 08:54:01 +0100	[thread overview]
Message-ID: <20260314075401.15271-1-thomas.perale@mind.be> (raw)
In-Reply-To: <20260307190851.853162-1-bernd@kuhls.net>

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

      parent reply	other threads:[~2026-03-14  7:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260314075401.15271-1-thomas.perale@mind.be \
    --to=buildroot@buildroot.org \
    --cc=bernd@kuhls.net \
    --cc=thomas.perale@mind.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox