Bug 176788 - editors/libreoffice build failure in tail_build
Summary: editors/libreoffice build failure in tail_build
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: FreeBSD Office Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-09 16:40 UTC by Michael Clayton
Modified: 2014-08-26 06:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Clayton 2013-03-09 16:40:05 UTC
build failure:

-----------------------------------------------------------------------
        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/ports/editors/libreoffice/work/libreoffice-4.0.1.2/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.

-----------------------------------------------------------------------

earlier build messages (or re-running the build inside tail_build) gives errors that seem to suggest that the include path for gtk is not set properly:

[build CXX] writerperfect/source/filter/ListStyle.cxx
In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.0.1.2/vcl/headless/svpprn.cxx:26:
/usr/local/include/print.h:27:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
         ^

another example:

[build CXX] bridges/source/cpp_uno/shared/vtablefactory.cxx
In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.0.1.2/vcl/headless/svpprn.cxx:26:
/usr/local/include/print.h:27:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
         ^

I have nothing interesting in /etc/make.conf (I don't think):
PYTHON_VERSION=python2.7
WITH_PKGNG=yes
# added by use.perl 2013-02-28 21:35:01
PERL_VERSION=5.16.2

I have three versions of gtk installed:
gtk-3.0.12_2                   Gimp Toolkit for X11 GUI (current stable version)
gtk-1.2.10_22                  Gimp Toolkit for X11 GUI (previous stable version)
gtk-2.24.17                    Gimp Toolkit for X11 GUI (previous stable version)

The Libreoffice config is chosen to use GTK2:

# This file is auto-generated by 'make config'.
# Options for libreoffice-4.0.1
_OPTIONS_READ=libreoffice-4.0.1
_FILE_COMPLETE_OPTIONS_LIST=CUPS DEBUG GNOME GTK2 GTK3 JAVA KDE4 MERGELIBS MMEDIA PGSQL SDK SYSTRAY TEST WEBDAV
OPTIONS_FILE_SET+=CUPS
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_UNSET+=GNOME
OPTIONS_FILE_SET+=GTK2
OPTIONS_FILE_UNSET+=GTK3
OPTIONS_FILE_UNSET+=JAVA
OPTIONS_FILE_UNSET+=KDE4
OPTIONS_FILE_SET+=MERGELIBS
OPTIONS_FILE_UNSET+=MMEDIA
OPTIONS_FILE_UNSET+=PGSQL
OPTIONS_FILE_UNSET+=SDK
OPTIONS_FILE_UNSET+=SYSTRAY
OPTIONS_FILE_UNSET+=TEST
OPTIONS_FILE_UNSET+=WEBDAV

How-To-Repeat: cd /usr/ports/editors/libreoffice
make
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-03-09 17:43:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->office

Fix synopsis and assign.
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2014-08-26 06:39:37 UTC
Newer version should be fine