
Daniel P. Berrange wrote:
This travis configuration tests libvirt builds on 5 platforms that we don't exercise in the CentOS CI system.
- Ubuntu Trusty with GCC - Ubuntu Trusty with CLang - Ubuntu Precise with GCC - Ubuntu Precise with CLang - OS-X with CLang
NB, syntax-check fails on OS-X with errors like:
/bin/sh: /usr/bin/grep: Argument list too long
Presumably their grep impl isn't as good as the GNU one, so this test config skips syntax-check on OS-X for now.
This looks like the same problem I'm having on FreeBSD. Its ARG_MAX value is too low and not tunable, and the command line for syntax-check does not fit. I work around that by applying a patch to make ARG_MAX tunable on FreeBSD (haven't yet upstreamed that though), but not sure how to tweak that on macOS. Probably a better way would be to somehow reduce length of the command line. Roman Bogorodskiy