From 6d8512bf04762754b2243df3d2658d75cf7f9d31 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 16 Oct 2023 23:14:14 +0200 Subject: [PATCH] package/samba4: fix configure cache preseed for fcntl capabilities Fix the following build failure raised since bump to version 4.19.1 in commit a8ff60cff9402dcd04fffb67af15dfe2caab0995 and https://gitlab.com/samba-team/samba/-/commit/fb4bb188acfc3e88887b500a05e9e4db8b08aed3: Cross answers file /home/buildroot/autobuild/instance-1/output-1/build/samba4-4.19.1/cache.txt is incomplete Indeed, a typo in the configure script was fixed, which causes our logic to preseed the configure cache with test results to no longer be taken into account. Fixes: - http://autobuild.buildroot.org/results/c1fbfdab11c0521b8199f6a661987eb6076c84d2 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/samba4/samba4.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk index 832b128132..b89f961d99 100644 --- a/package/samba4/samba4.mk +++ b/package/samba4/samba4.mk @@ -118,7 +118,7 @@ SAMBA4_POST_INSTALL_TARGET_HOOKS += SAMBA4_REMOVE_CTDB_TESTS define SAMBA4_CONFIGURE_CMDS $(INSTALL) -m 0644 package/samba4/samba4-cache.txt $(@D)/cache.txt; - echo 'Checking whether fcntl supports setting/geting hints: $(if $(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13),OK,NO)' >>$(@D)/cache.txt; + echo 'Checking whether fcntl supports setting/getting hints: $(if $(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13),OK,NO)' >>$(@D)/cache.txt; echo 'Checking uname machine type: $(BR2_ARCH)' >>$(@D)/cache.txt; (cd $(@D); \ $(SAMBA4_PYTHON) \