package/samba4: needs host-flex
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 22 Jul 2021 21:12:30 +0000 (23:12 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 25 Jul 2021 21:27:10 +0000 (23:27 +0200)
host-flex is needed to avoid the following build failure since bump to
version 4.14.3 in commit 7df2611e9e93f9c3efea39bf0b5c217564618a28 due to
https://gitlab.com/samba-team/samba/-/commit/942c0d2128cb8e64a9354dde6bdae82a1c1c3d88

Checking for flex
Checking for program 'flex'                                                                     : not found
Embedded Heimdal build requires flex but it was not found.  Install flex or use --with-system-mitkrb5 or --with-system-heimdalkrb5

Fixes:
 - http://autobuild.buildroot.org/results/b9ed8be51a0eef77d6e48755861ae266c3b9f811

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/samba4/samba4.mk

index 69f4ad26e52aee56881195d0303457295fe01e6b..c612ac23ba553342a659637849413be1e6c988e5 100644 (file)
@@ -13,7 +13,7 @@ SAMBA4_LICENSE_FILES = COPYING
 SAMBA4_CPE_ID_VENDOR = samba
 SAMBA4_CPE_ID_PRODUCT = samba
 SAMBA4_DEPENDENCIES = \
-       host-e2fsprogs host-heimdal host-nfs-utils \
+       host-e2fsprogs host-flex host-heimdal host-nfs-utils \
        host-perl host-perl-parse-yapp host-python3 \
        cmocka e2fsprogs gnutls popt zlib \
        $(if $(BR2_PACKAGE_LIBAIO),libaio) \