Build with GOBJECT_INTROSPECTION=true can fail

Allen Winter winter at kde.org
Fri Jan 22 05:32:34 PST 2016


On Wednesday, January 20, 2016 07:13:29 PM Milan Crha wrote:
> 	Hi,
> one reporter pointed me to a fact that you provide introspection
> since 2.0.0. That sounds interesting, though the build can fail
> when it is configured out of the source.
> 
> My steps:
> a) cd libical-src
> b) mkdir build
> c) cd build
> d) cmake -G "Unix Makefiles" -DGOBJECT_INTROSPECTION=true ..
> e) make
> 
> The result is:
> 
> [ 21%] Linking C shared library ../../lib/libical.so
> [ 25%] Built target ical
> Scanning dependencies of target gir-girs
> [ 26%] Generating libical-2.0.0.gir
> In file included from /tmp/g-ir-cpp-fHTdLD.c:4:0:
> ..../libical-src/build/src/libical/ical.h:89:33: fatal error: libical_ical_export.h: No such file or directory

fixed in commit 2402a36ddff2f6b2a20915bde2b4d0dfb7dcf03f

> compilation terminated.
> Caught exception: <class 'distutils.errors.CompileError'> CompileError(DistutilsExecError("command 'gcc' failed with exit status 1",),)
> > /usr/lib64/python2.7/distutils/unixccompiler.py(121)preprocess()
> -> raise CompileError, msg
> (Pdb) 
> 
> Note that it ended in "(Pdb)" prompt, it didn't stop by usual means.
> Only after I enter 'q' in the Pdb prompt I get the rest of the 'make'
> run:
> 
this did not happen for me .  I don't know anything about the introspection stuff.
would be good if you could test please.

> (Pdb) q
> src/libical/CMakeFiles/gir-girs.dir/build.make:60: recipe for target 'src/libical/libical-2.0.0.gir' failed
> make[2]: *** [src/libical/libical-2.0.0.gir] Error 1
> CMakeFiles/Makefile2:228: recipe for target 'src/libical/CMakeFiles/gir-girs.dir/all' failed
> make[1]: *** [src/libical/CMakeFiles/gir-girs.dir/all] Error 2
> Makefile:138: recipe for target 'all' failed
> make: *** [all] Error 2
> 
> 	Bye,
> 	Milan
> 
> 
> _______________________________________________
> libical-devel mailing list
> libical-devel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libical-devel




More information about the libical-devel mailing list