Re: [PATCH 5/5] Add travis build configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  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

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux