Finally I found something told me how to fix my problems with the STUPID compilation issues of late. Delete the file path_dps.m4 from your filesystem!
This page tells you to run this command:
rm /usr/share/aclocal/path_dps.m4
Delete the file, and no more stupid compilation issues. Hooray! Here’s the gentoo bug report if you want more information.