[Libreoffice] Build breaks in libcmis

Olivier Hallot olivier.hallot at documentfoundation.org
Tue Oct 4 03:49:49 PDT 2011


Hello Cédric

ERROR: error 65280 occurred while making /home/tdf/git/core/libcmis/prj

  it seems that the error is inside 'libcmis', please re-run build
  inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

/bin/bash
cd /home/tdf/git/core
source ./Env.Host.sh
cd libcmis
make clean # optional
make -r


and then.....

++++++++++++++++++++++++++++++++++++++++
tdf at olivier-Vostro-3500:~/git/core$ source Env.Host.sh
tdf at olivier-Vostro-3500:~/git/core$ cd libcmis/
tdf at olivier-Vostro-3500:~/git/core/libcmis$ make clean
[ clean MAK ] libcmis
R=/home/tdf/git && S=$R/core && O=$S/solver/unxlngx6.pro && 
W=$S/workdir/unxlngx6.pro &&  if test -f 
$W/ExternalLib/libcmis/build/Makefile ; then cd 
$W/ExternalLib/libcmis/build && make uninstall ; fi ; rm -rf 
$W/ExternalLib/libcmis.done $W/ExternalLib/libcmis
[ clean MOD ] libcmis
R=/home/tdf/git && S=$R/core && O=$S/solver/unxlngx6.pro && 
W=$S/workdir/unxlngx6.pro &&  rm -f $W/Module/libcmis 
$W/Module/check/libcmis $W/Module/subsequentcheck/libcmis
[ clean ALL ] top level modules: libcmis
[ clean ALL ] loaded modules: libcmis
tdf at olivier-Vostro-3500:~/git/core/libcmis$ make -r
[ build MAK ]
rm -fr /home/tdf/git/core/workdir/unxlngx6.pro/ExternalLib/libcmis && 
mkdir -p 
/home/tdf/git/core/workdir/unxlngx6.pro/ExternalLib/libcmis/build && tar 
-x -C /home/tdf/git/core/workdir/unxlngx6.pro/ExternalLib/libcmis/build 
--strip-component=1 -f 
/home/tdf/git/core/src/d821b3cdeba34db1d084b9bd709b3a52-libcmis-0.1.0.tar.gz 
&& cd /home/tdf/git/core/workdir/unxlngx6.pro/ExternalLib/libcmis/build 
&& for p in  libcmis/libcmis-0.1.0-autotools.patch ; do patch -p 1 < 
/home/tdf/git/core/$p || exit 1; done && CC="ccache gcc" CXX="ccache 
g++" CFLAGS="" CXXFLAGS="" PKG_CONFIG_PATH=" 
/home/tdf/git/core/solver/unxlngx6.pro/lib/pkgconfig" ./configure  
--prefix=/home/tdf/git/core/solver/unxlngx6.pro  --disable-client && for 
p in  ; do patch -p 1 < /home/tdf/git/core/ || exit 1; done
patching file config.sub
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether ccache g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of ccache g++... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... ccache gcc
checking whether we are using the GNU C compiler... yes
checking whether ccache gcc accepts -g... yes
checking for ccache gcc option to accept ISO C89... none needed
checking dependency style of ccache gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by ccache gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse nm output from ccache gcc object... ok
checking how to run the C preprocessor... ccache gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether ccache g++ accepts -g... (cached) yes
checking dependency style of ccache g++... (cached) gcc3
checking how to run the C++ preprocessor... ccache g++ -E
checking for objdir... .libs
checking if ccache gcc supports -fno-rtti -fno-exceptions... no
checking for ccache gcc option to produce PIC... -fPIC -DPIC
checking if ccache gcc PIC flag -fPIC -DPIC works... yes
checking if ccache gcc static flag -static works... yes
checking if ccache gcc supports -c -o file.o... yes
checking if ccache gcc supports -c -o file.o... (cached) yes
checking whether the ccache gcc linker (/usr/bin/ld -m elf_x86_64) 
supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by ccache g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the ccache g++ linker (/usr/bin/ld -m elf_x86_64) 
supports shared libraries... yes
checking for ccache g++ option to produce PIC... -fPIC -DPIC
checking if ccache g++ PIC flag -fPIC -DPIC works... yes
checking if ccache g++ static flag -static works... yes
checking if ccache g++ supports -c -o file.o... yes
checking if ccache g++ supports -c -o file.o... (cached) yes
checking whether the ccache g++ linker (/usr/bin/ld -m elf_x86_64) 
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gawk... (cached) gawk
checking for curl-config... no
checking whether libcurl is usable... no
checking for xml2-config... /usr/bin/xml2-config
checking pkg-config is at least version 0.9.0... yes
checking for CPPUNIT... no
configure: error: Package requirements (cppunit >= 1.12 ) were not met:

No package 'cppunit' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables CPPUNIT_CFLAGS
and CPPUNIT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: ** 
[/home/tdf/git/core/workdir/unxlngx6.pro/ExternalLib/libcmis.done] Erro 1
tdf at olivier-Vostro-3500:~/git/core/libcmis$

++++++++++++++++++++++++++++++++++++++++

Well cppunit is clearly installed in my system (Kububtu Natty) and the 
suggestions offered just above does not work:

/.

/usr

/usr/lib

/usr/lib/libcppunit-1.12.so.1.0.0

/usr/share

/usr/share/doc

/usr/share/doc/libcppunit-1.12-1

/usr/share/doc/libcppunit-1.12-1/copyright

/usr/share/doc/libcppunit-1.12-1/changelog.Debian.gz

/usr/lib/libcppunit-1.12.so.1



so I am stuck.... :-(

Thanks in advance for the help

Olivier

Em 04-10-2011 04:38, Cedric Bosdonnat escreveu:
> Hi Olivier,
>
> On Mon, 2011-10-03 at 23:38 -0300, Olivier Hallot wrote:
>> I just pulled the master (git pull -r), and libcmis is still breaking
>> my build on linux.
> What build breaker did you have? It would be nice to know it in order to
> fix it.
>
>> --disable cmis
> oops, I was certain to have pushed that, but I figured out that it is
> still unpushed on my machine. Should be fixed by now.
>
> Regards,

-- 
Olivier Hallot
Founder, Steering Commitee Member - The Document Foundation
Voicing the enterprise needs
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111004/f652cbe0/attachment-0001.html>


More information about the LibreOffice mailing list