using gcc version 9.3.0 on Linux without libbsd-dev installed failes like: [415/432] Compiling lib/replace/closefrom.c ../../lib/replace/closefrom.c:128:5: error: no previous prototype for ‘rep_closefrom’ [-Werror=missing-prototypes] 128 | int rep_closefrom(int lower) | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors the reason is commit f31333d40e6fa38daa32a3ebb32d5a317c06fc62 There's a patch from metze coming ...
PS: the developer build with -Werror flags is affected
This bug was referenced in samba master: 0022cd94587b805a525b0b9ef71ff0f15780424a
Created attachment 16213 [details] Patch for v4-13-test
Created attachment 16214 [details] Patch for v4-12-test
Created attachment 16215 [details] Patch for v4-11-test
The backports are looking good to me. Thank you, Metze!
Pushed to autobuild-v4-{13,12,11}-test.
This bug was referenced in samba v4-12-test: 2207bc89005b3af799b8179fa6adbb038d8c162a
This bug was referenced in samba v4-11-test: 17800f413bc494d74d326518bca87b0972d23c0c
This bug was referenced in samba v4-13-test: 88a31703a2d28d5f61e334153ef10920fac63e96
This bug was referenced in samba v4-13-stable: 88a31703a2d28d5f61e334153ef10920fac63e96
This bug was referenced in samba v4-11-stable (Release samba-4.11.14): 17800f413bc494d74d326518bca87b0972d23c0c
This bug was referenced in samba v4-12-stable (Release samba-4.12.8): 2207bc89005b3af799b8179fa6adbb038d8c162a