(Late to the party - there was a pile-up on the backbone just
outside of Barcelona.)
On
FreeBSD 10.0-CURRENT #0: Sun Mar 11 08:20:02 EDT 2012 amd64
I am unable to compile libreoffice-3.5.<latest version> using
either Clang or gcc-4.6. The "make.conf" is appended. I have also
defined "MAKE_JOBS_UNSAFE".
The error message for Clang is:
Compiling: lingucomponent/source/thesaurus/libnth/nthesdta.cxx
Compiling: lingucomponent/source/thesaurus/libnth/ntreg.cxx
Compiling: lingucomponent/source/thesaurus/libnth/nthesimp.cxx
Compiling: lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hreg.cxx
Compiling: lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx
/usr/local/bin/xsltproc --nonet --stringparam uri \
'vnd.sun.star.expand:$LO_LIB_DIR/libhyphenlo.so' -o ../../../../unxfbsd.pro/misc/hyphen.component \
/data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/solenv/bin/createcomponent.xslt hyphen.component
/usr/local/bin/xsltproc --nonet --stringparam uri \
'vnd.sun.star.expand:$LO_LIB_DIR/liblnthlo.so' -o ../../../unxfbsd.pro/misc/lnth.component \
/data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/solenv/bin/createcomponent.xslt lnth.component
/usr/local/bin/xsltproc --nonet --stringparam uri \
'vnd.sun.star.expand:$LO_LIB_DIR/libguesslanglo.so' -o ../../unxfbsd.pro/misc/guesslang.component \
/data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/solenv/bin/createcomponent.xslt guesslang.component
Making: guesslang.lib
Making: libguesslanglo.so
Making: spell.lib
Making: libspelllo.so
Making: hyphen_lib.lib
Making: libhyphenlo.so
Making: lnth.lib
Making: liblnthlo.so
lingucomponent deliver
Module 'lingucomponent' delivered successfully. 12 files copied, 2 files unchanged
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Developmen...
internal build errors:
ERROR: error 65280 occurred while making /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc/source/create_sRGB_profile
it seems that the error is inside 'icc', please re-run build
inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------
/usr/local/bin/bash
cd /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2
source ./Env.Host.sh
cd icc
rm -Rf /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc/unxfbsd.pro # optional module 'clean'
build
The error message for gcc46 is:
=============
(23/115) Building module mdds
=============
Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/mdds
if [ -f ./unxfbsd.pro/misc/build/mdds_0.5.3.exists ] ; then mv ./unxfbsd.pro/misc/build/mdds_0.5.3 ./unxfbsd.pro/misc/build/mdds_0.5.3_removeme ; fi
make writeable...
patching file mdds_0.5.3/include/mdds/mixed_type_matrix_def.inl
patching file mdds_0.5.3/include/mdds/mixed_type_matrix_storage_filled_linear.inl
patching file mdds_0.5.3/include/mdds/point_quad_tree.hpp
mdds deliver
Module 'mdds' delivered successfully. 19 files copied, 0 files unchanged
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Developmen...
internal build errors:
ERROR: error 65280 occurred while making /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/xml2cmp/prj
it seems that the error is inside 'xml2cmp', please re-run build
inside this module to isolate the error and/or test your fix:
> > In the case of gcc46, when I execute the previous six lines, > return to > /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2, > and run "make", I get: > > it says: > > Error expanding embedded variable. > > (Per a previous message, I have re-compiled libcmis with > gcc42.) > > Any ideas? > > > Robert HuffTry with gmake instead?
Daniel Nebdal writes:
> >
> > In the case of gcc46, when I execute the previous six lines,
> > return to
> > /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2,
> > and run "make", I get:
> >
> > it says:
> >
> > Error expanding embedded variable.
> >
> > (Per a previous message, I have re-compiled libcmis with
> > gcc42.)
> >
> > Any ideas?
> >
> >
> > Robert Huff
>
>
> Try with gmake instead?After fishing in different directoroes, I did so and got:
Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/textenc
Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/util
Making: libuno_sal.so.3
: ERROR: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by ../unxfbsd.pro/lib/check_libuno_sal.so.3 not found
dmake: Error code 1, while making '../unxfbsd.pro/lib/libuno_sal.so.3'
Robert Huff
On Wed, May 09, 2012 at 07:59:15AM -0400, Robert Huff wrote:
>
> Daniel Nebdal writes:
> > >
> > > In the case of gcc46, when I execute the previous six lines,
> > > return to
> > > /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2,
> > > and run "make", I get:
> > >
> > > it says:
> > >
> > > Error expanding embedded variable.
> > >
> > > (Per a previous message, I have re-compiled libcmis with
> > > gcc42.)
> > >
> > > Any ideas?
> > >
> > >
> > > Robert Huff
> >
> >
> > Try with gmake instead?
>
> After fishing in different directoroes, I did so and got:
>
> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/textenc
>
> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/util
>
> Making: libuno_sal.so.3
> : ERROR: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by ../unxfbsd.pro/lib/check_libuno_sal.so.3 not found
> dmake: Error code 1, while making '../unxfbsd.pro/lib/libuno_sal.so.3'
>
>
> Robert Huff
>That was the problem I was speaking about mixing different libstdc++ the one
from base and the one from gcc46.
I don't know how to fix this.
regards,
Bapt
On Wed, May 9, 2012 at 2:43 PM, Baptiste Daroussin wrote:
> On Wed, May 09, 2012 at 07:59:15AM -0400, Robert Huff wrote:
>>
>> Daniel Nebdal writes:
>> > >
>> > > In the case of gcc46, when I execute the previous six lines,
>> > > return to
>> > > /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2,
>> > > and run "make", I get:
>> > >
>> > > it says:
>> > >
>> > > Error expanding embedded variable.
>> > >
>> > > (Per a previous message, I have re-compiled libcmis with
>> > > gcc42.)
>> > >
>> > > Any ideas?
>> > >
>> > >
>> > > Robert Huff
>> >
>> >
>> > Try with gmake instead?
>>
>> After fishing in different directoroes, I did so and got:
>>
>> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/textenc
>>
>> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/util
>>
>> Making: libuno_sal.so.3
>> : ERROR: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by ../unxfbsd.pro/lib/check_libuno_sal.so.3 not found
>> dmake: Error code 1, while making '../unxfbsd.pro/lib/libuno_sal.so.3'
>>
>>
>> Robert Huff
>>
>
> That was the problem I was speaking about mixing different libstdc++ the one
> from base and the one from gcc46.
>
> I don't know how to fix this.
>
> regards,
> BaptDoes this also happen when building libreoffice with clang? I just
built it on 8.2 using clang, and that worked fine (apart from a
failure in vcl, but that was caused by some leftover qt3 headers in
/usr/local/include ).
Daniel Nebdal
On Wed, May 09, 2012 at 03:09:48PM +0200, Daniel Nebdal wrote:
> On Wed, May 9, 2012 at 2:43 PM, Baptiste Daroussin wrote:
> > On Wed, May 09, 2012 at 07:59:15AM -0400, Robert Huff wrote:
> >>
> >> Daniel Nebdal writes:
> >> > >
> >> > > In the case of gcc46, when I execute the previous six lines,
> >> > > return to
> >> > > /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2,
> >> > > and run "make", I get:
> >> > >
> >> > > it says:
> >> > >
> >> > > Error expanding embedded variable.
> >> > >
> >> > > (Per a previous message, I have re-compiled libcmis with
> >> > > gcc42.)
> >> > >
> >> > > Any ideas?
> >> > >
> >> > >
> >> > > Robert Huff
> >> >
> >> >
> >> > Try with gmake instead?
> >>
> >> After fishing in different directoroes, I did so and got:
> >>
> >> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/textenc
> >>
> >> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/util
> >>
> >> Making: libuno_sal.so.3
> >> : ERROR: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by ../unxfbsd.pro/lib/check_libuno_sal.so.3 not found
> >> dmake: Error code 1, while making '../unxfbsd.pro/lib/libuno_sal.so.3'
> >>
> >>
> >> Robert Huff
> >>
> >
> > That was the problem I was speaking about mixing different libstdc++ the one
> > from base and the one from gcc46.
> >
> > I don't know how to fix this.
> >
> > regards,
> > Bapt
>
>
> Does this also happen when building libreoffice with clang? I just
> built it on 8.2 using clang, and that worked fine (apart from a
> failure in vcl, but that was caused by some leftover qt3 headers in
> /usr/local/include ).
>
>
> Daniel NebdalWith clang it is ok
Bapt
Daniel Nebdal writes:
> >> Making: libuno_sal.so.3
> >> : ERROR: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by ../unxfbsd.pro/lib/check_libuno_sal.so.3 not found
> >> dmake: Error code 1, while making '../unxfbsd.pro/lib/libuno_sal.so.3'
> >
> > That was the problem I was speaking about mixing different libstdc++ the one
> > from base and the one from gcc46.
> >
> > I don't know how to fix this.
>
> Does this also happen when building libreoffice with clang?With clang, I get:
=============
(1/1) Building module icc
=============
Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc
Using system SampleICC, nothing to do here.
Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc/source/create_sRGB_profile
Making: create_sRGB_profile
/usr/bin/ld: cannot open output file ../../unxfbsd.pro/bin/create_sRGB_profile: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
dmake: Error code 1, while making '../../unxfbsd.pro/bin/create_sRGB_profile'
Robert Huff
On Wed, May 09, 2012 at 11:00:12AM -0400, Robert Huff wrote:
>
> Daniel Nebdal writes:
>
> > >> Making: libuno_sal.so.3
> > >> : ERROR: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by ../unxfbsd.pro/lib/check_libuno_sal.so.3 not found
> > >> dmake: Error code 1, while making '../unxfbsd.pro/lib/libuno_sal.so.3'
> > >
> > > That was the problem I was speaking about mixing different libstdc++ the one
> > > from base and the one from gcc46.
> > >
> > > I don't know how to fix this.
> >
> > Does this also happen when building libreoffice with clang?
>
> With clang, I get:
>
> =============
> (1/1) Building module icc
> =============
> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc
>
> Using system SampleICC, nothing to do here.
> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc/source/create_sRGB_profile
>
> Making: create_sRGB_profile
> /usr/bin/ld: cannot open output file ../../unxfbsd.pro/bin/create_sRGB_profile: No such file or directory
> clang++: error: linker command failed with exit code 1 (use -v to see invocation)
> dmake: Error code 1, while making '../../unxfbsd.pro/bin/create_sRGB_profile'
>
>
>
> Robert Huff
>What options are you using?
regards,
Bapt
Baptiste Daroussin writes:
> > With clang, I get:
> >
> > =============
> > (1/1) Building module icc
> > =============
> > Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc
> >
> > Using system SampleICC, nothing to do here.
> > Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc/source/create_sRGB_profile
> >
> > Making: create_sRGB_profile
> > /usr/bin/ld: cannot open output file ../../unxfbsd.pro/bin/create_sRGB_profile: No such file or directory
> > clang++: error: linker command failed with exit code 1 (use -v to see invocation)
> > dmake: Error code 1, while making '../../unxfbsd.pro/bin/create_sRGB_profile'
>
> What options are you using?huff@> make showconfig
===> The following configuration options are available for libreoffice-3.5.2_2:
WEBDAV=on "Support webdav protocol"
KDE4=off "With Qt4/KDE4 vclplug support"
GTK=on "With GTK vclplug support"
GTK3=off "With GTK3 vclplug support"
GNOME=off "Better integration in gnome environnement"
JAVA=on "Add Java support (XML Filters, macros)"
SYSTRAY=off "Enable systemtray quickstarter"
MMEDIA=off "Enable multimedia backend for impress"
SDK=off "Build with SDK"
SVG=on "Enable SVG support"
DEBUG=off "Build with debug symbols and verbose output"
PGSQL=on "Build with PostgreSQL-SDBC driver"
===> Use 'make config' to modify these settings
Robert Huff
Has anyone answered the original question? Are there going to be
packages for libreoffice? If not, why not?
Doug
On Wed, May 09, 2012 at 01:34:28PM -0700, Doug Barton wrote: > Has anyone answered the original question? Are there going to be > packages for libreoffice? If not, why not? > > DougYes as soon as pointyhat builds are uploaded. For example there are libreoffice packages on http://pkgbeta.freebsd.org regards, Bapt