New comment by ahesford on void-packages repository https://github.com/void-linux/void-packages/issues/49322#issuecomment-2002150669 Comment: Note that most C and C++ compilers look in `/usr/include` *implicitly*. Thus, `mpicc` should work automatically without the wrapper passing `-I/usr/include`. (Indeed, `mpicc --showme` shows no include arguments at all.) I'm not sure `gfortran` makes (or should make) the same assumption. Also note that the include file itself, `mpif.h`, seems to recommend explicitly passing `-I$OMPI_HOME/include` for a suitably defined `$OMPI_HOME`. Let's see how the upstream issue shakes out before trying to resolve this regression.