Created attachment 8121 [details] build and quota fixes from master Attached is a patch with most of the build and quota fixes from master since 4-0-test branched off. I'm submitting this as one bug, as there are just too many small fixes to deal with one-by-one, but if there are objections, I'm happy for the objector to re-file as individual bugs. It builds correctly for me on FreeBSD 9.0 and Fedora 17
Comment on attachment 8121 [details] build and quota fixes from master looks good to me
Andrew and Björn seem to support the patchset, so we can assign to Karolin.
Pushed to autobuild-v4-0-test.
It seems that there's one commit missing. commit 2e51c386beff808e74c8c1f360a6f4db30fe74b5 Author: Andrew Bartlett <abartlet@samba.org> Date: Mon Sep 24 06:45:05 2012 +1000 lib/replace: Look for special flags needed for c99 This is normally handled by the waf core, but for HP-UX we currently fail. The autoconf code hard-codes a case for HP-UX, but I want to try testing it using a generic system first. Andrew Bartlett
Well spotted. It was actually deliberate, as when I built on FreeBSD, the gcc there 'accepted' the c99 flags, but then gave errors on stderr for every compile line. Like the test for -Werror=format -Wformat=2 we probably need to actually test a C99 fragment, and only add a flag if we actually need it, not just because it doesn't cause the compiler to error.
Created attachment 8133 [details] Updated patch This one should include all fixes.
Comment on attachment 8133 [details] Updated patch Looks good
Pushed updated patchset to autobuild-v4-0-test.
*** Bug 9337 has been marked as a duplicate of this bug. ***
*** Bug 9232 has been marked as a duplicate of this bug. ***
Has been pushed to v4-0-test. Closing out bug report. Thanks!
More build fixes need to be backported from master.
Created attachment 8262 [details] Additional build fixes from master
Comment on attachment 8262 [details] Additional build fixes from master Looks good
Pushed to v4-0-test. Closing out bug report. Thanks!