Hi Mimi, Vitaly, ... > > I prototype docker based Travis [1] (still WIP). It tests various distros, > > including cross-compilation, using also clang, even one build with musl (Alpine > > distro). But there are many failures. > > The biggest problem is with ibmswtpm2 [2], which contain tpm_server binary. This > > project is not packaged in distros, compiles only with gcc (no clang, I tested > > versions 1332 and 1637) and ignore CFLAGS and LDFLAGS settings. It doesn't even > > have git repository (the one on sourceforge is empty). > > We could simply patch this file, but I'm not going to do it. > > I guess I just skip tpm_server dependency for all non-native projects. > > I also need always install gcc even clang is going to be used due tpm_server. > Agreed, getting docker/travis working is independent of tpm_server. > Without a software TPM, the boot_aggregate test will be skipped. For > now, until we can straighten this out, I would modify "make check" to > run the other tests (e.g. make check TESTS="ima_hash.test > sign_verify.test"). Yes, specifying tests to be tested is an option. But if skipping the compilation for non-native builds works (e.g. tests which don't specify $VARIANT), I'd go this way. That help us not having to remember to update tests for non-native builds (once the new ones are added). Gost: I just installed it for Debian / Ubuntu, which have a package. Not sure if it's enough. Any objections to distros used or anything else? I'll have look on during this week and hopefully send v1 patchset. > thanks, > Mimi > > It also find bug in m4/manpage-docbook-xsl.m4 for Alpine, found custom xml > > catalog, but value is not redirected into the variable. This is not a priority. I'll have look into this sometime in my non-work time (Alpine doesn't have ima-evm-utils package). Kind regards, Petr > > [1] https://travis-ci.org/github/pevik/ima-evm-utils/builds/716990585 > > [2] https://sourceforge.net/projects/ibmswtpm2/