GNOME Bugzilla – Bug 589647
Problems when generating documentation
Last modified: 2011-09-03 16:43:45 UTC
Please describe the problem: At compile time affine.c has dependency errors, namely function name mismatches. Steps to reproduce: How to reproduce the compile time error message Assuming a recent gegl git is installed in ~/gegl: cd ~/gegl ./autogen.sh make sudo make install cd operations/affine touch affine.c cd ~/gegl make More detailed set of instructions including commands to install gegl and babl from the git repos (assuming you don't have an install already): git clone git://git.gnome.org/babl babl cd babl ./autogen.sh make sudo make install cd git clone git://git.gnome.org/gegl gegl cd gegl ./autogen.sh make sudo make install git branch affine_bug_test git checkout affine_bug_test cd operations/affine touch affine.c cd ~/gegl make Actual results: The following error message: GEGL_SWAP=RAM GEGL_PATH=../operations \ ../tools/operation_reference --ops-html > operations.html GEGL_SWAP=RAM GEGL_PATH=../operations \ ../tools/introspect > class-hierarchy.html ../tools/create-reference.rb \ ../gegl/gegl.h \ ../gegl/gegl-version.h \ ../gegl/buffer/gegl-buffer.h \ ../gegl/gegl-utils.h \ ../gegl/property-types/gegl-color.h\ ../gegl/gegl-matrix.h \ ../gegl/property-types/gegl-path.h\ ../gegl/property-types/gegl-curve.h\ api.html ../gegl/gegl.h 351: ...!=args 383: ...!=args ../gegl/gegl-version.h ../gegl/buffer/gegl-buffer.h ../gegl/gegl-utils.h 200:function name mismatch _gegl_float_epsilon_equal!=gegl_free 200: mem!=v1 ../gegl/property-types/gegl-color.h ../gegl/gegl-matrix.h ../gegl/property-types/gegl-path.h 427:function name mismatch gegl_path_list_append!=gegl_path_add_type 427: type!=head 429:function name mismatch gegl_path_list_destroy!=gegl_path_add_type 429: type!=path 437: items!=the 438: description!=path 440:function name mismatch gegl_path_add_flattener!=gegl_path_add_type 440: type!=func ../gegl/property-types/gegl-curve.h Expected results: Does this happen every time? Yes every time Other information:
I experienced similar strange messages when I tried to compile GEGL after the first time I ran git pull after the initial clone of the repository. I never saw these types of messages prior to the use of git to maintain the source files. It is likely due to a recent change in the build process around the time the use of libtool was put in place. A temporary solution to the problem is to run 'make distclean' before 'make'.
Does Kevin's advice "fix" the problem?
I have not checked for this error message in particular, but I once got similar messages when there actually was a name mismatch between a .h and a .c.
This is just some issues with the doc generation, nothing serious.
Unable to reproduce in current git master (8bc1bc53de5e3766e9fc7cfb79e94a3cf0d208fc). Generation of documentation completes without any errors or warnings. Looks like this is fixed.