ports/176788: Libreoffice build failure in tail_build

Michael Clayton michael.clayton at sympatico.ca
Sat Mar 9 16:40:06 UTC 2013


>Number:         176788
>Category:       ports
>Synopsis:       Libreoffice build failure in tail_build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 09 16:40:05 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Michael Clayton
>Release:        9.1
>Organization:
None
>Environment:
FreeBSD localhost 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #3 r244877: Mon Dec 31 12:40:53 EST 2012     root at localhost:/usr/obj/usr/src/sys/MONSTER  amd64

>Description:
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
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list