libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/libcolord_la-cd-client.o .libs/libcolord_la-cd-client-sync.o .libs/libcolord_la-cd-deprecated.o .libs/libcolord_la-cd-device.o .libs/libcolord_la-cd-device-sync.o .libs/libcolord_la-cd-profile.o .libs/libcolord_la-cd-profile-sync.o .libs/libcolord_la-cd-sensor.o .libs/libcolord_la-cd-sensor-sync.o -Wl,-rpath -Wl,/var/tmp/portage/x11-misc/colord-0.1.34/work/colord-0.1.34/lib/colord/.libs ./.libs/libcolordprivate.so -lm -llcms2 -lgthread-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lrt -lglib-2.0 -march=native -O2 -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--export-dynamic -pthread -pthread -Wl,-soname -Wl,libcolord.so.1 -Wl,-version-script -Wl,.libs/libcolord.ver -o .libs/libcolord.so.1.0.20 libtool: link: (cd ".libs" && rm -f "libcolord.so.1" && ln -s "libcolord.so.1.0.20" "libcolord.so.1") libtool: link: (cd ".libs" && rm -f "libcolord.so" && ln -s "libcolord.so.1.0.20" "libcolord.so") libtool: link: ( cd ".libs" && rm -f "libcolord.la" && ln -s "../libcolord.la" "libcolord.la" ) /usr/bin/g-ir-scanner --add-include-path=. --namespace=Colord --nsversion=1.0 --libtool="/bin/sh ../../libtool" --include=GObject-2.0 --include=Gio-2.0 --pkg-export=colord --library=libcolord.la --library=libcolordprivate.la --identifier-prefix=Cd --symbol-prefix=cd --warn-all --add-include-path=. --c-include="colord.h" --cflags-begin -I/usr/include/gio-unix-2.0/ -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../.. -I../../lib -DCD_COMPILATION -DG_LOG_DOMAIN=\"libcolord\" -DTESTDATADIR=\""../../data/tests"\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -DCD_DISABLE_DEPRECATED --cflags-end cd-buffer.c cd-color.c cd-dom.c cd-enum.c cd-icc.c cd-interp-akima.c cd-interp-linear.c cd-interp.c cd-it8.c cd-it8-utils.c cd-math.c cd-quirk.c cd-transform.c cd-client.c cd-client-sync.c cd-deprecated.c cd-device.c cd-device-sync.c cd-profile.c cd-profile-sync.c cd-sensor.c cd-sensor-sync.c cd-buffer.h cd-client.h cd-client-sync.h cd-color.h cd-deprecated.h cd-device.h cd-device-sync.h cd-dom.h cd-enum.h cd-icc.h cd-interp-akima.h cd-interp-linear.h cd-interp.h cd-it8.h cd-it8-utils.h cd-math.h cd-profile.h cd-profile-sync.h cd-quirk.h cd-sensor.h cd-sensor-sync.h cd-transform.h cd-version.h libcolord.la libcolordprivate.la --output Colord-1.0.gir Usage: g-ir-scanner [options] sources g-ir-scanner: error: no such option: --cflags-begin make[3]: *** [Colord-1.0.gir] Error 2
What version of gobject-introspection do you have?
(In reply to Alexandre Rostovtsev from comment #1) > What version of gobject-introspection do you have? 1.34.2-r1
Thanks. It appears that gobject-introspection-1.36 added some new command-line arguments that older versions do not recognize. And Makefile.introspection in gobject-introspection-common-1.36 uses these arguments by default. So we need to keep gobject-introspection-common and gobject-introspection more tightly in sync: 1.34.x only with 1.34.x, and 1.36.x only with 1.36.x + 30 Jul 2013; Alexandre Rostovtsev <tetromino@gentoo.org> + gobject-introspection-1.32.1.ebuild, gobject-introspection-1.34.2-r1.ebuild: + 1.32 and 1.34 are incompatible with gobject-introspection-common-1.36's + Makefile.introspection (bug #478674, thanks to Doug Goldstein).
*** Bug 478724 has been marked as a duplicate of this bug. ***
Created attachment 355192 [details] Failing log from x11-libs/gtk+-2.24.20 Incompatibility seems to affect x11-libs/gtk+-2.24.20 too, which portage wanted to update before either gobject-introspection or glib on this box.
(In reply to eroen from comment #5) > Created attachment 355192 [details] > Failing log from x11-libs/gtk+-2.24.20 > > Incompatibility seems to affect x11-libs/gtk+-2.24.20 too, which portage > wanted to update before either gobject-introspection or glib on this box. gtk+-2.24.20 does not contain the "--cflags-begin" string anywhere in its source tarball. I am guessing that you had updated gobject-introspection-common to 1.36 before the fix made it to your local rsync mirror, and then you tried to emerge gtk+ without using the "--deep" option, so portage failed to check that one of gobject-introspection's dependencies was not satisfied.
*** Bug 516880 has been marked as a duplicate of this bug. ***