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 161386 - testapi.c missing since gentest.py can't load python module
testapi.c missing since gentest.py can't load python module
Status: VERIFIED FIXED
Product: libxml2
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2004-12-15 17:06 UTC by Thomas Fitzsimmons
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Fitzsimmons 2004-12-15 17:06:07 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.
Comment 1 Daniel Veillard 2004-12-22 21:43:09 UTC
libxml2-python is missing. We should make sure testapi.c which comes from
the distribution/CVS is not removed. Maybe not regenerate automatically.

Daniel
Comment 2 Daniel Veillard 2005-01-25 23:35:12 UTC
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
Comment 3 Daniel Veillard 2005-09-05 08:59:51 UTC
This should be closed by release of libxml2-2.6.21,

  thanks,

Daniel