so it seems that mpi does not like be run as root.
There is a way to fix this on the comman dline, but I think that this is wrong and the real problem is to run reprotest as root.
cheers
Edited
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
I should check if reprotest allows building as user somehow. It's not possible to run reprotest as user because most of the variations it does need root permissions.
I don't know much about policies so I'm not sure if this is something recommended or not, but you wouldn't have this problem if you disable the tests on build time and add them as autopkgtest. From the logs I understand that the problems are when running override_dh_auto_test, which could be easily done in autopkgtest (which doesn't run as root).
I am having the same issue on some of my packages. One could workaround this failure by setting the variables OMPI_ALLOW_RUN_AS_ROOT=1 and OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1. Would that be possible just for reprotest or is the only way to set in in debian/rules? I would not want to do the latter.
For us the problem occurs only when we run the tests. I don't think that running tests of a project is needed to test reproducibility (at least it would be better to test reroproducibility without running tests than not testing it at aöö). Hence a solution would be to allow a project to set some variables for reprotest, then we could skip running the tests. This would also save some time for the test.