GNOME Bugzilla – Bug 161386
testapi.c missing since gentest.py can't load python module
Last modified: 2009-08-15 18:40:50 UTC
Building CVS HEAD fails with this error: [...] libxml2 python bindings not available, skipping testapi.c generation if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT testapi.o -MD -MP -MF ".deps/testapi.Tpo" -c -o testapi.o testapi.c; \ then mv -f ".deps/testapi.Tpo" ".deps/testapi.Po"; else rm -f ".deps/testapi.Tpo"; exit 1; fi gcc: testapi.c: No such file or directory gcc: no input files make[2]: *** [testapi.o] Error 1 make[2]: Leaving directory `/notnfs/fitzsim/gcj-jhbuild/sources/libxml2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/notnfs/fitzsim/gcj-jhbuild/sources/libxml2' make: *** [all] Error 2 gentest.py fails because it can't load the libxml2 python bindings, so an attempt to compile testapi.c fails.
libxml2-python is missing. We should make sure testapi.c which comes from the distribution/CVS is not removed. Maybe not regenerate automatically. Daniel
Okay I have tried to fix this, the normal build don't attempt to regenerate the testapi.c which comes from the distribution. This should fix this bug, thanks, Daniel
This should be closed by release of libxml2-2.6.21, thanks, Daniel