detection for the lib/sysquota.c interface fails in current v3-4-test because of a bug in lib/util/tevent_ntstatus.h : it includes config.h: configure called with --with-quotas (and --with-sys-quotas=yes, but this does not make a difference). Here is the important part of config.log: configure:73334: checking whether the sys_quota interface works configure:73370: ccache gcc -c -g -ggdb -Wc++-compat -Wcomment -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wstrict-aliasing -Wmiss ing-prototypes -Wmissing-declarations -Wshadow -Wdeclaration-after-statement -D_FORTY_SOURCE=2 -fmessage-length=0 -g -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BIT S=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib /popt -I/usr/include -DLDAP_DEPRECATED -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/talloc -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librp c -I./.. -I./../lib/popt conftest.c >&5 In file included from include/includes.h:581, from ./lib/sysquotas_linux.c:21, from conftest.c:583: ./../lib/util/tevent_ntstatus.h:25:20: error: config.h: No such file or directory In file included from conftest.c:583: ./lib/sysquotas_linux.c:442: warning: no previous prototype for 'sys_get_vfs_quota' ...
Created attachment 4372 [details] fix for 3.4, taken from master The attached fix has already been pushed to master. It fixes the detection. Please review for inclusion to 3.4.0 final
Metze, please review for 3.4.0 inclusion. Assign to Karolin if you think it is needed.
Pushed to v3-4-test. Closing out bug report. Thanks!
sorry, the patch had some side effects for the runtime of the binaries. reopening the bug. (subsequent patch following immediately)
Created attachment 4382 [details] subsequent patch for v3-4-test that removes run time side effects gd please review
Comment on attachment 4382 [details] subsequent patch for v3-4-test that removes run time side effects looks fine.
Pushed, closing out bug report. Thanks!