All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: needs C++
@ 2022-04-05 19:49 Fabrice Fontaine
  2022-04-10 15:07 ` Arnout Vandecappelle
  2022-04-10 20:02 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2022-04-05 19:49 UTC (permalink / raw)
  To: buildroot; +Cc: Gary Bisson, Fabrice Fontaine

gst1-plugins-bad needs C++ since switch to meson-package in commit
5d6c408e9535be4b5ba0c8a49215d2d03dcb5cd5:

The following exception(s) were encountered:
Running "/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++'"

Fixes:
 - http://autobuild.buildroot.org/results/8f924cebeb8a1ed73e57103bf3073fb8f8d8752e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/gstreamer1/gst1-imx/Config.in         | 6 ++++--
 package/gstreamer1/gst1-plugins-bad/Config.in | 4 ++++
 package/gstreamer1/gst1-vaapi/Config.in       | 5 +++--
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/package/gstreamer1/gst1-imx/Config.in b/package/gstreamer1/gst1-imx/Config.in
index 7b46233b53..41ef8548c5 100644
--- a/package/gstreamer1/gst1-imx/Config.in
+++ b/package/gstreamer1/gst1-imx/Config.in
@@ -88,11 +88,13 @@ config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC
 config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK
 	bool "imxv4l2videosink"
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT
+	depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad
 	select BR2_PACKAGE_GST1_PLUGINS_BAD
 	help
 	  Elements for V4L2 output
 
-comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2"
-	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
+comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2, C++"
+	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 || \
+		!BR2_INSTALL_LIBSTDCPP
 
 endif
diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in
index 234d57636b..669360adb1 100644
--- a/package/gstreamer1/gst1-plugins-bad/Config.in
+++ b/package/gstreamer1/gst1-plugins-bad/Config.in
@@ -1,5 +1,6 @@
 menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD
 	bool "gst1-plugins-bad"
+	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_GST1_PLUGINS_BASE
 	help
 	  A set of plug-ins for GStreamer that may be of poor quality
@@ -724,3 +725,6 @@ comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0"
 		|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
 
 endif
+
+comment "gst1-plugins-bad needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/gstreamer1/gst1-vaapi/Config.in b/package/gstreamer1/gst1-vaapi/Config.in
index 91bd4f85dd..ade8b83a5f 100644
--- a/package/gstreamer1/gst1-vaapi/Config.in
+++ b/package/gstreamer1/gst1-vaapi/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_GST1_VAAPI
 	bool "gst1-vaapi"
 	depends on !BR2_STATIC_LIBS # dlopen(), libva
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm
+	depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad
 	depends on BR2_PACKAGE_HAS_UDEV
 	select BR2_PACKAGE_LIBVA
 	select BR2_PACKAGE_LIBDRM
@@ -45,6 +46,6 @@ config BR2_PACKAGE_GST1_VAAPI_ENCODERS
 
 endif
 
-comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library"
+comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library, C++"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
-		!BR2_PACKAGE_HAS_UDEV
+		!BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP
-- 
2.35.1

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

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

* Re: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: needs C++
  2022-04-05 19:49 [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: needs C++ Fabrice Fontaine
@ 2022-04-10 15:07 ` Arnout Vandecappelle
  2022-04-10 20:02 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2022-04-10 15:07 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Gary Bisson



On 05/04/2022 21:49, Fabrice Fontaine wrote:
> gst1-plugins-bad needs C++ since switch to meson-package in commit
> 5d6c408e9535be4b5ba0c8a49215d2d03dcb5cd5:
> 
> The following exception(s) were encountered:
> Running "/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++'"

  Again, I looked at instead fixing the meson.build so C++ is only required for 
the modules that really use C++, but it doesn't look to be that simple. So 
applied to master, thanks.

  Regards,
  Arnout

> 
> Fixes:
>   - http://autobuild.buildroot.org/results/8f924cebeb8a1ed73e57103bf3073fb8f8d8752e
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>   package/gstreamer1/gst1-imx/Config.in         | 6 ++++--
>   package/gstreamer1/gst1-plugins-bad/Config.in | 4 ++++
>   package/gstreamer1/gst1-vaapi/Config.in       | 5 +++--
>   3 files changed, 11 insertions(+), 4 deletions(-)
> 
> diff --git a/package/gstreamer1/gst1-imx/Config.in b/package/gstreamer1/gst1-imx/Config.in
> index 7b46233b53..41ef8548c5 100644
> --- a/package/gstreamer1/gst1-imx/Config.in
> +++ b/package/gstreamer1/gst1-imx/Config.in
> @@ -88,11 +88,13 @@ config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC
>   config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK
>   	bool "imxv4l2videosink"
>   	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT
> +	depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad
>   	select BR2_PACKAGE_GST1_PLUGINS_BAD
>   	help
>   	  Elements for V4L2 output
>   
> -comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2"
> -	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2
> +comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2, C++"
> +	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 || \
> +		!BR2_INSTALL_LIBSTDCPP
>   
>   endif
> diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in
> index 234d57636b..669360adb1 100644
> --- a/package/gstreamer1/gst1-plugins-bad/Config.in
> +++ b/package/gstreamer1/gst1-plugins-bad/Config.in
> @@ -1,5 +1,6 @@
>   menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD
>   	bool "gst1-plugins-bad"
> +	depends on BR2_INSTALL_LIBSTDCPP
>   	select BR2_PACKAGE_GST1_PLUGINS_BASE
>   	help
>   	  A set of plug-ins for GStreamer that may be of poor quality
> @@ -724,3 +725,6 @@ comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0"
>   		|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
>   
>   endif
> +
> +comment "gst1-plugins-bad needs a toolchain w/ C++"
> +	depends on !BR2_INSTALL_LIBSTDCPP
> diff --git a/package/gstreamer1/gst1-vaapi/Config.in b/package/gstreamer1/gst1-vaapi/Config.in
> index 91bd4f85dd..ade8b83a5f 100644
> --- a/package/gstreamer1/gst1-vaapi/Config.in
> +++ b/package/gstreamer1/gst1-vaapi/Config.in
> @@ -2,6 +2,7 @@ config BR2_PACKAGE_GST1_VAAPI
>   	bool "gst1-vaapi"
>   	depends on !BR2_STATIC_LIBS # dlopen(), libva
>   	depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm
> +	depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad
>   	depends on BR2_PACKAGE_HAS_UDEV
>   	select BR2_PACKAGE_LIBVA
>   	select BR2_PACKAGE_LIBDRM
> @@ -45,6 +46,6 @@ config BR2_PACKAGE_GST1_VAAPI_ENCODERS
>   
>   endif
>   
> -comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library"
> +comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library, C++"
>   	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
> -		!BR2_PACKAGE_HAS_UDEV
> +		!BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: needs C++
  2022-04-05 19:49 [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: needs C++ Fabrice Fontaine
  2022-04-10 15:07 ` Arnout Vandecappelle
@ 2022-04-10 20:02 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-04-10 20:02 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Gary Bisson, buildroot

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

 > gst1-plugins-bad needs C++ since switch to meson-package in commit
 > 5d6c408e9535be4b5ba0c8a49215d2d03dcb5cd5:

 > The following exception(s) were encountered:
 > Running
 > "/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++
 > --version" gave "[Errno 2] No such file or directory:
 > '/home/autobuild/autobuild/instance-8/output-1/host/bin/microblaze-buildroot-linux-musl-g++'"

 > Fixes:
 >  - http://autobuild.buildroot.org/results/8f924cebeb8a1ed73e57103bf3073fb8f8d8752e

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

Committed to 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-04-10 20:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-05 19:49 [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: needs C++ Fabrice Fontaine
2022-04-10 15:07 ` Arnout Vandecappelle
2022-04-10 20:02 ` 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.