* [Buildroot] [PATCH] package/imagemagick: fix host build for old distributions
@ 2019-08-02 13:40 Peter Korsgaard
2019-08-02 14:41 ` Yann E. MORIN
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Peter Korsgaard @ 2019-08-02 13:40 UTC (permalink / raw)
To: buildroot
Fixes:
http://autobuild.buildroot.net/results/5f0/5f0b85033e800c9eebc46812592966ec6826bb5d/
imagemagick uses clock_gettime, which was provided by librt rather than libc
in glibc < 2.17 - Causing link errors.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/imagemagick/imagemagick.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index fff00fcfb1..3a37371e7b 100644
--- a/package/imagemagick/imagemagick.mk
+++ b/package/imagemagick/imagemagick.mk
@@ -176,6 +176,9 @@ HOST_IMAGEMAGICK_CONF_OPTS = \
--with-png \
--with-zlib
+# uses clock_gettime, which was provided by librt in glibc < 2.17
+HOST_IMAGEMAGICK_CONF_ENV = LIBS="-lrt"
+
HOST_IMAGEMAGICK_DEPENDENCIES = \
host-libjpeg \
host-libpng \
--
2.11.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/imagemagick: fix host build for old distributions
2019-08-02 13:40 [Buildroot] [PATCH] package/imagemagick: fix host build for old distributions Peter Korsgaard
@ 2019-08-02 14:41 ` Yann E. MORIN
2019-08-02 14:48 ` Yann E. MORIN
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2019-08-02 14:41 UTC (permalink / raw)
To: buildroot
Peter, All,
On 2019-08-02 15:40 +0200, Peter Korsgaard spake thusly:
> Fixes:
> http://autobuild.buildroot.net/results/5f0/5f0b85033e800c9eebc46812592966ec6826bb5d/
>
> imagemagick uses clock_gettime, which was provided by librt rather than libc
> in glibc < 2.17 - Causing link errors.
>
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/imagemagick/imagemagick.mk | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
> index fff00fcfb1..3a37371e7b 100644
> --- a/package/imagemagick/imagemagick.mk
> +++ b/package/imagemagick/imagemagick.mk
> @@ -176,6 +176,9 @@ HOST_IMAGEMAGICK_CONF_OPTS = \
> --with-png \
> --with-zlib
>
> +# uses clock_gettime, which was provided by librt in glibc < 2.17
> +HOST_IMAGEMAGICK_CONF_ENV = LIBS="-lrt"
> +
> HOST_IMAGEMAGICK_DEPENDENCIES = \
> host-libjpeg \
> host-libpng \
> --
> 2.11.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/imagemagick: fix host build for old distributions
2019-08-02 13:40 [Buildroot] [PATCH] package/imagemagick: fix host build for old distributions Peter Korsgaard
2019-08-02 14:41 ` Yann E. MORIN
@ 2019-08-02 14:48 ` Yann E. MORIN
2019-08-02 17:47 ` Peter Korsgaard
2019-08-29 21:08 ` Peter Korsgaard
3 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2019-08-02 14:48 UTC (permalink / raw)
To: buildroot
Peter, All,
On 2019-08-02 15:40 +0200, Peter Korsgaard spake thusly:
> Fixes:
> http://autobuild.buildroot.net/results/5f0/5f0b85033e800c9eebc46812592966ec6826bb5d/
>
> imagemagick uses clock_gettime, which was provided by librt rather than libc
> in glibc < 2.17 - Causing link errors.
>
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/imagemagick/imagemagick.mk | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
> index fff00fcfb1..3a37371e7b 100644
> --- a/package/imagemagick/imagemagick.mk
> +++ b/package/imagemagick/imagemagick.mk
> @@ -176,6 +176,9 @@ HOST_IMAGEMAGICK_CONF_OPTS = \
> --with-png \
> --with-zlib
>
> +# uses clock_gettime, which was provided by librt in glibc < 2.17
> +HOST_IMAGEMAGICK_CONF_ENV = LIBS="-lrt"
> +
> HOST_IMAGEMAGICK_DEPENDENCIES = \
> host-libjpeg \
> host-libpng \
> --
> 2.11.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/imagemagick: fix host build for old distributions
2019-08-02 13:40 [Buildroot] [PATCH] package/imagemagick: fix host build for old distributions Peter Korsgaard
2019-08-02 14:41 ` Yann E. MORIN
2019-08-02 14:48 ` Yann E. MORIN
@ 2019-08-02 17:47 ` Peter Korsgaard
2019-08-29 21:08 ` Peter Korsgaard
3 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2019-08-02 17:47 UTC (permalink / raw)
To: buildroot
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> Fixes:
> http://autobuild.buildroot.net/results/5f0/5f0b85033e800c9eebc46812592966ec6826bb5d/
> imagemagick uses clock_gettime, which was provided by librt rather than libc
> in glibc < 2.17 - Causing link errors.
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/imagemagick: fix host build for old distributions
2019-08-02 13:40 [Buildroot] [PATCH] package/imagemagick: fix host build for old distributions Peter Korsgaard
` (2 preceding siblings ...)
2019-08-02 17:47 ` Peter Korsgaard
@ 2019-08-29 21:08 ` Peter Korsgaard
3 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2019-08-29 21:08 UTC (permalink / raw)
To: buildroot
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> Fixes:
> http://autobuild.buildroot.net/results/5f0/5f0b85033e800c9eebc46812592966ec6826bb5d/
> imagemagick uses clock_gettime, which was provided by librt rather than libc
> in glibc < 2.17 - Causing link errors.
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Committed to 2019.02.x and 2019.05.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-08-29 21:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-02 13:40 [Buildroot] [PATCH] package/imagemagick: fix host build for old distributions Peter Korsgaard
2019-08-02 14:41 ` Yann E. MORIN
2019-08-02 14:48 ` Yann E. MORIN
2019-08-02 17:47 ` Peter Korsgaard
2019-08-29 21:08 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.