quite the same problem : http://bugs.gentoo.org/show_bug.cgi?id=19804 here is its DEPEND string in the ebuild : DEPEND="media-libs/jpeg >=sys-apps/sed-4 =dev-libs/glib-1.2* x86? ( media-libs/libmovtar mmx? ( >=media-libs/jpeg-mmx-1.1.2-r1 dev-lang/nasm ) 3dnow? ( dev-lang/nasm ) sse? ( dev-lang/nasm ) ) gtk? ( =x11-libs/gtk+-1.2* ) avi? ( >=media-video/avifile-0.7.38 ) dv? ( >=media-libs/libdv-0.99 ) quicktime? ( virtual/quicktime ) sdl? ( media-libs/libsdl ) X? ( x11-base/xfree )" first, mjpegtools compiles well without glib 1.2 (it compiles against v2.x) second, libmovtar is gtk-1.2 only and would force any x86 user to install glib/gtk 1.2 could we have a USE flag to say explicitly that we do not want any glib / gtk 1.2 ?? Reproducible: Always Steps to Reproduce: 1. 2. 3.
oh, and not to forget that 1.6.1.93 is out
Martin Holzer <mholzer@gentoo.org> just bumped mjpegtools to 1.6.1.93 still the same glib/gtk 1.2 problem
I have the impression that latest mjpegtools never compiles against glib-2 - it needs glib-1.2 when gtk is in USE and does not need glib at all if built without gtk support. Updating the dependencies of 1.6.2-r1 accordingly. I was less lucky for latest stable version, 1.6.1.90-r2 failed to compile without glib.
Oh, about the libmovtar issue - this package needs glib 1.2, and I think this little package is not worth introducing a new USE flag.
Circumstances have changed about this issue. Now mjpegtools doesn't depend on glib-1.2* but when using x86, it install libmovtar which depends on glib-1.2. So the gtk USE flag on this package has no real effect (or not the desired effect) when using x86. It could be fixed changing DEPEND like this: - x86? ( media-libs/libmovtar + x86? ( gtk? media-libs/libmovtar mmx? ( >=media-libs/jpeg-mmx-0.1.6 )