mssun opened a new issue #117: protected_fs's tests module is not tracked by cmake URL: https://github.com/apache/incubator-mesatee/issues/117 Current `protected_fs`'s tests module is built in source dir. Because it is not tracked by cmake, this may cause some issues: ``` $ cat module_test.sh #!/bin/bash trap "pkill -2 -P $$; wait" SIGINT SIGTERM EXIT echo "[+] Running module test: protected_fs_rs ..." cd ../mesatee_utils/protected_fs_rs cargo test ``` I encounter this issue when building protected_fs_rs with 18.04 and 16.04. I only delete the `build` dir which does not clean up protected_fs's built. ``` root@443183963ae6:/mesatee/build# make sgx-test [+] Running module test: protected_fs_rs ... Updating crates.io index Downloaded cfg-if v0.1.10 Downloaded rand_core v0.4.2 Downloaded rdrand v0.6.0 Downloaded libc v0.2.66 Finished dev [unoptimized + debuginfo] target(s) in 15.72s Running target/debug/deps/protected_fs-5cf4f9815b6d6596 /mesatee/mesatee_utils/protected_fs_rs/target/debug/deps/protected_fs-5cf4f9815b6d6596: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory error: test failed, to rerun pass '--lib' CMakeFiles/sgx-test.dir/build.make:57: recipe for target 'CMakeFiles/sgx-test' failed make[3]: *** [CMakeFiles/sgx-test] Error 127 CMakeFiles/Makefile2:1257: recipe for target 'CMakeFiles/sgx-test.dir/all' failed make[2]: *** [CMakeFiles/sgx-test.dir/all] Error 2 CMakeFiles/Makefile2:1264: recipe for target 'CMakeFiles/sgx-test.dir/rule' failed make[1]: *** [CMakeFiles/sgx-test.dir/rule] Error 2 Makefile:612: recipe for target 'sgx-test' failed make: *** [sgx-test] Error 2 ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
