Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/samba4: update samba4-cache.txt for fcntl flags check
@ 2021-04-04  8:49 Bernd Kuhls
  2021-04-04  9:16 ` Yann E. MORIN
  2021-04-04 10:17 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2021-04-04  8:49 UTC (permalink / raw)
  To: buildroot

Fixes:
http://autobuild.buildroot.net/results/76a/76a411b78d764561457decd47b268f65059ba1b0/

Checking whether fcntl supports setting/geting hints : not found
..
Cross answers file /home/giuliobenetti/autobuild/run/instance-2/output-1/build/samba4-4.14.2/cache.txt is incomplete

Samba4 has added a check for fcntl F_{G,S}ET_RW_HINT /
F_{G,S}ET_FILE_RW_HINT handling since:
https://gitlab.com/samba-team/devel/samba/-/commit/5084a69de14f24e9d804998580eefcba773fdd5a

Which is supported by the Linux kernel since 4.13 in commit
c75b1d9421f80f41 (fs: add fcntl() interface for setting/getting
 write life time hints), so add it to the cache file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/samba4/samba4.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk
index 203d0d1371..99c8af9ab2 100644
--- a/package/samba4/samba4.mk
+++ b/package/samba4/samba4.mk
@@ -103,6 +103,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 uname machine type: $(BR2_ARCH)' >>$(@D)/cache.txt;
 	(cd $(@D); \
 		$(SAMBA4_PYTHON) \
-- 
2.29.2

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

* [Buildroot] [PATCH 1/1] package/samba4: update samba4-cache.txt for fcntl flags check
  2021-04-04  8:49 [Buildroot] [PATCH 1/1] package/samba4: update samba4-cache.txt for fcntl flags check Bernd Kuhls
@ 2021-04-04  9:16 ` Yann E. MORIN
  2021-04-04 10:17 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2021-04-04  9:16 UTC (permalink / raw)
  To: buildroot

Bernd, All,

On 2021-04-04 10:49 +0200, Bernd Kuhls spake thusly:
> Fixes:
> http://autobuild.buildroot.net/results/76a/76a411b78d764561457decd47b268f65059ba1b0/
> 
> Checking whether fcntl supports setting/geting hints : not found
> ..
> Cross answers file /home/giuliobenetti/autobuild/run/instance-2/output-1/build/samba4-4.14.2/cache.txt is incomplete
> 
> Samba4 has added a check for fcntl F_{G,S}ET_RW_HINT /
> F_{G,S}ET_FILE_RW_HINT handling since:
> https://gitlab.com/samba-team/devel/samba/-/commit/5084a69de14f24e9d804998580eefcba773fdd5a
> 
> Which is supported by the Linux kernel since 4.13 in commit
> c75b1d9421f80f41 (fs: add fcntl() interface for setting/getting
>  write life time hints), so add it to the cache file.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/samba4/samba4.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk
> index 203d0d1371..99c8af9ab2 100644
> --- a/package/samba4/samba4.mk
> +++ b/package/samba4/samba4.mk
> @@ -103,6 +103,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 uname machine type: $(BR2_ARCH)' >>$(@D)/cache.txt;
>  	(cd $(@D); \
>  		$(SAMBA4_PYTHON) \
> -- 
> 2.29.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/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.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH 1/1] package/samba4: update samba4-cache.txt for fcntl flags check
  2021-04-04  8:49 [Buildroot] [PATCH 1/1] package/samba4: update samba4-cache.txt for fcntl flags check Bernd Kuhls
  2021-04-04  9:16 ` Yann E. MORIN
@ 2021-04-04 10:17 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-04-04 10:17 UTC (permalink / raw)
  To: buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > Fixes:
 > http://autobuild.buildroot.net/results/76a/76a411b78d764561457decd47b268f65059ba1b0/

 > Checking whether fcntl supports setting/geting hints : not found
 > ..
 > Cross answers file /home/giuliobenetti/autobuild/run/instance-2/output-1/build/samba4-4.14.2/cache.txt is incomplete

 > Samba4 has added a check for fcntl F_{G,S}ET_RW_HINT /
 > F_{G,S}ET_FILE_RW_HINT handling since:
 > https://gitlab.com/samba-team/devel/samba/-/commit/5084a69de14f24e9d804998580eefcba773fdd5a

 > Which is supported by the Linux kernel since 4.13 in commit
 > c75b1d9421f80f41 (fs: add fcntl() interface for setting/getting
 >  write life time hints), so add it to the cache file.

 > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Committed to 2021.02.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2021-04-04 10:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-04  8:49 [Buildroot] [PATCH 1/1] package/samba4: update samba4-cache.txt for fcntl flags check Bernd Kuhls
2021-04-04  9:16 ` Yann E. MORIN
2021-04-04 10:17 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox