The issue the '-comp' option turns out to be a bug in MAST introduced when we added support for arbitrary alphabets. Our apologies for the inconvenience. We'll set that this gets fixed in the next release of the MEME Suite. In the meantime I've attached a patch file that you can use to fix the bug. To apply the patch, copy the patch file to the root of the MEME Suite distribution, and run the commands:
patch -p1 -i mast.patch
make
make install
Note that MAST will always report p-values and E-values for the top, matching, sequences. The -comp option corrects the reported p-values and E-values for the observed composition of the sequence. Note that this option does not affect the computation of the scores and p-values for the individual motif matches, only p-value for the overall sequence match.