[Buildroot] [PATCH 1/1] package/qt5/qt5webkit: needs execinfo.h

Yann E. MORIN yann.morin.1998 at free.fr
Wed Feb 16 21:07:32 UTC 2022


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 at 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 at 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.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list