Xnviewmp AUR installation error?

Have a look at the following thread and implement the suggested solution there before attempting to build and install the package again.