Index: petsc/src/snes/examples/tutorials/makefile
===================================================================
--- petsc.orig/src/snes/examples/tutorials/makefile
+++ petsc/src/snes/examples/tutorials/makefile
@@ -931,7 +931,14 @@ testex19: ex19.PETSc
 	   else echo "Possible error running C/C++ src/snes/examples/tutorials/ex19 with 1 MPI process"; \
            echo "See http://www.mcs.anl.gov/petsc/documentation/faq.html";\
            cat ex19_1.tmp; fi; \
-	if [ "${MPIEXEC}" != "${PETSC_DIR}/bin/petsc-mpiexec.uni" ]; then \
+	TEST_BUILD_ARCH=$(shell dpkg-architecture -q DEB_BUILD_ARCH); \
+	if [ "$$TEST_BUILD_ARCH" = "mipsel" -o "$$TEST_BUILD_ARCH" = "powerpc" ]; then \
+	   echo "test of ex19 for 2 MPI processes is disabled on mipsel and powerpc (see Debian Bug#816101)"; \
+	   MPI_SAFE="notsafe"; \
+	else \
+	   MPI_SAFE="safe"; \
+	fi; \
+	if [ $${MPI_SAFE} = "safe" -a "${MPIEXEC}" != "${PETSC_DIR}/bin/petsc-mpiexec.uni" ]; then \
            ${MPIEXEC} -n 2 ./ex19 -da_refine 3 -pc_type mg -ksp_type fgmres  > ex19_1.tmp 2>&1; \
 	   if (${DIFF} output/ex19_1.testout ex19_1.tmp > /dev/null 2>&1) then \
            echo "C/C++ example src/snes/examples/tutorials/ex19 run successfully with 2 MPI processes"; \
