Re: Binary packages for LibreOffice 3.5 or 3.4
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? Doug Yes as soon as pointyhat builds are uploaded. For example there are libreoffice packages on http://pkgbeta.freebsd.org regards, Bapt pgpGBZbDe3r5W.pgp Description: PGP signature
Re: Binary packages for LibreOffice 3.5 or 3.4
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? -- Daniel Nebdal ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Binary packages for LibreOffice 3.5 or 3.4
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 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Binary packages for LibreOffice 3.5 or 3.4
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 pgpvpcnhVW7AG.pgp Description: PGP signature
Re: Binary packages for LibreOffice 3.5 or 3.4
On Wed, May 9, 2012 at 2:43 PM, Baptiste Daroussin b...@freebsd.org 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 Nebdal ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Binary packages for LibreOffice 3.5 or 3.4
On Wed, May 09, 2012 at 03:09:48PM +0200, Daniel Nebdal wrote: On Wed, May 9, 2012 at 2:43 PM, Baptiste Daroussin b...@freebsd.org 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 Nebdal With clang it is ok Bapt pgpo2PhEFj76I.pgp Description: PGP signature
Re: Binary packages for LibreOffice 3.5 or 3.4
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 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Binary packages for LibreOffice 3.5 or 3.4
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 pgp76Ix8PVOKa.pgp Description: PGP signature
Re: Binary packages for LibreOffice 3.5 or 3.4
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 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Binary packages for LibreOffice 3.5 or 3.4
Has anyone answered the original question? Are there going to be packages for libreoffice? If not, why not? Doug -- This .signature sanitized for your protection ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Binary packages for LibreOffice 3.5 or 3.4
On Tue, May 08, 2012 at 09:53:15AM +0300, Andriy Gapon wrote: on 08/05/2012 08:51 Baptiste Daroussin said the following: Yes but only with gcc46 because cppunit needs the same libstdc++ as libreoffice so with gcc 4.6 is needs to be built with bundled, while it is unbundled with clang. So the internal cppunit was probably not needed in the environment where the external cppunit was also built with gcc46. But I guess that there is no good way to detect that. I don't know if it is good enough but $ strings -a /bin/ls | grep GCC GCC: (GNU) 4.2.1 20070831 patched [FreeBSD] (... -- more 6 times.) detects the compiler here (FreeBSD 9.0p1). The only one I have. -- rollingbits -- rollingb...@gmail.com, rollingb...@terra.com.br luca...@ig.com.br, rollingb...@yahoo.com, rollingb...@globo.com Get my public GPG key in http://rollingbits.tripod.com/mykey.html pgpUaUNry9PVt.pgp Description: PGP signature
Re: Binary packages for LibreOffice 3.5 or 3.4
On 05/07/12 22:08, Baptiste Daroussin wrote: On Mon, May 07, 2012 at 08:22:16PM +0200, Dimitry Andric wrote: On 2012-05-07 12:22, Hartmann, O. wrote: ... The error I faced was introduced by the port net/libcmis, which in my case was built via gcc 4.6 (and doesn't build with CLANG). After building libcmis with legacy gcc 4.2.1, I was able to build editors/libreoffice without problems (as far as the selected options concern). Here's a diff for the net/libcmis port, to make it compile with clang. Can someone from ports please apply this? The software has some very basic C++ problems, such as non-virtual destructors, and tends to compile everything with -Werror -Wall -pedantic, so some errors are expected. :) Another approach, which takes less modifications, is to just run its configure script with --disable-error. Committed thank you, regards, Bapt Thank you very much. signature.asc Description: OpenPGP digital signature
Re: Binary packages for LibreOffice 3.5 or 3.4
On 05/07/12 20:22, Dimitry Andric wrote: On 2012-05-07 12:22, Hartmann, O. wrote: ... The error I faced was introduced by the port net/libcmis, which in my case was built via gcc 4.6 (and doesn't build with CLANG). After building libcmis with legacy gcc 4.2.1, I was able to build editors/libreoffice without problems (as far as the selected options concern). Here's a diff for the net/libcmis port, to make it compile with clang. Can someone from ports please apply this? The software has some very basic C++ problems, such as non-virtual destructors, and tends to compile everything with -Werror -Wall -pedantic, so some errors are expected. :) Another approach, which takes less modifications, is to just run its configure script with --disable-error. Thank you very much. This seems to work for me, hope others will see the same progress. On all suspected and reported boxes, LibreOffice now compiles with CLANG. I consider this a s a positive sign for all the work of the team has done, thanks again! And even for the patience with me/us users. Regards, Oliver signature.asc Description: OpenPGP digital signature
Re: Binary packages for LibreOffice 3.5 or 3.4
I'd like to ask whether there are sites were binary packages could be downloaded from and are there any experiences with installing them on either 9-STABLE or 10-CURRENT? We (BSDForen.de) have unofficial packages build by the community at http://wiki.bsdforen.de/anwendungen/libreoffice_aus_inoffiziellen_paketen While the page is written in german, english (en_GB) packages are available. 7-STABLE, 8-STABE and 9-STABLE are covered. -- Homepage: www.yamagi.org XMPP: yam...@yamagi.org GnuPG/GPG: 0xEFBCCBCB pgpSINVaKU9ZU.pgp Description: PGP signature
Re: Binary packages for LibreOffice 3.5 or 3.4
on 08/05/2012 08:51 Baptiste Daroussin said the following: Yes but only with gcc46 because cppunit needs the same libstdc++ as libreoffice so with gcc 4.6 is needs to be built with bundled, while it is unbundled with clang. So the internal cppunit was probably not needed in the environment where the external cppunit was also built with gcc46. But I guess that there is no good way to detect that. P.S. A hackish way would be to use something like objdump to check for required versions of GLIBCXX in libcppunit*.so. But that's too hackish and too much trouble, I guess. But, hm, it looks like libcppunit-1.12.so doesn't require any newer symbols from libstdc++ beyond what's provided by base gcc's library: $ objdump -p -w /usr/local/lib/libcppunit-1.12.so.1 ... Dynamic Section: NEEDED libstdc++.so.6 NEEDED libm.so.5 NEEDED libc.so.7 NEEDED libgcc_s.so.1 SONAME libcppunit-1.12.so.1 RPATH /usr/local/lib/gcc46 ... Version References: required from libgcc_s.so.1: 0x0b792650 0x00 07 GCC_3.0 required from libm.so.5: 0x077a28b0 0x00 05 FBSD_1.0 required from libc.so.7: 0x077a28b0 0x00 03 FBSD_1.0 required from libstdc++.so.6: 0x02297f89 0x00 06 GLIBCXX_3.4.9 0x056bafd3 0x00 04 CXXABI_1.3 0x08922974 0x00 02 GLIBCXX_3.4 Ref: http://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Binary packages for LibreOffice 3.5 or 3.4
On 08/05/2012 08:53, Yamagi Burmeister wrote: I'd like to ask whether there are sites were binary packages could be downloaded from and are there any experiences with installing them on either 9-STABLE or 10-CURRENT? We (BSDForen.de) have unofficial packages build by the community at http://wiki.bsdforen.de/anwendungen/libreoffice_aus_inoffiziellen_paketen While the page is written in german, english (en_GB) packages are available. 7-STABLE, 8-STABE and 9-STABLE are covered. And the base version (without language packages) is always en_US. BTW, when our packages are a little late, this is normally for a reason. With the latest version it was the doc/docx issue. And of course there are a lot of packages to build. -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Binary packages for LibreOffice 3.5 or 3.4
(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/Development 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/Development 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: --- /usr/local/bin/bash cd /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2 source ./Env.Host.sh cd xml2cmp gmake clean # optional gmake -r 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 CFLAGS= -O -pipe -g STRIP= SYMVER_ENABLED= yes X_WINDOW_SYSTEM=xorg HAVE_MOTIF= yes FC=gfortran42 # to get automatic SASL in sendmail SENDMAIL_CFLAGS+= -I/usr/local/include/ -DSASL=2 SENDMAIL_LDFLAGS+= -L/usr/local/lib SENDMAIL_LDADD+=-lsasl2 # # to make CUPS magically keep working # See:
Re: Binary packages for LibreOffice 3.5 or 3.4
on 07/05/2012 01:58 Baptiste Daroussin said the following: Well for libreoffice on freebsd clang is the official compiler, because 4.2.1 is just too old for libreoffice, and I never managed to make it built (the 3.5) with gcc from ports. What problem are you running into? I am able to build the latest libreoffice with gcc46. -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Binary packages for LibreOffice 3.5 or 3.4
On Mon, May 07, 2012 at 09:20:06AM +0300, Andriy Gapon wrote: on 07/05/2012 01:58 Baptiste Daroussin said the following: Well for libreoffice on freebsd clang is the official compiler, because 4.2.1 is just too old for libreoffice, and I never managed to make it built (the 3.5) with gcc from ports. What problem are you running into? I am able to build the latest libreoffice with gcc46. Really with no modification on the ports? Are you sure you are not building it with clang which is forced by default? regards, Bapt pgpblqAHkv5xJ.pgp Description: PGP signature
Re: Binary packages for LibreOffice 3.5 or 3.4
On 05/07/12 11:35, Baptiste Daroussin wrote: On Mon, May 07, 2012 at 09:20:06AM +0300, Andriy Gapon wrote: on 07/05/2012 01:58 Baptiste Daroussin said the following: Well for libreoffice on freebsd clang is the official compiler, because 4.2.1 is just too old for libreoffice, and I never managed to make it built (the 3.5) with gcc from ports. What problem are you running into? I am able to build the latest libreoffice with gcc46. Really with no modification on the ports? Are you sure you are not building it with clang which is forced by default? regards, Bapt I realized very late that LibreOffice is unwilling to compile with gcc4.6. The error I faced was introduced by the port net/libcmis, which in my case was built via gcc 4.6 (and doesn't build with CLANG). After building libcmis with legacy gcc 4.2.1, I was able to build editors/libreoffice without problems (as far as the selected options concern). Regards, Oliver ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Binary packages for LibreOffice 3.5 or 3.4
On Mon, May 07, 2012 at 12:22:21PM +0200, Hartmann, O. wrote: On 05/07/12 11:35, Baptiste Daroussin wrote: On Mon, May 07, 2012 at 09:20:06AM +0300, Andriy Gapon wrote: on 07/05/2012 01:58 Baptiste Daroussin said the following: Well for libreoffice on freebsd clang is the official compiler, because 4.2.1 is just too old for libreoffice, and I never managed to make it built (the 3.5) with gcc from ports. What problem are you running into? I am able to build the latest libreoffice with gcc46. Really with no modification on the ports? Are you sure you are not building it with clang which is forced by default? regards, Bapt I realized very late that LibreOffice is unwilling to compile with gcc4.6. The error I faced was introduced by the port net/libcmis, which in my case was built via gcc 4.6 (and doesn't build with CLANG). After building libcmis with legacy gcc 4.2.1, I was able to build editors/libreoffice without problems (as far as the selected options concern). Nice to hear. FYI if avg managed to build libreoffice with 4.6 should be because his whole system should be built (at least the C++ libraries) using gcc 4.6. regards, Bapt pgpUgc4Tk6Nm5.pgp Description: PGP signature
Re: Binary packages for LibreOffice 3.5 or 3.4
2012/5/7 Baptiste Daroussin b...@freebsd.org On Mon, May 07, 2012 at 12:22:21PM +0200, Hartmann, O. wrote: On 05/07/12 11:35, Baptiste Daroussin wrote: On Mon, May 07, 2012 at 09:20:06AM +0300, Andriy Gapon wrote: on 07/05/2012 01:58 Baptiste Daroussin said the following: Well for libreoffice on freebsd clang is the official compiler, because 4.2.1 is just too old for libreoffice, and I never managed to make it built (the 3.5) with gcc from ports. What problem are you running into? I am able to build the latest libreoffice with gcc46. Really with no modification on the ports? Are you sure you are not building it with clang which is forced by default? regards, Bapt I realized very late that LibreOffice is unwilling to compile with gcc4.6. The error I faced was introduced by the port net/libcmis, which in my case was built via gcc 4.6 (and doesn't build with CLANG). After building libcmis with legacy gcc 4.2.1, I was able to build editors/libreoffice without problems (as far as the selected options concern). Nice to hear. FYI if avg managed to build libreoffice with 4.6 should be because his whole system should be built (at least the C++ libraries) using gcc 4.6. regards, Bapt With FreeBSD 9.0-STABLE #140 r229960M I built libreoffice-3.5.2_2 with no problems. Port worked fine. ed ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Binary packages for LibreOffice 3.5 or 3.4
On 2012-05-07 12:22, Hartmann, O. wrote: ... The error I faced was introduced by the port net/libcmis, which in my case was built via gcc 4.6 (and doesn't build with CLANG). After building libcmis with legacy gcc 4.2.1, I was able to build editors/libreoffice without problems (as far as the selected options concern). Here's a diff for the net/libcmis port, to make it compile with clang. Can someone from ports please apply this? The software has some very basic C++ problems, such as non-virtual destructors, and tends to compile everything with -Werror -Wall -pedantic, so some errors are expected. :) Another approach, which takes less modifications, is to just run its configure script with --disable-error. Index: net/libcmis/files/patch-configure === RCS file: net/libcmis/files/patch-configure diff -N net/libcmis/files/patch-configure --- /dev/null 1 Jan 1970 00:00:00 - +++ net/libcmis/files/patch-configure 7 May 2012 18:11:21 - @@ -0,0 +1,42 @@ +--- configure.orig 2011-10-04 10:45:11.0 +0200 configure 2012-05-07 20:03:00.0 +0200 +@@ -3178,19 +3178,6 @@ else + + fi + +-if test x$enable_werror != xno; then : +- +- CFLAGS=$CFLAGS -Werror +- CXXFLAGS=$CXXFLAGS -Werror +- +-fi +-if test x$GCC = xyes; then : +- +- # Be tough with warnings and produce less careless code +- CFLAGS=$CFLAGS -Wall -pedantic +- CXXFLAGS=$CXXFLAGS -Wall -pedantic +- +-fi + + LIBCMIS_API_VERSION=0.2 + +@@ -15971,6 +15958,19 @@ fi + + ac_config_files=$ac_config_files Makefile libcmis.pc src/Makefile src/libcmis/Makefile + ++if test x$enable_werror != xno; then : ++ ++ CFLAGS=$CFLAGS -Werror ++ CXXFLAGS=$CXXFLAGS -Werror ++ ++fi ++if test x$GCC = xyes; then : ++ ++ # Be tough with warnings and produce less careless code ++ CFLAGS=$CFLAGS -Wall -pedantic ++ CXXFLAGS=$CXXFLAGS -Wall -pedantic ++ ++fi + cat confcache \_ACEOF + # This file is a shell script that caches the results of configure + # tests run on this system so they can be shared between configure Index: net/libcmis/files/patch-src__libcmis__atom-document.hxx === RCS file: net/libcmis/files/patch-src__libcmis__atom-document.hxx diff -N net/libcmis/files/patch-src__libcmis__atom-document.hxx --- /dev/null 1 Jan 1970 00:00:00 - +++ net/libcmis/files/patch-src__libcmis__atom-document.hxx 7 May 2012 18:11:21 - @@ -0,0 +1,11 @@ +--- src/libcmis/atom-document.hxx.orig 2011-10-01 14:26:15.0 +0200 src/libcmis/atom-document.hxx 2012-05-07 20:06:51.0 +0200 +@@ -44,7 +44,7 @@ class AtomDocument : public libcmis::Doc + public: + AtomDocument( AtomPubSession* session, std::string url ); + AtomDocument( AtomPubSession* session, xmlNodePtr entryNd ); +-~AtomDocument( ); ++virtual ~AtomDocument( ); + + // Override content methods + virtual FILE* getContent( const char* path = NULL ); Index: net/libcmis/files/patch-src__libcmis__atom-folder.hxx === RCS file: net/libcmis/files/patch-src__libcmis__atom-folder.hxx diff -N net/libcmis/files/patch-src__libcmis__atom-folder.hxx --- /dev/null 1 Jan 1970 00:00:00 - +++ net/libcmis/files/patch-src__libcmis__atom-folder.hxx 7 May 2012 18:11:21 - @@ -0,0 +1,11 @@ +--- src/libcmis/atom-folder.hxx.orig 2011-09-30 20:52:01.0 +0200 src/libcmis/atom-folder.hxx 2012-05-07 20:06:29.0 +0200 +@@ -42,7 +42,7 @@ class AtomFolder : public libcmis::Folde + public: + AtomFolder( AtomPubSession* session, std::string url ); + AtomFolder( AtomPubSession* session, xmlNodePtr entryNd ); +-~AtomFolder( ); ++virtual ~AtomFolder( ); + + // virtual pure methods from Folder + virtual std::vector libcmis::CmisObjectPtr getChildren( ); Index: net/libcmis/files/patch-src__libcmis__session.hxx === RCS file: net/libcmis/files/patch-src__libcmis__session.hxx diff -N net/libcmis/files/patch-src__libcmis__session.hxx --- /dev/null 1 Jan 1970 00:00:00 - +++ net/libcmis/files/patch-src__libcmis__session.hxx 7 May 2012 18:11:21 - @@ -0,0 +1,10 @@ +--- src/libcmis/session.hxx.orig 2011-09-30 20:38:39.0 +0200 src/libcmis/session.hxx 2012-05-07 19:23:43.0 +0200 +@@ -36,6 +36,7 @@ namespace libcmis + class Session + { + public: ++virtual ~Session( ) { } + + /** Get the Root folder of the repository + */ ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Binary packages for LibreOffice 3.5 or 3.4
On Mon, May 07, 2012 at 08:22:16PM +0200, Dimitry Andric wrote: On 2012-05-07 12:22, Hartmann, O. wrote: ... The error I faced was introduced by the port net/libcmis, which in my case was built via gcc 4.6 (and doesn't build with CLANG). After building libcmis with legacy gcc 4.2.1, I was able to build editors/libreoffice without problems (as far as the selected options concern). Here's a diff for the net/libcmis port, to make it compile with clang. Can someone from ports please apply this? The software has some very basic C++ problems, such as non-virtual destructors, and tends to compile everything with -Werror -Wall -pedantic, so some errors are expected. :) Another approach, which takes less modifications, is to just run its configure script with --disable-error. Thanks for the patch, your patch break the build with gcc 4.2.1, I'll try to fix it otherwise I'll run it disabling --disable-error. regards, Bapt pgp4TZqhdx5AR.pgp Description: PGP signature
Re: Binary packages for LibreOffice 3.5 or 3.4
On Mon, May 07, 2012 at 08:22:16PM +0200, Dimitry Andric wrote: On 2012-05-07 12:22, Hartmann, O. wrote: ... The error I faced was introduced by the port net/libcmis, which in my case was built via gcc 4.6 (and doesn't build with CLANG). After building libcmis with legacy gcc 4.2.1, I was able to build editors/libreoffice without problems (as far as the selected options concern). Here's a diff for the net/libcmis port, to make it compile with clang. Can someone from ports please apply this? The software has some very basic C++ problems, such as non-virtual destructors, and tends to compile everything with -Werror -Wall -pedantic, so some errors are expected. :) Another approach, which takes less modifications, is to just run its configure script with --disable-error. Committed thank you, regards, Bapt pgp7zDQg1hcXW.pgp Description: PGP signature
Re: Binary packages for LibreOffice 3.5 or 3.4
on 07/05/2012 12:35 Baptiste Daroussin said the following: On Mon, May 07, 2012 at 09:20:06AM +0300, Andriy Gapon wrote: on 07/05/2012 01:58 Baptiste Daroussin said the following: Well for libreoffice on freebsd clang is the official compiler, because 4.2.1 is just too old for libreoffice, and I never managed to make it built (the 3.5) with gcc from ports. What problem are you running into? I am able to build the latest libreoffice with gcc46. Really with no modification on the ports? Yes. (OK, I lied, see below) Are you sure you are not building it with clang which is forced by default? Yes. I set WITH_GCC in make.conf. Some notes: - I have boost 1.48 via the patches from the boost port maintainer (long overdue to be committed) - on one system I build (almost) all ports with gcc46 (base system is built in a standard fashion) - on another system I build (almost) all ports with base gcc (except, obviously, those ports that have USE_GCC=4.6[+]) And, oh, almost forgot, I had to manually apply the attached patch in cppunit/ subdirectory on FreeBSD 10. It seems that the source code in question is extracted during build, so it is not possible to apply the patch during normal patch target. The patch is for the well-known FreeBSD1 vs FreeBSD10 confusion in autotools. -- Andriy Gapon ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Binary packages for LibreOffice 3.5 or 3.4
On Tue, May 08, 2012 at 08:10:25AM +0300, Andriy Gapon wrote: on 07/05/2012 12:35 Baptiste Daroussin said the following: On Mon, May 07, 2012 at 09:20:06AM +0300, Andriy Gapon wrote: on 07/05/2012 01:58 Baptiste Daroussin said the following: Well for libreoffice on freebsd clang is the official compiler, because 4.2.1 is just too old for libreoffice, and I never managed to make it built (the 3.5) with gcc from ports. What problem are you running into? I am able to build the latest libreoffice with gcc46. Really with no modification on the ports? Yes. (OK, I lied, see below) Are you sure you are not building it with clang which is forced by default? Yes. I set WITH_GCC in make.conf. Some notes: - I have boost 1.48 via the patches from the boost port maintainer (long overdue to be committed) - on one system I build (almost) all ports with gcc46 (base system is built in a standard fashion) - on another system I build (almost) all ports with base gcc (except, obviously, those ports that have USE_GCC=4.6[+]) And, oh, almost forgot, I had to manually apply the attached patch in cppunit/ subdirectory on FreeBSD 10. It seems that the source code in question is extracted during build, so it is not possible to apply the patch during normal patch target. The patch is for the well-known FreeBSD1 vs FreeBSD10 confusion in autotools. Yes but only with gcc46 because cppunit needs the same libstdc++ as libreoffice so with gcc 4.6 is needs to be built with bundled, while it is unbundled with clang. regards, Bapt pgpavsUkyb9vy.pgp Description: PGP signature
Re: Binary packages for LibreOffice 3.5 or 3.4
On Sun, May 06, 2012 at 02:30:40PM +0200, O. Hartmann wrote: Since LibreOffice 3.5.X can not be build on either FreeBSD 9-STABLE/amd64 or FreeBSD 10-CURRENT/amd64 (I tried legacy gcc 4.2.1, I tried clang 3.0 and clang 3.1, I tried gcc 4.6 on three different boxes, all failing compiling the same way, see http://www.freebsd.org/cgi/query-pr.cgi?pr=167641. I'd like to ask whether there are sites were binary packages could be downloaded from and are there any experiences with installing them on either 9-STABLE or 10-CURRENT? Thank you very much for the patience, O. Hartmann LibreOffice fix on current normally (2 days ago) For binary packages I think currently there none regards, Bapt pgpZqtiEGo6e0.pgp Description: PGP signature
Re: Binary packages for LibreOffice 3.5 or 3.4
On Sun, May 06, 2012 at 03:52:57PM +0200, Baptiste Daroussin wrote: On Sun, May 06, 2012 at 02:30:40PM +0200, O. Hartmann wrote: Since LibreOffice 3.5.X can not be build on either FreeBSD 9-STABLE/amd64 or FreeBSD 10-CURRENT/amd64 (I tried legacy gcc 4.2.1, I tried clang 3.0 and clang 3.1, I tried gcc 4.6 on three different boxes, all failing compiling the same way, see http://www.freebsd.org/cgi/query-pr.cgi?pr=167641. I'd like to ask whether there are sites were binary packages could be downloaded from and are there any experiences with installing them on either 9-STABLE or 10-CURRENT? Thank you very much for the patience, O. Hartmann LibreOffice fix on current normally (2 days ago) For binary packages I think currently there none Precision: do not try to build libreoffice with gcc it is know to be buggy, note that if WITH_GCC is defined in you make.conf then building libreoffice will fail because there is an hidden option WITH_GCC to allow people willing to fix build with gcc to do it. so first do not forget to remove it if you have it Sorry not being able to be more helpful regards, Bapt pgpWVXasA6gCd.pgp Description: PGP signature
Re: Binary packages for LibreOffice 3.5 or 3.4
On 05/06/12 16:15, Baptiste Daroussin wrote: On Sun, May 06, 2012 at 03:52:57PM +0200, Baptiste Daroussin wrote: On Sun, May 06, 2012 at 02:30:40PM +0200, O. Hartmann wrote: Since LibreOffice 3.5.X can not be build on either FreeBSD 9-STABLE/amd64 or FreeBSD 10-CURRENT/amd64 (I tried legacy gcc 4.2.1, I tried clang 3.0 and clang 3.1, I tried gcc 4.6 on three different boxes, all failing compiling the same way, see http://www.freebsd.org/cgi/query-pr.cgi?pr=167641. I'd like to ask whether there are sites were binary packages could be downloaded from and are there any experiences with installing them on either 9-STABLE or 10-CURRENT? Thank you very much for the patience, O. Hartmann LibreOffice fix on current normally (2 days ago) For binary packages I think currently there none Precision: do not try to build libreoffice with gcc it is know to be buggy, note that if WITH_GCC is defined in you make.conf then building libreoffice will fail because there is an hidden option WITH_GCC to allow people willing to fix build with gcc to do it. I do not understand. I tried all options. My systems' OSes are usually build with CLANG. USE_GCC= 4.6+ in cases where CLANG is known to be buggy or incapable (i.e. due to OpenMP) and setting CC, CXX and CPP for legacy gcc 4.2.1. How can it be that LibreOffice is broken with any GCC when CLANG is not the officiel compiler yet? I have a portion in /etc/make.conf on all boxes (both CURRENT and STABLE) looking like this: # editors/libreoffice .if ${.CURDIR:M/usr/ports/editors/libreoffice*} #USE_GCC= 4.6+ #CC=cc #CXX= c++ #CPP= cpp DISABLE_MAKE_JOBS= YES WITH_WEBDAV=true WITHOUT_KDE4= true WITHOUT_GTK=true WITHOUT_GTK3= true WITHOUT_GNOME= true WITH_JAVA= true WITHOUT_SYSTRAY=true WITH_MMEDIA=true WITH_SDK= true WITH_SVG= true WITHOUT_DEBUG= true .endif It seems, even if set DISBALE_MAKE_JOBS=YES globally makes editors/libreoffice direspect this. so first do not forget to remove it if you have it Sorry, what to remove first? I do not have GCC set in the portion for building LibreOffice. Sorry not being able to be more helpful Thank you very much anyway. Regards, Oliver regards, Bapt signature.asc Description: OpenPGP digital signature
Re: Binary packages for LibreOffice 3.5 or 3.4
http://www.sendspace.com/file/02wler for 9/amd64 Regards, Buganini ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Binary packages for LibreOffice 3.5 or 3.4
On Sun, May 06, 2012 at 05:01:19PM +0200, O. Hartmann wrote: On 05/06/12 16:15, Baptiste Daroussin wrote: On Sun, May 06, 2012 at 03:52:57PM +0200, Baptiste Daroussin wrote: On Sun, May 06, 2012 at 02:30:40PM +0200, O. Hartmann wrote: Since LibreOffice 3.5.X can not be build on either FreeBSD 9-STABLE/amd64 or FreeBSD 10-CURRENT/amd64 (I tried legacy gcc 4.2.1, I tried clang 3.0 and clang 3.1, I tried gcc 4.6 on three different boxes, all failing compiling the same way, see http://www.freebsd.org/cgi/query-pr.cgi?pr=167641. I'd like to ask whether there are sites were binary packages could be downloaded from and are there any experiences with installing them on either 9-STABLE or 10-CURRENT? Thank you very much for the patience, O. Hartmann LibreOffice fix on current normally (2 days ago) For binary packages I think currently there none Precision: do not try to build libreoffice with gcc it is know to be buggy, note that if WITH_GCC is defined in you make.conf then building libreoffice will fail because there is an hidden option WITH_GCC to allow people willing to fix build with gcc to do it. I do not understand. I tried all options. My systems' OSes are usually build with CLANG. USE_GCC= 4.6+ in cases where CLANG is known to be buggy or incapable (i.e. due to OpenMP) and setting CC, CXX and CPP for legacy gcc 4.2.1. How can it be that LibreOffice is broken with any GCC when CLANG is not the officiel compiler yet? Well for libreoffice on freebsd clang is the official compiler, because 4.2.1 is just too old for libreoffice, and I never managed to make it built (the 3.5) with gcc from ports. I have a portion in /etc/make.conf on all boxes (both CURRENT and STABLE) looking like this: # editors/libreoffice .if ${.CURDIR:M/usr/ports/editors/libreoffice*} #USE_GCC= 4.6+ #CC=cc #CXX= c++ #CPP= cpp DISABLE_MAKE_JOBS= YES WITH_WEBDAV=true WITHOUT_KDE4= true WITHOUT_GTK=true WITHOUT_GTK3= true WITHOUT_GNOME= true WITH_JAVA= true WITHOUT_SYSTRAY=true WITH_MMEDIA=true WITH_SDK= true WITH_SVG= true WITHOUT_DEBUG= true .endif This looks good. We used to have a problem with clang 3.1 but normally this was fixed 2 days ago by jkim@ (make sure you have the latest) It seems, even if set DISBALE_MAKE_JOBS=YES globally makes editors/libreoffice direspect this. Yes LibreOffice bypass this, because it detects on its own the number of CPU you have (I haven't found a reliable way to bypass it) that is why the port is mark MAKE_JOBS_UNSAFE (without that it will spawn really too much processes) so first do not forget to remove it if you have it Sorry, what to remove first? I do not have GCC set in the portion for building LibreOffice. just make sure before start building libreoffice that: make -VWITH_GCC return nothing, if that the case you should be safe. Sorry not being able to be more helpful Thank you very much anyway. Regards, Oliver regards, Bapt pgpl4VovN3eiN.pgp Description: PGP signature