Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2014 04:09:30 -0500
From:      Omar S <omars1234@gmail.com>
To:        office@freebsd.org
Subject:   Fwd: problem building openoffice-4 port on FB8.4
Message-ID:  <CA%2B%2BoXvS=bgWFT-8HzFauu-P%2Br8jRXVgB4aPSO=Q5D9_6gz=moA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

Additionally the openoffice-4 port is failing to build on FreeBSD-8.4
release amd64:
> uname -a
FreeBSD mine.heedme.com 8.4-RELEASE FreeBSD 8.4-RELEASE #1: Sat Jul 13
01:39:21 EDT 2013     root@mine.heedme.com:/usr/obj/usr/src/sys/MINE
amd64

Ports are current.  I did a complete ports rebuild from scratch 1-2
months ago.  Ports makefile rev is:
# $FreeBSD: head/editors/openoffice-4/Makefile 338168 2013-12-30
20:55:18Z ohauer $

The problem seems to be it can't find the installed freetype headers.

I went through the output to find the problem is here:
----------------------------------
Entering /usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/sysui/desktop/mandriva

gmake[4]: *** [nsFontMetricsXft.o] Error 1
gmake[4]: Leaving directory
`/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/moz/unxfbsdx.pro/misc/build/mozilla/X_o
bjdir/gfx/src/gtk'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory
`/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/moz/unxfbsdx.pro/misc/build/mozilla/X_o
bjdir/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/moz/unxfbsdx.pro/misc/build/mozilla/X_o
bjdir/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory
`/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/moz/unxfbsdx.pro/misc/build/mozilla/X_o
bjdir'
gmake: *** [default] Error 2
dmake:  Error code 2, while making
'./unxfbsdx.pro/misc/build/so_built_ooo_mozab'
----------------------------

Which seems to be caused (perhaps) by missing LOCALBASE pathing?  Here:
-------------------------------
Entering /usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/helpcontent2/source/text/smath/02

In file included from ../../../../gfx/src/gtk/nsFontMetricsXft.cpp:70:
../../../dist/include/system_wrappers/freetype/tttables.h:3:36: error:
freetype/tttables.h: No such file or directory
In file included from ../../../../gfx/src/gtk/nsFontMetricsXft.cpp:71:
../../../dist/include/system_wrappers/freetype/freetype.h:3:36: error:
freetype/freetype.h: No such file or directory
done
-------------------------------

And also a problem here:
-------------------------
Entering /usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/swext/mediawiki/help

../../../../gfx/src/gtk/nsFontMetricsXft.cpp: In member function
'nsresult nsFontMetricsXft::CacheFontMetrics()':
../../../../gfx/src/gtk/nsFontMetricsXft.cpp:906: error: 'TT_OS2' was
not declared in this scope
../../../../gfx/src/gtk/nsFontMetricsXft.cpp:906: error: 'os2' was not
declared in this scope
../../../../gfx/src/gtk/nsFontMetricsXft.cpp:906: error: expected
primary-expression before ')' token
../../../../gfx/src/gtk/nsFontMetricsXft.cpp:906: error: expected `;'
before 'FT_Get_Sfnt_Table'
done
-----------------------

And then exits here:
-------------------------------------------------
svgio deliver
deliver -- version: 275594
LOG: writing /usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/solver/401/unxfbsdx.pro/inc/svgio/deliver.log
Module 'svgio' delivered successfully. 0 files copied, 1 files unchanged

1 module(s):
        moz
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/moz

When you have fixed the errors in that module you can resume the build
by running:

        build --from moz

*** Error code 1

Stop in /usr/ports/editors/openoffice-4.
*** Error code 1

Stop in /usr/ports/editors/openoffice-4.
---------------------------------------------

-omar



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B%2BoXvS=bgWFT-8HzFauu-P%2Br8jRXVgB4aPSO=Q5D9_6gz=moA>