On Tue, Oct 18, 2011 at 12:33 AM, Stuart Henderson <s...@spacehopper.org> wrote: > nothing to do with systrace, you need to uninstall samba > and/or .libs-samba before building.
Not entirely true. systrace only supports extracting strings up to 8192 bytes long, and that includes inspecting arguments to execve(2). When gmake sees a command with some shell syntax (some of Samba's Makefiles have comments at the end of their linking commands), it execve(2)s "sh", "-c", "cmd arg1 arg2 ..." instead of execve(2)ing "cmd", "arg1", "arg2", ... directly. When linking hundreds of objects into a single library, the "cmd arg1 arg2 ..." string can exceed 8192 bytes.