editors/libreoffice doesn't compile
I'm trying to update libreoffice-3.5.2_2 to 3.5.2_4. Unfortunately, it seems I can't. The error is:
Code:
-----------------------------------------------------------------------
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 /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/vcl/prj
it seems that the error is inside 'vcl', please re-run build
inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------
/usr/local/bin/bash
cd /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2
source ./Env.Host.sh
cd vcl
gmake clean # optional
gmake -r
when the problem is isolated and fixed exit and re-run 'make' from the top-level
gmake[1]: *** [build] Error 1
gmake[1]: Leaving directory `/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2'
gmake: *** [source-env-and-recurse] Error 2
*** Error code 1
As I use a recent 9.0-STABLE, I also have Clang 3.1. That's why, having thought that it may not work with 3.1 and after reading libreoffice's
Makefile, I confirmed that compilation with GCC 4.6 is supported. I decided to try it out and that's what I saw later:
Code:
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
[url]http://wiki.documentfoundation.org/Development[/url]
internal build errors:
ERROR: error 65280 occurred while making /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/cppunit
it seems that the error is inside 'cppunit', please re-run build
inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------
/usr/local/bin/bash
cd /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2
source ./Env.Host.sh
cd cppunit
rm -Rf /usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/cppunit/unxfbsd.pro # optional module 'clean'
build
when the problem is isolated and fixed exit and re-run 'make' from the top-level
gmake[1]: *** [build] Error 1
gmake[1]: Leaving directory `/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2'
gmake: *** [source-env-and-recurse] Error 2
*** Error code 1
Of course, I had run [cmd=]make clean[/cmd] before attempting to compile with GCC. In both cases, I tried to run
make in those directories, with Clang the compilation continues on, only to exit with similar error later, although in different directory. I suspect that the same also happens when using GCC, but I haven't tried it.
In order to be sure that it's not my misconfiguration, I've recompiled the world with an empty
/etc/src.conf, which didn't help. I've also confirmed that the very same error is also present on my another PC, but the installed ports and their configuration are mostly the same. It seems that some ports interfere with
editors/libreoffice.
At last, options I use for compilation are:
Code:
朮碓pkubaj@DESKTOP1朮碓 Mon Jun 04 07:51:41P
_cwd}/usr/ports/editors/libreoffice/ make showconfig
===> The following configuration options are available for libreoffice-3.5.2_4:
DEBUG=off: Enable debug flags
GNOME=off: Enable GNOME Desktop support
GTK2=on: Enable GTK2 gui toolkit support
GTK3=off: Enable GTK3 gui toolkit support
JAVA=on: Add java support (XML Filters, macros)
KDE4=off: Enable KDE4 Desktop support
MMEDIA=on: Enable multimedia backend for impress
PGSQL=off: Build with PostgreSQL-SDBC driver
SDK=off: Build with SDK
SVG=on: Enable SVG image support
SYSTRAY=off: Enable systemtray quickstarter
WEBDAV=off: Enable webdav protocol
===> Use 'make config' to modify these settings
They worked before, except that I compiled when PGSQL option wasn't present.
My
/etc/make.conf is as following:
Code:
CPUTYPE?=core2
WITH_NEW_XORG="YES"
DISTDIR=/tmp
WRKDIRPREFIX=/usr/obj
.if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*))
.if !defined(NOCCACHE)
CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1}
CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1}
.endif
.endif
.if ${CC:T} == "clang"
CFLAGS+= -Qunused-arguments
.endif
# added by use.perl 2012-05-11 02:51:01
PERL_VERSION=5.14.2