On Thu, 2020-08-13 at 20:28 +0200, Petr Vorel wrote: > Hi Mimi, Vitaly, > > ... > > > > > 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). > > Sure. libtmps/swtpm could be installed in lieu of the ibmswtpm2. > > Sample directions for using it are here: > > https://github.com/stefanberger/swtpm/wiki/Using-the-IBM-TSS-with-swtpm > > Nice! > I've just send a patch which builds green without this (ibmswtpm2 is installed > just for native gcc builds). I'd prefer to leave this for somebody else. Wow, I saw the "green" button. Thank you so much for spending so much time on this. Yes, of course we'll add the libtmps/swtpm support. Mimi