After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 589647 - Problems when generating documentation
Problems when generating documentation
Status: RESOLVED FIXED
Product: GEGL
Classification: Other
Component: operations
git master
Other All
: Normal normal
: ---
Assigned To: Default Gegl Component Owner
Default Gegl Component Owner
Depends on:
Blocks:
 
 
Reported: 2009-07-24 20:16 UTC by Eric Daoust
Modified: 2011-09-03 16:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eric Daoust 2009-07-24 20:16:11 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:
Comment 1 Kevin Cozens 2009-07-24 22:23:37 UTC
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'.
Comment 2 Martin Nordholts 2009-07-25 10:21:17 UTC
Does Kevin's advice "fix" the problem?
Comment 3 Nicolas Robidoux 2009-07-25 18:48:17 UTC
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.
Comment 4 Martin Nordholts 2009-07-25 19:06:32 UTC
This is just some issues with the doc generation, nothing serious.
Comment 5 Jon Nordby 2011-09-03 16:43:45 UTC
Unable to reproduce in current git master (8bc1bc53de5e3766e9fc7cfb79e94a3cf0d208fc). Generation of documentation completes without any errors or warnings. Looks like this is fixed.