When compiling photomolo jpegint.h seems to be lacking. It's supposes to be there because it's included by jpeglib.h, and I found it in the jpeg-7 tarball So I presume jpegint.h is not installed by the ebuild. Reproducible: Always
You may consider this a duplicate (in a way) of bug 282765. Short of it - NOTABUG.
And if that photomolo is in the tree (doesn't seem that way), it will be probably treated as an upstream bug.
jpeglib.h: <quote> * Applications using the library should not include jpegint.h, but may wish * to include jerror.h. </quote> It might get included by jpeglib.h if the external program sets #define JPEG_INTERNALS, this is wrong... Instead it should include jerror.h by itself if required. Closing.
Found photomolo from Freshmeat, with this patch it will build without jpegint.h. --- photomolo-1.3.orig/exifiron.c 2008-12-29 13:20:42.000000000 +0200 +++ photomolo-1.3/exifiron.c 2009-10-07 01:51:50.000000000 +0300 @@ -78,11 +78,6 @@ #define EXIFIRON_VERSION "exifiron 1.3" -/* Although this file really should not have access to the library internals, - * it is helpful to let it call jround_up () and jcopy_block_row (). - */ -#define JPEG_INTERNALS - #include "jpeglib.h" #include "jerror.h"