Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478674 - dev-libs/gobject-introspection-1.34.x + dev-libs/gobject-introspection-common-1.36.x: g-ir-scanner: error: no such option: --cflags-begin
Summary: dev-libs/gobject-introspection-1.34.x + dev-libs/gobject-introspection-common...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 478724 516880 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-29 17:05 UTC by Doug Goldstein (RETIRED)
Modified: 2014-07-11 09:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Failing log from x11-libs/gtk+-2.24.20 (20130805-192407.log,235.49 KB, text/plain)
2013-08-05 19:33 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Goldstein (RETIRED) gentoo-dev 2013-07-29 17:05:31 UTC
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
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-07-29 19:46:25 UTC
What version of gobject-introspection do you have?
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2013-07-29 21:31:18 UTC
(In reply to Alexandre Rostovtsev from comment #1)
> What version of gobject-introspection do you have?

1.34.2-r1
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-07-30 03:38:15 UTC
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).
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-07-30 16:43:09 UTC
*** Bug 478724 has been marked as a duplicate of this bug. ***
Comment 5 eroen 2013-08-05 19:33:52 UTC
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.
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-08-12 05:33:55 UTC
(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.
Comment 7 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-07-11 09:58:46 UTC
*** Bug 516880 has been marked as a duplicate of this bug. ***