All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/qt5/qt5webkit: needs execinfo.h
@ 2022-02-14 21:32 Fabrice Fontaine
  2022-02-16 21:07 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-02-14 21:32 UTC (permalink / raw)
  To: buildroot
  Cc: Peter Seiderer, Fabrice Fontaine, Julien Corjon, Gaël Portay

qt5webkit needs execinfo.h since bump to version 5.212.0-alpha4 in
commit df0b0fe6919c0d0f3750f439a3cfa765232bd569:

/tmp/instance-1/output-1/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp:54:10: fatal error: execinfo.h: No such file or directory
   54 | #include <execinfo.h>
      |          ^~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/351529f7d928e28fa2db22c6297dc70d21db562b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/qt5/qt5webkit/Config.in    | 1 +
 package/qt5/qt5webkit/qt5webkit.mk | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/qt5/qt5webkit/Config.in b/package/qt5/qt5webkit/Config.in
index 68b679dfcd..ed87efca95 100644
--- a/package/qt5/qt5webkit/Config.in
+++ b/package/qt5/qt5webkit/Config.in
@@ -21,6 +21,7 @@ config BR2_PACKAGE_QT5WEBKIT
 	select BR2_PACKAGE_QT5LOCATION
 	select BR2_PACKAGE_QT5SENSORS
 	select BR2_PACKAGE_QT5WEBCHANNEL
+	select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC
 	select BR2_PACKAGE_LIBXML2
 	select BR2_PACKAGE_LIBXSLT
 	select BR2_PACKAGE_SQLITE
diff --git a/package/qt5/qt5webkit/qt5webkit.mk b/package/qt5/qt5webkit/qt5webkit.mk
index 565c57e813..2084f3af52 100644
--- a/package/qt5/qt5webkit/qt5webkit.mk
+++ b/package/qt5/qt5webkit/qt5webkit.mk
@@ -10,7 +10,8 @@ QT5WEBKIT_SOURCE = qtwebkit-$(QT5WEBKIT_VERSION).tar.xz
 QT5WEBKIT_DEPENDENCIES = \
 	host-bison host-flex host-gperf host-python3 host-ruby gstreamer1 \
 	gst1-plugins-base icu leveldb jpeg libpng libxml2 libxslt qt5location \
-	qt5sensors qt5webchannel sqlite webp woff2
+	qt5sensors qt5webchannel sqlite webp woff2 \
+	$(if $(BR2_PACKAGE_LIBEXECINFO),libexecinfo)
 QT5WEBKIT_INSTALL_STAGING = YES
 
 QT5WEBKIT_LICENSE_FILES = Source/WebCore/LICENSE-LGPL-2 Source/WebCore/LICENSE-LGPL-2.1
-- 
2.34.1

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

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

* Re: [Buildroot] [PATCH 1/1] package/qt5/qt5webkit: needs execinfo.h
  2022-02-14 21:32 [Buildroot] [PATCH 1/1] package/qt5/qt5webkit: needs execinfo.h Fabrice Fontaine
@ 2022-02-16 21:07 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-02-16 21:07 UTC (permalink / raw)
  To: Fabrice Fontaine
  Cc: Peter Seiderer, Julien Corjon, Gaël Portay, buildroot

Fabrice, All,

On 2022-02-14 22:32 +0100, Fabrice Fontaine spake thusly:
> qt5webkit needs execinfo.h since bump to version 5.212.0-alpha4 in
> commit df0b0fe6919c0d0f3750f439a3cfa765232bd569:
> 
> /tmp/instance-1/output-1/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp:54:10: fatal error: execinfo.h: No such file or directory
>    54 | #include <execinfo.h>
>       |          ^~~~~~~~~~~~
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/351529f7d928e28fa2db22c6297dc70d21db562b
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/qt5/qt5webkit/Config.in    | 1 +
>  package/qt5/qt5webkit/qt5webkit.mk | 3 ++-
>  2 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/package/qt5/qt5webkit/Config.in b/package/qt5/qt5webkit/Config.in
> index 68b679dfcd..ed87efca95 100644
> --- a/package/qt5/qt5webkit/Config.in
> +++ b/package/qt5/qt5webkit/Config.in
> @@ -21,6 +21,7 @@ config BR2_PACKAGE_QT5WEBKIT
>  	select BR2_PACKAGE_QT5LOCATION
>  	select BR2_PACKAGE_QT5SENSORS
>  	select BR2_PACKAGE_QT5WEBCHANNEL
> +	select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC
>  	select BR2_PACKAGE_LIBXML2
>  	select BR2_PACKAGE_LIBXSLT
>  	select BR2_PACKAGE_SQLITE
> diff --git a/package/qt5/qt5webkit/qt5webkit.mk b/package/qt5/qt5webkit/qt5webkit.mk
> index 565c57e813..2084f3af52 100644
> --- a/package/qt5/qt5webkit/qt5webkit.mk
> +++ b/package/qt5/qt5webkit/qt5webkit.mk
> @@ -10,7 +10,8 @@ QT5WEBKIT_SOURCE = qtwebkit-$(QT5WEBKIT_VERSION).tar.xz
>  QT5WEBKIT_DEPENDENCIES = \
>  	host-bison host-flex host-gperf host-python3 host-ruby gstreamer1 \
>  	gst1-plugins-base icu leveldb jpeg libpng libxml2 libxslt qt5location \
> -	qt5sensors qt5webchannel sqlite webp woff2
> +	qt5sensors qt5webchannel sqlite webp woff2 \
> +	$(if $(BR2_PACKAGE_LIBEXECINFO),libexecinfo)

There already are optional dependencies that are handled as a
conditional block, further down the file, so I changed this new
dependency to match the existing style.

Applied to master, thanks.

Regards,
Yann E. MORIN.

>  QT5WEBKIT_INSTALL_STAGING = YES
>  
>  QT5WEBKIT_LICENSE_FILES = Source/WebCore/LICENSE-LGPL-2 Source/WebCore/LICENSE-LGPL-2.1
> -- 
> 2.34.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-02-16 21:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14 21:32 [Buildroot] [PATCH 1/1] package/qt5/qt5webkit: needs execinfo.h Fabrice Fontaine
2022-02-16 21:07 ` Yann E. MORIN

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.