cross-lin-arm fails at libxml2
Submitted by Alistair Buxton
Link to original bug (#770502)
Description
Using Ubuntu 16.04
Steps:
git clone git://anongit.freedesktop.org/gstreamer/sdk/cerbero
cd cerbero
./cerbero-uninstalled -c config/cross-lin-arm.cbc bootstrap
./cerbero-uninstalled -c config/cross-lin-arm.cbc package gstreamer-1.0
Result:
/bin/bash ./libtool --tag=CC --mode=compile arm-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./include -I./include -D_REENTRANT -Wall -g -O2 -march=armv7-a -Wl,-rpath-link=/home/al/cerbero/build/dist/linux_armv7/lib -Wall -g -O2 -march=armv7-a -Wl,-rpath-link=/home/al/cerbero/build/dist/linux_armv7/lib -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 -Wno-long-long -MT xmlIO.lo -MD -MP -MF .deps/xmlIO.Tpo -c -o xmlIO.lo xmlIO.c
libtool: compile: arm-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I./include -I./include -D_REENTRANT -Wall -g -O2 -march=armv7-a -Wl,-rpath-link=/home/al/cerbero/build/dist/linux_armv7/lib -Wall -g -O2 -march=armv7-a -Wl,-rpath-link=/home/al/cerbero/build/dist/linux_armv7/lib -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 -Wno-long-long -MT xmlIO.lo -MD -MP -MF .deps/xmlIO.Tpo -c xmlIO.c -fPIC -DPIC -o .libs/xmlIO.o
xmlIO.c: In function ‘__xmlParserInputBufferCreateFilename’:
xmlIO.c:2687:48: error: ‘xmlXzfileOpen’ undeclared (first use in this function)
if ((xmlInputCallbackTable[i].opencallback == xmlXzfileOpen) &&
^
xmlIO.c:2687:48: note: each undeclared identifier is reported only once for each function it appears in
xmlIO.c:2689:31: warning: implicit declaration of function ‘__libxml2_xzcompressed’ [-Wimplicit-function-declaration]
ret->compressed = __libxml2_xzcompressed(context);
^
xmlIO.c:2689:13: warning: nested extern declaration of ‘__libxml2_xzcompressed’ [-Wnested-externs]
ret->compressed = __libxml2_xzcompressed(context);
^
xmlIO.c: In function ‘xmlParserInputBufferGrow__internal_alias’:
xmlIO.c:3354:26: error: ‘xmlXzfileRead’ undeclared (first use in this function)
if (in->readcallback == xmlXzfileRead)
^
Makefile:1021: recipe for target 'xmlIO.lo' failed
make[2]: *** [xmlIO.lo] Error 1
make[2]: Leaving directory '/home/al/cerbero/build/sources/linux_armv7/libxml2-2.9.2'
Makefile:1213: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/al/cerbero/build/sources/linux_armv7/libxml2-2.9.2'
Makefile:733: recipe for target 'all' failed
make: *** [all] Error 2
Running command 'make'
Recipe 'libxml2' failed at the build step 'compile'
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort