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 576313 - implicit declarations in testsuite ?
implicit declarations in testsuite ?
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
1.11
Other Linux
: Normal normal
: 1.12
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-22 18:34 UTC by Gilles Dartiguelongue
Modified: 2009-04-12 22:31 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
build.log (67.33 KB, text/plain)
2009-03-22 18:35 UTC, Gilles Dartiguelongue
Details

Description Gilles Dartiguelongue 2009-03-22 18:34:02 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.
Comment 1 Gilles Dartiguelongue 2009-03-22 18:35:50 UTC
Created attachment 131132 [details]
build.log

Full build.log. I haven't been able to figure out what was wrong in the makefiles.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2009-03-22 18:48:40 UTC
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.
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2009-03-23 09:58:15 UTC
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).
Comment 4 Gilles Dartiguelongue 2009-03-23 11:32:14 UTC
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.
Comment 5 Stefan Sauer (gstreamer, gtkdoc dev) 2009-03-23 11:48:15 UTC
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.
Comment 6 Gilles Dartiguelongue 2009-03-23 12:45:33 UTC
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.
Comment 7 Gilles Dartiguelongue 2009-04-12 22:31:16 UTC
ok, svn head looks fine. Will reopen if I'm proved wrong.