On Tue, 2020-08-11 at 19:33 +0200, Petr Vorel wrote: > Hi Mimi, Vitaly, > > > > Everything, including this change, should now be in the next-testing > > > branch. > > Nice, thanks! Tested: > > https://travis-ci.org/github/pevik/ima-evm-utils > > I hope I'll have time for docker based travis patch next week. > > 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"). 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. > > Kind regards, > Petr > > [1] https://travis-ci.org/github/pevik/ima-evm-utils/builds/716990585 > [2] https://sourceforge.net/projects/ibmswtpm2/ >