When emerging mjpegtools, I got the following message * Please upgrade your package (mjpegtools-1.6.2-r3) to use toolchain-funcs.eclass
Please sync, that is already fixed in tree. If this appear while upgrading to -r4, the problem is with the previous installed ebuild you had installed.