libreoffice-4.0.3 fails to build

John Frankish j-frankish at slb.com
Tue May 28 23:04:35 PDT 2013


> -----Original Message-----
> From: John Frankish
> Sent: Sunday, 26 May, 2013 09:35
> To: 'libreoffice at lists.freedesktop.org'
> Subject: libreoffice-4.0.3 fails to build
> 
> On an x86_64 machine, using gcc-4.6.1 and binutils-2.21.1, libreoffice-4.0.3
> fails to build - please see details below.
> 
> Any troubleshooting recommendations would be gratefully received.

I tried again with a system version of liborcus since the libreoffice downloaded version of liborcus seems to need patching.

The build fails with the same error, build log attached

> ----------
> 
> CFLAGS="-mtune=generic -Os -pipe" CXXFLAGS="-mtune=generic -Os -pipe"
> ./autogen.sh --prefix=/usr/local --sysconfdir=/usr/local/etc --with-lang="en-
> US" --with-alloc=system --without-java --disable-gconf --disable-odk --
> disable-postgresql-sdbc --with-system-boost --with-system-cairo --with-
> system-curl --with-system-expat --with-system-icu --with-system-jpeg --
> with-system-lcms2 --with-system-libpng --with-system-libxml --with-system-
> mesa-headers --with-system-neon --with-system-nss --with-system-odbc --
> with-system-openldap --with-system-openssl --with-system-poppler --with-
> system-redland --with-system-zlib --disable-python
> 
> make build
> ...
> [build LNK] Library/vbaobj.uno.so
> [build LNK] Library/libscuilo.so
> [build CUT] sc_ucalc
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_' referenced in
> section
> `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba
> 11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollection
> Base<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o: defined in discarded section
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk
> to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_' referenced in
> section
> `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba
> 11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollection
> Base<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o: defined in discarded section
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk
> to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_' referenced in
> section
> `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba
> 11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollection
> Base<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src
> /libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o: defined in discarded section
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk
> to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_' referenced in
> section
> `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba
> 11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollection
> Base<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o: defined in discarded section
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk
> to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_' referenced in
> section
> `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba
> 11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollection
> Base<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o: defined in discarded section
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk
> to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o
> collect2: ld returned 1 exit status
> make[2]: *** [/usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/LinkTarget/Library/vbaobj.uno.so] Error 1
> make[2]: *** Waiting for unfinished jobs....
> 
> -----------------------------------------------------------------------
>         Oh dear - something failed during the build - sorry !
>   For more help with debugging build errors, please see the section in:
>             http://wiki.documentfoundation.org/Development
> 
>   internal build errors:
> 
> ERROR: error 512 occurred while making /usr/src/libreoffice-
> 4.0.3.3/tail_build/prj
> 
>  it seems that the error is inside 'tail_build', please re-run build  inside this
> module to isolate the error and/or test your fix.
> 
> ------------
> make tail_build
> 
> [build CUT] sc_ucalc
> [build CUT] sc_filters_test
> [build CUT] sd_uimpress
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_' referenced in
> section
> `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba
> 11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollection
> Base<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o: defined in discarded section
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk
> to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_' referenced in
> section
> `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba
> 11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollection
> Base<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o: defined in discarded section
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk
> to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_' referenced in
> section
> `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba
> 11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollection
> Base<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o: defined in discarded section
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk
> to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_' referenced in
> section
> `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba
> 11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollection
> Base<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o: defined in discarded section
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk
> to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_' referenced in
> section
> `.rodata._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba
> 11XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[ScVbaCollection
> Base<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o: defined in discarded section
> `.text._ZN19ScVbaCollectionBaseIN4cppu15WeakImplHelper1IN3ooo3vba11
> XCollectionEEEE4ItemERKN3com3sun4star3uno3AnyESD_[non-virtual thunk
> to ScVbaCollectionBase<cppu::WeakImplHelper1<ooo::vba::XCollection>
> >::Item(com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)]'
> of /usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/CxxObject/sc/source/ui/vba/vbasheetobjects.
> o
> collect2: ld returned 1 exit status
> make[2]: *** [/usr/src/libreoffice-
> 4.0.3.3/workdir/unxlngx6.pro/LinkTarget/Library/vbaobj.uno.so] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory `/usr/src/libreoffice-4.0.3.3/tail_build'
> make[1]: *** [tail_build] Error 2
> make[1]: Leaving directory `/usr/src/libreoffice-4.0.3.3'
> make: *** [tail_build] Error 2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_log.tar.bz2
Type: application/octet-stream
Size: 112542 bytes
Desc: build_log.tar.bz2
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130529/b9e218a5/attachment.obj>


More information about the LibreOffice mailing list