package/gobject-introspection: needs host gcc >= 7

Commit 33c69c02fb forgot to propagate
host gcc >= 7 dependency to reverse dependencies of host-qemu resulting
in the following build failure:

ERROR: You need at least GCC v7.5 or Clang v6.0 (or XCode Clang v10.0)

Fixes:
 - http://autobuild.buildroot.org/results/14cd0250d55c5ca5dc1d297aee1b927fda889531

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2021-10-19 07:25:31 +02:00 committed by Yann E. MORIN
parent 23ca2efef1
commit 17358061ad
3 changed files with 12 additions and 6 deletions

View File

@ -13,6 +13,7 @@ config BR2_PACKAGE_GOBJECT_INTROSPECTION
# compile errors with locale.c. As such, require 4.9 until this
# can be verified.
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
depends on BR2_HOST_GCC_AT_LEAST_7 # host-qemu
depends on BR2_TOOLCHAIN_USES_GLIBC
# gobject-introspection does not require python3 to run on the
# target; however, because the tools run in a qemu wrapper, a
@ -41,8 +42,9 @@ comment "gobject-introspection needs python3"
depends on !BR2_PACKAGE_PYTHON3
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
comment "gobject-introspection needs a glibc toolchain, gcc >= 4.9"
comment "gobject-introspection needs a glibc toolchain, gcc >= 4.9, host gcc >= 7"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_USES_GLIBC || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
!BR2_HOST_GCC_AT_LEAST_7

View File

@ -2,6 +2,7 @@ config BR2_PACKAGE_PYTHON_BLUEZERO
bool "python-bluezero"
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # python-gobject -> gobject-introspection
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # python-gobject -> gobject-introspection
depends on BR2_HOST_GCC_AT_LEAST_7 # python-gobject -> gobject-introspection -> host-qemu
depends on BR2_TOOLCHAIN_USES_GLIBC # python-gobject -> gobject-introspection
depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_DBUS # runtime
@ -12,8 +13,9 @@ config BR2_PACKAGE_PYTHON_BLUEZERO
https://github.com/ukBaz/python-bluezero
comment "python-bluezero needs a glibc toolchain, gcc >= 4.9"
comment "python-bluezero needs a glibc toolchain, gcc >= 4.9, host gcc >= 7"
depends on BR2_PACKAGE_PYTHON3
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_USES_GLIBC || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
!BR2_HOST_GCC_AT_LEAST_7

View File

@ -3,6 +3,7 @@ config BR2_PACKAGE_PYTHON_GOBJECT
depends on BR2_USE_MMU # libglib2, gobject-introspection
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # gobject-introspection
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection
depends on BR2_HOST_GCC_AT_LEAST_7 # gobject-introspection -> host-qemu
depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection
depends on BR2_PACKAGE_PYTHON3 # gobject-introspection
select BR2_PACKAGE_GOBJECT_INTROSPECTION
@ -12,8 +13,9 @@ config BR2_PACKAGE_PYTHON_GOBJECT
https://wiki.gnome.org/action/show/Projects/PyGObject
comment "python-gobject needs a glibc toolchain, gcc >= 4.9"
comment "python-gobject needs a glibc toolchain, gcc >= 4.9, host gcc >= 7"
depends on BR2_USE_MMU
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_USES_GLIBC || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
!BR2_HOST_GCC_AT_LEAST_7