GNOME Bugzilla – Bug 576313
implicit declarations in testsuite ?
Last modified: 2009-04-12 22:31:16 UTC
While reviewing packages before pushing to main tree of gentoo: * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * tester-scan.c:18: warning: implicit declaration of function 'gtkdoc_object_get_type' * tester-scan.c:19: warning: implicit declaration of function 'gtkdoc_iface_get_type' * tester-scan.c:18: warning: implicit declaration of function 'gtkdoc_object_get_type' * tester-scan.c:19: warning: implicit declaration of function 'gtkdoc_iface_get_type' * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: http://www.gtk.org/gtk-doc/ attaching full build.log in a moment.
Created attachment 131132 [details] build.log Full build.log. I haven't been able to figure out what was wrong in the makefiles.
The actual error is that it does not find the header file tester-scan.c:7:20: error: tester.h: No such file or directory tester-scan.c: In function 'get_object_types': tester-scan.c:18: warning: implicit declaration of function 'gtkdoc_object_get_type' tester-scan.c:19: warning: implicit declaration of function 'gtkdoc_iface_get_type' will loo into it.
Gilles, this is the command to create the scanner: make[4]: entrant dans le répertoire « /var/tmp/portage/dev-util/gtk-doc-1.11-r1/work/gtk-doc-1.11/tests/gobject/docs » ... gtk-doc: Compiling scanner mkdir .libs x86_64-pc-linux-gnu-gcc -O2 -march=native -ftree-vectorize -pipe -g -Wall -I../../.. -I../../../tests/gobject/src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -march=native -ftree-vectorize -pipe -g -Wall -c tester-scan.c -fPIC -DPIC -o .libs/tester-scan.o tester-scan.c:7:20: error: tester.h: No such file or directory so it adds -I../../../tests/gobject/src to the search path, that is /var/tmp/portage/dev-util/gtk-doc-1.11-r1/work/gtk-doc-1.11/tests/gobject/src and imho tester.h file is there otherwise it could not build the *la a few lines above (see: make[3]: entrant dans le répertoire « /var/tmp/portage/dev-util/gtk-doc-1.11-r1/work/gtk-doc-1.11/tests/gobject/src Could you have a look at what happens, waybe also try wit latests svn (I am about to release 1.12 quite soon).
yeah it should be able to find the filee. It's still there at the point of failure, that's why I got confused and reported directly :p I'll try to give a shot at 1.12 tonight unless someone from the gentoo gnome team beats me to it.
Also, if you can tell me how I can rerun this on gentoo. I actually have a gentoo system, but its plain x86 (no ~). I could try myself tonight.
you'd have to pull the gnome overlay (use layman for that) and unmask dev-util/gtk-doc-1.11 and then use: FEATURES="test stricter" emerge -1v gtk-doc you can mail gnome@gentoo.org directly if you need more informations on gentoo specific stuff or meet us on #gentoo-desktop on Freenode.
ok, svn head looks fine. Will reopen if I'm proved wrong.