data61 / MP-SPDZ

Versatile framework for multi-party computation
Other
895 stars 278 forks source link

Docker image unable to build MPC protocols #657

Closed julenbernabe closed 2 years ago

julenbernabe commented 2 years ago

How to reproduce the issue

In the current version of the project, create the general docker image with the following command:

docker build --tag mpspdz:buildenv --target buildenv .

When the image is created, run a container deploying that image and try building shamir-party.x or malicious-shamir-party.x with the command:

make -j 8 shamir-party.x

Error encountered

./OT/OTExtensionWithMatrix.h:14:10: fatal error: 'libOTe/TwoChooseOne/SoftSpokenOT/TwoOneMalicious.h' file not found
#include <libOTe/TwoChooseOne/SoftSpokenOT/TwoOneMalicious.h>

Solution

It has to do with the new changes that updated the project in order to use SoftSpokenOT. However, other buildings also arise errors, such as mascot-party.x

mkskeller commented 2 years ago

Thank you for raising this. You should find that c7b11aeaf614918e5ec178fbaf0cabcfa1c548e9 fixes it.