Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/imagemagick: disable locale with uclibc
@ 2019-03-09 14:51 Fabrice Fontaine
  2019-03-09 20:35 ` Thomas Petazzoni
  2019-05-01 20:14 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-03-09 14:51 UTC (permalink / raw)
  To: buildroot

Fixes:
 - http://autobuild.buildroot.org/results/f7be30ffa28b7f367fb5343a7d69dc8bc7c3a170

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/imagemagick/imagemagick.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index b5d0d56284..81e49eb62c 100644
--- a/package/imagemagick/imagemagick.mk
+++ b/package/imagemagick/imagemagick.mk
@@ -40,6 +40,14 @@ IMAGEMAGICK_CONF_OPTS = \
 
 IMAGEMAGICK_DEPENDENCIES = host-pkgconf
 
+ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
+# Like postgreSQL, imagemagick does not build against uClibc with
+# locales enabled, due to an uClibc bug, see
+# http://lists.uclibc.org/pipermail/uclibc/2014-April/048326.html
+# so overwrite automatic detection and disable locale support
+IMAGEMAGICK_CONF_ENV += ac_cv_func_newlocale=no
+endif
+
 ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
 IMAGEMAGICK_CONF_OPTS += --with-fontconfig
 IMAGEMAGICK_DEPENDENCIES += fontconfig
-- 
2.20.1

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

* [Buildroot] [PATCH 1/1] package/imagemagick: disable locale with uclibc
  2019-03-09 14:51 [Buildroot] [PATCH 1/1] package/imagemagick: disable locale with uclibc Fabrice Fontaine
@ 2019-03-09 20:35 ` Thomas Petazzoni
  2019-05-01 20:14 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-03-09 20:35 UTC (permalink / raw)
  To: buildroot

Hello Waldemar,

What do you think about the below issue ? As Fabrice said, it
apparently exists since 2014, perhaps this is something to fix in
uClibc ?

Thanks,

Thomas

On Sat,  9 Mar 2019 15:51:25 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fixes:
>  - http://autobuild.buildroot.org/results/f7be30ffa28b7f367fb5343a7d69dc8bc7c3a170
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/imagemagick/imagemagick.mk | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
> index b5d0d56284..81e49eb62c 100644
> --- a/package/imagemagick/imagemagick.mk
> +++ b/package/imagemagick/imagemagick.mk
> @@ -40,6 +40,14 @@ IMAGEMAGICK_CONF_OPTS = \
>  
>  IMAGEMAGICK_DEPENDENCIES = host-pkgconf
>  
> +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
> +# Like postgreSQL, imagemagick does not build against uClibc with
> +# locales enabled, due to an uClibc bug, see
> +# http://lists.uclibc.org/pipermail/uclibc/2014-April/048326.html
> +# so overwrite automatic detection and disable locale support
> +IMAGEMAGICK_CONF_ENV += ac_cv_func_newlocale=no
> +endif
> +
>  ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
>  IMAGEMAGICK_CONF_OPTS += --with-fontconfig
>  IMAGEMAGICK_DEPENDENCIES += fontconfig



-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 1/1] package/imagemagick: disable locale with uclibc
  2019-03-09 14:51 [Buildroot] [PATCH 1/1] package/imagemagick: disable locale with uclibc Fabrice Fontaine
  2019-03-09 20:35 ` Thomas Petazzoni
@ 2019-05-01 20:14 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-05-01 20:14 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Fixes:
 >  - http://autobuild.buildroot.org/results/f7be30ffa28b7f367fb5343a7d69dc8bc7c3a170

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2019.02.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2019-05-01 20:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-09 14:51 [Buildroot] [PATCH 1/1] package/imagemagick: disable locale with uclibc Fabrice Fontaine
2019-03-09 20:35 ` Thomas Petazzoni
2019-05-01 20:14 ` Peter Korsgaard

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