build failure

Winfried Donkers W.Donkers at dci-electronics.nl
Mon Apr 8 23:05:13 PDT 2013


Hi Michael,

> > have taken the drastic step of removing the entire codebase locally
> 
> 	Sounds like that should help, or a 'git clean -d -f' or something might
> save some downloading ;-) though it is a bit drastic too.

Guess what: removing my entire local repository, using git clone to create a new one, running autogen followed by make didn't help:

from output of make:
/home/w.donkers/git/libo/helpcompiler/source/HelpLinker.cxx:38:19: fatal error: expat.h: Bestand of map bestaat niet
compilation terminated.
make[1]: *** [/home/w.donkers/git/libo/workdir/unxlngi6/CxxObject/helpcompiler/source/HelpLinker.o]

from output of make in core/helpcompiler:
 [build CXX] helpcompiler/source/HelpLinker.cxx
S=/home/w.donkers/git/libo && O=$S/solver/unxlngi6 && W=$S/workdir/unxlngi6 &&  mkdir -p $W/CxxObject/helpcompiler/source/ $W/Dep/CxxObject/helpcompiler/source/ && cd /home/w.donkers/git/libo &&  /usr/bin/ccache g++ -DCPPU_ENV=gcc3 -DDBG_UTIL -DINTEL -DLIBO_INTERNAL_ONLY -DLINUX -DOSL_DEBUG_LEVEL=1 -DSAL_LOG_INFO -DSAL_LOG_WARN -DSOLAR_JAVA -DSUPD=410 -DUNIX -DUNX -DX86 -D_DEBUG -D_GLIBCXX_DEBUG -D_PTHREADS -D_REENTRANT  -DRTL_USING   -DL10N_DLLIMPLEMENTATION -DHELPLINKER_DLLIMPLEMENTATION  -DHAVE_CXX0X  -DSYSTEM_LIBXML   -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden   -Wall -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe  -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual  -Wnon-virtual-dtor -std=gnu++0x  -DEXCEPTIONS_ON -fexceptions -O0 -ggdb2 -finline-limit=0 -fno-inline -fno-default-inline  -c $S/helpcompiler/source/HelpLinker.cxx -o $W/CxxObject/helpcompiler/source/HelpLinker.o -MMD -MT $W/CxxObject/helpcompiler/source/HelpLinker.o -MP -MF $W/Dep/CxxObject/helpcompiler/source/HelpLinker.d_ -I$S/helpcompiler/source/ -I$O/inc/external/expat -I$W/UnpackedTarball/boost  -I$O/inc/external -I$O/inc -I$S/solenv/inc  -I/usr/lib/jvm/java-1.7.0-openjdk/include -I/usr/lib/jvm/java-1.7.0-openjdk/include/linux -I$S/config_host  -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal    -I/usr/include/libxml2     -I/usr/include/libxml2     && mv $W/Dep/CxxObject/helpcompiler/source/HelpLinker.d_ $W/Dep/CxxObject/helpcompiler/source/HelpLinker.d
/home/w.donkers/git/libo/helpcompiler/source/HelpLinker.cxx:38:19: fatal error: expat.h: Bestand of map bestaat niet
compilation terminated.
make: *** [/home/w.donkers/git/libo/workdir/unxlngi6/CxxObject/helpcompiler/source/HelpLinker.o] Fout

these expat.h I found:
./workdir/unxlngi6/UnpackedTarball/expat/amiga/include/libraries/expat.h
./workdir/unxlngi6/UnpackedTarball/expat/amiga/include/proto/expat.h
./workdir/unxlngi6/UnpackedTarball/expat/amiga/include/interfaces/expat.h
./workdir/unxlngi6/UnpackedTarball/expat/amiga/include/inline4/expat.h
./workdir/unxlngi6/UnpackedTarball/expat/lib/expat.h

My autogen.lastrun says:
--with-max-jobs=1
--with-num-cpus=1
--without-junit
--disable-mozilla
--enable-dbgutil

I'm out of options, what should I do next?
(I have used this machine for a year and a half now to build and test LibreOffice patches, so it's not as if it has never functioned.)

Winfried




More information about the LibreOffice mailing list